From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Althoff Message-ID: <16712074125.20030723220853@tiscali.co.uk> To: "jmk@plan9.bell-labs.com" <9fans@cse.psu.edu> Subject: Re[2]: [9fans] nvidia problems In-Reply-To: <0c673154619ee7d236b650797c840846@plan9.bell-labs.com> References: <0c673154619ee7d236b650797c840846@plan9.bell-labs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 23 Jul 2003 22:08:53 +0100 Topicbox-Message-UUID: 01dcada4-eacc-11e9-9e20-41e7f4b1d025 OK, here goes what I got. Even with unmodified VGADB (full nvidia listing), aux/vga tries to use the first pci device available (DID 01E0) which, on the main board with nvidia2 chipset, happens to be the hostbridge. Not to good as vga device I'd guess... Somehow it seems the search sees the first nvidia VID, grabs the corresponding DID (01E0), concludes correctly that is unuseable and quits. Correlating to that is the message: pcirouting: Southbridge 10DE/01E0 not found and then later ignoring that. The same DID as the TNT2... If I missed any details, I'm happy to try again. Martin Hardware used: ---------------------------- NVIDIA TNT2 Model 64 (10de/002d) on motherboard Asus A7N8X using nvidia2 chipset using ISO and boot diskette downloaded from http://www.cs.bell-labs.com/plan9dist/download.html To identify the ISO: plan9.iso/bootdisk.img is dated 26/9/2002 Bootup messages with unmodified VGADB ---------------------------- pcirouting: Southbridge 10DE/01E0 not found PCI.0.0.0 10DE/01E0 .... aux/vga: nvidia: DID 01E0 unsupported aux/vga: nvidia: DID 01E0 unsupported (line is twice) ... rio: can't open display.... output in pci.txt: ------------- 0.0.0: 06.00.00 10de/01e0 0 0.0.1: 05.00.00 10de/01eb 255 0.0.2: 05.00.00 10de/01ee 255 0.0.3: 05.00.00 10de/01ed 0 0.0.4: 05.00.00 10de/01ec 255 0.0.5: 05.00.00 10de/01ef 255 0.1.0: 06.01.00 10de/0060 0 0.1.1: 0c.05.00 10de/0064 3 0:0000e401 32 0.12.0: 06.04.00 10de/006d 0 0.2.0: 0c.03.10 10de/0067 11 0:ea080000 4096 0.2.1: 0c.03.10 10de/0067 7 0:ea083000 4096 0.2.2: 0c.03.20 10de/0068 5 0:ea084000 256 0.30.0: 06.04.00 10de/01e8 0 0.4.0: 02.00.00 10de/0066 5 0:ea085000 4096 1:0000d001 16 [ONBOARD nvidia ethernet] 0.5.0: 04.01.00 10de/006b 3 0:ea000000 524288 0.6.0: 04.01.00 10de/006a 11 0:0000d401 256 1:0000d801 128 2:ea081000 4096 0.8.0: 06.04.00 10de/006c 0 0.9.0: 01.01.8a 10de/0065 0 4:0000f001 16 1.6.0: 03.00.00 10de/002d 7 0:e6000000 16777216 1:e4000008 33554432 [the TNT] 2.1.0: 02.00.00 10b7/9201 11 0:0000c001 128 1:e9000000 128 [ONBOARD 3COM] -------------------------- file vgainfo.txt after booting with "vid=0x10DE did=*" entered into VGADB on the boot diskette aux/vga: controller not in /lib/vgadb 0xC0000 55 AA 54 EB 4B 37 34 30 30 E9 4C 19 77 CC 56 49 U.T.K7400.L.w.VI 0xC0010 44 45 4F 20 0D 00 00 00 BC 02 00 00 00 00 49 42 DEO ..........IB 0xC0020 4D 20 56 47 41 20 43 6F 6D 70 61 74 69 62 6C 65 M VGA Compatible 0xC0030 01 00 00 00 90 08 90 A5 30 33 2F 32 30 2F 30 30 ........03/20/00 0xC0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0xC0050 E9 5B 0A 00 00 00 00 00 E9 5D 1B E9 65 1B 50 4D .[.......]..e.PM 0xC0060 49 44 58 00 5B 00 00 00 00 A0 00 B0 00 B8 00 C0 IDX.[........... 0xC0070 00 5B FF 7F 4E 56 00 05 06 D3 A4 E0 02 20 05 02 .[..NV....... .. 0xC0080 00 00 00 00 4E 01 57 02 6D 01 B8 04 00 00 00 00 ....N.W.m....... 0xC0090 BD 00 50 00 60 13 71 28 0B 97 65 97 EF 99 A4 99 ..P.`.q(..e..... 0xC00A0 B8 99 30 03 53 03 D4 02 00 01 01 00 3F 3E 37 36 ..0.S.......?>76 0xC00B0 00 76 97 76 98 00 E8 03 00 00 F4 01 00 4E 56 49 .v.v.........NVI 0xC00C0 44 49 41 20 54 4E 54 32 20 4D 6F 64 65 6C 20 36 DIA TNT2 Model 6 0xC00D0 34 20 56 47 41 20 42 49 4F 53 0D 0A 00 00 00 00 4 VGA BIOS...... 0xC00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0xC00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ main->snarf vga->snarf vga->dump vga misc 67 vga feature 00 vga sequencer 03 00 03 00 02 vga crt 5F 4F 50 82 54 80 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 virtual 0 0 vga panning off vga apz 0 vga linear 0 vmf 25175000 vmdf 0 vf1 0 vbw 0 vga->init 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 virtual 640 480 vga panning off vga apz 0 vga linear 0 main->exits -------------------------- excerpt from original VGADB ctlr vid=0x10DE did=0x0020 # Riva TNT vid=0x10DE did=0x0028 # Riva TNT2 vid=0x10DE did=0x0029 # Riva TNT2 Ultra vid=0x10DE did=0x002C # Riva TNT2 Vanta vid=0x10DE did=0x002D # Riva TNT2 M64 vid=0x10DE did=0x00A0 # Riva TNT2 Integrated vid=0x10DE did=0x0100 # GeForce 256 vid=0x10DE did=0x0101 # GeForce DDR vid=0x10DE did=0x0103 # Quadro vid=0x10DE did=0x0110 # GeForce2 MMX vid=0x10DE did=0x0111 # GeForce2 MMX DDR vid=0x10DE did=0x0112 # GeForce2 Go vid=0x10DE did=0x0113 # Quadro 2 MXR vid=0x10DE did=0x0150 # GeForce2 GTS vid=0x10DE did=0x0151 # GeForce2 GTS (rev 1) vid=0x10DE did=0x0152 # GeForce2 Ultra vid=0x10DE did=0x0153 # Quadro 2 Pro vid=0x10DE did=0x0200 # GeForce3 link=vga ctlr=nvidia linear=1 hwgc=nvidiahwgc > output from the new aux/vga -p (you should be able to do this on > an old system) with the vgadb entry set to > ctlr > vid=0x10DE did=* # NVidia cards all talk the same > link=vga > ctlr=nvidia linear=1 > hwgc=nvidiahwgc > would be helpful. > thanks.