home *** CD-ROM | disk | FTP | other *** search
/ Enter 1999 April - Disc 1 / enter_04_1999_1.iso / OS2 / XFREE86 / XDOC.ZIP / XFree86 / lib / X11 / doc / README.tseng < prev    next >
Encoding:
Text File  |  1999-01-09  |  52.8 KB  |  1,387 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                       Information for Tseng Chipset Users
  11.  
  12.      The XFree86 Project, Inc.  Dirk H. Hohndel, Koen Gadeyne and others.
  13.  
  14.                                   03 Nov 1998
  15.  
  16.  
  17.  
  18. 1.  Supported chipsets
  19.  
  20. The Tseng chipsets supported by XFree86 are ET3000, ET4000, ET4000/W32 and
  21. ET6000. Accelerated features of the ET4000/W32, W32i, W32p and ET6000 are sup-
  22. ported by the SVGA driver. For details about the separate accelerated 8bpp
  23. (=256 color) ET4000/W32 and ET6000 server, refer to README.W32.
  24.  
  25. Note that you should NOT be using XF86_W32 unless XF86_SVGA doesn't work on
  26. your hardware. No further development is being done on the W32 server; all new
  27. efforts go into the SVGA server.
  28.  
  29. Some ET4000W32 ISA cards are known NOT to work with the SVGA server in this
  30. version (XFree86 3.3.1): they hang the machine... Use the W32 server XF86_W32
  31. for these cards!
  32.  
  33.  
  34. 2.  Terminology
  35.  
  36. In the rest of this document, "8bpp" is short for "8 bits per pixel", which
  37. means a 256-color mode. Similarly, 15bpp refers to 32768 colors, 16bpp to 65536
  38. colors , 24bpp to a "packed" 16 million color mode, and 32bpp to a "sparse" 16
  39. million color mode (at 32bpp, only 24 of the 32 bits are actually used, hence
  40. the "sparse").
  41.  
  42. 15bpp is only used here to differentiate it from 16bpp, but they are both nor-
  43. mally referred to as 16bpp. 15bpp is actually 16bpp with a 5-5-5 color weight
  44. (wasting one bit per pixel), while 16bpp is, well, 16bpp, with 5-6-5 color
  45. weight.
  46.  
  47.  
  48. 3.  ET4000 driver features
  49.  
  50. The SVGA driver for ET4000 chipsets supports all color depths (8, 15, 16, 24
  51. and 24 bpp) on most ET4000 chips starting with the ET4000W32i. The ET4000W32
  52. only supports 8bpp. Depending on the RAMDAC and the support code in the SVGA
  53. server, some cards may only support a few of these color depths, or even only
  54. 8bpp.
  55.  
  56. On W32i and W32p chips all color depths are supported on the supported RAMDACs
  57. (currently ICS5341, STG170x and Chrontel CH8398). These modes are also acceler-
  58. ated.
  59.  
  60. Some W32p board implementations are limited to 1 MB of video memory in linear
  61. memory modes. This is a hardware limitation that cannot be solved in the
  62.  
  63.  
  64.  Information for Tseng Chipset Users                                          1
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  Information for Tseng Chipset Users                                          2
  71.  
  72.  
  73.  
  74. driver. Since XFree86 requires linear memory for 16/24/32 bpp modes, the use-
  75. fulness of these cards for highcolor and truecolor applications is severely
  76. limited (those modes mostly use a lot of video memory).
  77.  
  78. In addition, those cards also don't support acceleration in linear mode.  This
  79. is a design choice in the driver code: if acceleration were to be supported in
  80. linear mode, you'd only be able to use 768 kb of video memory, and the driver
  81. code would be twice as complex.
  82.  
  83. Cards with a RAMDAC that is not yet supported will be limited in a similar man-
  84. ner as the older cards, i.e. to a maximum pixel clock of 86 MHz, whilst they
  85. actually might be able to go up to 135 MHz. As a result, 1280x1024 modes will
  86. only be possible when using interlacing, and non-interlaced modes are limited
  87. to about 1024x768 at 75 Hz refresh.
  88.  
  89. For a non-interlaced 1280x1024x(256 colors) at say 135-MHz on a W32-type card,
  90. you need a w32p (with its 16-bit RAMDAC bus) with a multiplexing RAMDAC so that
  91. the w32p sees only (135/2 = 67.5) MHz, not 135 MHz. This requires special code
  92. only provided for cards using the ICS5341 GENDAC, the STG170x or the CH8398.
  93. This code seems to work fine for most people, except, with the ICS5341, for a
  94. small band of frequencies around 90MHz.
  95.  
  96. Linear memory mode (especially important for some DGA clients, like xf86quake)
  97. is supported on all ET4000W32i and ET4000W32p cards, but not on the ET4000W32.
  98. See the section on linear memory for more information. There are some important
  99. issues related to linear memory.
  100.  
  101. For the higher color depths (16, 24 and 32 bpp), linear memory mode is
  102. REQUIRED. It is enabled by default in these modes. There is no need to specify
  103. that in the XF86Config file. Please read the section on linear memory below: it
  104. contains some vital information on how to avoid serious problems.
  105.  
  106. To force "banked" mode in 8bpp modes (where linear memory mode is the default),
  107. put the following in the Device section of your XF86Config:
  108.  
  109.        Option "no_linear"
  110.  
  111. Acceleration support is present, and enabled by default, for all W32 and ET6000
  112. family chips. This is based on the new XFree86 acceleration interface (XAA).
  113.  
  114. If you have problems with acceleration, acceleration can be disabled by putting
  115. the following in the Device section of your XF86Config:
  116.  
  117.        Option "noaccel"
  118.  
  119. On some PCI systems (i.e. only on the ET6000 and the ET4000W32p), acceleration
  120. may cause occasional font corruption. This is probably caused by a badly writ-
  121. ten system BIOS that ignores the fact that the Tseng PCI devices have their
  122. "non-prefetchable" attribute set. On such a BIOS, a PCI feature called "write
  123. combining" (or "byte merging") is enabled for the Tseng video card, although it
  124. is not permitted. Some systems allow you to manually enable or disable the
  125. Write Combining feature in the BIOS setup (sometimes abbreviated to WC). Make
  126. sure WC is disabled for the VGA memory aperture.
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  Information for Tseng Chipset Users                                          3
  137.  
  138.  
  139.  
  140. If you experience font corruption on your system and are unable to manually
  141. disable WC in your BIOS, font acceleration may be disabled using the following
  142. in the Device section of your XF86Config:
  143.  
  144.        Option "xaa_no_color_exp"
  145.  
  146. Note that this will reduce the performance of the X server.
  147.  
  148.  
  149. 4.  ET6000 driver features
  150.  
  151. In addition to the features in the ET4000 driver, the SVGA ET6000 server sup-
  152. ports all possible color depths in the SVGA server: 8bpp, 16bpp (both at 5-5-5
  153. and 5-6-5 color resolutions), 24bpp and 32 bpp.
  154.  
  155. Linear memory mode (as opposed to the VGA default, banked memory layout) is
  156. supported. It is required and enabled by default for the 16/24/32 bpp modes.
  157. For 8bpp, the default is linear mode for PCI cards and banked mode for ISA/VLB
  158. cards.
  159.  
  160. To force linear memory at 8bpp, put the following in the SVGA section of your
  161. XF86Config:
  162.  
  163.        Option "linear"
  164.  
  165. Acceleration is supported and is enabled by default, and accelerates all color
  166. depths on the ET6000. Acceleration can be disabled by adding the following in
  167. the Device section of your XF86Config:
  168.  
  169.        Option "noaccel"
  170.  
  171. The hardware cursor is supported in all color depths. Due to a hardware limita-
  172. tion in the ET6000, only a limited set of colors is supported (2 significant
  173. bits per color component). This may cause some (small) cursor color errors. If
  174. absolute cursor color accuracy is required, the hardware cursor should not be
  175. enabled. However, in most applications, this will not be a problem. The hard-
  176. ware cursor can be enabled using
  177.  
  178.        Option "hw_cursor"
  179.  
  180. There is a problem with the hardware cursor at high dotclocks (above approx.
  181. 110MHz) at which point the cursor does strange things when partly off the left-
  182. hand side of the screen.
  183.  
  184. On older ET6000 chip revisions, DoubleScan modes currently don't work with the
  185. hardware cursor: only the top half of the cursor is visible. If you want to use
  186. DoubleScan modes (320x200 is a popular one), then do not enable the hardware
  187. cursor. Most recent ET6000 cards and the ET6100 do not exhibit this problem.
  188.  
  189. On some PCI systems, acceleration may cause occasional font corruption. As
  190. described above, this is caused by a bug in your system BIOS or a wrong setting
  191. of the write combining feature in that BIOS. If you are unable to fix the BIOS
  192. or force the option off, font acceleration may be disabled using the following
  193. in the Device section of your XF86Config:
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  Information for Tseng Chipset Users                                          4
  203.  
  204.  
  205.  
  206.        Option "xaa_no_color_exp"
  207.  
  208. When using accelerated high color-depths (24bpp and 32bpp), high-resolution
  209. modes (starting somewhere around 800x600) may cause temporary "garbage" lines
  210. to the right of the screen while the accelerator is busy. The garbage should
  211. not be persistent: it should go away as soon as the server is left alone. This
  212. is a memory bandwidth problem, and thus cannot be resolved (except by not
  213. allowing such modes at all, which is what is done in the current driver).
  214.  
  215. Ignoring it is one option (it isn't destructive). Disabling acceleration in the
  216. Device section of the XF86Config file is another option: since the accelerator
  217. is not being used, there is ample bandwidth to avoid such problems.
  218.  
  219.  
  220. 5.  Clock selection problems with some ET4000 boards
  221.  
  222. XFree86 has some problems getting the clock selection right with some ET4000
  223. boards when the server is started from a high-resolution text mode.  The clock
  224. selection is always correct when the server is started from a standard 80x25
  225. text mode.
  226.  
  227. This problem is indicated when the reported clocks are different when the
  228. server is started from the high-resolution text mode from what they are when it
  229. is started from the 80x25 text mode.  To allow the server to work correctly
  230. from the high-resolution text mode, there are some Option flags that may be set
  231. in XF86Config.  To find out which flags to set, start the server with the
  232. -probeonly flag from an 80x25 text mode and look at the information printed by
  233. the server.  If the line:
  234.  
  235.        VGAXXX: ET4000: Initial hibit state: low
  236.  
  237.  
  238. is printed, put the following in the SVGA, VGA16 and VGA2 sections of your
  239. XF86Config:
  240.  
  241.        Option "hibit_low"
  242.  
  243.  
  244. If the line:
  245.  
  246.        VGAXXX: ET4000: Initial hibit state: high
  247.  
  248.  
  249. is printed, put the following in the SVGA, VGA16 and VGA2 sections of your
  250. XF86Config:
  251.  
  252.        Option "hibit_high"
  253.  
  254.  
  255. 6.  Text mode restore problems
  256.  
  257. In XFree86 1.3, an option flag ``force_bits'' was provided as an experiment to
  258. attempt to alleviate text-restoration problems that some people experienced.
  259. We have now made the behavior of this option the default, hence the flag has
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  Information for Tseng Chipset Users                                          5
  269.  
  270.  
  271.  
  272. been removed.  Hopefully the past text-restoration problems are alleviated in
  273. XFree86 2.0.
  274.  
  275.  
  276. 7.  Basic configuration
  277.  
  278. It is recommended that you generate an XF86Config file using the XF86Setup' or
  279. xf86config' program, which should produce a working high-resolution 8bpp con-
  280. figuration. You may want to include mode timings in the Monitor section that
  281. better fit your monitor (e.g 1152x864 modes). The driver options are described
  282. in detail in the next section; here the basic options are hinted at.
  283.  
  284. If graphics redrawing goes wrong on accelerated chips (ET4000W32 and ET6000),
  285. first try the "noaccel" option, which disables all accelerated functions.
  286.  
  287.  
  288. 8.  general options in the XF86Config file
  289.  
  290. The following options are of particular interest to the Tseng driver. Each of
  291. them must be specified in the svga' driver section of the XF86Config file,
  292. within the Screen subsections of the depths to which they are applicable (you
  293. can enable options for all depths by specifying them in the Device section).
  294.  
  295.       Option "noaccel"
  296.             (ET4000W32p, et6000) This option will disable the use of any accel-
  297.             erated functions. This is likely to help with some problems related
  298.             to DRAM timing, high dot clocks, and bugs in accelerated functions,
  299.             at the cost of performance (which will still be reasonable on a
  300.             local or PCI bus).  This option applies only to those chips where
  301.             acceleration is supported.
  302.  
  303.       Option "fast_dram" "slow_dram"
  304.             These options set the DRAM speed of certain cards where it applies.
  305.  
  306.             The "slow_dram" option is always enabled on ET4000, and ET4000W32.
  307.             If enabled, it slows down DRAM timing, which may avoid some memory-
  308.             related problems. If your card starts up with a black screen (and
  309.             possibly a system hang), this option might be needed.
  310.  
  311.             The "fast_dram" option will cause the driver to speed up DRAM tim-
  312.             ings, which may also avoid screen-related problems (streaking,
  313.             stripes, garbage, ...). It may also increase those very same
  314.             effects.
  315.  
  316.             All in all, these are potentially dangerous options: they could
  317.             crash your machine as soon as you start the server. Use them with
  318.             caution.
  319.  
  320.       option "w32_interleave_off" "w32_interleave_on"   (W32i, W32p)
  321.             Force memory interleaving off or on. W32i and W32p chips can
  322.             increase memory bandwidth when they have 2MB or more video memory.
  323.             Normally the VGA BIOS sets the W32i or W32p chip to the correct
  324.             mode. If you suspect problems with memory sizing or interleaving,
  325.             fooling around with these options may improve the situation. It may
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  Information for Tseng Chipset Users                                          6
  335.  
  336.  
  337.  
  338.             also make things worse. These options are not normally needed: the
  339.             server will use the correct value automatically. Setting this
  340.             option the wrong way will result in a completely distorted display.
  341.  
  342.       option "pci_burst_off" "pci_burst_on"   (W32p)
  343.             This option disables or enables PCI bursts on the W32p chip if it's
  344.             a PCI card. Normally, a good BIOS will set the motherboard and the
  345.             VGA card to the same setting, but if both don't match, you may
  346.             experience garbage on the screen (e.g. mouse droppings). These
  347.             options allow you to match the W32p burst setting to the mother-
  348.             board setting.
  349.  
  350.       videoram 1024 (or another value)   (all chips)
  351.             This option will override the detected amount of video memory, and
  352.             pretend the given amount of memory is present on the card. This is
  353.             useful on cards with 2Mbyte of memory whose DRAM configuration is
  354.             not compatible with the way the driver enables the upper megabyte
  355.             of memory, or if the memory detection goes wrong. It must be speci-
  356.             fied in the Device section.
  357.  
  358.       Clockchip "et6000"  (et6000)
  359.             This enables programmable clocks, but obviously only on the et6000.
  360.             It must be specified in the Device section. Normally the server
  361.             will automatically use this feature when it detects an ET6000. Use
  362.             it only when you suspect auto-detection is not working. Note that
  363.             some frequencies may be unstable (resulting in a `Wavy' screen).
  364.             Only tried and tested frequencies (like the default clocks) are
  365.             guaranteed to be stable. If this happens, try a slightly different
  366.             frequency in the modeline (like 0.5 MHz more or less). The monitor
  367.             should still be capable of syncing to this frequency, but the
  368.             clockchip may already be outside an unstable region.
  369.  
  370.       Option "linear"  (ET4000W32i, ET4000W32p, ET6000)
  371.             This enables linear addressing, which is the mapping of the entire
  372.             framebuffer to a high address beyond system memory, making the full
  373.             length of the framebuffer directly accessible. In this way, slow
  374.             SVGA bank switching (where only a small fraction of the framebuffer
  375.             is visible at one time) is not necessary. It enhances performance
  376.             at 256 colors, and is currently required for 16bpp, 24bpp, and
  377.             32bpp.
  378.  
  379.       MemBase 0xE0000000. (or a different address) (ET4000W32, ET6000)
  380.             This sets the physical memory base address of the linear frame-
  381.             buffer. It must be specified in the Device section. It may be
  382.             required for non-PCI linear addressing configurations, and might be
  383.             useful for PCI-based systems where auto-detection fails. However,
  384.             almost all PCI systems will not need this.
  385.  
  386.             Read the section on linear memory base address issues below!
  387.  
  388.             Read the section on linear memory base address issues below!  (Mes-
  389.             sage repeated for a very good reason)
  390.  
  391.             Use this option ONLY if you have trouble with the default MemBase
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  Information for Tseng Chipset Users                                          7
  401.  
  402.  
  403.  
  404.             used by the server, or if the server explicitly states that you
  405.             must provide one.
  406.  
  407.       Option "pci_retry" (ET4000W32p on PCI bus, ET6000)
  408.             This enables the PCI bus retry function, which is a performance
  409.             enhancing mode for local bus or PCI bus-based systems, where the
  410.             VGA controller will put the bus in a hold state (sort of like wait-
  411.             states) when the server tries to start a new accelerated operation
  412.             but the accelerator is still busy with the previous operation.
  413.  
  414.             This is the fastest way to drive a VGA card (no busy-waiting loops
  415.             needed), but it also stresses some hardware that is timing-depen-
  416.             dent (tape drives, sound cards, etc). See also the trouble shooting
  417.             section.
  418.  
  419.  
  420. 9.  linear memory base address (MemBase) issues
  421.  
  422. First a WARNING: defining a bad MemBase may cause serious injury or death (to
  423. your operating system, of course). Especially defining the MemBase to be inside
  424. the range of system memory is a ticket to hell.
  425.  
  426. 9.1  What you should know BEFORE trying another MemBase
  427.  
  428. Rule #1: first, let the server find a memory base by itself, without specifying
  429. it. Make sure you "sync" all files to disk and close all critical applications.
  430. Make sure nothing bad will happen to your filesystems if you have to jump for
  431. the power switch soon.
  432.  
  433. The most critical cards are the ET4000W32p rev a and rev b on VESA local bus
  434. (VLB). The server will autodetect a linear base address that doesn't work on
  435. all systems.
  436.  
  437. The least critical cards are PCI-bus cards. The PCI BIOS normally takes care of
  438. assigning a good MemBase, and you should never have to deal with all the mumbo-
  439. jumbo below.
  440.  
  441. If the server gets it wrong, you may end up with a severe system crash (e.g.
  442. if it maps the video memory right on top of your system memory). If this hap-
  443. pens, RESET IMMEDIATELY. Do not try to shut down cleanly, because the X-server,
  444. thinking it writes to the VGA memory, will write to system memory instead, and
  445. you'll be writing corrupted data to disk. If you did a sync prior to starting
  446. the server, there will be no harm done (only a filesystem check which should
  447. end up clean). DO NOT attempt to redirect the server output to a file on the
  448. system you're testing on (that will write data after you synced).
  449.  
  450. These are worst-case scenarios, and it is very unlikely this will happen to
  451. you. The text above is to make sure you are properly prepared, so that nothing
  452. serious happens.
  453.  
  454. When the server can't find a working linear memory base, it's time to experi-
  455. ment. The rest of this section deals with that.
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  Information for Tseng Chipset Users                                          8
  467.  
  468.  
  469.  
  470. 9.2  Choosing a MemBase
  471.  
  472. Choosing a suitable MemBase can be quite tricky. If you have no way of deter-
  473. mining the MemBase your card uses, trying to put it a few Mb above the system
  474. memory is a good first guess. E.g. if you have 16 Mb of RAM, defining MemBase
  475. 0x01000000 (=16M) or 0x01400000 (=20M) may work.
  476.  
  477. However, this may only work on non-PCI systems, as PCI systems mostly map all
  478. hardware above the 2GB mark. But then again, on PCI systems the server is
  479. almost always able to detect the correct linear memory base address. The only
  480. exception are those systems with more than one PCI VGA card.
  481.  
  482. On most VESA local bus (VLB) boards, there is an additional problem with
  483. address decoding. Most motherboards only decode the first 32, 64 or 128 MB of
  484. address space (a good pointer is to check the amount of DRAM that can be
  485. installed on the board: it will at least decode as much address space as it
  486. supports DRAM).
  487.  
  488. On such boards, you MUST specify a MemBase inside that range, or the actual
  489. address may wrap back onto system memory: if your system only decodes 128MB of
  490. addresses, and you set the MemBase to 128 MB, it will actually be decoded as
  491. being on address 0, which is probably exactly where your kernel memory is
  492. located. That is why the general guideline of putting the MemBase just above
  493. the system memory is a sound one: it stands most chance of actually being
  494. inside the decoded address range of the board. Unless your motherboard's entire
  495. memory space is filled with RAM.
  496.  
  497. 9.3  An alternative approach
  498.  
  499. If you don't know how much memory address space your motherboard decodes (and
  500. who does?), try using a "non-trivial" address, like 0x1FC00000, which has
  501. enough bits set to "1" to work on any motherboard, even if a few are not
  502. decoded. Keep in mind that using for example 0x10000000 may end up right on top
  503. of your system memory if the motherboard doesn't decode all upper address bits.
  504. You will only do that once.
  505.  
  506. 9.4  When all else fails...
  507.  
  508. Some other VLB boards can only map the linear framebuffer above the 1GB mark
  509. (0x80000000 and up), so you must use a MemBase that is higher or equal to
  510. 0x80000000.
  511.  
  512. Some other VLB boards can only map the linear framebuffer BELOW the 16 MB mark.
  513. So you may want to try booting your system with up to 12 MB of memory (some
  514. operating systems allow you to supply a boot-time parameter that limits the
  515. memory to a certain amount, so you don't have to open your computer to try
  516. this), and set the MemBase to 0x00C00000 (=12M).
  517.  
  518. Unfortunately, there is no easy way to tell what system you have (these details
  519. are mostly not in the motherboard manuals). Trial and error is the only road to
  520. success here. The server code will provide a default that works on most
  521. boards... but yours won't be one of those, of course.
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  Information for Tseng Chipset Users                                          9
  533.  
  534.  
  535.  
  536. 9.5  Restrictions
  537.  
  538. There are some limits as to where the linear memory base may be put. On any
  539. ET4000W32, it must have a 4MB granularity (i.e. it can be put at 16M or at 20M,
  540. but not at 18M). On ET6000, it needs a 16M granularity (note: the ET6000 driver
  541. should be able to determine the linear memory base automatically, so you should
  542. never need to define MemBase in the first place).
  543.  
  544. On ET4000W32i, things are worse: the linear address base is hardwired on the
  545. card, and there is no reliable way to read it back from the card. You need to
  546. know the address in some way, and specify it. The current code does an intelli-
  547. gent guess at it, but this is no guarantee.
  548.  
  549. On ISA cards, things are much more simple: ISA only uses 24 address lines, and
  550. hence the linear memory MUST lie within the 16 MB boundary. Together with the
  551. 4MB granularity of the linear memory base address on ET4000 cards, this means
  552. that you cannot have more than 12 MB of system memory in the machine if you
  553. want to use linear memory. Hence, the only realistic MemBase for ISA cards is
  554. 0x00C00000. This is also what the server will automatically choose if it
  555. detects an ISA W32 card.
  556.  
  557. WARNING: you must not have over 12 MB of system memory in this case. Or if you
  558. have it, you must disable access to all memory above the 12 MB mark.  Some
  559. operating systems allow you to specify at startup how much memory it is allowed
  560. to use, so you don't have to unplug some memory each time you want to use lin-
  561. ear memory.
  562.  
  563. 9.6  Some boards simply cannot work in linear mode
  564.  
  565. Yes, and in that case, you're out of luck.
  566.  
  567. There can be at least two reasons for this.
  568.  
  569. The first is the most common: the board manufacturer has left out the necessary
  570. connections and hardware to be able to use linear addressing. This means that
  571. no coding effort on this planet can help you with your problem: it is physi-
  572. cally impossible to use linear addressing.
  573.  
  574. The second reason is that the current XFree86 Tseng linear addressing code is
  575. incompatible with the way your board is designed. The XFree86 Tseng code
  576. assumes a 1:1 mapping of the address lines from the bus (either ISA, VLB or
  577. PCI) to the address lines on the Tseng VGA chip. As unlikely as it may sound,
  578. this may NOT be the case!
  579.  
  580. Some very rare boards do not have such a 1:1 mapping (e.g. two address lines
  581. swapped). It is possible to support this type of hardware, but at this moment,
  582. this has not been implemented yet.
  583.  
  584. Other boards use external address decoding hardware that combines a number of
  585. address lines on the bus to a (smaller) number of address lines to the VGA
  586. chip. One such board for example uses three NOR gates (one 74F02 chip) to com-
  587. bine the 6 upper address lines to three address pins on the W32i chip.  Obvi-
  588. ously, this represents a 2:1 mapping, and not a 1:1 mapping. Therefor, this
  589. board is not "compatible" with the way XFree86 implements linear mode.
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  Information for Tseng Chipset Users                                         10
  599.  
  600.  
  601.  
  602. 9.7  How can I see if the linear address is wrong?
  603.  
  604. Simple: nothing works, or your machine locks solid, or it crashes, or a zillion
  605. of other things.
  606.  
  607. However, sometimes it is not always as obvious. Sometimes nothing bad happens:
  608. you just get a black screen, or a screen with rubbish on it, but nothing is
  609. drawn on it. Sometimes you get a core dump when the first application starts.
  610.  
  611. If acceleration is enabled in those cases, you will almost always see multiple
  612. "WAIT_ACL: timeout" messages in the server output. That is because the acceler-
  613. ator registers are also mapped in the linear memory, and if linear memory
  614. doesn't work, then also the accelerator doesn't work.
  615.  
  616. NOTE however that a WAIT_ACL message doesn't necessarily mean the linear memory
  617. address is bad. There are a number of other reasons for this message as well.
  618. But if you never saw these messages at 8bpp banked, then there's a good chance
  619. you have a linear memory problem ("banked" is the opposite of "linear", and is
  620. the default mode when "option linear" is not in the XF86Config file).
  621.  
  622.  
  623. 10.  Mode issues
  624.  
  625. The accelerated driver on ET4000W32/W32i/W32p and ET6000 needs at least 1K
  626. bytes of scratch space in video memory. Consequently, if you want acceleration,
  627. a 1024x1024 virtual resolution should not be used with a 1Mbyte card. This also
  628. means that a 1024x768 mode at 24bpp on a 2.25 MB ET6000 card cannot be acceler-
  629. ated, since you've used up all the memory for the display.
  630.  
  631. The same thing goes for the ET6000 hardware cursor: it also requires 1kb of
  632. free video memory. If that memory is not available, the hardware cursor cannot
  633. be used.
  634.  
  635. The use of a higher dot clock frequencies has a negative effect on the perfor-
  636. mance of graphics operations on non-et6000 cards (the effect is much less, or
  637. even non-existing, on ET6000 cards), especially BitBlt, when little video mem-
  638. ory bandwidth is left for drawing. Memory bandwidth is the speed at which data
  639. can be pumped into the memory while the RAMDAC is pulling it out to display it
  640. on the screen.
  641.  
  642. Higher dot-clocks (mostly related to higher resolutions) consume more band-
  643. width, so that less of it is left for drawing into the framebuffer. With a
  644. working accelerator, things become increasingly crammed, because modern accel-
  645. erators can consume huge amounts of bandwidth (but they also give you high
  646. speeds in return). High color depths also need extra bandwidth.
  647.  
  648. If you are short on memory bandwidth (see the separate section on this) and
  649. experience blitting slowness or screen "glitches", try using the lowest dot
  650. clock that is acceptable; for example, on a 14" or 15" screen 800x600 with high
  651. refresh (50 MHz dot clock) is not so bad, with a large virtual screen.
  652.  
  653. Tseng chips are mostly known for their (very) good memory bandwidth, so you
  654. should only start to see problems in the higher regions.
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  Information for Tseng Chipset Users                                         11
  665.  
  666.  
  667.  
  668. It does not make much sense performance-wise to use the highest clock (85 MHz)
  669. for 1024x768 at 76 Hz on a 1 MB ET4000W32; the card will very slow, because
  670. there is almost no bandwidth left for drawing. A 75 MHz dot clock results in 70
  671. Hz which should be acceptable. If you have a monitor that supports 1024x768 at
  672. 76 Hz with a 85 MHz dot clock, an 1MB card is a poor match anyway.
  673.  
  674. The ET4000W32i and ET4000W32p have a special feature that almost doubles memory
  675. bandwidth (+70%) using "interleaving" between the two banks.  Upgrading to 2MB
  676. is a real bonus on these cards. This is not true for W32 cards or for ET6000
  677. cards.
  678.  
  679.  
  680. 11.  Acceleration issues
  681.  
  682. The XFree Acceleration Architecture makes extensive use of the unused video
  683. memory on the VGA card. If there is not enough free video memory, some acceler-
  684. ation features will be disabled or crippled, resulting in less performance.
  685.  
  686. To avoid this from happening, try to keep an absolute minimum of 16 kb of free
  687. memory, in addition to the 1kb already reserved by the accelerator.
  688.  
  689. In practice, this small amount of memory should not be a problem. Most cards
  690. nowadays have 2 MB of video memory, and running 1280x1024 still leaves plenty
  691. of memory unused. Even a 1600x1200 desktop will leave over 170kb unused, which
  692. will then be used by the accelerator to enhance performance.
  693.  
  694. Most 1MB cards cannot display modes larger than 1024x768 with a decent refresh
  695. rate, leaving 256kb unused.
  696.  
  697. The order in which free memory is used to accelerate certain features is as
  698. follows.
  699.  
  700. If no video memory is unused (i.e. all of it is used for display memory), no
  701. acceleration can be used at all -- not even a hardware cursor on the ET6000.
  702.  
  703. If the hardware cursor is enabled (ET6000 only) and there's at least 1kb of
  704. free video memory, 1kb is used for that.
  705.  
  706. If there is at least 1kb of free memory remaining after this, most acceleration
  707. features are enabled as well, reserving an extra 1kb of video memory.
  708.  
  709. If there's still some free memory, some extra acceleration features are
  710. enabled. These require more free video memory, depending on the virtual screen
  711. width and the color depth (bpp). The server will print out how much memory it
  712. used if it could.
  713.  
  714. If there's still some free video memory, it is used as a pixmap cache. This
  715. way, small patterns and images can be kept in the video memory so that they
  716. don't need to be transferred into the video memory each time they're needed.
  717. This is beneficial because transferring an image over the bus to the video mem-
  718. ory takes a lot more time than letting the accelerator blit it from the pixmap
  719. cache to the display memory.
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  Information for Tseng Chipset Users                                         12
  731.  
  732.  
  733.  
  734. 12.  ET6000 memory size facts and fiction
  735.  
  736. The ET6000 uses a special kind of video memory called MDRAM (multi-bank DRAM).
  737. It may have a non-power-of-two amount of MDRAM: 2.25 or even 4.50 MB.  Espe-
  738. cially 2.25 MB MDRAM is popular, since this can support 1024x768 at 24bpp with-
  739. out needing 4MB of RAM.
  740.  
  741. There are a few less intuitive problems with this.
  742.  
  743. First of all, All memory above the 4 MB limit is a waste of money, because the
  744. ET6000 cannot use this memory for anything at all. There are boards with 4.5 MB
  745. around, but that extra 0.5 MB is a waste. The ET6000 can only refresh 4 MB of
  746. (M)DRAM (refresh register). It can only access 64 banks of 64KB in VGA mode
  747. (bank select register). All accelerated commands use a 22-bit address (=4MB)
  748. inside the video memory. You get the idea... There is no way for the ET6000 to
  749. use anything above the 4Mb limit.
  750.  
  751. And Secondly (more importantly): you may not have 2.25 MB at all! There have
  752. been several reports about ET6000 cards that were sold with (supposedly) 2.25
  753. MB of MDRAM, but which turned out to be standard 2MB MDRAM cards.  People have
  754. been having trouble with these all along, since sometimes the X-server used to
  755. detect this as 2.25 MB (or even 2.5 MB) due to internal chip design and also
  756. due to faulty BIOSs. This memory detection problem has been fixed now, and the
  757. server should detect the correct amount of memory.
  758.  
  759. Do NOT define the amount of memory in the XF86Config yourself, unless you are
  760. absolutely sure about the amount.
  761.  
  762. There is a simple way to determine the amount of MDRAM on your card beyond
  763. doubt.
  764.  
  765. Look at the video card. There is one large chip with 204 pins on it, which is
  766. the ET6000. One socketed rectangular chip, mostly with a sticker on it,is the
  767. BIOS. The remaining big chips are (mostly) 2 or 4 other large square chips on
  768. it with the following markings:
  769.  
  770. MDRAM MD9xy     ("xy" is a two-digit number) SJ-5-100  (this may differ, but it
  771. will have the same layout)
  772.  
  773. and a nice logo next to all that with 4 diamonds and the name "MoSys" under-
  774. neath.
  775.  
  776. The "xy" number tells you how much MEGABITS there are in that one chip.
  777.  
  778. The amount of RAM on the card is then:
  779.  
  780. ("xy" * number_of_MDRAM_chips) / 8    Mbytes
  781.  
  782. On my board, there are two MD908 chips, which means I have
  783.  
  784. (08 * 2) / 8 = 2 MB of MDRAM.
  785.  
  786. Boards with two MD909 chips have 2.25 MB, etc.
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  Information for Tseng Chipset Users                                         13
  797.  
  798.  
  799.  
  800. Current MDRAM chips are MD904, MD906, MD908, MD909, MD910, MD916, MD918 and
  801. MD920.
  802.  
  803.  
  804. 13.  ET6000 memory bandwidth hype and the impact on video modes
  805.  
  806. Tseng has always had wet dreams about memory bandwidth, and their press
  807. announcements about the ET6000 memory bandwidth are no exception.
  808.  
  809. They claim the ET6000 using MDRAM is capable of reaching an incredible 1.2
  810. Gbytes/sec of bandwidth. That would surpass just about everything on the market
  811. (even SGI).
  812.  
  813. And that would be true, _if_ they actually used the fastest available MDRAMs on
  814. their boards, which they don't. The stunning 1.2 GByte mark is only reached
  815. when using 4 MDRAM chips at their max clock rate of 166 MHz. But due to design
  816. limitations, the first-generation ET6000 can only drive the memories at 92 MHz
  817. (that will change when the ET6100 and ET6300 hit the streets).
  818.  
  819. This means the max. theoretical bandwidth available on current ET6000 boards is
  820. "only" 360 MB/sec on boards with 2 MDRAM chips, and 720 MB/sec on boards with 4
  821. MDRAM chips. And this assumes a best-case situation (=extremely long bursts --
  822. the MDRAMs use a shared address/data bus, much like the PCI bus does). In the
  823. real world, unaligned accesses both from the PCI bus and the accelerator will
  824. reduce the effective available bandwidth. The current ET6000 boards peak out at
  825. about 225 MB/sec, with 2 or 4 MDRAMs.
  826.  
  827. Whatever you may have read in press releases, the ET6000 has a 32-bit memory
  828. bus (not 128 bits; that's only the accelerator data path within the chip, if
  829. anything). That means that, with their 16-bit busses, 2 MDRAM chips already use
  830. the full bus capacity. Having 4 memory chips on an ET6000 board will not give
  831. you extra memory bandwidth.
  832.  
  833. Memory bandwidth limits the maximum resolution you can use at a given color
  834. depth. The ET6000 RAMDAC can cope with 135 MHz in any situation. But the RAM
  835. cannot. At 32bpp (sparse 16M color mode), using a 135 MHz pixel clock would
  836. require a memory bandwidth of 135*4 = 540 MB/sec, which the current ET6000
  837. boards simply cannot cope with. And then you still need some spare bandwidth
  838. for the PCI bus and the accelerator.
  839.  
  840. That is why some modes will be refused, depending on your MDRAM memory layout,
  841. even if the amount of memory would permit such a mode. See also the trouble
  842. shooting section to see what can happen if too little memory bandwidth is
  843. available.
  844.  
  845.  
  846. 14.  Linear addressing and 16bpp/24bpp/32bpp modes
  847.  
  848. Currently the 16-bit (32768 or 65536 colors), 24-bit (16M colors, packed
  849. pixel), and 32-bit (16M colors, sparse) pixel support in the SVGA server
  850. requires linear addressing. This restriction may be removed in a future ver-
  851. sion, but with nearly all new cards using the PCI bus (where linear addressing
  852. poses no problem), removing the linear addressing requirement presently has a
  853. lower priority than other features. Option "linear" can be specified in a
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  Information for Tseng Chipset Users                                         14
  863.  
  864.  
  865.  
  866. depth-specific screen section to enable linear addressing; a MemBase setting
  867. (in the device section) is probably also required on non-PCI based systems, and
  868. optionally on PCI systems that have trouble finding out for themselves where
  869. the MemBase is.
  870.  
  871. Non-PCI cards are not (or not well) supported in linear memory mode at this
  872. moment. Some of them don't support it at all, and some of the ones that do have
  873. so many address decoding bugs that it isn't feasible to provide a working solu-
  874. tion.
  875.  
  876. For the most part, many of the accelerated features in the 8bpp server have
  877. been implemented to support 16, 24, and 32 bpp modes for the W32 and the
  878. ET6000. So although there are now up to 4 times as many bits to display, the X
  879. server shouldn't feel overly sluggish. Note also that the 24bpp and 32bpp modes
  880. are only supported on a limited set of cards, and with at least 2Mb of memory.
  881.  
  882. An ET6000 with 2.25 MB MDRAM is cheap-and-sound, since it can support exactly
  883. 1024x768 at 24bpp (using all available video memory). On all other video cards,
  884. you need at least 4MB of video memory to do this. With only 2MB of (M)DRAM,
  885. 960x720 is the best you can hope for.
  886.  
  887. In the XF86Config "Screen" section, a "Display" subsection must be defined for
  888. each depth that you want to run, with separate Modes and virtual screen size.
  889. Example (2Mb of video memory):
  890.  
  891.      Section "screen"
  892.          SubSection "Display"
  893.              Depth 8
  894.              Virtual 1280 1024
  895.              ViewPort 0 0
  896.              Modes "640x480" "800x600" "1024x768"
  897.          EndSubSection
  898.          SubSection "Display"
  899.              Depth 16
  900.              Virtual 1024 992
  901.              ViewPort 0 0
  902.              Modes "640x480" "800x600" "1024x768"
  903.          EndSubSection
  904.          SubSection "Display"
  905.              Depth 24
  906.              Virtual 960 720
  907.              ViewPort 0 0
  908.              Modes "640x480" "800x600"
  909.          EndSubSection
  910.          SubSection "Display"
  911.              Depth 32
  912.              Virtual 832 600
  913.              ViewPort 0 0
  914.              Modes "640x480" "800x600"
  915.          EndSubSection
  916.      EndSection
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  Information for Tseng Chipset Users                                         15
  929.  
  930.  
  931.  
  932. 15.  Trouble shooting with the SVGA Tseng driver
  933.  
  934. First of all, make sure that the default modes selected from your XF86Config
  935. are supported by your monitor, i.e. make sure the horizontal sync limit is cor-
  936. rect. It is best to start with standard 640x480x256 with a 25.175 MHz clock (by
  937. specifying a single horizontal sync of 31.5) to make sure the driver works on
  938. your configuration. The default mode used will always be the first mode listed
  939. in the modes line, with the highest dot clock listed for that resolution in the
  940. timing section.
  941.  
  942. Some general hints:
  943.  
  944.    o Put Option "slow_dram" in the Device Section.
  945.  
  946.    o Put Option "pci_burst_off" in the Device Section.
  947.  
  948.    o Put Option "w32_interleave_off" in the Device Section.
  949.  
  950.    o Take out the Hercules monochrome adapter, if you have one.  Many configu-
  951.      rations of the ET4000/W32 series do not allow one in the system.
  952.  
  953.    o Get a motherboard with its local bus running at 33 MHz.  Many, if not all,
  954.      ET4000/W32 boards will surely behave in a funny way on a 50-MHz bus.  You
  955.      may have to use a wait state or two, but first try without any.
  956.  
  957.    o Cold-boot your machine.  Do not run anything that messes with the video
  958.      hardware, including other X servers, before running XF86_SVGA.
  959.  
  960.    o In case of an ET6000 card, try specifying chipset "et6000" in the Device
  961.      Section. The card normally auto-probes from the PCI bus, but on some sys-
  962.      tems, another on-board VGA card, although disabled, may cause the ET6000
  963.      server to want to use the other card.
  964.  
  965. Note that some VESA standard mode timings may give problems on some monitors
  966. (try increasing the horizontal sync pulse, i.e. the difference between the mid-
  967. dle two horizontal timing values, or try multiples of 16 or 32 for all of the
  968. horizontal timing parameters).
  969.  
  970.       There is a video signal, but the screen doesn't sync.
  971.             You are using a mode that your monitor cannot handle. If it is a
  972.             non-standard mode, maybe you need to tweak the timings a bit. If it
  973.             is a standard mode and frequency that your monitor should be able
  974.             to handle, try to find different timings for a similar mode and
  975.             frequency combination.
  976.  
  977.       Horizontal jitter at high dot clocks.
  978.             This problem shows up especially when drawing operations such as
  979.             scrolling or blitting are in progress. There is currently no easy
  980.             fix for this, You can try the "fast_dram" option, or use a lower
  981.             dot clock. If that is not sufficient, the "noaccel" option will
  982.             almost always help (it leaves more bandwidth for the RAMDAC). In
  983.             most cases, this is caused by the video memory not being able to
  984.             provide pixel data to the RAMDAC fast enough, so it gets fed with
  985.             garbage.
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  Information for Tseng Chipset Users                                         16
  995.  
  996.  
  997.  
  998.       `Wavy' screen.
  999.             Horizontal waving or jittering of the whole screen, continuously
  1000.             (independent from drawing operations). You are probably using a dot
  1001.             clock that is too high; it is also possible that there is interfer-
  1002.             ence with a close MCLK. Try a lower dot clock (sometimes even drop-
  1003.             ping it by 0.5 MHz may work). You can also try to tweak the mode
  1004.             timings; try increasing the second horizontal value somewhat.
  1005.             Here's a 65 MHz dot clock 1024x768 mode (about 60 Hz) that might
  1006.             help:
  1007.  
  1008.                   "1024x768"     65      1024 1116 1228 1328     768  783  789  818
  1009.  
  1010.       Crash or hang after start-up (probably with a black screen).
  1011.             Try the "noaccel" option. Check that the BIOS settings are OK; in
  1012.             particular, disable caching of 0xa0000-0xaffff. Disabling hidden
  1013.             DRAM refresh may also help.
  1014.  
  1015.             On Linux systems, if "APM" (power management) support is enabled in
  1016.             the kernel, the server may start up in power-save mode or with a
  1017.             black screen. Rebuild your kernel with APM support disabled.
  1018.  
  1019.       Crash, hang, or trash on the screen after a graphics operation.
  1020.             This may be related to a bug in one of the accelerated functions,
  1021.             or a problem with the BitBLT engine. Try the "noaccel" option.
  1022.             Also check the BIOS settings.
  1023.  
  1024.       `ACL: TIMEOUT' messages from the server.
  1025.             Same as for the above entry. However, on some systems, the problem
  1026.             will not go away no matter what you do. It may be related to the
  1027.             operating system you use (it has only been seen on Linux systems,
  1028.             and even then it depends on the kernel versions). Sometimes, choos-
  1029.             ing another MemBase may help.
  1030.  
  1031.       Occasional erroneous pixels in text, pixel dust when moving window-frame
  1032.             Probably related to MCLK setting that is too high (can happen with
  1033.             linear addressing even though banked mode runs OK). Most (if not
  1034.             all) ET6000 cards are sold with the MCLK slightly over clocked for
  1035.             performance (the current norm is 90 or 92 MHz), which may cause
  1036.             these problems. There is currently no fix for this. If the pixel
  1037.             dust is only temporary (it disappears as soon as nothing moves on
  1038.             the screen anymore), then memory bandwidth is probably the cause.
  1039.             The only solution is to disable acceleration, or, if that doesn't
  1040.             help, using a lower pixel clock.
  1041.  
  1042.       Textmode is not properly restored
  1043.             This has been reported on some configurations. Sometimes a Chipset
  1044.             line will fix this. Normally you should be able to restore the
  1045.             textmode font using a utility that sets it (setfont, runx, restore-
  1046.             font on Linux).
  1047.  
  1048.       Mostly black or blue screen when using accelerated driver features
  1049.             If you are seeing a mostly black or blue screen, with only a few
  1050.             icons (pixmaps) displayed, this section applies to you.
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  Information for Tseng Chipset Users                                         17
  1061.  
  1062.  
  1063.  
  1064.             There can be several causes for this.
  1065.  
  1066.             One is if the amount of memory is not detected (or specified) cor-
  1067.             rectly. If the server's autodetection mechanism detects too much
  1068.             memory, accelerated features will not work. Define the amount of
  1069.             memory in the XF86Config file. This seems to happen sometimes on
  1070.             some 2.25 MB ET6000 cards, where the server detects 2.5 MB instead
  1071.             (add videoram "2304" in this particular case).
  1072.  
  1073.             If that doesn't help, disabling acceleration (option "noaccel") is
  1074.             the only solution.
  1075.  
  1076.       Problems with DMA hardware (floppy, tape)
  1077.             On some systems, the accelerated server will interfere with other
  1078.             hardware that uses ISA DMA. Most notably is the PC floppy con-
  1079.             troller and sound cards. The floppy interface cannot cope with
  1080.             inordinately long bus-holds, which may occur during large acceler-
  1081.             ated operations.  The Linux-ftape module for example (a floppy-tape
  1082.             driver) will generate lots of "write error" messages when running a
  1083.             backup or restore operation while the X-server is in use. These
  1084.             errors should not be fatal, but that all depends on how well the
  1085.             operating system handles these conditions. Linux seems to cope.
  1086.  
  1087.             There are two possible solutions: disable acceleration using the
  1088.             "noaccel" option, or disable PCI-retry (which is causing the large
  1089.             bus delays) by removing the "pci_retry" option.  This will cause a
  1090.             very small slowdown of accelerated operations.
  1091.  
  1092.             The "pci_retry" option applies not only to the PCI bus systems, but
  1093.             has a similar effect on other busses.
  1094.  
  1095.       "Cannot read colourmap from VGA.  Will restore with default"
  1096.             If this error occurs, the server was unable to properly initialize
  1097.             the RAMDAC, and tries to restore a default color map. On some
  1098.             unsupported RAMDACs, this will have the adverse effect of removing
  1099.             all color altogether, leaving you with a bunch of weird colors, or
  1100.             with a completely black screen. If that happens, add the ramdac
  1101.             "normal" statement to the Device section in your XF86Config file.
  1102.             In most cases, this will solve the color problem.
  1103.  
  1104.       Why does the server report my ModeLine with only half the pixel clock?
  1105.             For ET4000W32p cards at 8bpp, some modes using a clock over 75 MHz
  1106.             (e.g. a 1152x910 mode with 95 MHz pixel clock) will produce the
  1107.             following message in the Xserver output:
  1108.  
  1109.             (--) SVGA: Mode "1152x910" will use pixel multiplexing
  1110.  
  1111.             And later, when the accepted modelines are reported:
  1112.  
  1113.             (**) SVGA: Mode "1152x910": mode clock =  47.500
  1114.  
  1115.             This is normal, because with pixel multiplexing, only half the
  1116.             clock is needed as two pixels are sent to the RAMDAC per clock
  1117.             pulse.
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  Information for Tseng Chipset Users                                         18
  1127.  
  1128.  
  1129.  
  1130. For other screen drawing related problems, try the "noaccel" option.
  1131.  
  1132. If you are having driver-related problems that are not addressed by this docu-
  1133. ment, or if you have found bugs in accelerated functions, you can try contact-
  1134. ing the XFree86 team.
  1135.  
  1136. In fact, reports (success or failure) are very welcome, especially on configu-
  1137. rations that have not been tested. You can do this via the BetaReport form
  1138. (mail it to report@XFree86.org). You may want to keep an eye on forthcoming
  1139. beta releases at www.xfree86.org.
  1140.  
  1141.  
  1142. 16.  Acknowledgments
  1143.  
  1144. Most of these stem from the old XF86_W32 server. That code was used extensively
  1145. for getting the SVGA server to work on all the Tseng cards, so they are still
  1146. somewhat valid.
  1147.  
  1148. Glenn G. Lai wrote the original XF86_W32 server. It was modified by Dirk Hohn-
  1149. del and Koen Gadeyne to support some more hardware.
  1150.  
  1151. Jerry J. Shekhel (jerry@msi.com) gave me (GGL) the 1-M Mirage ET4000/W32 VLB
  1152. board on which the initial development (X_W32) was done.
  1153.  
  1154. X11R6 and The XFree86 Project provide the base code for XF86_W32.
  1155.  
  1156. Hercules Computer Technology Inc. lent me (GGL) a 2-M Hercules Dynamite Pro VLB
  1157. board for the development that led to XF86_W32.   They donated a Dynamite Power
  1158. PCI to The XFree86 Project, that was used by DHH to extend the server.
  1159.  
  1160. Tseng Labs kindly donated (KMG) an ET6000-based board (a Jazz Multimedia G-
  1161. Force 128), which spurred the development of the ET6000 code. They also pro-
  1162. vided an ET6100 evaluation board.
  1163.  
  1164. Heiko Eissfeldt provided an ET4000W32p_rev_b board which allowed us to get bet-
  1165. ter support for those rev_a and rev_b boards.
  1166.  
  1167. Gyorgy Krajcsovits donated an ET4000W32p + CH8398 board. A Really Good Move!
  1168.  
  1169. Numerous testers have given me feedback for X_W32 and later XF86_W32.  I apolo-
  1170. gize for my failure to keep track of the people who tested X_W32, but the names
  1171. of the people involved with the XF86_W32 testing are listed below:
  1172.  
  1173.       Linux:
  1174.             bf11620@coewl.cen.uiuc.edu (Byron Thomas Faber)
  1175.  
  1176.             dlj0@chern.math.lehigh.edu (David Johnson)
  1177.  
  1178.             peterc@a3.ph.man.ac.uk (Peter Chang)
  1179.  
  1180.             dmm0t@rincewind.mech.virginia.edu (David Meyer)
  1181.  
  1182.             nrh@philabs.Philips.COM (Nikolaus R. Haus)
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  Information for Tseng Chipset Users                                         19
  1193.  
  1194.  
  1195.  
  1196.             jdooley@dbp.caltech.edu (James Dooley)
  1197.  
  1198.             thumper@hitchcock.eng.uiowa.edu (Timothy Paul Schlie)
  1199.  
  1200.             klatta@pkdla5.syntex.com (Ken Latta)
  1201.  
  1202.             robinson@cnj.digex.net (Andrew Robinson)
  1203.  
  1204.             reggie@phys.washington.edu (Reginald S. Perry)
  1205.  
  1206.             sjm@cs.tut.fi (M{kinen Sami J)
  1207.  
  1208.             engel@yacc.central.de (C. Engelmann) use cengelm@gwdg.de
  1209.  
  1210.             postgate@cafe.net (Richard Postgate)
  1211.  
  1212.             are1@cec.wustl.edu (Andy Ellsworth)
  1213.  
  1214.             bill@celtech.com (Bill Foster)
  1215.  
  1216.       FreeBSD:
  1217.             ljo@ljo-slip.DIALIN.CWRU.Edu (L Jonas Olsson)
  1218.  
  1219. Several people have developed code for the SVGA Tseng driver (this list is
  1220. incomplete):
  1221.  
  1222.    o Glenn G. Lai
  1223.  
  1224.    o Dirk H. Hohndel
  1225.  
  1226.    o Koen Gadeyne
  1227.  
  1228.    o OEyvind Aabling
  1229.  
  1230.    o Dejan Ilic
  1231.  
  1232.    o Mark Vojkovich
  1233.  
  1234.    o Harald Nordgard Hansen
  1235.  
  1236.    o David Bateman
  1237.  
  1238.    o Gyorgy Krajcsovits
  1239.  
  1240.    o Kurt Olsen
  1241.  
  1242.      Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/tseng.sgml,v 3.15.2.18 1998/11/13 13:00:48 dawes Exp $
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.      $XConsortium: tseng.sgml /main/6 1996/10/27 11:06:09 kaleb $
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  Information for Tseng Chipset Users                                         20
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.                                    CONTENTS
  1329.  
  1330.  
  1331.  
  1332. 1.  Supported chipsets  ..................................................... 1
  1333.  
  1334. 2.  Terminology  ............................................................ 1
  1335.  
  1336. 3.  ET4000 driver features  ................................................. 1
  1337.  
  1338. 4.  ET6000 driver features  ................................................. 3
  1339.  
  1340. 5.  Clock selection problems with some ET4000 boards  ....................... 4
  1341.  
  1342. 6.  Text mode restore problems  ............................................. 4
  1343.  
  1344. 7.  Basic configuration  .................................................... 5
  1345.  
  1346. 8.  general options in the XF86Config file  ................................. 5
  1347.  
  1348. 9.  linear memory base address (MemBase) issues  ............................ 7
  1349.     9.1 What you should know BEFORE trying another MemBase .................. 7
  1350.     9.2 Choosing a MemBase .................................................. 8
  1351.     9.3 An alternative approach ............................................. 8
  1352.     9.4 When all else fails... .............................................. 8
  1353.     9.5 Restrictions ........................................................ 9
  1354.     9.6 Some boards simply cannot work in linear mode ....................... 9
  1355.     9.7 How can I see if the linear address is wrong? ...................... 10
  1356.  
  1357. 10. Mode issues  ........................................................... 10
  1358.  
  1359. 11. Acceleration issues  ................................................... 11
  1360.  
  1361. 12. ET6000 memory size facts and fiction  .................................. 12
  1362.  
  1363. 13. ET6000 memory bandwidth hype and the impact on video modes  ............ 13
  1364.  
  1365. 14. Linear addressing and 16bpp/24bpp/32bpp modes  ......................... 13
  1366.  
  1367. 15. Trouble shooting with the SVGA Tseng driver ............................ 15
  1368.  
  1369. 16. Acknowledgments  ....................................................... 18
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.                                        i
  1385.  
  1386.  
  1387.