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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-31637-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
https://bugs.freedesktop.org/show_bug.cgi?id=31637
--- Comment #1 from Patrice Mandin <[email protected]> 2010-11-18 12:26:26 PST --- Just noticed that in my log: the first error happens on channel with object0x8a (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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
--- Comment #2 from Patrice Mandin <[email protected]> 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
--- Comment #3 from Francisco Jerez <[email protected]> 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
--- Comment #4 from Patrice Mandin <[email protected]> 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
--- Comment #5 from Francisco Jerez <[email protected]> 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)
Quoted 1 line
Created an attachment (id=40403)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40403)
Quoted 5 lines
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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
--- Comment #6 from Patrice Mandin <[email protected]> 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).
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
Francisco Jerez <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #40409|0 |1
is obsolete| |
--- Comment #7 from Francisco Jerez <[email protected]> 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
--- Comment #8 from Patrice Mandin <[email protected]> 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 31637] NV30, PFIFO_CACHE_ERROR when stopping kdm
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=31637
Francisco Jerez <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #9 from Francisco Jerez <[email protected]> 2010-11-21 18:54:43 PST --- (In reply to comment #8)
Quoted 4 lines
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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.