From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Wed, 11 Oct 2000 08:48:23 +0000 From: Agnelo de la Crotche Message-ID: <39E55E27.40A3580F@yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [9fans] ATTN Russ Cox - Req : add support to AtiXpert@Play graphic adapter . Topicbox-Message-UUID: 164cd942-eac9-11e9-9e20-41e7f4b1d025 Hi Russ, I was told that you might be able to enhance the mach64xx driver and add support for the AtiXpert@Play adapter, which has been identified as an AtiXpert@Work (it has the same ID string), but has a different DAC. (you may figure out that I bought that one a couple month ago, because I couldn't find an AtiXpert@Work anymore and not for the TV output) I have tried to select hardware components, in order to run all operating systems on my test box and I got them all installed, self bootable and almost fully operational, except Plan 9 with this graphic card. Getting another graphic card might result in other problems with other Operating systems. For now, I have test successfully this graphic card with Linux, Solaris, Sco, Free/Net/OpenBSD, BeOS, QNX, OS/2, Hurd (graphic not tested yet). Only Plan 9 is missing here. I thought that it would not be such a big deal to enhance the driver (but to tell the truth I have no idea). You may find these Plan9, Solaris and X issues informative , Agnelo ---------------------------------------------------------------------------------------------------------------------------------- # Plan 9 - vgainfo.txt main->snarf vga->snarf mach64xx->snarf vga->dump vga misc 67 vga feature 00 vga sequencer 03 00 03 00 02 vga crt 5F 4F 50 82 55 81 BF 1F - 00 4F 0E 0F 00 00 07 80 9C 8E 8F 28 1F 96 B9 A3 - FF vga graphics 00 00 00 00 00 10 0E 00 - FF vga attribute 00 01 02 03 04 05 14 07 - 38 39 3A 3B 3C 3D 3E 3F 0C 00 0F 08 00 vga vm a b 16777216 0 vga vmz 8388608 vga apz 8388608 vga linear 1 vga->attr: 0xC00E7=MACH64GBPCIM mach64xx->dump mach64xx pci 43b40 io d800 pciregs mach64xx ccru 300 mach64xx HTotalDisp 004F005F mach64xx HSyncStrtWid 00210055 mach64xx VTotalDisp 018F01BF mach64xx VSyncStrtWid 002E019C mach64xx VlineCrntVline 00F103FF mach64xx OffPitch 0A000000 mach64xx IntCntl 80000014 mach64xx CrtcGenCntl 02410200 mach64xx OvrClr 00000100 mach64xx OvrWidLR 00010000 mach64xx OvrWidTB 00020000 mach64xx CurClr0 FFFFFFFF mach64xx CurClr1 00000000 mach64xx CurOffset 00000000 mach64xx CurHVposn 00000000 mach64xx CurHVoff 00000000 mach64xx ScratchReg0 04900400 mach64xx ScratchReg1 20800000 mach64xx ClockCntl 00AD0003 mach64xx BusCntl 7333A100 mach64xx MemCntl 10753A7B mach64xx ExtMemCntl 74130C01 mach64xx MemVgaWpSel 00010000 mach64xx MemVgaRpSel 00010000 mach64xx DacRegs 00FF0040 mach64xx DacCntl 8601200A mach64xx GenTestCntl 00000000 mach64xx ConfigCntl 000039C2 mach64xx ConfigChipId 7C004742 mach64xx ConfigStat0 00000015 mach64xx ConfigStat1 40100240 mach64xx ConfigStat2 0A200000 mach64xx DspConfig 006806F7 mach64xx DspOnOff 004F06BD mach64xx DpBkgdClr FFFFFFFF mach64xx DpChainMsk FFFFFFFF mach64xx DpFrgdClr FFFFFFFF mach64xx DpMix FFFFFFFF mach64xx DpPixWidth FFFFFFFF mach64xx DpSrc FFFFFFFF mach64xx DpWriteMsk FFFFFFFF mach64xx LcdIndex 00000000 mach64xx LcdData 00000000 mach64xx PLL AD D5 40 64 D9 03 FF DA - F6 00 00 C1 A6 1B 00 00 00 00 80 00 10 A3 CC 10 - 00 00 00 00 00 00 00 00 mach64xx VCLK0 12192825 mach64xx VCLK1 13758876 mach64xx VCLK2 0 mach64xx VCLK3 0 rom table offset 11A freq table offset 82A memclk 100000000 ref_freq 29500000 ref_divider 64 min_freq 9840000 max_freq 236000000 pd 3 value 0 (|3) post = 8 mach64xx pixel clock = 25120000 ATI BIOS rom 0x11a freq 0x0 clock 0x82a clocks: 43605 60256 26747 246 0 0 0 0 0 0 0 0 376 0 0 16969 programmable clock: 4 clock to program: 3 reference numerator: 29500 reference denominator: 1 internal clock reference divider in plls panelid 85 x 1 y 0 vmf 0 vmdf 75000000 vf1 0 vbw 135000000 vga->init mach64xx->init rom table offset 11A freq table offset 82A memclk 10000 memclk 10000... x 10.666667...t 10... xprec 4...fifosz 341.333333...fprec 9...prec 4...afifosz 32...fifooff 331.000000...pfc 7...rcc 9...fifoon 44.000000... dbdumpmode type=multisync135, size=1024x768x8 frequency=75000000 x=1024 (0x400), y=768 (0x300), z=8 (0x8) ht=1328 (0x530), shb=1096 (0x448), ehb=1232 (0x4D0) shs=1072 (0x430), ehs=1232 (0x4D0) vt=806 (0x326), vrs=771 (0x303), vre=777 (0x309) hsync=45, vsync=45, interlace=0 vga->dump vga flag Fdump|Finit|Fsnarf vga misc E3 vga feature 00 vga sequencer 03 01 0F 00 0A vga crt A1 7F 88 9A 86 1A324 FD - 00 60 00 00 00 00 00 00 303 292FF 80 60303304 A3 -7FF vga graphics 00 00 00 00 00 50 05 0F - FF vga attribute 00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F 41 FF 0F 00 00 vga clock[0] f 75000000 vga clock[0] d i m 0 0 - 64 vga clock[0] n p q r 168 1 - 0 0 vga vm a b 16777216 0 vga vmz 8388608 vga apz 8388608 vga linear 1 vga->attr: 0xC00E7=MACH64GBPCIM mach64xx->dump mach64xx flag Ulinear|Uenhanced|Fdump|Finit|Fsnarf mach64xx pci 43b40 io d800 pciregs mach64xx ccru 300 mach64xx HTotalDisp 007F00A5 mach64xx HSyncStrtWid 00340085 mach64xx VTotalDisp 02FF0325 mach64xx VSyncStrtWid 00260302 mach64xx VlineCrntVline 00F103FF mach64xx OffPitch 20000000 mach64xx IntCntl 00000000 mach64xx CrtcGenCntl 03010200 mach64xx OvrClr 00000000 mach64xx OvrWidLR 00010000 mach64xx OvrWidTB 00020000 mach64xx CurClr0 FFFFFFFF mach64xx CurClr1 00000000 mach64xx CurOffset 00000000 mach64xx CurHVposn 00000000 mach64xx CurHVoff 00000000 mach64xx ScratchReg0 04900400 mach64xx ScratchReg1 20800000 mach64xx ClockCntl 00000002 mach64xx BusCntl 7333A100 mach64xx MemCntl 10753A7B mach64xx ExtMemCntl 74130C01 mach64xx MemVgaWpSel 00010000 mach64xx MemVgaRpSel 00010000 mach64xx DacRegs 00FF0040 mach64xx DacCntl 8601200A mach64xx GenTestCntl 00000000 mach64xx ConfigCntl 00000000 mach64xx ConfigChipId 7C004742 mach64xx ConfigStat0 00000015 mach64xx ConfigStat1 40100240 mach64xx ConfigStat2 0A200000 mach64xx DspConfig 004A0555 mach64xx DspOnOff 00B0052C mach64xx DpBkgdClr FFFFFFFF mach64xx DpChainMsk FFFFFFFF mach64xx DpFrgdClr FFFFFFFF mach64xx DpMix FFFFFFFF mach64xx DpPixWidth 00020202 mach64xx DpSrc FFFFFFFF mach64xx DpWriteMsk FFFFFFFF mach64xx LcdIndex 00000000 mach64xx LcdData 00000000 mach64xx PLL AD D5 40 64 D9 03 CF DA - F6 A8 00 81 A6 1B 00 00 00 00 80 00 10 A3 CC 10 - 00 00 00 00 00 00 00 00 mach64xx VCLK0 12192825 mach64xx VCLK1 13758876 mach64xx VCLK2 75170445 mach64xx VCLK3 0 rom table offset 11A freq table offset 82A memclk 100000000 ref_freq 29500000 ref_divider 64 min_freq 9840000 max_freq 236000000 pd 3 value 0 (|3) post = 8 mach64xx pixel clock = 25120000 main->exits ---------------------------------------------------------------------------------------------------------------------------------- # Solaris 8 - prtconf ouput Node 0x1a6820 assigned-addresses: c2010010.00000000.e7000000.00000000.01000000.81010014.00000000.0000d800.00000000.00000100.82010018.00000000.df800000.00000000.00001000.82010030.00000000.e6fe0000.00000000.00020000.a1010000.00000000.000003b0.00000000.0000000c.a1010000.00000000.000003c0.00000000.00000020.82010000.00000000.000a0000.00000000.00020000 class-code: 00030000 compatible: 'display' + 'pci1002,40' + 'pci1002,4742' + 'pciclass,030000' device-id: 00004742 devsel-speed: 00000001 display-edif-block: ffffff00.00ffffff.076d6c22.00003671.01010a09.7d1b240c.9f98c0e8.26984857.ff4c4810.593180ff.59615945.4fa99981.01010101.24ea0101.00416000.60303028.065e0013.1e000011.c0af3d86.40300051.0013a040.0011065e.4f1a1e00.b0623040.c0404032.065e0013.1e000011.fd000000.1e962f00.0a001460.20202020.00002020 display-edif-id: 'HSL076D' display-type: 'color' fast-back-to-back: max-latency: 00000000 min-grant: 00000008 model: 'PCI: 1002,40 - VGA compatible display adapter' name: 'display' power-consumption: 00000001.00000001 reg: 00010000.00000000.00000000.00000000.00000000.42010010.00000000.00000000.00000000.01000000.01010014.00000000.00000000.00000000.00000100.02010018.00000000.00000000.00000000.00001000.02010030.00000000.00000000.00000000.00020000.a1010000.00000000.000003b0.00000000.0000000c.a1010000.00000000.000003c0.00000000.00000020.82010000.00000000.000a0000.00000000.00020000 revision-id: 0000005c subsystem-id: 00000040 subsystem-vendor-id: 00001002 svga-modes-supported: 00000100.00000280.00000190.00000100.00000101.00000280.000001e0.00000100.00000110.00000280.000001e0.00008000.00000111.00000280.000001e0.00010000.00000112.00000280.000001e0.01000000.00000103.00000320.00000258.00000100.00000113.00000320.00000258.00008000.00000114.00000320.00000258.00010000.00000115.00000320.00000258.01000000.00000105.00000400.00000300.00000100.00000116.00000400.00000300.00008000.00000117.00000400.00000300.00010000.00000118.00000400.00000300.01000000.00000107.00000500.00000400.00000100.00000119.00000500.00000400.00008000.0000011a.00000500.00000400.00010000.0000011b.00000500.00000400.01000000.00000202.00000140.000000c8.00000100.0000010d.00000140.000000c8.00008000.0000010e.00000140.000000c8.00010000.0000010f.00000140.000000c8.01000000.00000212.00000140.000000f0.00000100.00000213.00000140.000000f0.00008000.00000214.00000140.000000f0.00010000.00000215.00000140.000000f0.01000000.00000222.00000200.00000180.00000100.00000223.00000200.00000180.00008000.00000224.00000200.0! 0000180.00010000.00000225.00000200.00000180.01000000.00000232.00000190.0000012c.00000100.00000233.00000190.0000012c.00008000.00000234.00000190.0000012c.00010000.00000235.00000190.0000012c.01000000.00000242.00000280.0000015e.00000100.00000243.00000280.0000015e.00008000.00000244.00000280.0000015e.00010000.00000245.00000280.0000015e.01000000 unit-address: '0' vendor-id: 00001002 vesa-capabilities: 00000000 vesa-oem-product: 'MACH64GT' vesa-oem-revision: '01.00' vesa-oem-string: 'ATI MACH64' vesa-oem-vendor: 'ATI Technologies Inc.' video-adapter-type: 'svga' video-bios-bytes: eb60aa55.00000000.00000000.00000000.00000000.00000000.00000178.42490000.bcf9004d.08f60401.00000000.00000000.31363720.35353932.ffff3032.7da39ed4.3c003f33.00000000.0000011a.00000000.38393931.2f38302f.31203530.30313a30.00000000.005109e9.0050fee9.00149ae9.00000000.00000000.ffff0000.7da39ed4.0d010ee9.4954410a.43414d20.20343648.534f4942.4e2f5020.33313120.3230342d.312d3430.0d203230.4328000a.39312029.392d3838.41202c37.54204954.6e686365.676f6c6f.20736569.2e636e49.2e334b42.2f322e39.38302e33.67205436.32303474.2034302e.4d002041.36484341.50424734.544d4943.59554753.3634554d.2d303031.30313034.554d3031.30313834.30342d30.32313031.90000020.a000004a.02ec5603.1e000000.0404800f.082a0404.00e70083.feff0100.27ffd800.03ce01ce.00000000.0000ffff.ffffdf80.0030207f.42424254.c0000000.00003fff.47421002.00da4742.01640000.49544124.03020800.00000000.00000000.00000000.52494350.47421002.00180000.03000000.03560060.00008000.8b60665c.3e832ed8.0f000130.b8008885.2ebfb109.0b1acd00.b80e75c9.2e66b10d.01580e8b.cd004cbf.2! ec38b1a.f70130a3.32a32ed0.06392e01.35740132.bab102b8.8b2e1002.33017e0e.b81acdf6.14bfb10c.f000b900.09b81acd.0014bfb1.e1831acd.2e3475fc.01340e89.892ed1f7.eb01360e video-memory-size: 00800000 ---------------------------------------------------------------------------------------------------------------------------------- # .X.err under Linux Operating System: Linux 2.2.13 i686 [ELF] SuSE Configured drivers: Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 0) (using VT number 7) XF86Config: /etc/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) XKB: rules: "xfree86" (**) XKB: model: "microsoft" (**) XKB: layout: "us" (**) Mouse: type: PS/2, device: /dev/psaux, samplerate: 60 (**) Mouse: buttons: 3 (**) Mach64: Graphics device ID: "Primary-Card" (**) Mach64: Monitor ID: "Primary-Monitor" (**) FontPath set to "/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/local,/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/URW,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/PEX,/usr/X11R6/lib/X11/fonts/latin2/75dpi,/usr/X11R6/lib/X11/fonts/latin2/100dpi,/usr/X11R6/lib/X11/fonts/kwintv,/usr/X11R6/lib/X11/fonts/uni" (--) Mach64: PCI: Mach64 RagePro rev 92, Aperture @ 0xe7000000, Registers @ 0xdf800000, Block I/O @ 0xd800 (--) Mach64: PCI (92) and CONFIG_CHIP_ID (124) don't agree on ChipRev, using PCI value (--) Mach64: Card type: AGP (--) Mach64: Memory type: SGRAM (1:1) (5) (--) Mach64: Clock type: Internal (--) Mach64: Maximum allowed dot-clock: 230.000 MHz (**) Mach64: Mode "1280x1024": mode clock = 159.740 (**) Mach64: Mode "1024x768": mode clock = 127.490 (**) Mach64: Mode "800x600": mode clock = 87.880 (**) Mach64: Virtual resolution: 1280x1024 (--) Mach64: Video RAM: 8192k (--) Mach64: Using hardware cursor (--) Mach64: Using 16 MB aperture @ 0xe7000000 (--) Mach64: Using 4 KB register aperture @ 0xdf800000 (--) Mach64: Ramdac is Internal (--) Mach64: Ramdac speed: 230 MHz (**) Mach64: Color weight: 565 (--) Mach64: Horizontal Sync width (32) in mode "1280x1024" shortened to 248 pixels (--) Mach64: Pixmap cache: 2 256x256 slots, 8 128x128 slots, 32 64x64 slots (--) Mach64: Font cache: 16 fonts ----------------------------------------------------------------------------------------------------------------------------------