[Nouveau] [Bug 15845] X busyloops when huge image in firefox

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 6 11:16:45 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15845





--- Comment #2 from Pekka Paalanen <pq at iki.fi>  2008-05-06 11:16:44 PST ---
Created an attachment (id=16390)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16390)
gdb session

This is a gdb session recorded on a serial console.
For many times I interrupt X while it is spinning and print the backtrace.
There's a disassembly of nouveau_notifier_wait_status.
I set breakpoints to NVUploadToScreen and NVDownloadFromScreen to see what kind
of calls they get.

Looks like it is migrating a big pixmap a lot. w=1703, h=3000 are probably the
original dimensions of the image I used to trigger the problem this time.
During the dozens of calls to NVUploadToScreen, the firefox window does not
show any redrawing. After something like 5 mins running, the window updates
instantly, and I can re-trigger the freeze by doing anything that would expose
a piece of the huge image.

Hmm, I just noticed a pattern there:
NVUploadToScreen (pDst=0x2ba0cf4db010, x=0, y=0, w=1703, h=3000
NVUploadToScreen (pDst=0x1314020, x=0, y=0, w=494, h=1315
NVUploadToScreen (pDst=0x2ba0cf4db010, x=0, y=0, w=1703, h=3000
NVUploadToScreen (pDst=0x1314020, x=0, y=0, w=495, h=1315
NVUploadToScreen (pDst=0x2ba0cf4db010, x=0, y=0, w=1703, h=3000
NVUploadToScreen (pDst=0x1314020, x=0, y=0, w=496, h=1315
NVUploadToScreen (pDst=0x2ba0cf4db010, x=0, y=0, w=1703, h=3000
NVUploadToScreen (pDst=0x1314020, x=0, y=0, w=497, h=1315
See the width of the second pixmap.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list