9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Troubles with display - graphics card supported
@ 2000-11-20 10:58 justinhaynes
  0 siblings, 0 replies; only message in thread
From: justinhaynes @ 2000-11-20 10:58 UTC (permalink / raw)
  To: 9fans

Hello!

I'm excited about getting started with Plan 9, but I've run into one
problem.  I read all the documentation I could find.  I would have dug
into the man pages and papers more, but I thought it would have been a
stab in the dark.  I've included stuff from plan9.ini, vgadb, and
vgainfo.txt

aux/vga doesn't seem to be initializing my video card right.  I get to
the portion of the install where the display is initialized, and get the
black screen.

I checked to make sure the supported chipset was the one I have on my
card by looking at what Xwindows said.  It was indeed the mga2164w on my
Matrox Millenium.

I got the info from the BIOS from the video card from vgainfo.txt the
first time around.  The Text was at the right offset according to the
vgadb, but there was a different version bios, so I added it to the
vgadb - its the V2.3 line:


ctlr
        0xC002D="MATROX/MILLENNIUM  VGA/VBE BIOS (V1.9 )"       #
Millennium
        0xC002D="MATROX/MILLENNIUM  VGA/VBE BIOS (V3.0 )"       #
Millennium
        0xC002D="MATROX/MILLENNIUM  VGA/VBE BIOS (V2.5 )"       #
Millennium
        0xC002D="MATROX/MILLENNIUM  VGA/VBE BIOS (V2.3 )"       #
Millennium
        0xC002D="MATROX/MISTRAL  VGA/VBE BIOS (V1."             #
Millennium II
        link=vga
        ctlr=mga2164w linear=1
        hwgc=mga2164whwgc



I also changed the monitor entry in plan9.ini to match the one I have.
And I changed the vgasize to 640x480x8 to be safe:

*nomp=1 distname=plan9 partition=new ether0=type=NE2000 monitor=cpd-1304
vgasize=640x480x8 mouseport=0 audio0=type=sb16 bootargs=local!#f0/fd0disk
bootfile=fd0!dos!9pcflop.gz
installurl=http://204.178.31.2/magic/9down/compressed/974514989.t4893ntezs2y4
vh2vedvisfrqd9mz4wk



for reference heres what vgadb says about the monitor:

#
# Sony CPD-1304
# Horizontal timing:
#       Allowable frequency range: 28-50KHz
# Vertical timing:
#       Allowable frequency range: 50-87Hz
#
cpd-1304
        videobw=65
        alias=multisync


,so this too:

# Multisync monitors.  The entry with alias=multisync supplies the
bandwidth,
# which in turn decides the refresh rates when possible.
#
multisync
        alias=vga
multisync = 1024x768
        include=1024x768
multisync = 1024x768i
        include=1024x768i
multisync = 1152x900
        include=1152x900@70Hz
multisync = 1280x1024
        include=1280x1024
multisync = 1280x1024i
        include=1280x1024i
multisync = 1376x1024
        include=1376x1024


, and some of these by reference:


include = 640x480                                       # 60Hz, 31.5KHz
        clock=25.175
        shb=664 ehb=760 ht=800
        vrs=491 vre=493 vt=525

include = 640x480@72Hz                                  # 72Hz, 38.5KHz
        clock=32
        shb=664 ehb=704 ht=832
        vrs=489 vre=492 vt=520

include = 800x600                                       # 60Hz, 37.9KHz
        defaultclock=40
        shb=840 ehb=1000 ht=1056
        vrs=605 vre=607 vt=633

include = 1024x768i                                     # 87Hz, 35.5KHz
        defaultclock=44.9
        shb=1048 ehb=1208 ht=1264
        vrs=776 vre=784 vt=817
        interlace=v

include = 1024x768@60Hz                                 # 60Hz, 48.4KHz
        defaultclock=65
        shb=1032 ehb=1176 ht=1344
        shs=1056
        vrs=771 vre=777 vt=806
        hsync=- vsync=-

include = 1024x768                                      # 70Hz, 57.2KHz
        defaultclock=75
        shb=1096 ehb=1232 ht=1328
        shs=1072
        vrs=771 vre=777 vt=806
        hsync=- vsync=-

include = 1280x1024i                                    # 87Hz, 48KHz
        defaultclock=80
        shb=1312 ehb=1528 ht=1576
        vrs=1028 vre=1034 vt=1105
        interlace=v

include = 1280x1024@60Hz                                # 60Hz, 63.9KHz
        defaultclock=110
        shb=1312 ehb=1496 ht=1720                       # All from
xvidtune
        vrs=1025 vre=1028 vt=1074

include = 1280x1024                                     # 74Hz, 79.6KHz
        defaultclock=135
        shb=1376 ehb=1544 ht=1712
        shs=1392
        vrs=1028 vre=1034 vt=1075

include = 1376x1024                                     # 70Hz, 75.3KHz
        defaultclock=135
        shb=1440 ehb=1616 ht=1792
        vrs=1032 vre=1040 vt=1075

include = 1152x900@70Hz                                         # 72Hz,
67.9KHz
        clock=100
        shb=1184 ehb=1376 ht=1472
        vrs=900 vre=902 vt=940
        #hsync=- vsync=-







Heres my current vgainfo.txt:

main->snarf
vga->snarf
mga2164w->snarf
x[0]=1
x[1]=2
x[2]=255
x[3]=255
probe found 4 megabytes
vga->dump
vga misc             67
vga feature          00
vga sequencer        03 00 03 00 02
vga crt              60 4F 50 83 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 vmz               4194304
vga apz                     0
vga linear                  1
vga->attr: 0xC002D=MATROX/MILLENNIUM  VGA/VBE BIOS (V2.3 )
mga2164w->dump
mga2164w Devctrl    28000A3
mga2164w Option     5F2C0100
mga2164w Crtcext     00 00 00 00 00 00
mga2164w TVP         FF 11 11 11 11 11 00 00 - 00 00 00 00 00 00 00 06
                     06 06 06 06 06 06 06 06 - 80 98 00 00 00 00 00 00
                     00 00 00 00 00 00 00 00 - 00 00 00 1E EE B2 71 B2
                     FF FF FF FF FF FF FF FF - 00 18 00 EF 00 00 00 26
mga2164w PCLK        FD 3A B2
mga2164w MCLK        FD 3A B2
mga2164w LCLK        BF 3F B2
mga2164whwgc->dump
mga2164whwgc Devctrl28000A3
mga2164whwgc Option 5F2C0100
mga2164whwgc Crtcext 00 00 00 00 00 00
mga2164whwgc TVP     FF 11 11 11 11 11 00 00 - 00 00 00 00 00 00 00 06
                     06 06 06 06 06 06 06 06 - 80 98 00 00 00 00 00 00
                     00 00 00 00 00 00 00 00 - 00 00 00 1E EE B2 71 B2
                     FF FF FF FF FF FF FF FF - 00 18 00 EF 00 00 00 26
mga2164whwgc PCLK    FD 3A B2
mga2164whwgc MCLK    FD 3A B2
mga2164whwgc LCLK    BF 3F B2

vmf 25175000 vmdf 0 vf1 0 vbw 65000000
mga2164w->options
vga->init
mga2164w->init
pixbuswidth=64
dbdumpmode
type=cpd-1304, size=640x480x8
frequency=25175000
x=640 (0x280), y=480 (0x1E0), z=8 (0x8)
ht=808 (0x328), 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             EB
vga feature          00
vga sequencer        03 01 0F 00 0A
vga crt              60 4F 4F 84 53 9F20B 3E - 00 40 00 00 00 00 00 00
                    1EB 2D1DF 28 001DF20C E3 -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       25175000
vga clock[0] d i m          0        0       -       21
vga clock[0] n p q r       40        3       -        0        0
vga clock[1] f        3725160
vga clock[1] d i m          0        0       -       61
vga clock[1] n p q r       33        3       -       14        0
vga vmz               4194304
vga apz                     0
vga linear                  1
vga->attr: 0xC002D=MATROX/MILLENNIUM  VGA/VBE BIOS (V2.3 )
mga2164w->dump
mga2164w flag        Ulinear|Fdump|Finit|Foptions|Fsnarf
mga2164w Devctrl    28000A3
mga2164w Option     5F2C1100
mga2164w Crtcext     00 40 00 80 00 00
mga2164w TVP         FF 11 11 11 11 11 00 00 - 00 00 00 00 00 00 00 06
                     06 06 06 06 06 06 06 06 - 80 4C 25 00 00 00 04 00
                     00 00 00 00 00 00 00 00 - 00 00 00 1E EE B2 71 B2
                     FF FF FF FF FF FF FF FF - 00 3E 00 EF 00 00 00 26
mga2164w PCLK        E8 15 B3
mga2164w MCLK        FD 3A B2
mga2164w LCLK        E1 3D F3
mga2164whwgc->dump
mga2164whwgc flag    Fdump
mga2164whwgc Devctrl28000A3
mga2164whwgc Option 5F2C1100
mga2164whwgc Crtcext 00 40 00 80 00 00
mga2164whwgc TVP     FF 11 11 11 11 11 00 00 - 00 00 00 00 00 00 00 06
                     06 06 06 06 06 06 06 06 - 80 4C 25 00 00 00 04 00
                     00 00 00 00 00 00 00 00 - 00 00 00 1E EE B2 71 B2
                     FF FF FF FF FF FF FF FF - 00 3E 00 EF 00 00 00 26
mga2164whwgc PCLK    E8 15 B3
mga2164whwgc MCLK    FD 3A B2
mga2164whwgc LCLK    E1 3D F3

main->exits



Thanks!  I hope someone can help with this.  I would really like to
start to use plan 9!

-Justin

PS I like glenda.


Sent via Deja.com http://www.deja.com/
Before you buy.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-20 10:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-20 10:58 [9fans] Troubles with display - graphics card supported justinhaynes

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).