Bug 29324

Summary: [NV31] Artefacts with latest git
Product: xorg Reporter: Johannes Obermayr <johannesobermayr>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
vbtracetool
none
tvdump
none
vbtracetool
none
tvdump
none
nv31_pfb_init.patch
none
new tvdump after X
none
nv31_pfb_init.patch none

Description Johannes Obermayr 2010-07-30 13:42:18 UTC
Created attachment 37466 [details]
dmesg

Just updated kernel module to latest git and have a really bad screen corruption on NV31 after kernel module is loaded.

If you need a screen photo I provide it ...
Comment 1 Patrice Mandin 2010-07-31 04:22:18 UTC
I noticed this in your kernel.log:

[    4.902810] [drm] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon

If you have an older kernel version that works, could you try bisecting this?
Comment 2 Francisco Jerez 2010-07-31 05:59:40 UTC
(In reply to comment #0)
> Created an attachment (id=37466) [details]
> dmesg
> 
> Just updated kernel module to latest git and have a really bad screen
> corruption on NV31 after kernel module is loaded.
> 
> If you need a screen photo I provide it ...

58bbb63720c8997e0136fe1884101e7ca40d68fd is probably the culprit. If reverting that commit solves the corruption, can you get me a BIOS dump [1] and a register dump? (after a fresh boot and before having loaded nouveau, you can use [2] to get one)

[1] http://nouveau.freedesktop.org/wiki/DumpingVideoBios
[2] http://cgit.freedesktop.org/~currojerez/tvdump/
Comment 3 Johannes Obermayr 2010-07-31 11:27:35 UTC
Created attachment 37485 [details]
vbtracetool
Comment 4 Johannes Obermayr 2010-07-31 11:28:02 UTC
Created attachment 37486 [details]
tvdump
Comment 5 Johannes Obermayr 2010-08-01 04:31:14 UTC
Created attachment 37497 [details]
vbtracetool
Comment 6 Johannes Obermayr 2010-08-01 04:32:41 UTC
Created attachment 37498 [details]
tvdump
Comment 7 Francisco Jerez 2010-08-06 04:40:32 UTC
Created attachment 37629 [details] [review]
nv31_pfb_init.patch

Thanks, can you try again with the attached patch?
Comment 8 Johannes Obermayr 2010-08-06 08:00:49 UTC
Created attachment 37637 [details]
new tvdump after X
Comment 9 Francisco Jerez 2010-08-06 08:31:44 UTC
Created attachment 37641 [details] [review]
nv31_pfb_init.patch

New patch attached, the other one had an arithmetic overflow issue.
Comment 10 Francisco Jerez 2010-08-06 14:44:45 UTC
This should be fixed in master now, closing...

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.