From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Stephen Griese Message-ID: Subject: [9fans] Help! Mach64 Problems! Date: Mon, 12 Feb 2001 10:25:22 +0000 Topicbox-Message-UUID: 60d1c630-eac9-11e9-9e20-41e7f4b1d025 Hey Folks, First off, I am a complete newbie. I am attempting to install Plan9 on a machine with Mach64 based ATI Rage II on the motherboard. At first, vga could not find my card in vgadb, but I saw that there wasa a whole slew of MACH64?? entries in the vgadb file. I added a line to this section (0xC0000-0xC0200=MACH64GT). So now the vgadb entry is found, but my screen is pink, and broken into three columns. I am using a Gateway Crystalscan 15 monitor. In my plan9.ini, I am specifying monitor=vga and vgasize=640x480x1. Nothing special. Here is some information from my monitor manual: Resolution: 1280x1024 Scanning frequency: Horizontal, 30 to 64kHz; Vertical, 50Hz to 100Hz Video Bandwidth: 80MHz minimum (-3dB) It has 11 preset settings: VESA 1024x768 @ 75 Hz VESA 1024x768 @ 60 Hz VESA 800x600 @ 75Hz VESA 640x480 @ 75Hz 640 x 480 @ 60 Hz 720x400 @ 70 Hz 1280x1024 @ 60 Hz VESA 1024x768 @ 70Hz VESA 640x480 @ 72Hz VESA 800x600 @ 72Hz 1024x768 @ 72Hz Any help would be greatly appreciated. Stephen Griese GrieseFamily @peoplepc.com Here's my plan9.ini: *nomp=1 distname=plan9 partition=new bootargs=local!/bzroot ether0=type=elnk3 monitor=vga vgasize=640x480x1 mouseport=ps2 audio0=type=sb16 bootfile=fd0!dos!9pcflop.gz installurl=http://204.178.31.2/magic/9down/compressed/981687194.6buzak4yi274 q45i4dxa9ktgpcy5tfwp And here's what ends up in my 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 0D 0E 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 2097152 vga apz 8388608 vga linear 1 vga->attr: 0xC0000-0xC0200=MACH64GT mach64xx->dump mach64xx pci 3ec10 io fc00 pciregs mach64xx ccru 300 mach64xx HTotalDisp 004F005F mach64xx HSyncStrtWid 00010055 mach64xx VTotalDisp 018F01BF mach64xx VSyncStrtWid 000E019C mach64xx VlineCrntVline 017703FF mach64xx OffPitch 0A000000 mach64xx IntCntl 00000034 mach64xx CrtcGenCntl 02410200 mach64xx OvrClr 00000000 mach64xx OvrWidLR 00000000 mach64xx OvrWidTB 00000000 mach64xx CurClr0 40484040 mach64xx CurClr1 00000000 mach64xx CurOffset 00000000 mach64xx CurHVposn 00000000 mach64xx CurHVoff 00000000 mach64xx ScratchReg0 04100400 mach64xx ScratchReg1 00000000 mach64xx ClockCntl 00E12C00 mach64xx BusCntl 7333A040 mach64xx MemCntl 104211B3 mach64xx ExtMemCntl 15000001 mach64xx MemVgaWpSel 00010000 mach64xx MemVgaRpSel 00010000 mach64xx DacRegs 00FF0040 mach64xx DacCntl 8701600A mach64xx GenTestCntl 00000008 mach64xx ConfigCntl 00003EC2 mach64xx ConfigChipId 41004754 mach64xx ConfigStat0 00000095 mach64xx ConfigStat1 00000000 mach64xx ConfigStat2 00000000 mach64xx DspConfig 00000000 mach64xx DspOnOff 00000000 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 CD D5 21 14 9A 03 FB E8 - C4 00 00 E1 A6 1B 00 00 CD D5 21 14 9A 03 FB E8 - C4 00 00 E1 A6 1B 00 00 mach64xx VCLK0 25165286 mach64xx VCLK1 28347104 mach64xx VCLK2 0 mach64xx VCLK3 0 rom table offset F0 freq table offset 788 memclk 67000000 ref_freq 14320000 ref_divider 33 min_freq 9260000 max_freq 222180000 pd 3 value 0 (|3) post = 8 mach64xx pixel clock = 25160000 ATI BIOS rom 0xf0 freq 0x0 clock 0x788 clocks: 43605 60224 62843 255 0 0 0 0 0 0 0 0 312 0 0 16969 programmable clock: 4 clock to program: 3 reference numerator: 14320 reference denominator: 1 internal clock reference divider in plls panelid 85 x 1 y 0 vmf 25175000 vmdf 0 vf1 0 vbw 0 vga->init mach64xx->init rom table offset F0 freq table offset 788 memclk 6700 memclk 6700... x 170.327706...t 170... xprec 8...fifosz 5450.486594...fprec 13...prec 7...afifosz 24...fifooff 3918.000000...pfc 4...rcc 5...fifoon 189.000000... dbdumpmode type=vga, size=640x480x1 frequency=25175000 x=640 (0x280), y=480 (0x1E0), z=1 (0x1) ht=800 (0x320), shb=664 (0x298), ehb=760 (0x2F8) shs=664 (0x298), ehs=760 (0x2F8) vt=525 (0x20D), vrs=491 (0x1EB), vre=493 (0x1ED) hsync=0, vsync=0, interlace=0 vga->dump vga flag Fdump|Finit|Fsnarf vga misc E3 vga feature 00 vga sequencer 03 01 0F 00 06 vga crt 5F 4F 52 9F 53 1F20B 3E - 00 40 00 00 00 00 00 00 1EB 2D1DF 28 001EB1EC C3 -7FF vga graphics 00 00 00 00 00 00 05 0F - FF vga attribute 00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F 01 FF 0F 00 00 vga clock[0] f 25175000 vga clock[0] d i m 0 0 - 33 vga clock[0] n p q r 232 8 - 0 0 vga vm a b 16777216 0 vga vmz 2097152 vga apz 8388608 vga linear 1 vga->attr: 0xC0000-0xC0200=MACH64GT mach64xx->dump mach64xx flag Uenhanced|Fdump|Finit|Fsnarf mach64xx pci 3ec10 io fc00 pciregs mach64xx ccru 300 mach64xx HTotalDisp 004F0063 mach64xx HSyncStrtWid 000C0052 mach64xx VTotalDisp 01DF020C mach64xx VSyncStrtWid 000201EA mach64xx VlineCrntVline 017703FF mach64xx OffPitch 14000000 mach64xx IntCntl 00000000 mach64xx CrtcGenCntl 02010100 mach64xx OvrClr 00000000 mach64xx OvrWidLR 00000000 mach64xx OvrWidTB 00000000 mach64xx CurClr0 40484040 mach64xx CurClr1 00000000 mach64xx CurOffset 00000000 mach64xx CurHVposn 00000000 mach64xx CurHVoff 00000000 mach64xx ScratchReg0 04100400 mach64xx ScratchReg1 00000000 mach64xx ClockCntl 00000002 mach64xx BusCntl 7333A040 mach64xx MemCntl 104211B3 mach64xx ExtMemCntl 15000001 mach64xx MemVgaWpSel 00010000 mach64xx MemVgaRpSel 00010000 mach64xx DacRegs 00FF0040 mach64xx DacCntl 8701600A mach64xx GenTestCntl 00000008 mach64xx ConfigCntl 00000000 mach64xx ConfigChipId 41004754 mach64xx ConfigStat0 00000095 mach64xx ConfigStat1 00000000 mach64xx ConfigStat2 00000000 mach64xx DspConfig 007A0AA5 mach64xx DspOnOff 00000000 mach64xx DpBkgdClr FFFFFFFF mach64xx DpChainMsk FFFFFFFF mach64xx DpFrgdClr FFFFFFFF mach64xx DpMix FFFFFFFF mach64xx DpPixWidth 00000000 mach64xx DpSrc FFFFFFFF mach64xx DpWriteMsk FFFFFFFF mach64xx LcdIndex 00000000 mach64xx LcdData 00000000 mach64xx PLL CD D5 21 14 9A 03 FB E8 - C4 E8 00 A1 A6 1B 00 00 CD D5 21 14 9A 03 FB E8 - C4 00 00 E1 A6 1B 00 00 mach64xx VCLK0 25165286 mach64xx VCLK1 28347104 mach64xx VCLK2 25165286 mach64xx VCLK3 0 rom table offset F0 freq table offset 788 memclk 67000000 ref_freq 14320000 ref_divider 33 min_freq 9260000 max_freq 222180000 pd 3 value 0 (|3) post = 8 mach64xx pixel clock = 25160000 main->exits