bugzilla-daemon at freedesktop.org
2010-Nov-15 20:19 UTC
[Nouveau] [Bug 31637] New: NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 Summary: NV30, PFIFO_CACHE_ERROR when stopping kdm Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: patmandin at gmail.com QAContact: xorg-team at lists.x.org Created an attachment (id=40285) --> (https://bugs.freedesktop.org/attachment.cgi?id=40285) Logged kernel messages when stopping kdm I have this problem since a long time, but did not bother making a bug report as it does not hang the machine; and a recent message on nouveau mailing list reminding me of it. Here is what happens: vt1 -> text console vt7 -> kdm or logged kde session running If I run /etc/init.d/kdm stop from the text console, I got the PFIFO_CACHE_ERROR, if I do it from an X terminal in the kde session, no errors happens. Restarting the server from kdm login screen also does not produce errors. Using gdm does not trigger the error in any case, so it's something specific to kdm (from my pov). Also the fact I stop kdm from a different virtual console may be important. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-18 20:26 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 --- Comment #1 from Patrice Mandin <patmandin at gmail.com> 2010-11-18 12:26:26 PST --- Just noticed that in my log: the first error happens on channel with object 0x8a (NVXX_IMAGE_FROM_CPU), the following errors happen on a different channel with object 0x39 (NVXX_MEMORY_TO_MEMORY_FORMAT) however the called methods match the first object. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-18 21:46 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 --- Comment #2 from Patrice Mandin <patmandin at gmail.com> 2010-11-18 13:46:38 PST --- I just compared timing info (from both kernel and X log files), and the error happens after nouveau_channel_free() has been called, from NVTakedownDma() in the DDX. So it appears something is not totally cleaned up, and the fifo is still executing commands. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-18 22:11 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 --- Comment #3 from Francisco Jerez <currojerez at riseup.net> 2010-11-18 14:11:38 PST --- Created an attachment (id=40400) View: https://bugs.freedesktop.org/attachment.cgi?id=40400 Review: https://bugs.freedesktop.org/review?bug=31637&attachment=40400 nouveau_grobj_sync.patch This patch might help. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-19 07:41 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 --- Comment #4 from Patrice Mandin <patmandin at gmail.com> 2010-11-18 23:41:25 PST --- Created an attachment (id=40403) --> (https://bugs.freedesktop.org/attachment.cgi?id=40403) Kernel log with patch and more debug message Your patch does not change anything. I also added some debug messages in nouveau_channel_idle() at start and end of the function, and the error appears in the middle of it. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-19 17:44 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 --- Comment #5 from Francisco Jerez <currojerez at riseup.net> 2010-11-19 09:44:29 PST --- Created an attachment (id=40409) View: https://bugs.freedesktop.org/attachment.cgi?id=40409 Review: https://bugs.freedesktop.org/review?bug=31637&attachment=40409 nvfx_screen_destroy_flush.patch (In reply to comment #4)> Created an attachment (id=40403)--> (https://bugs.freedesktop.org/attachment.cgi?id=40403)> Kernel log with patch and more debug message > > Your patch does not change anything. I also added some debug messages in > nouveau_channel_idle() at start and end of the function, and the error appears > in the middle of it.Right, you'll need this mesa patch in addition to the other one. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-19 19:13 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 --- Comment #6 from Patrice Mandin <patmandin at gmail.com> 2010-11-19 11:13:32 PST --- This mesa patch does not change anything (obviously, because I have nothing running that may be using mesa, and system-wide the software renderer is used). However, when running glxgears with nouveau mesa backend, sometimes the error does not trigger (with or without the mesa patch). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-20 13:41 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 Francisco Jerez <currojerez at riseup.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #40409|0 |1 is obsolete| | --- Comment #7 from Francisco Jerez <currojerez at riseup.net> 2010-11-20 05:41:32 PST --- Created an attachment (id=40434) View: https://bugs.freedesktop.org/attachment.cgi?id=40434 Review: https://bugs.freedesktop.org/review?bug=31637&attachment=40434 libdrm_gpuobj_flush.patch This libdrm patch along with "nouveau_grobj_sync.patch" should fix both your KDM issue and the gallium issue that was reported earlier. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-20 20:01 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 --- Comment #8 from Patrice Mandin <patmandin at gmail.com> 2010-11-20 12:01:45 PST --- With patched libdrm, no error triggers, and I even removed the patch to DDX to be sure :). So kernel+libdrm patch seems ok to me. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Nov-22 02:54 UTC
[Nouveau] [Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637 Francisco Jerez <currojerez at riseup.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Francisco Jerez <currojerez at riseup.net> 2010-11-21 18:54:43 PST --- (In reply to comment #8)> With patched libdrm, no error triggers, and I even removed the patch to DDX to > be sure :). > > So kernel+libdrm patch seems ok to me.This should be fixed in master now. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.