README revision 5f5b92ff
15f5b92ffSmrg Information for Alliance Promotion chipset users 25f5b92ffSmrg Loic Grenie ( <mailto:grenie@math.jussieu.fr>), Henrik 35f5b92ffSmrg Harmsen ( <mailto:Henrik.Harmsen@erv.ericsson.se>) 45f5b92ffSmrg 6 March 2000 55f5b92ffSmrg ____________________________________________________________ 65f5b92ffSmrg 75f5b92ffSmrg Table of Contents 85f5b92ffSmrg 95f5b92ffSmrg 105f5b92ffSmrg 1. Support chipsets 115f5b92ffSmrg 2. Acceleration 125f5b92ffSmrg 3. DGA 135f5b92ffSmrg 4. Video 145f5b92ffSmrg 5. Shadow framebuffer 155f5b92ffSmrg 6. Configuration 165f5b92ffSmrg 7. glide2x 175f5b92ffSmrg 8. Questions 185f5b92ffSmrg 195f5b92ffSmrg 205f5b92ffSmrg ______________________________________________________________________ 215f5b92ffSmrg 225f5b92ffSmrg 1. Support chipsets 235f5b92ffSmrg 245f5b92ffSmrg The apm driver in the SVGA server is for Alliance Promotion graphics 255f5b92ffSmrg chipsets. The following chipsets are supported: 265f5b92ffSmrg 275f5b92ffSmrg 285f5b92ffSmrg o 6422 295f5b92ffSmrg 305f5b92ffSmrg Old chipset. The driver is still very unstable and has computer 315f5b92ffSmrg crashes. You should use XFree86 3.3.x for this chipset. 325f5b92ffSmrg 335f5b92ffSmrg 345f5b92ffSmrg o AT24 355f5b92ffSmrg 365f5b92ffSmrg As found in Diamond Stealth Video 2500. Quite similar to AT3D. 375f5b92ffSmrg 385f5b92ffSmrg o AT25, AT3D 395f5b92ffSmrg 405f5b92ffSmrg AT3D is found in Hercules Stingray 128/3D. Most other Voodoo Rush 415f5b92ffSmrg based cards use the AT25 which is identical except it doesn't have 425f5b92ffSmrg the 3D stuff in it. 435f5b92ffSmrg 445f5b92ffSmrg 455f5b92ffSmrg 2. Acceleration 465f5b92ffSmrg 475f5b92ffSmrg The apm driver uses the XAA in the SVGA server. It has support for the 485f5b92ffSmrg following acceleration: 495f5b92ffSmrg 505f5b92ffSmrg 515f5b92ffSmrg o Bitblts (rectangle copy operation) 525f5b92ffSmrg 535f5b92ffSmrg o Lines (solid, single pixel) 545f5b92ffSmrg 555f5b92ffSmrg o Filled rectangles 565f5b92ffSmrg 575f5b92ffSmrg o CPU->Screen image transfers. 585f5b92ffSmrg 595f5b92ffSmrg o CPU->Screen colour expansion (text accel). 605f5b92ffSmrg 615f5b92ffSmrg o Screen->Screen colour expansion (cached text accel). 625f5b92ffSmrg 635f5b92ffSmrg o Mono 8x8 pattern fill. Not for 6422. 645f5b92ffSmrg 655f5b92ffSmrg o Colour 8x8 pattern fill (in 8bpp). Not for 6422. 665f5b92ffSmrg 675f5b92ffSmrg o Hardware cursor. 685f5b92ffSmrg 695f5b92ffSmrg o Pixmap caching. 705f5b92ffSmrg 715f5b92ffSmrg All in 8, 16 and 32 bpp modes. In 24bpp mode only Bitblts and Filled 725f5b92ffSmrg rectangles is supported. Also VESA DPMS power save mode is fully 735f5b92ffSmrg supported with "standby", "suspend" and "off" modes (set with with the 745f5b92ffSmrg "xset dpms" command). 755f5b92ffSmrg 765f5b92ffSmrg 775f5b92ffSmrg 3. DGA 785f5b92ffSmrg 795f5b92ffSmrg Full DGA 2.0 support with framebuffer access and drawing acceleration. 805f5b92ffSmrg 815f5b92ffSmrg 825f5b92ffSmrg 4. Video 835f5b92ffSmrg 845f5b92ffSmrg It has limited hardware support for video decoding on the AT24 and 855f5b92ffSmrg AT25/3D. It can also display an image in YUV colours inside the 865f5b92ffSmrg desktop. There are some more exotic formats such as YUV 4.1.1, YUV 875f5b92ffSmrg 4.0.0 and RGB 8,16.32bpp. 885f5b92ffSmrg 895f5b92ffSmrg 905f5b92ffSmrg 5. Shadow framebuffer 915f5b92ffSmrg 925f5b92ffSmrg There is a mode, called shadow framebuffer, where the graphics are 935f5b92ffSmrg used to display the images. All rendering is done in memory in a so- 945f5b92ffSmrg called shadow framebuffer. This mode is useful if you need lots of 955f5b92ffSmrg reading in the video memory and to use it you will have to put 965f5b92ffSmrg 975f5b92ffSmrg Option "ShadowFB" 985f5b92ffSmrg 995f5b92ffSmrg 1005f5b92ffSmrg 1015f5b92ffSmrg in your xorg.conf file. 1025f5b92ffSmrg 1035f5b92ffSmrg 1045f5b92ffSmrg 6. Configuration 1055f5b92ffSmrg 1065f5b92ffSmrg You can turn off hardware cursor by inserting the following line in 1075f5b92ffSmrg the Device section of the xorg.conf file: 1085f5b92ffSmrg 1095f5b92ffSmrg Option "SWcursor" 1105f5b92ffSmrg 1115f5b92ffSmrg 1125f5b92ffSmrg 1135f5b92ffSmrg Or turn off hardware acceleration: 1145f5b92ffSmrg 1155f5b92ffSmrg Option "noaccel" 1165f5b92ffSmrg 1175f5b92ffSmrg 1185f5b92ffSmrg 1195f5b92ffSmrg Or turn off MMIO 1205f5b92ffSmrg 1215f5b92ffSmrg 1225f5b92ffSmrg Option "nolinear" 1235f5b92ffSmrg 1245f5b92ffSmrg 1255f5b92ffSmrg 1265f5b92ffSmrg Do not specify either the amount of video RAM or which chipset in the 1275f5b92ffSmrg config file. It is better to let the driver probe for this. Also don't 1285f5b92ffSmrg put any "clocks" line in the device section since these chips have a 1295f5b92ffSmrg fully programmable clock that can almost take any modeline you throw 1305f5b92ffSmrg at it. It might though fail at some specific clock values but in that 1315f5b92ffSmrg case you should just try a slightly different clock and it should 1325f5b92ffSmrg work. 1335f5b92ffSmrg 1345f5b92ffSmrg 1355f5b92ffSmrg 7. glide2x 1365f5b92ffSmrg 1375f5b92ffSmrg There is support for the XF86Rush extension for use with the glide2x 1385f5b92ffSmrg library. 1395f5b92ffSmrg 1405f5b92ffSmrg 1415f5b92ffSmrg 8. Questions 1425f5b92ffSmrg 1435f5b92ffSmrg Any questions regarding this driver should be sent to Loic Grenie. It 1445f5b92ffSmrg should be possible to add support for the 3210 chipset if someone 1455f5b92ffSmrg needs it. 1465f5b92ffSmrg 1475f5b92ffSmrg 1485f5b92ffSmrg 149