README 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. xf86-video-geode -- AMD Geode GX and LX graphics driver for X.org
  2. =================================================================
  3. README last updated: 2011-11-24
  4. 1.INTRODUCTION
  5. This is the X graphics driver for the AMD Geode GX and LX processors.
  6. The GX component supports both XAA and EXA for graphics acceleration.
  7. The LX component supports EXA, including compositing. Both support Xv
  8. overlay and dynamic rotation with XRandR. Additionally, a V4L2 driver
  9. for the LX's video input port (VIP) feature is provided as "ztv".
  10. 2.DEPENDENCIES
  11. Since version 2.9.0, this driver depends on X server 1.3 or greater,
  12. because it utilizes the new common DDC probing libraries from X.Org.
  13. 3.ROADMAP
  14. Support for old GX1 Geodes by Cyrix and NSC will be reintroduced soon,
  15. at which point xf86-video-cyrix and xf86-video-nsc will be retired.
  16. Until then, the current situation for Geode coverage is as follow:
  17. xf86-video-geode
  18. * Geode LX (a.k.a. GX3) PCI ID 0x1022:0x2081
  19. * Geode GX (a.k.a. GX2) PCI ID 0x100B:0x0030 (re-branded GX2)
  20. xf86-video-nsc
  21. * Geode GX2 (a.k.a. GX2) PCI ID 0x100B:0x0030 (a.k.a. "Red Cloud")
  22. * Geode SCx200 (a.k.a. GX1) PCI ID 0x100B:0x0504
  23. * Geode SC1400 (a.k.a. GX1) PCI ID 0x100B:0x0104
  24. xf86-video-cyrix
  25. * Geode MediaGX (a.k.a. GX1) PCI ID 0x1078:0x0104
  26. Please note that both NSC and GEODE support GX2. This is indeed correct.
  27. However, only GEODE has up-to-date code, while NSC is deprecated.
  28. 4.MAXIMUM RESOLUTIONS
  29. The driver supports all maximum resolutions advertised by AMD, namely:
  30. LX: 1920x1440 (CRT) and 1600x1200 (TFT)
  31. GX: 1600x1200 (CRT) and 1280x1024 (TFT)
  32. SC: 1280x1024 (CRT/TFT) *** Currently unsupported by this driver ***
  33. 5.CONFIGURATION OPTIONS
  34. You can specify driver options in /etc/X11/xorg.conf in the usual fashion:
  35. Section "Device"
  36. Identifier "AMD Geode"
  37. Driver "geode"
  38. Option "OptionName" "value"
  39. ...
  40. EndSection
  41. The following options may be added to such a Device section:
  42. 5.1.COMMON OPTIONS
  43. FBSize: Specify the size of the video space (in bytes)
  44. NoAccel: Disable hardware assisted acceleration
  45. NoCompression: Disable video bandwidth compression
  46. NoPanel: Disable panel support
  47. Rotate: Select an initial orientation - LEFT, INVERT, CCW
  48. SWCursor: Enable software cursors (essentially disabling HW cursor support)
  49. 5.2.GX-SPECIFIC OPTIONS
  50. AccelMethod: "XAA" (default) or "EXA"
  51. PanelGeometry: Specify the geometry of the attached panel ("<width>x<height>")
  52. OSMImageBuffers: Set the number of image buffers (XAA only)
  53. OSMColorExpBuffers: Set the number of color expansion buffers (XAA only)
  54. 5.3.LX-SPECIFIC OPTIONS
  55. ExaScratch: Specify the amount of extra EXA scratch buffer (in bytes)
  56. 6.FREQUENTLY ASKED QUESTIONS (FAQ)
  57. Q: Why doesn't the GEODE driver work at WXGA (wide screen) resolutions?
  58. A: Make sure that TFT Panel support is disabled in the BIOS settings,
  59. otherwise resolutions will be restricted to traditional VGA modes.
  60. The GEODE offers a choice between CRT-only, CRT+TFT, TFT-only for
  61. output device and selecting CRT-only removes the VGA restriction.
  62. Q: How can these hardcoded modes be expanded to support a WXGA laptop?
  63. A: By adding the desired modes to /etc/X11/xorg.conf as follow:
  64. 1) Use either the "cvt" or "gtf" command to determine the modeline:
  65. cvt 1024 600 60
  66. Where 1024x600 is the resolution and 60 the refresh rate.
  67. The resulting modeline using "gtf" is:
  68. Modeline "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -hsync +vsync
  69. 2) Add it to the bottom of the "Monitor" section in /etc/X11/xorg.conf.
  70. In this example, we created entries for two modes and configured the
  71. larger resolution to be our preferred choice.
  72. #############################################################
  73. # /etc/X11/xorg.conf for 1024x600 and 800x480 laptop panels #
  74. #############################################################
  75. #### By J.KASPER and B.HIBRY #### for Hercules eCafe 800 ####
  76. #############################################################
  77. Section "Module"
  78. Load "ztv"
  79. EndSection
  80. Section "Device"
  81. Identifier "card0"
  82. Driver "geode"
  83. BusID "PCI:0:1:1"
  84. Option "PanelMode" "33450 800 840 968 1056 480 490 492 525"
  85. EndSection
  86. Section "Monitor"
  87. Identifier "monitor0"
  88. Modeline "1024x768" 64.56 1024 1056 1296 1328 768 783 791 807 -hsync +vsync
  89. Modeline "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -hsync +vsync
  90. Modeline "800x480" 33.45 800 840 968 1056 480 490 492 525 -hsync +vsync
  91. Option "dpms"
  92. EndSection
  93. Section "Screen"
  94. Identifier "Default Screen"
  95. Monitor "monitor0"
  96. Device "card0"
  97. DefaultDepth 24
  98. Subsection "Display"
  99. Depth 24
  100. Modes "1024x600" "1024x768" "800x480"
  101. EndSubsection
  102. EndSection
  103. ### EOF ###
  104. Q: Why doesn't screen rotation work?
  105. A: Make sure that a sufficient amount of video RAM is reserved in the BIOS,
  106. otherwise rotation will fail and this error message appear in Xorg.log:
  107. Couldn't allocate the shadow memory for rotation
  108. You need XX bytes, but only YY bytes are available
  109. Q: How do I produce useful information whenever submitting a bug report?
  110. A: See http://www.x.org/wiki/Development/Documentation/ServerDebugging
  111. and follow the instructions found there.
  112. Q: How do I test development snapshots from the upstream GIT repository?
  113. A: Run the following commands from a command line interpreter shell:
  114. 1. git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-geode
  115. 2. Debian/Ubuntu: apt-get install autoconf automake libtool xutils-dev
  116. apt-get install build-dep xserver-xorg-video-geode
  117. Fedora/Red Hat: yum install autoconf automake libtool xorg-x11-util-macros
  118. yum-builddep xorg-x11-drv-geode
  119. 3. cd xf86-video-geode
  120. 4. ./autogen.sh
  121. 5. make distcheck
  122. ...then install the driver manually.
  123. Q: What is the preferred method for submitting patches to this driver?
  124. A: See http://www.x.org/wiki/Development/Documentation/SubmittingPatches
  125. and submit the patches to the Geode X.org mailing list or to Bugzilla
  126. against product "xorg" component "Driver/geode".
  127. 7.PROJECT CONTACTS
  128. Project homepage:
  129. http://www.x.org/wiki/GeodeDriver
  130. Mailing list:
  131. http://lists.freedesktop.org/mailman/listinfo/xorg-driver-geode
  132. Bug reports:
  133. https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode
  134. Code browser:
  135. http://cgit.freedesktop.org/xorg/driver/xf86-video-geode
  136. Code repository:
  137. git://anongit.freedesktop.org/git/xorg/driver/xf86-video-geode
  138. IRC channel:
  139. #geode on the Freenode network.
  140. .EOF.