FS#20449 - [pixman] corruption when scaling some images under nouveau-drm

Attached to Project: Arch Linux
Opened by Ray (ataraxia) - Thursday, 12 August 2010, 14:37 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 17 August 2010, 10:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Certain kinds of image scaling produce visual corruption and heavy lag in the X server when using nouveau. Some examples:
- Using the new Google Image Search in Firefox (and not other browsers) shows corrupted thumbnails
- Dragging a tab out of a Chromium (from [extra]) window shows corrupted thumbnails

This is almost certainly upstream. My own testing shows that an update Nouveau DDX does NOT fix it. I wasn't able to get a DRM snapshot to compile when I tried it.

I'm opening this FS at Borromini's suggestion. See https://bbs.archlinux.org/viewtopic.php?id=101469 for more details and a screenshot of the bug in action.

Additional info:
* package version(s)
kernel26 2.6.34.3-1
xf86-video-nouveau 0.0.16_git20100517-1
firefox 3.6.8-1
xulrunner 1.9.2.8-1
chromium 5.0.375.125-1

* config and/or log files etc.
NO log output anywhere is evident from this bug.

Steps to reproduce:
Use the new Google Image Search in Firefox, or drag a tab out of a chromium window, under nouveau.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 17 August 2010, 10:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.18.4.
Comment by Andreas Radke (AndyRTR) - Thursday, 12 August 2010, 16:04 GMT
Can you please test kernel 2.6.35.1 from testing? The drm module got lots of fixes. For me Google picture view and dragging a Chromium tab does work.
Comment by Ray (ataraxia) - Thursday, 12 August 2010, 16:19 GMT
I'll do this test within the next few hours if no one else does it first.
Comment by Andreas Radke (AndyRTR) - Thursday, 12 August 2010, 16:31 GMT
Please also have a look into dmesg and Xorg.0.log.
Comment by Ray (ataraxia) - Thursday, 12 August 2010, 18:10 GMT
Neither dmesg nor Xorg.0.log have anything to report when this bug appears.
Comment by Ray (ataraxia) - Thursday, 12 August 2010, 18:37 GMT
Ok, I upgraded one of my affected machines to [testing] (and [community-testing], naturally), but I saw NO CHANGE with regard to this bug under kernel26 2.6.35.1-1.
Comment by Andreas Radke (AndyRTR) - Thursday, 12 August 2010, 18:39 GMT
can you please try to ask the nouveau devs in their #nouveau channel? i'm not sure if this is kernel module related.
Comment by Ray (ataraxia) - Sunday, 15 August 2010, 20:54 GMT
Ubuntu has found the cause, and a fix, for this bug: https://bugs.launchpad.net/bugs/608613

The bug is actually in pixman, not in any nouveau component. They handled it by backporting a fix from pixman trunk to stable. I can't locate the patch itself.
Comment by Muhammed (some-guy94) - Sunday, 15 August 2010, 21:08 GMT Comment by Ray (ataraxia) - Monday, 16 August 2010, 00:09 GMT
I confirm that applying that one-line patch linked from the last comment actually does fix the problem for me.

Loading...