9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Gerald Heinig <Gerald.Heinig@post.rwth-aachen.de>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Support for Matrox Millennium
Date: Sat, 12 May 2001 11:51:10 +0200	[thread overview]
Message-ID: <3AFD078E.2E5B1355@post.rwth-aachen.de> (raw)
In-Reply-To: <3AFCF32A.F6C814C3@post.rwth-aachen.de>

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Gerald Heinig wrote:
> 
> Hi again all,
> 
> I have a problem getting Plan 9 to work with my Matrox Millennium graphics card. It has the mga2064 chip, with BIOS revision 2.3, which unfortunately isn't defined in the vgadb.
> Has anyone ever used this card with Plan 9  ie. is there a patch/add-on somewhere?
> 
> Assuming there isn't, what would it take to add this card? Does it involve tweaking a few addresses here and there in some source file, or is it a major porting effort? If it's not too outrageous, I'd
> like to try and get my Millennium to work.
> 
> Thanks,
> 
> Gerald

I've now installed the version 2.5 BIOS on my card and it gets recognised. However, the monitor doesn't switch into graphics mode.
Here's my vgainfo.txt:

ld

[-- Attachment #2: vgainfo.txt --]
[-- Type: text/plain, Size: 3989 bytes --]

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 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 vmz               4194304
vga apz                     0
vga linear                  1
vga->attr: 0xC002D=MATROX/MILLENNIUM  VGA/VBE BIOS (V2.5 )
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 14 FF 4E 46 C7
                     FF FF FF FF FF FF FF FF - 00 18 00 FF 00 00 00 26
mga2164w PCLK        EC 2B 31
mga2164w MCLK        EC 2B B1
mga2164w LCLK        BF 3F 32
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 14 FF 4E 46 C7
                     FF FF FF FF FF FF FF FF - 00 18 00 FF 00 00 00 26
mga2164whwgc PCLK    EC 2B 31
mga2164whwgc MCLK    EC 2B B1
mga2164whwgc LCLK    BF 3F 32

vmf 25175000 vmdf 0 vf1 0 vbw 75000000
mga2164w->options
vga->init
mga2164w->init
pixbuswidth=64
dbdumpmode
type=multisync75, 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.5 )
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 FF 4E 46 C7
                     FF FF FF FF FF FF FF FF - 00 3E 00 FF 00 00 00 26
mga2164w PCLK        E8 15 B3
mga2164w MCLK        EC 2B B1
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 FF 4E 46 C7
                     FF FF FF FF FF FF FF FF - 00 3E 00 FF 00 00 00 26
mga2164whwgc PCLK    E8 15 B3
mga2164whwgc MCLK    EC 2B B1
mga2164whwgc LCLK    E1 3D F3

main->exits

  reply	other threads:[~2001-05-12  9:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-12  8:24 Gerald Heinig
2001-05-12  9:51 ` Gerald Heinig [this message]
2001-05-14  6:48 nigel
2001-05-14 14:09 ` Gerald Heinig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AFD078E.2E5B1355@post.rwth-aachen.de \
    --to=gerald.heinig@post.rwth-aachen.de \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).