Bug 26534

Summary: nouveau does not fetch edid from connected monitor on nforce1 (nv1a)
Product: xorg Reporter: Bruno <bonbons>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
kernel log with reg_debug=0x70
none
nv1a_ddc.patch
none
nv1a_ddc_2.patch
none
Compressed log from vbtracetool
none
nv1a_ddc_3.patch
none
lspci -vvv, /proc/ioports, /proc/iomem
none
vbtracetool POST trace without amd756_smbus and without S3 since last boot
none
VBIOS, extracted with 3.11-rc6 none

Description Bruno 2010-02-11 12:10:27 UTC
Nouveau does not seem to fetch EDID from my monitor (Iiyama E431S, 1280x1024) connected via VGA to MSI K7N420 Pro, using the onboard nforce graphics.

02:00.0 VGA compatible controller [0300]: nVidia Corporation NVCrush11
        [GeForce2 MX Integrated Graphics] [10de:01a0] (rev b1)
(see bug #25619 for full lspci)

kernel version used: 2.6.33-rc7 from Linus at commit e28cab42f384745c8a947a9ccd51e4aae52f5d51 with nouveau/for-airlied branch at commit 13876c6e5fec94e9ea51b73ac025583dd7655345 + commit d5f669822059651c4db1be94cbab605e1ba5a389 from nouveau/master.

Under /sys/class/drm/card0-VGA-1/ "edid" is empty and "modes" lists only a few modes: 1024x768 800x600 800x600 848x480 640x480



nouveau entries in kernel log:
[    8.579720] nouveau 0000:02:00.0: PCI INT A -> Link[LNK5] -> GSI 16 (level, high) -> IRQ 16
[    8.584417] [drm] nouveau 0000:02:00.0: failed to evaluate _DSM: 5
[    8.584793] [drm] nouveau 0000:02:00.0: Detected an NV10 generation card (0x01a000b1)
[    8.584974] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PROM
[    8.584982] [drm] nouveau 0000:02:00.0: ... BIOS signature not found
[    8.584985] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PRAMIN
[    8.629799] [drm] nouveau 0000:02:00.0: ... BIOS checksum invalid
[    8.629803] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PCIROM
[    8.630444] [drm] nouveau 0000:02:00.0: ... appears to be valid
[    8.630786] [drm] nouveau 0000:02:00.0: BMP BIOS found
[    8.630789] [drm] nouveau 0000:02:00.0: BMP version 5.20
[    8.630794] [drm] nouveau 0000:02:00.0: Bios version 03.1a.01.03
[    8.630799] [drm] nouveau 0000:02:00.0: Found Display Configuration Block version 1.4
[    8.630804] [drm] nouveau 0000:02:00.0: No useful information in BIOS output table; adding all possible outputs
[    8.630809] [drm] nouveau 0000:02:00.0: Probing TV encoders on I2C bus: 1
[    8.635669] [drm] nouveau 0000:02:00.0: No TV encoders found.
[    8.635945] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 0 at offset 0xA850
[    8.635951] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 1 at offset 0xADC5
[    8.635958] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 2 at offset 0xA851
[    8.635964] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 3 at offset 0xADC4
[    8.635967] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 4 at offset 0xA875
[    8.635971] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 5 at offset 0xA931
[    8.635989] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 6 at offset 0xA876
[    8.636008] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 7 at offset 0xA8CC
[    8.648284] [TTM] Zone  kernel: Available graphics memory: 240446 kiB.
[    8.648313] [drm] nouveau 0000:02:00.0: 32 MiB VRAM
[    8.648390] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
[    8.648409] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
[    8.648526] nouveau 0000:02:00.0: putting AGP V2 device into 4x mode
[    8.648531] [drm] nouveau 0000:02:00.0: 32 MiB GART (aperture)
[    8.649055] [drm] nouveau 0000:02:00.0: Allocating FIFO number 0
[    8.650297] [drm] nouveau 0000:02:00.0: nouveau_channel_alloc: initialised FIFO 0
[    8.650324] [drm] nouveau 0000:02:00.0: Saving VGA fonts
[    8.695505] [drm] nouveau 0000:02:00.0: Detected a VGA connector
[    8.695781] [drm] nouveau 0000:02:00.0: Detected a DVI-D connector
[    8.696494] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on vga encoder (output 0)
[    8.696500] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[    8.888732] [drm] nouveau 0000:02:00.0: Load detected on head A
[    8.892813] [drm] nouveau 0000:02:00.0: allocated 1024x768 fb: 0x45000, bo dc1cc200
[    8.893104] fbcon: nouveaufb (fb0) is primary device
[    8.904873] [drm] nouveau 0000:02:00.0: Setting dpms mode 0 on vga encoder (output 0)
[    8.904881] [drm] nouveau 0000:02:00.0: Output VGA-1 is running on CRTC 0 using output @
[    8.906386] Console: switching to colour frame buffer device 128x48
[    8.908107] fb0: nouveaufb frame buffer device
[    8.908110] registered panic notifier
[    8.908119] [drm] Initialized nouveau 0.0.15 20090420 for 0000:02:00.0 on minor 0
[  635.030022] [drm] nouveau 0000:02:00.0: Setting dpms mode 1 on vga encoder (output 0)
[  992.927898] [drm] nouveau 0000:02:00.0: Load detected on head A


Is there anything additional I could provide to help getting the EDID reading working?
Comment 1 Francisco Jerez 2010-02-11 14:03:46 UTC
(In reply to comment #0)
> Is there anything additional I could provide to help getting the EDID reading
> working?
> 

It would be interesting if you grabbed some logs having loaded nouveau with the "reg_debug=0x70" module parameter.
Comment 2 Bruno 2010-02-12 14:47:22 UTC
Created attachment 33261 [details]
kernel log with reg_debug=0x70

(In reply to comment #1)
> It would be interesting if you grabbed some logs having loaded nouveau with
> the "reg_debug=0x70" module parameter.

Here it is, though some parts seem to be missing because of kernel buffer overflow with syslog getting no opportunity to capture it all (even though it's already pretty large, shift 18)
Comment 3 Francisco Jerez 2010-02-13 09:44:28 UTC
It seems nv1a has the DDC lines somewhere else. Is "nv" able to fetch an EDID? Probably not but it's worth a try. If it doesn't then an mmiotrace from the blob would be useful (see [1] and the docs in the kernel tree).

[1] http://nouveau.freedesktop.org/wiki/MmioTrace
Comment 4 Bruno 2010-02-14 04:48:59 UTC
(In reply to comment #3)
> Is "nv" able to fetch an EDID?
> Probably not but it's worth a try. If it doesn't then an mmiotrace from the
> blob would be useful (see [1] and the docs in the kernel tree).

nvidiafb seems unable to read EDID, none of the 3 i2c channels it registers return an EDID.

Xorg with nv driver 2.1.6 isn't able to get an EDID either.

Will now have look at the blob to get the mmio trace (with 2.6.30.4 kernel).
Comment 5 Bruno 2010-02-14 05:33:14 UTC
(In reply to comment #3)
> If it doesn't then an mmiotrace from the blob would be useful

MMIO trace, captured with not so recent 2.6.30.4 kernel and 96.43.14 blob can be found at below URL (attachments being limited to 1MB):
  http://homepage.internet.lu/BrunoP/nvidia.tbz2

The kernel log shows first loading blob 96.43.11, then later on 96.43.14. This is due to Xorg that got updated recently and older userspace blob complaining about dependencies, so I had to update the blob as well.

The Xorg server crashes shortly after loading but has already read EDID by that time so I guess no need to care about that :)
Comment 6 Francisco Jerez 2010-02-17 11:23:13 UTC
Created attachment 33363 [details] [review]
nv1a_ddc.patch

Could you try the attached patch? Any effect at all?
Comment 7 Bruno 2010-02-18 09:47:47 UTC
(In reply to comment #6)
> Created an attachment (id=33363) [details]
> nv1a_ddc.patch
> 
> Could you try the attached patch? Any effect at all?

Yes there is a difference, it now says that my VGA monitor is connected via DVI (no such connector!) and does not list card-VGA-* anymore under /sys/class/dri/.

I would say the visible part is more bad than good... If you need more info, please ask.

[  652.499815] ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 16
[  652.499899] nouveau 0000:02:00.0: PCI INT A -> Link[LNK5] -> GSI 16 (level, high) -> IRQ 16
[  652.506128] [drm] nouveau 0000:02:00.0: failed to evaluate _DSM: 5
[  652.506577] [drm] nouveau 0000:02:00.0: Detected an NV10 generation card (0x01a000b1)
[  652.506803] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PROM
[  652.506865] [drm] nouveau 0000:02:00.0: ... BIOS signature not found
[  652.506920] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PRAMIN
[  652.552228] [drm] nouveau 0000:02:00.0: ... BIOS checksum invalid
[  652.553204] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PCIROM
[  652.553930] [drm] nouveau 0000:02:00.0: ... appears to be valid
[  652.554311] [drm] nouveau 0000:02:00.0: BMP BIOS found
[  652.554361] [drm] nouveau 0000:02:00.0: BMP version 5.20
[  652.554416] [drm] nouveau 0000:02:00.0: Bios version 03.1a.01.03
[  652.554471] [drm] nouveau 0000:02:00.0: Found Display Configuration Block version 1.4
[  652.554532] [drm] nouveau 0000:02:00.0: No useful information in BIOS output table; adding all possible outputs
[  652.554598] [drm] nouveau 0000:02:00.0: Probing TV encoders on I2C bus: 1
[  652.559842] [drm] nouveau 0000:02:00.0: No TV encoders found.
[  652.560217] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 0 at offset 0xA850
[  652.560280] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 1 at offset 0xADC5
[  652.560345] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 2 at offset 0xA851
[  652.560409] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 3 at offset 0xADC4
[  652.560470] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 4 at offset 0xA875
[  652.560530] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 5 at offset 0xA931
[  652.560606] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 6 at offset 0xA876
[  652.560682] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 7 at offset 0xA8CC
[  652.573465] [TTM] Zone  kernel: Available graphics memory: 240446 kiB.
[  652.573540] [drm] nouveau 0000:02:00.0: 32 MiB VRAM
[  652.573674] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
[  652.573741] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
[  652.573844] nouveau 0000:02:00.0: putting AGP V2 device into 4x mode
[  652.573898] [drm] nouveau 0000:02:00.0: 32 MiB GART (aperture)
[  652.574242] [drm] nouveau 0000:02:00.0: Allocating FIFO number 0
[  652.575687] [drm] nouveau 0000:02:00.0: nouveau_channel_alloc: initialised FIFO 0
[  652.575799] [drm] nouveau 0000:02:00.0: Saving VGA fonts
[  652.621722] [drm] nouveau 0000:02:00.0: Detected a DVI-I connector
[  652.622843] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on vga encoder (output 0)
[  652.622909] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[  652.667225] [drm] nouveau 0000:02:00.0: Load detected on head A
[  652.667528] [drm] nouveau 0000:02:00.0: allocated 1024x768 fb: 0x45000, bo db6f2000
[  652.668186] fbcon: nouveaufb (fb0) is primary device
[  652.680032] [drm] nouveau 0000:02:00.0: Setting dpms mode 0 on vga encoder (output 0)
[  652.680040] [drm] nouveau 0000:02:00.0: Output DVI-I-1 is running on CRTC 0 using output @
[  652.681377] Console: switching to colour frame buffer device 128x48
[  652.682941] fb0: nouveaufb frame buffer device
[  652.682944] registered panic notifier
[  652.683465] [drm] Initialized nouveau 0.0.15 20090420 for 0000:02:00.0 on minor 0
[  652.684647] modprobe used greatest stack depth: 848 bytes left
Comment 8 Francisco Jerez 2010-02-20 07:12:05 UTC
Created attachment 33448 [details] [review]
nv1a_ddc_2.patch

Any luck with this patch instead?
Comment 9 Bruno 2010-02-20 07:47:14 UTC
(In reply to comment #8)
> Created an attachment (id=33448) [details]
> nv1a_ddc_2.patch
> 
> Any luck with this patch instead?
> 

No EDID discovered yet, but it now detects same connectors as initially:
  card0-DVI-D-1 card0-VGA-1


[  552.251506] ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 16
[  552.251587] nouveau 0000:02:00.0: PCI INT A -> Link[LNK5] -> GSI 16 (level, high) -> IRQ 16
[  552.257353] [drm] nouveau 0000:02:00.0: failed to evaluate _DSM: 5
[  552.257805] [drm] nouveau 0000:02:00.0: Detected an NV10 generation card (0x01a000b1)
[  552.258032] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PROM
[  552.258095] [drm] nouveau 0000:02:00.0: ... BIOS signature not found
[  552.258151] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PRAMIN
[  552.303570] [drm] nouveau 0000:02:00.0: ... BIOS checksum invalid
[  552.303622] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PCIROM
[  552.304347] [drm] nouveau 0000:02:00.0: ... appears to be valid
[  552.304724] [drm] nouveau 0000:02:00.0: BMP BIOS found
[  552.304774] [drm] nouveau 0000:02:00.0: BMP version 5.20
[  552.304828] [drm] nouveau 0000:02:00.0: Bios version 03.1a.01.03
[  552.304883] [drm] nouveau 0000:02:00.0: Found Display Configuration Block version 1.4
[  552.304944] [drm] nouveau 0000:02:00.0: No useful information in BIOS output table; adding all possible outputs
[  552.305011] [drm] nouveau 0000:02:00.0: Probing TV encoders on I2C bus: 1
[  552.309221] [drm] nouveau 0000:02:00.0: No TV encoders found.
[  552.309551] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 0 at offset 0xA850
[  552.309612] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 1 at offset 0xADC5
[  552.309678] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 2 at offset 0xA851
[  552.309742] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 3 at offset 0xADC4
[  552.309803] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 4 at offset 0xA875
[  552.309864] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 5 at offset 0xA931
[  552.309940] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 6 at offset 0xA876
[  552.310040] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 7 at offset 0xA8CC
[  552.322192] [TTM] Zone  kernel: Available graphics memory: 240446 kiB.
[  552.322268] [drm] nouveau 0000:02:00.0: 32 MiB VRAM
[  552.322401] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
[  552.322468] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
[  552.322570] nouveau 0000:02:00.0: putting AGP V2 device into 4x mode
[  552.322625] [drm] nouveau 0000:02:00.0: 32 MiB GART (aperture)
[  552.322985] [drm] nouveau 0000:02:00.0: Allocating FIFO number 0
[  552.324413] [drm] nouveau 0000:02:00.0: nouveau_channel_alloc: initialised FIFO 0
[  552.324524] [drm] nouveau 0000:02:00.0: Saving VGA fonts
[  552.371309] [drm] nouveau 0000:02:00.0: Detected a VGA connector
[  552.372091] [drm] nouveau 0000:02:00.0: Detected a DVI-D connector
[  552.372971] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on vga encoder (output 0)
[  552.373035] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[  552.383415] nv1a i2c base: 0
[  552.568795] [drm] nouveau 0000:02:00.0: Load detected on head A
[  552.572884] [drm] nouveau 0000:02:00.0: allocated 1024x768 fb: 0x45000, bo db93f400
[  552.573509] fbcon: nouveaufb (fb0) is primary device
[  552.585146] [drm] nouveau 0000:02:00.0: Setting dpms mode 0 on vga encoder (output 0)
[  552.585153] [drm] nouveau 0000:02:00.0: Output VGA-1 is running on CRTC 0 using output @
[  552.586229] Console: switching to colour frame buffer device 128x48
[  552.587746] fb0: nouveaufb frame buffer device
[  552.587762] registered panic notifier
[  552.587787] [drm] Initialized nouveau 0.0.15 20090420 for 0000:02:00.0 on minor 0
[  637.700024] [drm] nouveau 0000:02:00.0: Setting dpms mode 1 on vga encoder (output 0)
Comment 10 Francisco Jerez 2010-02-20 08:35:43 UTC
An i/o trace of your BIOS posting the card might be useful, to do it you would have to download [1], compile it and run (as root and in text mode, i.e. neither X nor fb drivers running):
# ./vbtracetool -p -l 2>nv1a_post.log

[1] git://people.freedesktop.org/~stuart/vbtracetool
Comment 11 Bruno 2010-02-20 08:57:29 UTC
(In reply to comment #10)
> An i/o trace of your BIOS posting the card might be useful, to do it you would
> have to download [1], compile it and run (as root and in text mode, i.e.
> neither X nor fb drivers running):
> # ./vbtracetool -p -l 2>nv1a_post.log
> 
> [1] git://people.freedesktop.org/~stuart/vbtracetool
> 

What am I missing, it just returns the following on me, running it as root:

./vbtracetool -p -l
mmap /dev/zero: Operation not permitted
Failed to initialise LRMI (Linux Real-Mode Interface).
Comment 12 Bruno 2010-02-20 09:14:04 UTC
Created attachment 33451 [details]
Compressed log from vbtracetool

(In reply to comment #11)
> (In reply to comment #10)
> > An i/o trace of your BIOS posting the card might be useful, to do it you would
> > have to download [1], compile it and run (as root and in text mode, i.e.
> > neither X nor fb drivers running):
> > # ./vbtracetool -p -l 2>nv1a_post.log
> > 
> > [1] git://people.freedesktop.org/~stuart/vbtracetool


> ./vbtracetool -p -l
> mmap /dev/zero: Operation not permitted
> Failed to initialise LRMI (Linux Real-Mode Interface).

This was caused by /dev being mounted noexec

Note, the posting done by VBTraceTool is not perfect, display show just kind of garbage (mostly black but a few fancy colored character placeholders)
Comment 13 Francisco Jerez 2010-02-20 09:43:22 UTC
Created attachment 33455 [details] [review]
nv1a_ddc_3.patch

Could you try again with this one?
Comment 14 Bruno 2010-02-20 10:02:50 UTC
(In reply to comment #13)
> Created an attachment (id=33455) [details]
> nv1a_ddc_3.patch
> 
> Could you try again with this one?
> 

Still no EDID:

[  484.935609] nouveau 0000:02:00.0: PCI INT A -> Link[LNK5] -> GSI 16 (level, high) -> IRQ 16
[  484.941696] [drm] nouveau 0000:02:00.0: failed to evaluate _DSM: 5
[  484.942152] [drm] nouveau 0000:02:00.0: Detected an NV10 generation card (0x01a000b1)
[  484.942378] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PROM
[  484.942443] [drm] nouveau 0000:02:00.0: ... BIOS signature not found
[  484.942500] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PRAMIN
[  484.987738] [drm] nouveau 0000:02:00.0: ... BIOS checksum invalid
[  484.987791] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PCIROM
[  484.988482] [drm] nouveau 0000:02:00.0: ... appears to be valid
[  484.988859] [drm] nouveau 0000:02:00.0: BMP BIOS found
[  484.988910] [drm] nouveau 0000:02:00.0: BMP version 5.20
[  484.988964] [drm] nouveau 0000:02:00.0: Bios version 03.1a.01.03
[  484.989019] [drm] nouveau 0000:02:00.0: Found Display Configuration Block version 1.4
[  484.989080] [drm] nouveau 0000:02:00.0: No useful information in BIOS output table; adding all possible outputs
[  484.989146] [drm] nouveau 0000:02:00.0: Probing TV encoders on I2C bus: 1
[  484.994316] [drm] nouveau 0000:02:00.0: No TV encoders found.
[  484.994661] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 0 at offset 0xA850
[  484.994723] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 1 at offset 0xADC5
[  484.994789] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 2 at offset 0xA851
[  484.994852] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 3 at offset 0xADC4
[  484.994913] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 4 at offset 0xA875
[  484.994974] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 5 at offset 0xA931
[  484.995050] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 6 at offset 0xA876
[  484.995126] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 7 at offset 0xA8CC
[  485.008021] [TTM] Zone  kernel: Available graphics memory: 240446 kiB.
[  485.008109] [drm] nouveau 0000:02:00.0: 32 MiB VRAM
[  485.008252] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
[  485.008323] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
[  485.008424] nouveau 0000:02:00.0: putting AGP V2 device into 4x mode
[  485.008477] [drm] nouveau 0000:02:00.0: 32 MiB GART (aperture)
[  485.008823] [drm] nouveau 0000:02:00.0: Allocating FIFO number 0
[  485.010856] [drm] nouveau 0000:02:00.0: nouveau_channel_alloc: initialised FIFO 0
[  485.010961] [drm] nouveau 0000:02:00.0: Saving VGA fonts
[  485.056430] [drm] nouveau 0000:02:00.0: Detected a VGA connector
[  485.057261] [drm] nouveau 0000:02:00.0: Detected a DVI-D connector
[  485.058137] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on vga encoder (output 0)
[  485.058202] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[  485.071773] nv1a i2c base: 5010
[  485.097535] [drm] nouveau 0000:02:00.0: Load detected on head A
[  485.101753] [drm] nouveau 0000:02:00.0: allocated 1024x768 fb: 0x45000, bo dbcf8400
[  485.102474] fbcon: nouveaufb (fb0) is primary device
[  485.114118] [drm] nouveau 0000:02:00.0: Setting dpms mode 0 on vga encoder (output 0)
[  485.114126] [drm] nouveau 0000:02:00.0: Output VGA-1 is running on CRTC 0 using output @
[  485.115494] Console: switching to colour frame buffer device 128x48
[  485.117021] fb0: nouveaufb frame buffer device
[  485.117024] registered panic notifier
[  485.117494] [drm] Initialized nouveau 0.0.15 20090420 for 0000:02:00.0 on minor 0
[  485.118838] modprobe used greatest stack depth: 832 bytes left
Comment 15 Bruno 2010-02-20 10:15:20 UTC
Created attachment 33459 [details]
lspci -vvv, /proc/ioports, /proc/iomem
Comment 16 Bruno 2010-02-20 11:07:47 UTC
Created attachment 33463 [details]
vbtracetool POST trace without amd756_smbus and without S3 since last boot
Comment 17 Ilia Mirkin 2013-08-18 18:09:40 UTC
It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/ for what we need to see, and re-open this one.

Thanks,

The Nouveau Team
Comment 18 Bruno 2013-08-19 18:03:31 UTC
This still applies to 3.10.7 and monitor thinks "no signal".

ls /sys/class/drm/
card0/  card0-DVI-I-1/  controlD64/  ttm/  version
grep . /sys/class/drm/card0-DVI-I-1/*
/sys/class/drm/card0-DVI-I-1/dpms:On
/sys/class/drm/card0-DVI-I-1/enabled:enabled
/sys/class/drm/card0-DVI-I-1/modes:1024x768
/sys/class/drm/card0-DVI-I-1/modes:800x600
/sys/class/drm/card0-DVI-I-1/modes:800x600
/sys/class/drm/card0-DVI-I-1/modes:848x480
/sys/class/drm/card0-DVI-I-1/modes:640x480
/sys/class/drm/card0-DVI-I-1/status:connected
/sys/class/drm/card0-DVI-I-1/subconnector:DVI-A


[  225.735801] wmi: Mapper loaded
[  226.511634] ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 16
[  226.520816] nouveau  [  DEVICE][0000:02:00.0] BOOT0  : 0x01a000b1
[  226.526999] nouveau  [  DEVICE][0000:02:00.0] Chipset: nForce (NV1A)
[  226.533419] nouveau  [  DEVICE][0000:02:00.0] Family : NV10
[  226.540887] nouveau  [   VBIOS][0000:02:00.0] checking PRAMIN for image...
[  226.582453] nouveau  [   VBIOS][0000:02:00.0] ... checksum invalid
[  226.588679] nouveau  [   VBIOS][0000:02:00.0] checking PROM for image...
[  226.595440] nouveau  [   VBIOS][0000:02:00.0] ... signature not found
[  226.601929] nouveau  [   VBIOS][0000:02:00.0] checking ACPI for image...
[  226.608708] nouveau  [   VBIOS][0000:02:00.0] ... signature not found
[  226.615196] nouveau  [   VBIOS][0000:02:00.0] checking PCIROM for image...
[  226.622955] nouveau  [   VBIOS][0000:02:00.0] ... appears to be valid
[  226.629467] nouveau  [   VBIOS][0000:02:00.0] using image from PCIROM
[  226.635980] nouveau  [   VBIOS][0000:02:00.0] BMP version 5.14
[  226.642147] nouveau  [   VBIOS][0000:02:00.0] version 03.1a.01.03.00
[  226.648572] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  226.656527] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  226.664297] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  226.671167] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  226.678127] nouveau W[  PTIMER][0000:02:00.0] unknown input clock freq
[  226.684735] nouveau  [     PFB][0000:02:00.0] RAM type: stolen system memory
[  226.691834] nouveau  [     PFB][0000:02:00.0] RAM size: 32 MiB
[  226.697701] nouveau  [     PFB][0000:02:00.0]    ZCOMP: 0 tags
[  226.708701] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
[  226.713990] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
[  226.721050] nouveau 0000:02:00.0: putting AGP V2 device into 4x mode
[  226.727609] [TTM] Zone  kernel: Available graphics memory: 239574 kiB
[  226.734095] [TTM] Initializing pool allocator
[  226.738689] nouveau  [     DRM] VRAM: 31 MiB
[  226.743102] nouveau  [     DRM] GART: 64 MiB
[  226.747442] nouveau  [     DRM] BMP version 5.20
[  226.752115] nouveau W[     DRM] No useful DCB data in VBIOS
[  226.760337] nouveau  [     DRM] Saving VGA fonts
[  226.810644] nouveau W[     DRM] No useful DCB data in VBIOS
[  226.819047] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[  226.825768] [drm] No driver support for vblank timestamp query.
[  226.831876] nouveau  [     DRM] 0xAFD8: Parsing digital output script table
[  226.839109] nouveau  [     DRM] 0 available performance level(s)
[  226.845181] nouveau  [     DRM] c: core 305MHz memory 0MHz
[  226.852613] nouveau  [     DRM] MM: using M2MF for buffer copies
[  227.049415] nouveau  [     DRM] allocated 1024x768 fb: 0x5000, bo dba934a0
[  227.058378] fbcon: nouveaufb (fb0) is primary device
[  227.072731] Console: switching to colour frame buffer device 128x48
[  227.084818] nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
[  227.084821] nouveau 0000:02:00.0: registered panic notifier
[  227.097334] [drm] Initialized nouveau 1.1.1 20120801 for 0000:02:00.0 on minor 0
Comment 19 Ilia Mirkin 2013-08-19 18:15:33 UTC
Thanks for re-testing and sorry the issue is still there =/

One thing that does appear to be missing from this bug report is your vbios (/sys/kernel/debug/dri/0/vbios.rom).
Comment 20 Bruno 2013-08-19 19:07:14 UTC
Created attachment 84284 [details]
VBIOS, extracted with 3.11-rc6

Same behavior with 3.11-rc6 as with 3.10.7 (or even 3.8.2)
Comment 21 Bruno 2013-08-27 20:47:15 UTC
*** Bug 50374 has been marked as a duplicate of this bug. ***
Comment 22 Tobias Klausmann 2015-01-17 00:04:55 UTC
Can you still reproduce this with recent kernels (3.17, 3.18)?
Comment 23 Bruno 2015-01-17 19:31:54 UTC
(In reply to Tobias Klausmann from comment #22)
> Can you still reproduce this with recent kernels (3.17, 3.18)?

Still no EDID with 3.19-rc4. Display is 1280x1024.

[  167.174936] wmi: Mapper loaded
[  167.741143] ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 12
[  167.746985] PCI: setting IRQ 12 as level-triggered
[  167.752469] nouveau  [  DEVICE][0000:02:00.0] BOOT0  : 0x01a000b1
[  167.758658] nouveau  [  DEVICE][0000:02:00.0] Chipset: nForce (NV1A)
[  167.765100] nouveau  [  DEVICE][0000:02:00.0] Family : NV10
[  167.771697] nouveau  [   VBIOS][0000:02:00.0] using image from PCIROM
[  167.778201] nouveau  [   VBIOS][0000:02:00.0] BMP version 5.14
[  167.784381] nouveau  [   VBIOS][0000:02:00.0] version 03.1a.01.03.00
[  167.791273] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  167.799240] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  167.807600] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  167.814512] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  167.821518] nouveau W[  PTIMER][0000:02:00.0] unknown input clock freq
[  167.828120] nouveau  [     PFB][0000:02:00.0] RAM type: stolen system memory
[  167.835234] nouveau  [     PFB][0000:02:00.0] RAM size: 32 MiB
[  167.841139] nouveau  [     PFB][0000:02:00.0]    ZCOMP: 0 tags
[  167.852591] nouveau  [     CLK][0000:02:00.0] --:   
[  167.857683] nouveau W[   VBIOS][0000:02:00.0] DCB contains no useful data
[  167.864850] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
[  167.870179] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
[  167.877243] nouveau 0000:02:00.0: putting AGP V2 device into 4x mode
[  167.883932] [TTM] Zone  kernel: Available graphics memory: 239288 kiB
[  167.890440] [TTM] Initializing pool allocator
[  167.894958] nouveau  [     DRM] VRAM: 31 MiB
[  167.899288] nouveau  [     DRM] GART: 64 MiB
[  167.903630] nouveau  [     DRM] BMP version 5.20
[  167.908309] nouveau W[     DRM] No useful DCB data in VBIOS
[  167.916315] nouveau  [     DRM] Saving VGA fonts
[  167.966599] nouveau W[     DRM] No useful DCB data in VBIOS
[  167.976050] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  167.982817] [drm] Driver supports precise vblank timestamp query.
[  167.988978] nouveau  [     DRM] 0xAFD8: Parsing digital output script table
[  167.998183] nouveau  [     DRM] MM: using M2MF for buffer copies
[  168.187976] nouveau  [     DRM] allocated 1024x768 fb: 0x4000, bo dce79860
[  168.196704] fbcon: nouveaufb (fb0) is primary device
[  168.291627] Console: switching to colour frame buffer device 128x48
[  168.303855] nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
[  168.310249] nouveau 0000:02:00.0: registered panic notifier
[  168.316347] [drm] Initialized nouveau 1.2.1 20120801 for 0000:02:00.0 on minor 0
[  168.325385] modprobe (1568) used greatest stack depth: 5160 bytes left
Comment 24 Martin Peres 2019-12-04 08:23:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/4.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.