1*bf1c21e6Sschwarze.\" $OpenBSD: mgx.4,v 1.14 2011/12/03 23:01:21 schwarze Exp $ 23f2b56edSmiod.\" 33f2b56edSmiod.\" Copyright (c) 2003, 2005 Miodrag Vallat 42961ab19Smiod.\" 52961ab19Smiod.\" Redistribution and use in source and binary forms, with or without 62961ab19Smiod.\" modification, are permitted provided that the following conditions 72961ab19Smiod.\" are met: 82961ab19Smiod.\" 1. Redistributions of source code must retain the above copyright 92961ab19Smiod.\" notice, this list of conditions and the following disclaimer. 102961ab19Smiod.\" 2. Redistributions in binary form must reproduce the above copyright 112961ab19Smiod.\" notice, this list of conditions and the following disclaimer in the 122961ab19Smiod.\" documentation and/or other materials provided with the distribution. 132961ab19Smiod.\" 142961ab19Smiod.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 152961ab19Smiod.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 162961ab19Smiod.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 172961ab19Smiod.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 182961ab19Smiod.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 192961ab19Smiod.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 202961ab19Smiod.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 212961ab19Smiod.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 222961ab19Smiod.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 232961ab19Smiod.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 242961ab19Smiod.\" POSSIBILITY OF SUCH DAMAGE. 252961ab19Smiod.\" 26*bf1c21e6Sschwarze.Dd $Mdocdate: December 3 2011 $ 272961ab19Smiod.Dt MGX 4 sparc64 282961ab19Smiod.Os 292961ab19Smiod.Sh NAME 302961ab19Smiod.Nm mgx 313f2b56edSmiod.Nd SMS MGX and MGXPlus accelerated 8/24-bit color frame buffers 322961ab19Smiod.Sh SYNOPSIS 33afb7f3acSmickey.Cd "mgx* at sbus?" 342961ab19Smiod.Cd "wsdisplay* at mgx?" 352961ab19Smiod.Sh DESCRIPTION 362961ab19SmiodThe 372961ab19Smiod.Tn Southland Media Systems 382961ab19Smiod.Pq now Tn "Quantum 3D" 392961ab19SmiodMGX and MGXPlus are SBus color frame buffers, with graphics acceleration 402961ab19Smiodcapabilities. 412961ab19Smiod.Pp 422961ab19SmiodThe 432961ab19Smiod.Nm 442961ab19Smioddriver interfaces the frame buffer with the 452961ab19Smiod.Xr wscons 4 462961ab19Smiodconsole framework. 472961ab19SmiodIt does not provide direct device driver entry points 482961ab19Smiodbut makes its functions available via the internal 492961ab19Smiod.Xr wsdisplay 4 502961ab19Smiodinterface. 513f2b56edSmiod.Sh DISPLAY RESOLUTION 523f2b56edSmiodThe MGX and MGXPlus frame buffers will adapt their resolution to the monitor 533f2b56edSmiodthey are connected to. 543f2b56edSmiodHowever, when not connected to a Sun monitor, the device will default to the 55*bf1c21e6Sschwarze.Xr cgthree 4 Ns -compatible 563f2b56edSmiod1152x900 resolution, with a refresh rate of 66Hz. 57f9c6b42eSjmcA different resolution can be forced using the set of DIP switches 584b392ebdSmartin.Pq sometimes covered by metal foil 594b392ebdSmartinlocated near the SBus connector on the board itself. 603f2b56edSmiod.Pp 61f9c6b42eSjmcThe DIP switch settings are as follows: 62e324319bSjmc.Bl -column "OFF OFF OFF OFF" "Resolution" "Refresh Rate" "Details" 63e324319bSjmc.It Sy "Switches" Ta Sy "Resolution" Ta Sy "Refresh Rate" Ta Sy "Details" 64e324319bSjmc.It Sy "1 2 3 4" Ta "" Ta "" Ta "" 653f2b56edSmiod.\" 0 66e324319bSjmc.It Li "OFF OFF OFF OFF" Ta 1024x768 Ta 77Hz Ta "" 673f2b56edSmiod.\" 2 68e324319bSjmc.It Li "OFF ON OFF OFF" Ta 1280x1024 Ta 76Hz Ta "" 693f2b56edSmiod.\" 3 (exactly the same as #7. Not a typo) 70e324319bSjmc.It Li "ON ON OFF OFF" Ta 1152x900 Ta 66Hz Ta "" 713f2b56edSmiod.\" 4 72e324319bSjmc.It Li "OFF OFF ON OFF" Ta 1152x900 Ta 76Hz Ta "" 733f2b56edSmiod.\" 6 74e324319bSjmc.It Li "OFF ON ON OFF" Ta 1152x900 Ta 77Hz Ta "" 753f2b56edSmiod.\" 7 76e324319bSjmc.It Li "ON ON ON OFF" Ta 1152x900 Ta 66Hz Ta "cgthree compatible" 773f2b56edSmiod.\" 11 78e324319bSjmc.It Li "ON ON OFF ON " Ta 1152x900 Ta 66Hz Ta "cgsix compatible" 793f2b56edSmiod.\" 12 80e324319bSjmc.It Li "OFF OFF ON ON " Ta 1280x1024 Ta 67Hz Ta "" 813f2b56edSmiod.\" 15 82e324319bSjmc.It Li "ON ON ON ON " Ta probed Ta probed Ta "factory default" 833f2b56edSmiod.El 843f2b56edSmiod.Pp 853f2b56edSmiodAll other combinations are unsupported and may damage the hardware. 862961ab19Smiod.Sh SEE ALSO 872961ab19Smiod.Xr intro 4 , 882961ab19Smiod.Xr sbus 4 , 892961ab19Smiod.Xr wscons 4 , 90ff501836Sjmc.Xr wsdisplay 4 912961ab19Smiod.Sh CAVEATS 92829ae773SmiodThis driver does not support mode switching at the moment, and 932961ab19Smioddrives the card in PROM-compatible, 8 bit, mode only. 94