From: Eric Lacombe on
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] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Kernel modules: nouveau, nvidiafb
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Younes Manton on
On Fri, Jun 11, 2010 at 4:52 AM, Eric Lacombe <goretux(a)gmail.com> wrote:
> 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

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

>
> # 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] Virtual Channel <?>
> � � � �Capabilities: [128] Power Budgeting <?>
> � � � �Capabilities: [600] Vendor Specific Information <?>
> � � � �Kernel modules: nouveau, nvidiafb

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Eric Lacombe on
> 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.

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 on
On Tue, 2010-06-15 at 13:18 +0200, Eric Lacombe wrote:
> > 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.
>
> 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
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.

Ben.
>
> Regards,
>
> Eric
> _______________________________________________
> Nouveau mailing list
> Nouveau(a)lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Eric Lacombe on
> Is this a system with switchable graphics (Optimus probably)? If so,
> fiddle with your BIOS options and try and enable only the NVIDIA board.

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 0000:01:00.0: 5: 0x00000560: type 0x60 idx 5
tag 0xff
[ 15.276290] [drm] nouveau 0000:01:00.0: Adaptor not initialised
[ 15.276292] [drm] nouveau 0000:01:00.0: Running VBIOS init tables
[ 15.276336] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset
0x6C90
[ 15.279468] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor

0
[ 15.318263] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset
0x70F1
[ 15.398432] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset
0x7FCA
[ 15.398475] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset
0x7FEC
[ 15.418961] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset
0x814E
[ 15.418966] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table at offset
0x81B3
[ 15.448836] [drm] nouveau 0000:01:00.0: Couldn't find matching output script
table
[ 15.448841] [drm] nouveau 0000:01:00.0: 0x5CB9: parsing output script 0
[ 15.448855] [drm] nouveau 0000:01:00.0: 0x58AE: parsing output script 0
[ 15.448858] [drm] nouveau 0000:01:00.0: 0x58AE: parsing output script 0
[ 15.448870] [drm] nouveau 0000:01:00.0: Detected 1024MiB VRAM
[ 15.777179] [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture)
[ 15.777675] [drm] nouveau 0000:01:00.0: Allocating FIFO number 1
[ 15.788999] [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised
FIFO 1
[ 15.790494] [drm] nouveau 0000:01:00.0: Detected a DAC output
[ 15.790496] [drm] nouveau 0000:01:00.0: Detected a DP output
[ 15.790502] [drm] nouveau 0000:01:00.0: Detected a TMDS output
[ 15.790503] [drm] nouveau 0000:01:00.0: Detected a TMDS output
[ 15.790505] [drm] nouveau 0000:01:00.0: Detected a VGA connector
[ 15.790603] [drm] nouveau 0000:01:00.0: Detected an eDP connector
[ 15.790627] [drm] nouveau 0000:01:00.0: Detected a HDMI connector
[ 15.790648] [drm] nouveau 0000:01:00.0: Detected a DVI-D connector
[ 15.790669] [drm] nouveau 0000:01:00.0: Detected a DVI-I connector
[ 15.790671] [drm] nouveau 0000:01:00.0: no encoders, ignoring
[ 15.790674] [drm] nouveau 0000:01:00.0: Detected a HDMI connector
[ 15.790676] [drm] nouveau 0000:01:00.0: no encoders, ignoring
[ 15.853252] [drm] Cannot find any crtc or sizes - going 1024x768
[ 15.853702] [drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0x40250000,
bo ffff8801d523bc00
[ 15.853757] [drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on
minor 1
[ 30.785010] [drm] nouveau 0000:01:00.0: plugged Embedded DisplayPort-1


Hope this helps

Eric


>
> 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.
>
> Ben.
>
> > Regards,
> >
> > Eric
> >
> > _______________________________________________
> > Nouveau mailing list
> > Nouveau(a)lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/nouveau
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/