Bug 42672

Summary: Nouveau. Screen corruption and occasional gpu lockup
Product: Drivers Reporter: cucullus (cucullus)
Component: Video(Other)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alan, schwab
Priority: P1    
Hardware: i386   
OS: Linux   
Kernel Version: 3.6.6 Subsystem:
Regression: Yes Bisected commit-id:

Description cucullus 2012-01-27 21:00:27 UTC
After upgrade to kernel 3.2 nouveau driver produces corrupted image in X. On bottom part of screen (~1/3) controls are invisible (some of them become visible after mouse hover or scroll).

Switching to console seems to be slower than earlier. Occasional gpu lockup occurs. Console works fine.

Revert to 3.1 solves problem.

01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200 32M/64M] (rev a1)

$ dmesg | grep nouveau
[    1.126217] nouveau 0000:01:00.0: PCI INT A -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
[    1.128151] [drm] nouveau 0000:01:00.0: Detected an NV30 generation card (0x034800b1)
[    1.128361] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
[    1.185161] [drm] nouveau 0000:01:00.0: ... BIOS checksum invalid
[    1.185164] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
[    1.185169] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
[    1.185172] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PCIROM
[    1.186501] [drm] nouveau 0000:01:00.0: ... appears to be valid
[    1.186718] [drm] nouveau 0000:01:00.0: BMP BIOS found
[    1.186721] [drm] nouveau 0000:01:00.0: BMP version 5.40
[    1.186725] [drm] nouveau 0000:01:00.0: Bios version 04.34.20.56
[    1.186728] [drm] nouveau 0000:01:00.0: Found Display Configuration Block version 2.2
[    1.186733] [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 030002f3 00000005
[    1.186737] [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 01010100 000088b8
[    1.186740] [drm] nouveau 0000:01:00.0: Raw DCB entry 2: 020203f1 00000703
[    1.186912] [drm] nouveau 0000:01:00.0: Loading NV17 power sequencing microcode
[    1.186916] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xF606
[    1.188960] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xF8A1
[    1.188974] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xF9E7
[    1.189034] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xFBA0
[    1.189040] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xFBBD
[    1.189046] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 5 at offset 0xFBDA
[    1.190084] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 6 at offset 0xFD6A
[    1.210988] [drm] nouveau 0000:01:00.0: 3 available performance level(s)
[    1.210996] [drm] nouveau 0000:01:00.0: 0: core 100MHz memory 200MHz timing 0 voltage 1110mV fanspeed 100%
[    1.211002] [drm] nouveau 0000:01:00.0: 1: core 200MHz memory 400MHz timing 1 voltage 1110mV fanspeed 100%
[    1.211008] [drm] nouveau 0000:01:00.0: 2: core 250MHz memory 500MHz timing 2 voltage 1250mV fanspeed 100%
[    1.211022] [drm] nouveau 0000:01:00.0: c: core 199MHz memory 405MHz voltage 1250mV
[    1.211635] [drm] nouveau 0000:01:00.0: Detected 64MiB VRAM
[    1.214356] [drm] nouveau 0000:01:00.0: 64 MiB GART (aperture)
[    1.214460] [drm] nouveau 0000:01:00.0: Saving VGA fonts
[    1.275216] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on lvds encoder (output 0)
[    1.275221] [drm] nouveau 0000:01:00.0: Calling LVDS script 1:
[    1.275225] [drm] nouveau 0000:01:00.0: Calling LVDS script 6:
[    1.275229] [drm] nouveau 0000:01:00.0: 0xE512: Parsing digital output script table
[    1.775297] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 1)
[    1.775301] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 2)
[    1.795523] [drm] nouveau 0000:01:00.0: Found EDID in BIOS
[    1.853509] [drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0x49000, bo de49c000
[    1.853907] fbcon: nouveaufb (fb0) is primary device
[    1.865960] [drm] nouveau 0000:01:00.0: Calling LVDS script 2:
[    1.865964] [drm] nouveau 0000:01:00.0: 0xE5F2: Parsing digital output script table
[    1.898019] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on lvds encoder (output 0)
[    1.898022] [drm] nouveau 0000:01:00.0: Calling LVDS script 5:
[    1.898025] [drm] nouveau 0000:01:00.0: 0xE4FB: Parsing digital output script table
[    1.898034] [drm] nouveau 0000:01:00.0: Output LVDS-1 is running on CRTC 1 using output A
[    1.902098] fb0: nouveaufb frame buffer device
[    1.902107] [drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on minor 0
[   27.251547] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on lvds encoder (output 0)
[   27.251554] [drm] nouveau 0000:01:00.0: Calling LVDS script 6:
[   27.260049] [drm] nouveau 0000:01:00.0: 0xE512: Parsing digital output script table
[   27.810356] [drm] nouveau 0000:01:00.0: Calling LVDS script 2:
[   27.810362] [drm] nouveau 0000:01:00.0: 0xE5F2: Parsing digital output script table
[   27.842695] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on lvds encoder (output 0)
Comment 1 cucullus 2012-04-08 20:56:58 UTC
bug still persists in 3.3.1
Comment 2 cucullus 2012-11-13 20:15:08 UTC
bug still persists in 3.6.6
now 0 perf levels are detected
errors after suspend


Nov 13 13:57:34 samthing kernel: [    1.233287] [drm] nouveau 0000:01:00.0: Detected an NV30 generation card (0x034800b1)
Nov 13 13:57:34 samthing kernel: [    1.233982] [drm] nouveau 0000:01:00.0: Checking PRAMIN for VBIOS
Nov 13 13:57:34 samthing kernel: [    1.290816] [drm] nouveau 0000:01:00.0: ... BIOS checksum invalid
Nov 13 13:57:34 samthing kernel: [    1.290818] [drm] nouveau 0000:01:00.0: Checking PROM for VBIOS
Nov 13 13:57:34 samthing kernel: [    1.290841] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
Nov 13 13:57:34 samthing kernel: [    1.290843] [drm] nouveau 0000:01:00.0: Checking ACPI for VBIOS
Nov 13 13:57:34 samthing kernel: [    1.290845] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
Nov 13 13:57:34 samthing kernel: [    1.290847] [drm] nouveau 0000:01:00.0: Checking PCIROM for VBIOS
Nov 13 13:57:34 samthing kernel: [    1.292218] [drm] nouveau 0000:01:00.0: ... appears to be valid
Nov 13 13:57:34 samthing kernel: [    1.292223] [drm] nouveau 0000:01:00.0: Using VBIOS from PCIROM
Nov 13 13:57:34 samthing kernel: [    1.292428] [drm] nouveau 0000:01:00.0: BMP BIOS found
Nov 13 13:57:34 samthing kernel: [    1.292430] [drm] nouveau 0000:01:00.0: BMP version 5.40
Nov 13 13:57:34 samthing kernel: [    1.292433] [drm] nouveau 0000:01:00.0: Bios version 04.34.20.56
Nov 13 13:57:34 samthing kernel: [    1.293561] [drm] nouveau 0000:01:00.0: MXM: no VBIOS data, nothing to do
Nov 13 13:57:34 samthing kernel: [    1.293567] [drm] nouveau 0000:01:00.0: DCB version 2.2
Nov 13 13:57:34 samthing kernel: [    1.293571] [drm] nouveau 0000:01:00.0: DCB outp 00: 030002f3 00000005
Nov 13 13:57:34 samthing kernel: [    1.293574] [drm] nouveau 0000:01:00.0: DCB outp 01: 01010100 000088b8
Nov 13 13:57:34 samthing kernel: [    1.293576] [drm] nouveau 0000:01:00.0: DCB outp 02: 020203f1 00000703
Nov 13 13:57:34 samthing kernel: [    1.293766] [drm] nouveau 0000:01:00.0: Loading NV17 power sequencing microcode
Nov 13 13:57:34 samthing kernel: [    1.293769] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xF606
Nov 13 13:57:34 samthing kernel: [    1.295813] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xF8A1
Nov 13 13:57:34 samthing kernel: [    1.295825] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xF9E7
Nov 13 13:57:34 samthing kernel: [    1.295885] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xFBA0
Nov 13 13:57:34 samthing kernel: [    1.295890] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xFBBD
Nov 13 13:57:34 samthing kernel: [    1.295895] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 5 at offset 0xFBDA
Nov 13 13:57:34 samthing kernel: [    1.296934] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 6 at offset 0xFD6A
Nov 13 13:57:34 samthing kernel: [    1.297158] [drm] nouveau 0000:01:00.0: Detected 64MiB VRAM (DDR1)
Nov 13 13:57:34 samthing kernel: [    1.301061] [drm] nouveau 0000:01:00.0: 128 MiB GART (aperture)
Nov 13 13:57:34 samthing kernel: [    1.301186] [drm] nouveau 0000:01:00.0: Saving VGA fonts
Nov 13 13:57:34 samthing kernel: [    1.368087] [drm] nouveau 0000:01:00.0: 0 available performance level(s)
Nov 13 13:57:34 samthing kernel: [    1.368092] [drm] nouveau 0000:01:00.0: c: core 199MHz memory 405MHz voltage 1110mV
Nov 13 13:57:34 samthing kernel: [    1.368630] [drm] nouveau 0000:01:00.0: MM: using M2MF for buffer copies
Nov 13 13:57:34 samthing kernel: [    1.369703] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 2)
Nov 13 13:57:34 samthing kernel: [    1.390026] [drm] nouveau 0000:01:00.0: Found EDID in BIOS
Nov 13 13:57:34 samthing kernel: [    1.443519] [drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0x49000, bo df232800
Nov 13 13:57:34 samthing kernel: [    1.443930] fbcon: nouveaufb (fb0) is primary device
Nov 13 13:57:34 samthing kernel: [    1.455993] [drm] nouveau 0000:01:00.0: Calling LVDS script 1:
Nov 13 13:57:34 samthing kernel: [    1.455995] [drm] nouveau 0000:01:00.0: Calling LVDS script 6:
Nov 13 13:57:34 samthing kernel: [    1.455998] [drm] nouveau 0000:01:00.0: 0xE512: Parsing digital output script table
Nov 13 13:57:34 samthing kernel: [    1.956080] [drm] nouveau 0000:01:00.0: Calling LVDS script 2:
Nov 13 13:57:34 samthing kernel: [    1.956082] [drm] nouveau 0000:01:00.0: 0xE5F2: Parsing digital output script table
Nov 13 13:57:34 samthing kernel: [    1.988127] [drm] nouveau 0000:01:00.0: Calling LVDS script 5:
Nov 13 13:57:34 samthing kernel: [    1.988129] [drm] nouveau 0000:01:00.0: 0xE4FB: Parsing digital output script table
Nov 13 13:57:34 samthing kernel: [    1.992162] fb0: nouveaufb frame buffer device
Nov 13 13:57:34 samthing kernel: [    1.992171] [drm] Initialized nouveau 1.0.0 20120316 for 0000:01:00.0 on minor 0
Nov 13 13:57:38 samthing kernel: [   28.442265] [drm] nouveau 0000:01:00.0: Calling LVDS script 6:
Nov 13 13:57:38 samthing kernel: [   28.442275] [drm] nouveau 0000:01:00.0: 0xE512: Parsing digital output script table
Nov 13 13:57:39 samthing kernel: [   29.003059] [drm] nouveau 0000:01:00.0: Calling LVDS script 2:
Nov 13 13:57:39 samthing kernel: [   29.003069] [drm] nouveau 0000:01:00.0: 0xE5F2: Parsing digital output script table
Nov 13 13:57:39 samthing kernel: [   29.035121] [drm] nouveau 0000:01:00.0: Calling LVDS script 5:
Nov 13 13:57:39 samthing kernel: [   29.035125] [drm] nouveau 0000:01:00.0: 0xE4FB: Parsing digital output script table
Nov 13 13:58:00 samthing kernel: [   40.130747] [drm] nouveau 0000:01:00.0: Calling LVDS script 6:
Nov 13 13:58:00 samthing kernel: [   40.130754] [drm] nouveau 0000:01:00.0: 0xE512: Parsing digital output script table
Nov 13 13:58:00 samthing kernel: [   40.759361] [drm] nouveau 0000:01:00.0: Calling LVDS script 2:
Nov 13 13:58:00 samthing kernel: [   40.759364] [drm] nouveau 0000:01:00.0: 0xE5F2: Parsing digital output script table
Nov 13 13:58:00 samthing kernel: [   40.791413] [drm] nouveau 0000:01:00.0: Calling LVDS script 5:
Nov 13 13:58:00 samthing kernel: [   40.791414] [drm] nouveau 0000:01:00.0: 0xE4FB: Parsing digital output script table
Nov 13 13:58:00 samthing kernel: [   40.880432] [drm] nouveau 0000:01:00.0: Disabling display...
Nov 13 13:58:00 samthing kernel: [   40.880438] [drm] nouveau 0000:01:00.0: Disabling fbcon...
Nov 13 13:58:00 samthing kernel: [   40.880450] [drm] nouveau 0000:01:00.0: Unpinning framebuffer(s)...
Nov 13 13:58:00 samthing kernel: [   40.880471] [drm] nouveau 0000:01:00.0: Evicting buffers...
Nov 13 13:58:00 samthing kernel: [   40.887584] [drm] nouveau 0000:01:00.0: Idling channels...
Nov 13 13:58:00 samthing kernel: [   40.887989] [drm] nouveau 0000:01:00.0: Suspending GPU objects...
Nov 13 13:58:00 samthing kernel: [   40.935695] [drm] nouveau 0000:01:00.0: And we're gone!
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: We're back, enabling device...
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: POSTing device...
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Loading NV17 power sequencing microcode
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xF606
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xF8A1
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xF9E7
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xFBA0
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xFBBD
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 5 at offset 0xFBDA
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 6 at offset 0xFD6A
Nov 13 13:58:00 samthing kernel: [   41.426676] [drm] nouveau 0000:01:00.0: Restoring GPU objects...
Nov 13 13:58:00 samthing kernel: [   41.430570] [drm] nouveau 0000:01:00.0: Reinitialising engines...
Nov 13 13:58:00 samthing kernel: [   41.430608] [drm] nouveau 0000:01:00.0: Restoring mode...
Nov 13 13:58:00 samthing kernel: [   41.484308] [drm] nouveau 0000:01:00.0: Calling LVDS script 1:
Nov 13 13:58:00 samthing kernel: [   41.484311] [drm] nouveau 0000:01:00.0: Calling LVDS script 6:
Nov 13 13:58:00 samthing kernel: [   41.484314] [drm] nouveau 0000:01:00.0: 0xE512: Parsing digital output script table
Nov 13 13:58:00 samthing kernel: [   42.035199] [drm] nouveau 0000:01:00.0: Calling LVDS script 2:
Nov 13 13:58:00 samthing kernel: [   42.035202] [drm] nouveau 0000:01:00.0: 0xE5F2: Parsing digital output script table
Nov 13 13:58:00 samthing kernel: [   42.067258] [drm] nouveau 0000:01:00.0: Calling LVDS script 5:
Nov 13 13:58:00 samthing kernel: [   42.067260] [drm] nouveau 0000:01:00.0: 0xE4FB: Parsing digital output script table
Nov 13 13:58:00 samthing kernel: [   42.370077] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 2)
Nov 13 13:58:00 samthing kernel: [   42.391153] [drm] nouveau 0000:01:00.0: Calling LVDS script 6:
Nov 13 13:58:03 samthing kernel: [   46.256703] [drm] nouveau 0000:01:00.0: reloc wait_idle failed: -16
Nov 13 13:58:03 samthing kernel: [   46.256710] [drm] nouveau 0000:01:00.0: reloc apply: -16