Re: [Nouveau] [BUG ?] Nouveau driver on 330M GT

Previous thread: Re: [PATCH] Topcliff PHUB: Add The Packet Hub driver [1/2] by Masayuki Ohtake on Friday, June 11, 2010 - 1:28 am. (1 message)

Next thread: [RFC][PATCH 0/4] x86: ioremap() problem in X86_32 PAE by Kenji Kaneshige on Friday, June 11, 2010 - 2:17 am. (25 messages)
From: Eric Lacombe
Date: Friday, June 11, 2010 - 1:52 am

Hi,

I tested Nouveau with 2.6.34, and now with 2.6.35-rc2 and It does not work 
with my laptop (chip NVIDIA GeForce 330M GT). (I give more information of the 
nvidia chip below). I've seen an error message related to my nvidia chip that 
may also be related to my problem :

pci 0000:01:00.0: no compatible bridge window for [mem 0xfff80000-0xffffffff pref]

Thanks in advance for your response.

Best regards

	Eric

Here more information :

# dmesg |grep "01\:00\.0"
[    0.933105] pci 0000:01:00.0: reg 10: [mem 0xd0000000-0xd0ffffff]
[    0.933122] pci 0000:01:00.0: reg 14: [mem 0xa0000000-0xafffffff 64bit pref]
[    0.933139] pci 0000:01:00.0: reg 1c: [mem 0xb0000000-0xb1ffffff 64bit pref]
[    0.933151] pci 0000:01:00.0: reg 24: [io  0x6000-0x607f]
[    0.933166] pci 0000:01:00.0: reg 30: [mem 0xfff80000-0xffffffff pref]
[    0.957777] vgaarb: device added: 
PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
[    0.973672] pci 0000:01:00.0: no compatible bridge window for [mem 
0xfff80000-0xffffffff pref]
[    0.973800] pci 0000:01:00.0: BAR 6: assigned [mem 0xd1080000-0xd10fffff 
pref]
[   13.092806] vgaarb: transferring owner from PCI:0000:00:02.0 to 
PCI:0000:01:00.0


# sudo lspci -v -s 0000:01:00.0
01:00.0 VGA compatible controller: nVidia Corporation Device 0a2b (rev a2)
        Subsystem: Sony Corporation Device 905a
        Flags: fast devsel, IRQ 5
        Memory at d0000000 (32-bit, non-prefetchable) [disabled] [size=16M]
        Memory at a0000000 (64-bit, prefetchable) [disabled] [size=256M]
        Memory at b0000000 (64-bit, prefetchable) [disabled] [size=32M]
        I/O ports at 6000 [disabled] [size=128]
        Expansion ROM at d1080000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ 
Queue=0/0 Enable-
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information <?>
        Capabilities: [100] ...
From: Younes Manton
Date: Friday, June 11, 2010 - 4:56 pm

This is not enough information. Most of the useful information is
prefixed with [drm], but generally a full log from boot to fail is

Please make sure nvidiafb is not loaded. If you still have issues
after making sure that nouveau is the only kernel module running for
this device please attach a full log.
--

From: Eric Lacombe
Date: Tuesday, June 15, 2010 - 4:18 am

nvidiafb is not loaded.

I've attached the full log. And here are the drm lines of the log :

[drm] nouveau 0000:01:00.0: Detected an NV50 generation card (0x0a5580a2)
[drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
[drm] nouveau 0000:01:00.0: ... BIOS signature not found
[drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
[drm] nouveau 0000:01:00.0: ... BIOS signature not found
[drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PCIROM
[drm] nouveau 0000:01:00.0: ... BIOS signature not found
[drm] nouveau 0000:01:00.0: No valid BIOS image found

Regards,

	Eric
From: Ben Skeggs
Date: Tuesday, June 15, 2010 - 4:31 am

Is this a system with switchable graphics (Optimus probably)?  If so,
fiddle with your BIOS options and try and enable only the NVIDIA board.

Dave has some patches that can retrieve the VBIOS image via ACPI which
may be of use to you, but I'm not sure of the status.



--

From: Eric Lacombe
Date: Tuesday, June 15, 2010 - 6:06 am

oops, my fault... I forgot to switch to the nvidia chip (my laptop is a sony 
vaio Z11Z9E) with the button. Here the new drm logs with a 2.6.35-rc2 kernel :

[   13.803030] [drm] Initialized drm 1.1.0 20060810
[   13.930690] [drm] MTRR allocation failed.  Graphics performance may suffer.
[   13.931448] [drm] set up 127M of stolen space
[   13.940481] [drm] nouveau 0000:01:00.0: Detected an NV50 generation card 
(0x0a5580a2)
[   13.946777] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from 
ACPI
[   14.242941] fb0: inteldrmfb frame buffer device
[   14.242944] drm: registered panic notifier
[   15.276155] [drm] nouveau 0000:01:00.0: ... appears to be valid
[   15.276159] [drm] nouveau 0000:01:00.0: BIT BIOS found
[   15.276163] [drm] nouveau 0000:01:00.0: Bios version 70.16.51.00
[   15.276165] [drm] nouveau 0000:01:00.0: Pointer to BIT loadval table 
invalid
[   15.276217] [drm] nouveau 0000:01:00.0: TMDS table revision 2.0 not 
currently supported
[   15.276219] [drm] nouveau 0000:01:00.0: Found Display Configuration Block 
version 4.0
[   15.276222] [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 02000300 00000000
[   15.276225] [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 048113b6 0f220014
[   15.276228] [drm] nouveau 0000:01:00.0: Raw DCB entry 2: 02002362 00020010
[   15.276230] [drm] nouveau 0000:01:00.0: Raw DCB entry 3: 08003382 00000010
[   15.276232] [drm] nouveau 0000:01:00.0: Raw DCB entry 4: 0000000e 00000000
[   15.276235] [drm] nouveau 0000:01:00.0: DCB connector table: VHER 0x40 5 16 
4
[   15.276238] [drm] nouveau 0000:01:00.0:   0: 0x00000000: type 0x00 idx 0 
tag 0xff
[   15.276241] [drm] nouveau 0000:01:00.0:   1: 0x00020147: type 0x47 idx 1 
tag 0x52
[   15.276244] [drm] nouveau 0000:01:00.0:   2: 0x00010261: type 0x61 idx 2 
tag 0x51
[   15.276246] [drm] nouveau 0000:01:00.0:   3: 0x01000331: type 0x31 idx 3 
tag 0xff
[   15.276249] [drm] nouveau 0000:01:00.0:   4: 0x00002430: type 0x30 idx 4 
tag 0x08
[   15.276268] [drm] nouveau ...
From: Ben Skeggs
Date: Tuesday, June 15, 2010 - 1:58 pm

Aah, yep, that's much better.  I've seen what I believe to be a similar
issue reported, but other things have prevented me looking at it
properly yet.

I'm on holidays for the next 2 weeks, but I'll get back to looking at it
then.  The only suggestion so far is to make sure you're using the very
latest code from nouveau git, just to make sure it's not already
fixed :)

Ben.

--

Previous thread: Re: [PATCH] Topcliff PHUB: Add The Packet Hub driver [1/2] by Masayuki Ohtake on Friday, June 11, 2010 - 1:28 am. (1 message)

Next thread: [RFC][PATCH 0/4] x86: ioremap() problem in X86_32 PAE by Kenji Kaneshige on Friday, June 11, 2010 - 2:17 am. (25 messages)