home *** CD-ROM | disk | FTP | other *** search
/ Arawak OS/2 Shareware / PAKLED.ISO / docs / svga20.txt < prev    next >
Text File  |  1993-10-29  |  13KB  |  258 lines

  1. Revision 2.0                                               April 27, 1992
  2.                           OS/2 SVGA NETINFO
  3.                        -----------------------
  4.   INTRO:
  5.  
  6. This document is a collection of information about OS/2 and SVGA video
  7. adapters.  I'll start out with known problems, some FAQs, and then
  8. go into a description of all the SVGA-related files under OS/2 and thier uses.
  9. If you find erroneous or incomplete information, please send a note to the
  10. email address that the end of this document.  Thanks and enjoy!
  11.  
  12.     KNOWN PROBLEMS, AFFECTED SYSTEMS, AND SOLUTIONS:
  13.  
  14. P:  Video goes out of sync entering a DOS or WINOS2 fullscreen.
  15. A:  Video adapters using the Tseng ET4000 chipset with batch #TC6059AF or
  16.     higher.
  17. S:  Get the new VSVGA.SYS dated 4-8-92 or later.
  18.  
  19. P:  When I window a DOS fullscreen running in SVGA I often get a Trap E.
  20. A:  Will be prevalent on overcommited (low-memory) systems.  The PM driver you
  21.     are using can also have an effect.
  22. S:  Get the new VSVGA.SYS dated 4-20-92 or later.
  23.  
  24. P:  Install / bootup hangs
  25. A:  Video cards based on the Western Digital PVGA1D chipset.
  26. S:  Get the new BVHSVGA.DLL dated 4-21-92 or later.
  27.  
  28. P:  Get a SYS3176 error starting any DOS session
  29. A:  Tseng ET3000 based adapters
  30. S:  ? Soon
  31.  
  32. P:  ? Install
  33. A:  Oak technologies video cards
  34. S:  ?
  35.  
  36.     The latest VSVGA.SYS and BVHSVGA.DLL files will be distributed wherever
  37.     possible..I don't know how they will find there way to you..but if you
  38.     need them, ask around and look for them.  On the internet, the latest fixes
  39.     will be on HOBBES.NMSU.EDU, which happens to be an excellent FTP site for
  40.     all kinds of OS/2 goodies.
  41.  
  42.     QUESTIONS AND ANSWERS:
  43.  
  44. Q:  I'm having problems with my video.
  45. A:  Start by reading the README in your root directory.
  46.  
  47. Q:  What SVGA support is actually provided with OS/2 2.0 GA edition?
  48. A:  The only support that is provided in the shrink wrapped version is the
  49.     ability to switch away from a DOS or OS/2 fullscreen and have the current
  50.     state of your video card saved.. and this is only after you have turned
  51.     SVGA ON, and if you have one of the adapters listed in the readme..although
  52.     everyone with a Tseng, Trident, ATI, Headland, or Western Digital chipset
  53.     should try turning SVGA ON at least for a while to see if it fixes any
  54.     unseemly video problems they might be having.
  55.  
  56. Q:  What is the most important thing to remember about turning SVGA ON?
  57. A:  When you type SVGA ON (as per readme) it must be in a DOS FULLSCREEN!
  58.  
  59. Q:  For what adapters has DOS + OS/2 fullscreen save/restore been tested?
  60. A:  ATI VGA Wonder XL
  61.     Boca Reseach SVGA
  62.     Orchid Prodesigner II
  63.     STB Powergraph
  64.     Trident 8900C and 8900B
  65.     Video 7 VRAM II
  66.     Paradise VGA Professional
  67.  
  68. Q:  Are these the only cards which are "compatable" with OS/2?
  69. A:  NO. Our support is designed to be generic for the Trident, Tseng, ATI,
  70.     Headland, and Western Digital chipsets.  There are likely many more cards
  71.     which work under OS/2 which we havn't even tried.  If you have a card which
  72.     isn't on this list, but does work, please send a note to the email address
  73.     at the bottom of this document with the name of the card and any small
  74.     limitations you found.
  75.  
  76. Q:  How do I get my PM desktop to use SVGA?
  77. A:  OS/2 does not provide any PM SVGA drivers.. they are available from the
  78.     video board manufacturers.  Trident has an amazing set of OS/2 2.0 16-bit
  79.     PM drivers that include seamless windows support and virtual desktops.
  80.     Orchid has 16-bit 2.0 drivers in beta test..maybe released. And there are
  81.     many OS/2 1.3 drivers around which function fine under 2.0.  Do not be
  82.     deterred from using a PM display driver labeled for OS/2 version 1.3
  83.  
  84. Q:  What is the difference between 16-bit and 32-bit PM drivers?
  85. A:  Because OS/2 shipped at the end of March without the 32-bit
  86.     graphics engine, the video subsystem is all 16-bit.  Therefore, all PM
  87.     drivers that work on OS/2 2.0 GA are 16-bit.  This will change come summer
  88.     when the 32-bit graphics engine ships.  At that point it will become
  89.     possible to have a fully 32-bit graphics subsystem. BTW: 32-bit does not
  90.     imply 32-bit color, it only means 32-bit computation and data transfer.
  91.  
  92. Q:  What is a virtual desktop?
  93. A:  It is a PM display driver that uses all of the adapter's video memory to
  94.     store a desktop that is bigger than what's actually displayed.  So, you
  95.     could have 1024x1024 of desktop space, with only 640x480 being displayed on
  96.     the screen.  You move to other portions of the desktop by dragging the
  97.     mouse to the edge of the screen, which scrolls the desktop.  Because of the
  98.     way OS/2 is designed, this is an extremely quick operation and will be very
  99.     smooth even on the slowest video cards.  The PM driver has to be coded to
  100.     support virtual desktops, and Trident is so far the only chipset to support
  101.     it.
  102.  
  103. Q:  What is Seamless Windows, and can it co-exist with SVGA?
  104. A:  Seamless windows is the ability to run Windows 3.x programs on the PM
  105.     desktop.. Microsoft said it could never be done!!  The way it is achieved
  106.     is by making a "hole" in the PM desktop that the seamless windows driver
  107.     writes into.  Special code has to be put into both the windows driver and
  108.     the PM display driver to support this.  Stone Li from Trident was able to
  109.     produce 800x600/16 seamless drivers for Trident in about a week, and has
  110.     been the only one to produce SVGA seamless support so far.
  111.  
  112. Q:  Will my Windows 3.0 drivers work in WinOS2?
  113. A:  Yes, you should be able to simply update the SYSTEM.INI to point to a new
  114.     windows display driver, or just copy over VGA.DRV in the
  115.     OS2\MDOS\WINOS2\SYSTEM directory.   Keep in mind, however, that Windows in
  116.     SVGA will only work if you have SVGA ON.
  117.  
  118. Q:  Why do I have to deal with this SVGA ON and OFF crap?
  119. A:  Because we've torn out many clumps of hair discovering all of the crazy
  120.     things that can happen when you try to provide video support for for so
  121.     many different boards, each with their own quirks.  Most importantly, we
  122.     found that turning SVGA ON actually caused some system's video to become
  123.     worse.. so we had to have a way to give the user the ability to switch back
  124.     and forth.  And so was born the SVGA ON OFF thing.  Hopefully a more
  125.     elegant system will be developed in the future.
  126.  
  127. Q:  I have an ATI 8514 Ultra or Graphics Ultra, does it work under OS/2?
  128. A:  This card is 100% 8514 compatable, and OS/2 detects and treats it like an
  129.     8514.  On difference, though, is that you should update the video line in
  130.     your CONFIG.SYS that reads:
  131.     DEVICE=\OS2\MDOS\VVGA.SYS
  132.                                     to:
  133.     DEVICE=\OS2\MDOS\VSVGA.SYS
  134.     Because OS/2 detects it as 8514, you can use OS/2's 8514 PM in WinOS2
  135.     display drivers with no problems.
  136.  
  137. Q:  What is the outlook for OS/2 support for boards based on the S3 or TI
  138.     chipsets?
  139. A:  Boards which are co-processed are the fastest, but also take the longest to
  140.     develop software for.  No manufacturers have announced dates yet for
  141.     support for any of these cards.  The more these manufacturers are
  142.     "encouraged" by owners of their cards, the faster the support will arrive.
  143.     So, get on the phone and call! (but be pleasant :-)
  144.  
  145. Q:  I'm getting some corruption returning to my WinOS2 fullscreen
  146. A:  Set your VIDEO_SWITCH_NOTIFICATION in the DOS SETTINGS to ON.
  147.  
  148. Q:  Even in VGA, games in a DOS fullscreen are shakey
  149. A:  Set your VIDEO_RETRACE_EMULATION in the DOS SETTINGS to OFF.
  150.  
  151. Q:  Alot of DOS apps in a window have messed up colors
  152. A:  This is a limitation of the VGA desktop.  The color palatte of the DOS
  153.     session has to be translated to PM, and the 640x480/16 desktop doesn't
  154.     offer enough colors to do a good translation.  The only solution to the
  155.     problem is to use a 256 color PM driver.
  156.  
  157. Q:  The graphics of some of my apps are completely screwed up when in a window
  158. A:  Chances are, this app is using a non-standard VGA mode that the card can
  159.     support, but which OS/2 doesn't. Support for some of these modes (like
  160.     320x400/256 and 360x480/256) will likely be added in base OS/2 support
  161.     soon.
  162.  
  163. Q:  My friend has the same video card as me, and it doesn't work.. can't I
  164.     just give him a working SVGADATA.PMI file?
  165. A:  No. The SVGADATA.PMI has to be specific to each adapter/monitor setup.
  166.  
  167. Q:  If I have SVGA ON, can I use 132 column modes in an OS/2 fullscreen?
  168. A:  yep.
  169.  
  170. Q:  If I have SVGA ON, can I window a DOS fullscreen onto the PM desktop, even
  171.     if it is Super VGA?
  172. A:  yep!
  173.  
  174. Q:  If I have SVGA ON, can I take a window with a SVGA image in it can paste
  175.     to the clipboard?
  176. A:  YEP!
  177.  
  178.  
  179.     THE FILES:
  180.  
  181.   \OS2\SVGADATA.PMI
  182.           This file serves as a flag to tell OS/2 whether SVGA support has been
  183.           enabled with SVGA ON.  The file actually contains data on
  184.           1. What video chipset your SVGA card has.
  185.           2. What SVGA modes, from the supported list, your adapter is capable of
  186.              setting.  The list of supported modes is:
  187.                   a. 640x480/256
  188.                   b. 800x600/16
  189.                   c. 800x600/256
  190.                   d. 1024x768/16
  191.                   e. 1024x768/256
  192.                   f. 132x25 text
  193.                   g. 132x43 or 44 text
  194.           3. What values are in the video registers when the card is in each
  195.              mode..  this data is used by OS/2 to save and restore the registers
  196.              to their proper state when switching between sessions with
  197.              different SVGA modes set.
  198.           This data file must be generated by typing SVGA ON from a DOS
  199.           FULLSCREEN, because what SVGA ON actually does is set all the possible
  200.           modes using the video card's BIOS and then read out the values of the
  201.           registers into the .PMI file. If SVGA ON is run from a DOS window,
  202.           OS/2's video virtualization takes over, and the BIOS doesn't set the
  203.           svga modes properly.
  204.   \OS2\SVGA.EXE
  205.           This is the utility that generates the .PMI file and places it in the
  206.           \OS2 subdirectory. Syntax is SVGA [ON][OFF][STATUS], where
  207.             ON: creates the \OS2\SVGADATA.PMI file and enables SVGA support.
  208.             OFF: deletes the .PMI file.
  209.             STATUS: returns the chipset type OS/2 thinks your card is.
  210.   \OS2\DLL\DISPLAY.DLL
  211.           This file determines what video resolution the PM desktop uses.
  212.           This is the PM display driver and the heart of OS/2 video.  The
  213.           equivalent file on a Windows system is the VGA.DRV (in the case of
  214.           VGA) file.  For the first release, SVGA systems will have a VGA
  215.           display driver installed on their system.  Already, SVGA drivers are
  216.           available from most of the main board manufacturers. In
  217.           this document, I'll try to list some of the ones that are working.
  218.   \OS2\DLL\BVHSVGA.DLL
  219.           This file is the Base Video Handler for OS/2.  Any OS/2 application
  220.           that sets a video mode calls this DLL.  In most cases, however, the
  221.           only application that sets any video modes is the PM display driver
  222.           and the MODE.EXE utility (for setting 132 column modes).  The first
  223.           time this DLL would be called is after the OS/2 bitmap logo appears
  224.           (PM starts up then).  This DLL is specified in the CONFIG.SYS in the
  225.           following manner:
  226.              SET VIO_VGA=DEVICE(BVHVGA,BVHSVGA)
  227.           BVHVGA is used to set, save, and restore VGA modes, BVHSVGA for SVGA
  228.           modes.
  229.   \OS2\MDOS\VSVGA.SYS
  230.           This is the virtual video device handler for DOS sessions.  All calls
  231.           to change the video mode from a DOS session are handled through this
  232.           driver.  This driver's job is to allow the user to set a SVGA mode, and
  233.           when the user switches away, save the current state of the video card
  234.           (its registers and its video RAM).  Then, when the user returns to the
  235.           DOS session, restore the video card to it's previous state. When there
  236.           is no .PMI file (SVGA is OFF) this driver acts like a VGA driver,
  237.           except for adapter-specific code in it to make sure the VGA modes work
  238.           right on the SVGA adapter.  Therefore, even if you don't want SVGA,
  239.           you'll probably want VSVGA.
  240.   \OS2\MDOS\WINOS2\SYSTEM\VGA.DRV
  241.   \OS2\MDOS\WINOS2\SYSTEM\SWINVGA.DRV
  242.           These are the WINOS2 and seamless WINOS2 drivers, respectively.  They
  243.           determine what resolution WINSO2 uses.
  244.  
  245. Bernie Thompson PSU student and IBM co-op
  246. Send comments/additions to:
  247.     BERNIET@BCRVMPC1.VNET.IBM.COM
  248.  
  249.   ***************************************************************************
  250.   *                              DISCLAIMER                                 *
  251.   *                              ----------                                 *
  252.   *  The opinions and suggestions contained herein are my own and not those *
  253.   *  of my employer. This document does not represent any sort of guarantee *
  254.   *  or assurance. Just tips guys... nothing legal, get it?  Good.  :-)     *
  255.   ***************************************************************************
  256.  
  257.  
  258.