9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] mach64xx video blues
@ 2003-07-07  8:33 james
  2003-07-09 21:33 ` Martin Althoff
  0 siblings, 1 reply; 2+ messages in thread
From: james @ 2003-07-07  8:33 UTC (permalink / raw)
  To: 9fans

Hello Earthlings,

Problems with my video display. Can you lend a helping command?
This was a default install on a Dell Inspiron 5000. Haven't made any
changes yet but toggled a few switches with aux/vga and the problem
won't leave.  What is happening exactly is two or three bands where
nothing but blank color and some horizontal lines being animated
around the edges are being displayed over the windows in rio and the
terminal without rio as well, using the mach64xx ctlr. Could it be my
monitor display? It is set at monitor=xga and vgasize=1024x768x8 in
plan9.ini. But I noticed when using aux/vga –piV that this line is
present ( or maybe this is the default res for xga ):

type=xga, size=640x480x8

but cat /dev/vgactl gives:

size 1024x768x8 m8

and the installation troubleshooting wiki mentioned problems with
stretching video on lcd screens. Trying to set vgasize=640x480x8
doesn't seem to affect anything. It still loads at apparently the same
resolution with the bad vids.

THX,

James

Here is cat /dev/vgactl :

type mach64xx
size 1024x768x8 m8
blanktime 30
hwaccel on
hwblank on
panning off
addr 0xfd000000

Here is aux/vga –piV :

main->snarf
vga->snarf
mach64xx->snarf
vga->dump
mach64xx->dump
rom table offset 108
freq table offset A7C
memclk 125000000
ref_freq 29500000
ref_divider 64
min_freq 9840000
max_freq 236000000
pd 0 value 4 (|4)
post = 3
vmf 25175000 vmdf 0 vf1 0 vbw 0
vga->init
mach64xx->init
rom table offset 108
freq table offset A7C
memclk 12500
memclk 12500... x 63.555114...t 63... xprec 6...fifosz
2033.763654...fprec 11...prec 6...afifosz 32...fifooff
1971.000000...pfc 7...rcc 9...fifoon 97.000000...
vga->dump
mach64xx->dump
rom table offset 108
freq table offset A7C
memclk 125000000
ref_freq 29500000
ref_divider 64
min_freq 9840000
max_freq 236000000
pd 0 value 4 (|4)
post = 3
main->exits
main->snarf
vga->snarf
mach64xx->snarf
vga->attr: vid=0x1002
vga->attr: did=0x4C4D
vga->attr: 0xC0000-0xC0200=MACH64LM
vga->dump
vga misc             E3
vga feature          00
vga sequencer        03 01 0F 00 0A
vga crt              A3 7F 88 9A 86 1A 24 FD - 00 60 00 00 00 00 00 00
                     03 29 FF 80 60 03 04 A3 - FF
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 virtual         0 0
vga panning         off
vga vm a b           16777216        0
vga vmz               8388608
vga apz               8388608
vga linear                  1
mach64xx->dump
mach64xx pci 4b488 io 2000 pciregs
mach64xx ccru 300
mach64xx HTotalDisp          007F00A3
mach64xx HSyncStrtWid        001A0086
mach64xx VTotalDisp          02FF0324
mach64xx VSyncStrtWid        00090303
mach64xx VlineCrntVline      014A03FF
mach64xx OffPitch            20000000
mach64xx IntCntl             80000134
mach64xx CrtcGenCntl         03002200
mach64xx OvrClr              00000000
mach64xx OvrWidLR            00000000
mach64xx OvrWidTB            00000000
mach64xx CurClr0             FFFFFFFF
mach64xx CurClr1             00000000
mach64xx CurOffset           00018000
mach64xx CurHVposn           018C00C5
mach64xx CurHVoff            00300030
mach64xx ScratchReg0         04100400
mach64xx ScratchReg1         00000000
mach64xx ClockCntl           008C0002
mach64xx BusCntl             7333A001
mach64xx MemCntl             10C57A3B
mach64xx ExtMemCntl          E0000C81
mach64xx MemVgaWpSel         00010000
mach64xx MemVgaRpSel         00010000
mach64xx DacRegs             00FF0001
mach64xx DacCntl             8701200A
mach64xx GenTestCntl         00000180
mach64xx ConfigCntl          00003F42
mach64xx ConfigChipId        64004C4D
mach64xx ConfigStat0         00C00095
mach64xx ConfigStat1         00000000
mach64xx ConfigStat2         00000000
mach64xx DspConfig           004A06AA
mach64xx DspOnOff            00BC0678
mach64xx DpBkgdClr           FFFFFFFF
mach64xx DpChainMsk          FFFFFFFF
mach64xx DpFrgdClr           FFFFFFFF
mach64xx DpMix               FFFFFFFF
mach64xx DpPixWidth          FFFFFFFF
mach64xx DpSrc               FFFFFFFF
mach64xx DpWriteMsk          FFFFFFFF
mach64xx LcdIndex            00000409
mach64xx LcdData             02000000
mach64xx PLL         8C AC 40 4C 87 03 C0 D4 - D4 D4 00 F9 80 1B 00 00
                     0E CF 40 00 50 F6 AC 03 - 40 00 24 FD 00 00 00 02
mach64xx LCD ConfigPanel     00034274
mach64xx LCD GenCntl         407520DA
mach64xx LCD DstnCntl        00000000
mach64xx LCD HfbPitchAddr    00000F00
mach64xx LCD HorzStretch     27F00A00
mach64xx LCD VertStretch     00000000
mach64xx LCD ExtVertStretch  0017FB00
mach64xx LCD LtGio           00007000
mach64xx LCD PowerMngmnt     0200040B
mach64xx LCD ZvgPio          02000000
mach64xx VCLK0	31619314
mach64xx VCLK1	31619314
mach64xx VCLK2	31619314
mach64xx VCLK3	0

rom table offset 108
freq table offset A7C
memclk 125000000
ref_freq 29500000
ref_divider 64
min_freq 9840000
max_freq 236000000
pd 0 value 4 (|4)
post = 3
mach64xx pixel clock = 130290000
ATI BIOS rom 0x108 freq 0x0 clock 0xa7c
clocks: 43605 60288 53883 46 0 0 0 0 0 0 0 0 356 0 0 16969
programmable clock: 4
clock to program: 3
reference numerator: 29500
reference denominator: 1
internal clock
reference divider in plls
can't find lcd bios table0

vmf 25175000 vmdf 0 vf1 0 vbw 0
vga->init
mach64xx->init
rom table offset 108
freq table offset A7C
memclk 12500
memclk 12500... x 63.555114...t 63... xprec 6...fifosz
2033.763654...fprec 11...prec 6...afifosz 32...fifooff
1971.000000...pfc 7...rcc 9...fifoon 97.000000...
dbdumpmode
type=xga, size=640x480x8
frequency=25175000
x=640 (0x280), y=480 (0x1E0), z=8 (0x8)
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->attr: vid=0x1002
vga->attr: did=0x4C4D
vga->attr: 0xC0000-0xC0200=MACH64LM
vga->dump
vga flag             Fdump|Finit|Fsnarf
vga misc             E3
vga feature          00
vga sequencer        03 01 0F 00 0A
vga crt              5F 4F 52 9F 53 1F20B 3E - 00 40 00 00 00 00 00 00
                    1EB 2D1DF 50 601EB1EC 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 virtual         640 480
vga panning         off
vga clock[0] f       31619314
vga clock[0] d i m          0        0       -       64
vga clock[0] n p q r      212        3       -        0        0
vga vm a b           16777216        0
vga vmz               8388608
vga apz               8388608
vga linear                  1
mach64xx->dump
mach64xx flag        Ulinear|Uenhanced|Fdump|Finit|Fsnarf
mach64xx pci 4b488 io 2000 pciregs
mach64xx ccru 300
mach64xx HTotalDisp          004F0063
mach64xx HSyncStrtWid        000C0052
mach64xx VTotalDisp          01DF020C
mach64xx VSyncStrtWid        000201EA
mach64xx VlineCrntVline      014A03FF
mach64xx OffPitch            14000000
mach64xx IntCntl             00000000
mach64xx CrtcGenCntl         03002200
mach64xx OvrClr              00000000
mach64xx OvrWidLR            00000000
mach64xx OvrWidTB            00000000
mach64xx CurClr0             FFFFFFFF
mach64xx CurClr1             00000000
mach64xx CurOffset           00018000
mach64xx CurHVposn           018C00C5
mach64xx CurHVoff            00300030
mach64xx ScratchReg0         04100400
mach64xx ScratchReg1         00000000
mach64xx ClockCntl           00000002
mach64xx BusCntl             7333A001
mach64xx MemCntl             10C57A3B
mach64xx ExtMemCntl          E0000C81
mach64xx MemVgaWpSel         00010000
mach64xx MemVgaRpSel         00010000
mach64xx DacRegs             00FF0001
mach64xx DacCntl             8701200A
mach64xx GenTestCntl         00000180
mach64xx ConfigCntl          00000000
mach64xx ConfigChipId        64004C4D
mach64xx ConfigStat0         00C00095
mach64xx ConfigStat1         00000000
mach64xx ConfigStat2         00000000
mach64xx DspConfig           006A07F1
mach64xx DspOnOff            006107B3
mach64xx DpBkgdClr           FFFFFFFF
mach64xx DpChainMsk          FFFFFFFF
mach64xx DpFrgdClr           FFFFFFFF
mach64xx DpMix               FFFFFFFF
mach64xx DpPixWidth          00020202
mach64xx DpSrc               FFFFFFFF
mach64xx DpWriteMsk          FFFFFFFF
mach64xx LcdIndex            00000409
mach64xx LcdData             02000000
mach64xx PLL         8C AC 40 4C 87 03 C0 D4 - D4 D4 00 F9 80 1B 00 00
                     0E CF 40 00 50 F6 AC 03 - 40 00 24 FD 00 00 00 02
mach64xx LCD ConfigPanel     00034274
mach64xx LCD GenCntl         407520DA
mach64xx LCD DstnCntl        00000000
mach64xx LCD HfbPitchAddr    00000F00
mach64xx LCD HorzStretch     E7F00A00
mach64xx LCD VertStretch     C0000280
mach64xx LCD ExtVertStretch  0017FB00
mach64xx LCD LtGio           00007000
mach64xx LCD PowerMngmnt     0200040B
mach64xx LCD ZvgPio          02000000
mach64xx VCLK0	31619314
mach64xx VCLK1	31619314
mach64xx VCLK2	31619314
mach64xx VCLK3	0

rom table offset 108
freq table offset A7C
memclk 125000000
ref_freq 29500000
ref_divider 64
min_freq 9840000
max_freq 236000000
pd 0 value 4 (|4)
post = 3
mach64xx pixel clock = 130290000

main->exits


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] mach64xx video blues
  2003-07-07  8:33 [9fans] mach64xx video blues james
@ 2003-07-09 21:33 ` Martin Althoff
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Althoff @ 2003-07-09 21:33 UTC (permalink / raw)
  To: james

James,

Unfortunately I cannot add much constructive information... 'xcept
that I can join in on the woes.

I am not sure whether it is exactly the same problem. Probably not
quite...

During installation everything went fine. Since I had to start the
installation several times for other reasons, I permutated
resolutions: 640x480x8/16, 800x600x8, 1024x768x16. All were perfectly
ok during installation. Until the first reboot. _All_ resolutions
caused this "banding", windows not redrawn properly, highlighting not
showing up.

I am using an orignal ATI PCI Mach64 on an Intel motherboard. This
board has an intel video chipset on-board, but that _should_ be
disabled. Using that does not work, it just gives a blank screen.

Did you also have the problem during installation or only after it had
finished?

For my part, I am trying to figure out what is the difference between
the installation and "standard" boot situation.

Hope we can piece this together...

Martin

<<<<<================>>>>>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-09 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-07  8:33 [9fans] mach64xx video blues james
2003-07-09 21:33 ` Martin Althoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).