README 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. Information for SiS and XGI Users
  2. Thomas Winischhofer <thomas@winischhofer.net>
  3. 6 July 2005
  4. ____________________________________________________________
  5. Table of Contents
  6. 1. Introduction
  7. 2. xorg.conf Options
  8. 2.1 For all chipsets
  9. 2.2 Old series specific options
  10. 2.3 300/315/330/340 series specific options
  11. 2.4 300 series specific options
  12. 2.5 315/330/340 series specific options
  13. ______________________________________________________________________
  14. 1. Introduction
  15. This driver is written by Thomas Winischhofer and is a (nearly)
  16. complete re-write of a driver written for the SiS6326 and SiS530 by
  17. Alan Hourihane and others.
  18. It currently supports the following chipsets:
  19. +o old series: SiS 5597/5598, 6236/AGP/DVD, 530/620
  20. +o 300 series: SiS 300/305, 540, 630/730
  21. +o 315 series: SiS 315/E/PRO, 55x, 650, 651, M650, 740,
  22. [M]661&[F/M/G]X, [M]741[GX]
  23. +o 330 series: SiS 330 ("Xabre"), [M]760[GX], [M]761[GX]
  24. +o 340 series: SiS 34x, XGI Volari Z7, V3XT, V5, V8
  25. Among other features, the driver supports
  26. +o 8/16/24 bits color depth; old series also 15
  27. +o Hardware cursor; 315/330/340 series: Color HW cursor
  28. +o XAA; EXA; XVideo (Xv); RENDER and other extensions
  29. +o 6326: TV output
  30. +o 300/315/330/340 series: TV output via Chrontel TV encoders or SiS
  31. video bridges
  32. +o 300/315/330/340 series: LCD output via LVDS transmitters or SiS
  33. video bridges
  34. +o 300/315/330/340 series: Dual head mode; Xinerama; Merged
  35. framebuffer mode
  36. +o 300/315/330/340 series: Interface for SiSCtrl (see below)
  37. This document provides a brief overview over the driver's features and
  38. configuration options. Please see
  39. http://www.winischhofer.at/linuxsisvga.shtml for detailed
  40. documentation and updates.
  41. 2. xorg.conf Options
  42. The following options are of particular interest for the SiS driver.
  43. Each of them must be specified in the Device section of the xorg.conf
  44. file for this card.
  45. In the list below, the options' arguments are described by type. For
  46. "boolean", the keywords "on", "true" and "yes", as well as "off",
  47. "false" and "no" respectively have the same meaning.
  48. 2.1. For all chipsets
  49. Option
  50. >
  51. Option
  52. These options select whether the software (SW) or hardware (HW)
  53. cursor should be used. The default is using the hardware cursor.
  54. Option
  55. Disables 2D acceleration. By default, 2D acceleration is
  56. enabled.
  57. Option
  58. Determines which acceleration architecture should be used.
  59. Possible arguments are "XAA" or "EXA". As of this writing, EXA
  60. is still experimental and it is not recommended to be used on
  61. production machines. By default, XAA will be used.
  62. Option
  63. This option enables clockwise ("CW") or counter-clockwise
  64. ("CCW") rotation of the display. Enabling either CW or CCW
  65. rotation disables the RandR extension as well as all 2D
  66. acceleration and Xv support. Default: no rotation.
  67. Option
  68. This option enables reflecting the display horizontally ("X"),
  69. vertically ("Y") or in both directions ("XY"). Enabling
  70. reflection disables the RandR extension as well as all 2D
  71. acceleration and Xv support. Default: no rotation.
  72. Option
  73. This option enables the shadow framebuffer layer. By default, it
  74. is disabled.
  75. Option
  76. Disables the XVideo (Xv) support. Apart from the XGI Volari Z7,
  77. all chipsets support Xv. By default, XVideo support is enabled.
  78. Option
  79. Enables or disables gamma correction. Default: gamma correction
  80. is enabled.
  81. 2.2. Old series specific options
  82. Option
  83. Enables 1 cycle memory access for read and write operations. The
  84. default depends on the chipset used.
  85. Option
  86. SiS chipsets have the ability to extend the engine command queue
  87. in video RAM. This concept is called "TurboQueue" and gives some
  88. performance improvement. Due to hardware bugs, the TurboQueue is
  89. disabled on the 530/620, otherwise enabled by default.
  90. Option
  91. For 5597/5598 only. This option, if set, disables the CPU to VGA
  92. host bus. Disabling the host bus will result in a severe
  93. performance regression.
  94. VideoRAM [size]
  95. The SiS 6326 can only directly address 4096K bytes of video RAM.
  96. However, there are some cards out there featuring 8192K (8MB) of
  97. video RAM. This RAM is not addressable by the engines.
  98. Therefore, by default, the driver will only use 4096K. This
  99. behavior can be overridden by specifying the amount of video RAM
  100. using the VideoRAM keyword. If more than 4096K is specified, the
  101. driver will disable 2D acceleration, Xv and the HW cursor. On
  102. all other chipsets, this keyword is ignored. The size argument
  103. is expected in KB, but without "KB".
  104. Option
  105. Due to hardware bugs, XVideo may display a corrupt image when
  106. using YV12 encoded material. This option, if set, disables
  107. support for YV12 and hence forces the Xv-aware application to
  108. use either YUV2 or XShm for video output.
  109. Option
  110. (6326 only) Selects the TV output standard. May be PAL or NTSC.
  111. By default, this is selected by a jumper on the card.
  112. 2.3. 300/315/330/340 series specific options
  113. Option
  114. This option enables/disables the driver's interface for the
  115. SiSCtrl utility. Please see
  116. http://www.winischhofer.at/linuxsisvga.shtml for more
  117. information.
  118. Option
  119. (300 series only) SiS chipsets have the ability to extend the
  120. engine command queue in video RAM. This concept is called
  121. "TurboQueue" and gives some performance improvement. The
  122. TurboQueue is enabled by default.
  123. Option
  124. Enables or disables CRT1 (= the external VGA monitor). By
  125. default, the driver will use CRT1 if a monitor is detected
  126. during server start. Some older monitors can't be detected, so
  127. they may require setting this option to true. To disable CRT1
  128. output, set this option to false.
  129. Option
  130. (For SiS 650, M650, 651, 661, 741, 760 with either SiS 301LV,
  131. 302LV or SiS 301C video bridge only) The argument may be "VGA",
  132. "LCD" or "OFF". Specifying LCD will force the driver to use the
  133. VGA controller's CRT1 channel for driving the LCD while CRT2 is
  134. free for TV usage. "OFF" is the same as setting the option
  135. ForceCRT1 to "false". Default is VGA.
  136. Option
  137. Selects the CRT2 output device type. Valid parameters are "LCD",
  138. "TV", "SVIDEO", "COMPOSITE", "SVIDEO+COMPOSITE", "SCART", "VGA",
  139. "YPBPR480I", "YPBPR480P", "YPBPR720P", "YPBPR1080I" or "NONE".
  140. NONE disables CRT2. SVIDEO, COMPOSITE, SVIDEO+COMPOSITE, SCART
  141. and all the YPBPR alternatives are only for systems with a SiS
  142. video bridge and select the desired plug or TV standard type.
  143. For Chrontel systems, TV should be used instead. VGA means
  144. secondary VGA and is only available on some SiS video bridges
  145. (301, 301B, 301C).
  146. Option
  147. (For SiS video bridges only) This option enables or disables
  148. gamma correction for CRT2. Default: gamma correction for CRT2 is
  149. enabled.
  150. Option
  151. Although this option is accepted for all chipsets, it currently
  152. only makes sense on the 300 series; DRI is only supported on
  153. these chipsets. This option enables/disables DRI.
  154. Option
  155. Selects the TV output standard. May be PAL or NTSC, on some
  156. machines (depending on the hardware) also PALM and PALN.
  157. Default: BIOS setting.
  158. Option
  159. >
  160. Option
  161. These options allow relocating the image on your TV. Both
  162. options take an integer within the range of -16 to 16. Default:
  163. 0. Not supported for Chrontel 7019.
  164. Option
  165. (For Chrontel TV encoders only) Selects whether TV output should
  166. be overscan or underscan.
  167. Option
  168. (For Chrontel 7005 TV encoders in PAL mode only) Selects whether
  169. TV output should be super-overscan (slightly larger than the
  170. viewable area) or not.
  171. Option
  172. >
  173. Option
  174. (For SiS video bridges only) These options allow zooming the
  175. image on your TV. SISTVXScale takes an integer within the range
  176. of -16 to 16. SISTVYScale accepts -4 to 3. Default: 0. Not all
  177. modes can be scaled.
  178. 2.4. 300 series specific options
  179. Option
  180. This option might only be needed if you are running X on a Linux
  181. 2.4 series kernel. This option is not needed and should be
  182. omitted on Linux 2.6 and *BSD.
  183. The Linux kernel features a framebuffer driver named "sisfb"
  184. which takes care of memory management for DRI/DRM (such as for
  185. 3D texture data). In order to keep the X driver and sisfb from
  186. overwriting each other's video memory, sisfb reserves a certain
  187. amount of video memory for the X driver. Reserved memory is for
  188. X 2D, pixmap cache and video data only. Sisfb will not present
  189. this memory to the DRI. The amount of reserved memory can either
  190. be selected using sisfb's mem parameter or auto-selected
  191. depending on the total amount of video RAM available.
  192. Fact of the matter is, the X driver needs to know about the
  193. amount of RAM sisfb reserved. For this purpose, the Option
  194. "MaxXFBMem" exists.
  195. If you start sisfb with a valid mode (ie you run a graphical
  196. console), the X driver can communicate with sisfb and doesn't
  197. require setting the MaxXFBMem option at all. The X driver will
  198. receive enough information from sisfb in this case.
  199. If you, on the other hand, use sisfb for memory management only,
  200. ie you started sisfb with mode=none and still have a text mode
  201. console, there is no communication between sisfb and the X
  202. driver. In this - and ONLY this - case, you need to set
  203. MaxXFBMem to the same value as you gave sisfb with its mem
  204. parameter. If you didn't specify any mem parameter, sisfb will
  205. reserve (and you will have to specify by MaxXFBMem) 12288KB if
  206. more than 16MB of total video RAM is available, 8192KB if
  207. between 12 and 16MB of video RAM is available, 4096KB in all
  208. other cases. The size is expected in KB, without the "KB".
  209. Final word of advice: If you intend to use DRI on an integrated
  210. chipset (such as the 540/630/730), it is recommended to set the
  211. total video memory in the BIOS setup utility to 64MB.
  212. 2.5. 315/330/340 series specific options
  213. Option
  214. Enables or disables RENDER acceleration. This feature, for
  215. instance, accelerates output of anti-aliased text. By default,
  216. RENDER acceleration is enabled. RENDER acceleration is currently
  217. only supported for XAA, not EXA.
  218. Option
  219. (For 315, 650, 740, 330, 340 and XGI chips only) This option
  220. selects whether the XVideo (Xv) overlay should be displayed on
  221. CRT1 or CRT2. Setting this option means CRT2. The other CRT will
  222. only display the (by default: blue) color key or a black/red
  223. pattern.