Bug 42972 - Missing EDID through NV11 (nouveau) driver causes suboptimal modeline
Summary: Missing EDID through NV11 (nouveau) driver causes suboptimal modeline
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 21:40 UTC by Petr Pisar
Modified: 2012-03-21 21:43 UTC (History)
0 users

See Also:
Kernel Version: 3.3.0
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
dmesg 3.2.11 (22.67 KB, text/plain)
2012-03-21 21:41 UTC, Petr Pisar
Details
dmesg 3.3.0 (22.49 KB, text/plain)
2012-03-21 21:41 UTC, Petr Pisar
Details
Xorg log 3.2.11 (27.33 KB, text/plain)
2012-03-21 21:42 UTC, Petr Pisar
Details
Xorg log 3.3.0 (16.39 KB, text/plain)
2012-03-21 21:43 UTC, Petr Pisar
Details

Description Petr Pisar 2012-03-21 21:40:41 UTC
Since kernel 3.3.0, I cannot get capabilities of my CRT monitor connected to NV11 (GeForce2 MX/MX 400) graphics card. This causes setting graphics mode in framebuffer console and X11 to 60-MHz vertical refresh rate.

Last known working kernel is 3.2.11 (85 MHz).

Difference in kernel log:

--- dmesg-3.2.11	2012-03-21 20:35:46.000000000 +0100
+++ dmesg-3.3.0	2012-03-21 20:31:41.000000000 +0100
@@ -1,4 +1,4 @@
-Linux version 3.2.11-gentoo (root@album) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) ) #1 PREEMPT Tue Mar 20 07:03:20 CET 2012
+Linux version 3.3.0-gentoo (root@album) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) ) #1 PREEMPT Tue Mar 20 22:07:12 CET 2012
 KERNEL supported cpus:
   Intel GenuineIntel
   AMD AuthenticAMD
@@ -58,11 +58,11 @@
   DMA      0x00000010 -> 0x00001000
   Normal   0x00001000 -> 0x00017ff0
 Movable zone start PFN for each node
-early_node_map[2] active PFN ranges
+Early memory PFN ranges
     0: 0x00000010 -> 0x0000009f
     0: 0x00000100 -> 0x00017ff0
 On node 0 totalpages: 98175
-free_area_init_node: node 0, pgdat c15a5740, node_mem_map d7cf0200
+free_area_init_node: node 0, pgdat c15bc7c0, node_mem_map d7cf0200
   DMA zone: 32 pages used for memmap
   DMA zone: 0 pages reserved
   DMA zone: 3951 pages, LIFO batch:0
@@ -77,33 +77,33 @@
 pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 pcpu-alloc: [0] 0 
 Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 97407
-Kernel command line: BOOT_IMAGE=lin-3.2.11-g ro root=805 parport=0x378,7 lapic
+Kernel command line: auto BOOT_IMAGE=lin-3.3.0-g ro root=805 parport=0x378,7 lapic
 PID hash table entries: 2048 (order: 1, 8192 bytes)
 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
 Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
 Initializing CPU#0
-Memory: 382796k/393152k available (4384k kernel code, 9904k reserved, 1416k data, 356k init, 0k highmem)
+Memory: 382708k/393152k available (4442k kernel code, 9992k reserved, 1451k data, 352k init, 0k highmem)
 virtual kernel memory layout:
     fixmap  : 0xfffa3000 - 0xfffff000   ( 368 kB)
     vmalloc : 0xd87f0000 - 0xfffa1000   ( 631 MB)
     lowmem  : 0xc0000000 - 0xd7ff0000   ( 383 MB)
-      .init : 0xc15ab000 - 0xc1604000   ( 356 kB)
-      .data : 0xc14481e9 - 0xc15aa500   (1416 kB)
-      .text : 0xc1000000 - 0xc14481e9   (4384 kB)
+      .init : 0xc15c2000 - 0xc161a000   ( 352 kB)
+      .data : 0xc14569b1 - 0xc15c16c0   (1451 kB)
+      .text : 0xc1000000 - 0xc14569b1   (4442 kB)
 Checking if this processor honours the WP bit even in supervisor mode...Ok.
 NR_IRQS:2304 nr_irqs:24 16
 CPU 0 irqstacks, hard=d7806000 soft=d7808000
 Console: colour VGA+ 80x25
 console [tty0] enabled
 Fast TSC calibration using PIT
-Detected 951.814 MHz processor.
-Calibrating delay loop (skipped), value calculated using timer frequency.. 1903.62 BogoMIPS (lpj=3807256)
+Detected 951.721 MHz processor.
+Calibrating delay loop (skipped), value calculated using timer frequency.. 1903.44 BogoMIPS (lpj=3806884)
 pid_max: default: 32768 minimum: 301
 Security Framework initialized
 Mount-cache hash table entries: 512
 mce: CPU supports 4 MCE banks
 CPU: AMD Duron(tm) processor stepping 01
-ACPI: Core revision 20110623
+ACPI: Core revision 20120111
 ACPI: setting ELCR to 0010 (from 0c18)
 Performance Events: AMD PMU driver.
 ... version:                0
@@ -114,6 +114,7 @@
 ... fixed-purpose events:   0
 ... event mask:             000000000000000f
 Enabling APIC mode:  Flat.  Using 0 I/O APICs
+PM: Registering ACPI NVS region at 17ff0000 (12288 bytes)
 NET: Registered protocol family 16
 ACPI: bus type pci registered
 PCI: PCI BIOS revision 2.10 entry at 0xfb390, last bus=1
@@ -127,7 +128,6 @@
 ACPI: Interpreter enabled
 ACPI: (supports S0 S1 S5)
 ACPI: Using PIC for interrupt routing
-HEST: Table not found.
 PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
 ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
 pci_root PNP0A03:00: host bridge window [io  0x0000-0x0cf7] (ignored)
@@ -138,6 +138,10 @@
 pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
 pci_root PNP0A03:00: host bridge window [mem 0x000c0000-0x000dffff] (ignored)
 pci_root PNP0A03:00: host bridge window [mem 0x18000000-0xffefffff] (ignored)
+PCI: root bus 00: using default resources
+PCI host bridge to bus 0000:00
+pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
+pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
 pci 0000:00:00.0: [1106:0305] type 0 class 0x000600
 pci 0000:00:00.0: reg 10: [mem 0xd8000000-0xdbffffff pref]
 pci 0000:00:01.0: [1106:8305] type 1 class 0x000604
@@ -163,7 +167,6 @@
 pci 0000:00:0c.0: reg 14: [mem 0xde008000-0xde0080ff]
 pci 0000:00:0c.0: supports D1 D2
 pci 0000:00:0c.0: PME# supported from D1 D2 D3hot D3cold
-pci 0000:00:0c.0: PME# disabled
 pci 0000:01:00.0: [10de:0110] type 0 class 0x000300
 pci 0000:01:00.0: reg 10: [mem 0xdc000000-0xdcffffff]
 pci 0000:01:00.0: reg 14: [mem 0xd0000000-0xd7ffffff pref]
@@ -278,8 +281,8 @@
 pci 0000:00:01.0:   bridge window [mem 0xdc000000-0xddffffff]
 pci 0000:00:01.0:   bridge window [mem 0xd0000000-0xd7ffffff pref]
 pci 0000:00:01.0: setting latency timer to 64
-pci_bus 0000:00: resource 0 [io  0x0000-0xffff]
-pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffff]
+pci_bus 0000:00: resource 4 [io  0x0000-0xffff]
+pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
 pci_bus 0000:01: resource 1 [mem 0xdc000000-0xddffffff]
 pci_bus 0000:01: resource 2 [mem 0xd0000000-0xd7ffffff pref]
 NET: Registered protocol family 2
@@ -300,12 +303,8 @@
 pci 0000:00:07.0: Disabling VIA external APIC routing
 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
 PCI: setting IRQ 11 as level-triggered
-pci 0000:00:07.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
 pci 0000:00:07.2: VIA VLink IRQ fixup, from 0 to 11
-pci 0000:00:07.2: PCI INT D disabled
-pci 0000:00:07.3: PCI INT D -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
 pci 0000:00:07.3: VIA VLink IRQ fixup, from 255 to 11
-pci 0000:00:07.3: PCI INT D disabled
 pci 0000:01:00.0: Boot video device
 PCI: CLS 32 bytes, default 32
 apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
@@ -329,20 +328,20 @@
 ACPI: Power Button [PWRF]
 Marking TSC unstable due to TSC halts in idle
 ACPI: acpi_idle registered with cpuidle
-ERST: Table is not found!
 GHES: HEST is not enabled!
 [drm] Initialized drm 1.1.0 20060810
+VGA switcheroo: detected Optimus DSM method \ handle
 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 3
 PCI: setting IRQ 3 as level-triggered
-nouveau 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 3 (level, low) -> IRQ 3
 [drm] nouveau 0000:01:00.0: Detected an NV10 generation card (0x011000b2)
 [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
 [drm] nouveau 0000:01:00.0: ... appears to be valid
 [drm] nouveau 0000:01:00.0: BMP BIOS found
 [drm] nouveau 0000:01:00.0: BMP version 5.20
 [drm] nouveau 0000:01:00.0: Bios version 03.11.01.24
-[drm] nouveau 0000:01:00.0: Found Display Configuration Block version 1.4
-[drm] nouveau 0000:01:00.0: No useful information in BIOS output table; adding all possible outputs
+[drm] nouveau 0000:01:00.0: No useful DCB data in VBIOS
+[drm] nouveau 0000:01:00.0: I2C0: type 63 index 0/0 unknown
+[drm] nouveau 0000:01:00.0: MXM: no VBIOS data, nothing to do
 [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xAADA
 [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xB1B6
 [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xAAF5
@@ -353,7 +352,7 @@
 [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 7 at offset 0xAC65
 [drm] nouveau 0000:01:00.0: 0 available performance level(s)
 [drm] nouveau 0000:01:00.0: c: core 199MHz memory 143MHz
-[TTM] Zone  kernel: Available graphics memory: 191398 kiB.
+[TTM] Zone  kernel: Available graphics memory: 191354 kiB.
 [TTM] Initializing pool allocator.
 [drm] nouveau 0000:01:00.0: Detected 32MiB VRAM
 agpgart-via 0000:00:00.0: AGP 2.0 bridge
@@ -363,12 +362,14 @@
 [drm] nouveau 0000:01:00.0: Saving VGA fonts
 [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
 [drm] No driver support for vblank timestamp query.
+[drm] nouveau 0000:01:00.0: 0xB3CE: Parsing digital output script table
 [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
 [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 1)
-[drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0x48000, bo d7a32800
+[drm] nouveau 0000:01:00.0: Load detected on head A
+[drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0x48000, bo d72b7c00
 fbcon: nouveaufb (fb0) is primary device
 [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
-[drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
+[drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 0 using output A
 Console: switching to colour frame buffer device 128x48
 fb0: nouveaufb frame buffer device
 drm: registered panic notifier
@@ -384,28 +385,25 @@
 ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
 ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
 8139too: 8139too Fast Ethernet driver 0.9.28
-8139too 0000:00:0c.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
 8139too 0000:00:0c.0: eth0: RealTek RTL8139 at 0xd8816000, 4c:00:10:60:7c:a6, IRQ 11
 uhci_hcd: USB Universal Host Controller Interface driver
-uhci_hcd 0000:00:07.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
 uhci_hcd 0000:00:07.2: UHCI Host Controller
 uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
 uhci_hcd 0000:00:07.2: irq 11, io base 0x0000d400
 usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 usb usb1: Product: UHCI Host Controller
-usb usb1: Manufacturer: Linux 3.2.11-gentoo uhci_hcd
+usb usb1: Manufacturer: Linux 3.3.0-gentoo uhci_hcd
 usb usb1: SerialNumber: 0000:00:07.2
 hub 1-0:1.0: USB hub found
 hub 1-0:1.0: 2 ports detected
-uhci_hcd 0000:00:07.3: PCI INT D -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
 uhci_hcd 0000:00:07.3: UHCI Host Controller
 uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
 uhci_hcd 0000:00:07.3: irq 11, io base 0x0000d800
 usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 usb usb2: Product: UHCI Host Controller
-usb usb2: Manufacturer: Linux 3.2.11-gentoo uhci_hcd
+usb usb2: Manufacturer: Linux 3.3.0-gentoo uhci_hcd
 usb usb2: SerialNumber: 0000:00:07.3
 hub 2-0:1.0: USB hub found
 hub 2-0:1.0: 2 ports detected
@@ -440,31 +438,29 @@
 sr 1:0:0:0: Attached scsi CD-ROM sr0
 EXT3-fs (sda5): mounted filesystem with writeback data mode
 VFS: Mounted root (ext3 filesystem) readonly on device 8:5.
-Freeing unused kernel memory: 356k freed
-Write protecting the kernel text: 4388k
-Write protecting the kernel read-only data: 1164k
+Freeing unused kernel memory: 352k freed
+Write protecting the kernel text: 4444k
+Write protecting the kernel read-only data: 1192k
 kjournald starting.  Commit interval 5 seconds
-udevd[1150]: starting version 171
+udevd[1136]: starting version 171
 cfg80211: Calling CRDA to update world regulatory domain
 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
 PCI: setting IRQ 10 as level-triggered
-rt61pci 0000:00:0b.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
 ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
-snd_via82xx 0000:00:07.5: PCI INT C -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
 snd_via82xx 0000:00:07.5: setting latency timer to 64
 cfg80211: World regulatory domain updated:
-cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
-cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
+cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
+cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 cfg80211: Calling CRDA for country: CZ
 cfg80211: Regulatory domain changed to country: CZ
-cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
-cfg80211:     (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
-cfg80211:     (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2301 mBm)
-cfg80211:     (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2301 mBm)
-cfg80211:     (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 3000 mBm)
+cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
+cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
+cfg80211:   (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2301 mBm)
+cfg80211:   (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2301 mBm)
+cfg80211:   (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 3000 mBm)
 Real Time Clock Driver v1.12b
 Adding 1052252k swap on /dev/sda2.  Priority:-1 extents:1 across:1052252k 
-nf_conntrack version 0.5.0 (5986 buckets, 23944 max)
+nf_conntrack version 0.5.0 (5985 buckets, 23940 max)
 device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
 EXT3-fs (sda5): using internal journal
 kjournald starting.  Commit interval 5 seconds
@@ -473,8 +469,8 @@
 kjournald starting.  Commit interval 5 seconds
 EXT3-fs (dm-2): using internal journal
 EXT3-fs (dm-2): mounted filesystem with writeback data mode
-ip6_tables: (C) 2000-2006 Netfilter Core Team
 ip_tables: (C) 2000-2006 Netfilter Core Team
+ip6_tables: (C) 2000-2006 Netfilter Core Team
 8139too 0000:00:0c.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
 NET: Registered protocol family 15
 alg: No test for cipher_null (cipher_null-generic)
@@ -483,9 +479,13 @@
 alg: No test for compress_null (compress_null-generic)
 NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
 NFSD: starting 90-second grace period
+[drm] nouveau 0000:01:00.0: Load detected on head A
+[drm] nouveau 0000:01:00.0: Load detected on head A
 [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
 [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
-[drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
-[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
-[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
-[drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
+[drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 0 using output A
+[drm] nouveau 0000:01:00.0: Load detected on head A
+[drm] nouveau 0000:01:00.0: Load detected on head A
+[drm] nouveau 0000:01:00.0: Load detected on head A
+[drm] nouveau 0000:01:00.0: Load detected on head A
+alg: No test for authenc(hmac(sha1),cbc(des3_ede)) (authenc(hmac(sha1-generic),cbc(des3_ede-generic)))


The change is graphics output names is solely driver issue. The card has only one physical connector.

The missing EDID data can be seen in Xorg log which I'll attach.

Adding video=1024x768M@85 kernel parameter helps, but there is some weird horizontal offset on the screen. Adding modelines that have been autodetected by Xorg with old kernel into xorg.conf fixes the refresh rate issue in Xorg running on 3.3.0 kernel.
Comment 1 Petr Pisar 2012-03-21 21:41:24 UTC
Created attachment 72668 [details]
dmesg 3.2.11
Comment 2 Petr Pisar 2012-03-21 21:41:52 UTC
Created attachment 72669 [details]
dmesg 3.3.0
Comment 3 Petr Pisar 2012-03-21 21:42:35 UTC
Created attachment 72670 [details]
Xorg log 3.2.11
Comment 4 Petr Pisar 2012-03-21 21:43:03 UTC
Created attachment 72671 [details]
Xorg log 3.3.0

Note You need to log in before you can comment on or make changes to this bug.