New: NV46: GPU lockup on VT switch
http://bugs.freedesktop.org/show_bug.cgi?id=23445
Summary: NV46: GPU lockup on VT switch
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
I got these errors on the logs after switching from Xorg to another VT, and logging in:
(...)
Aug 21 23:39:50 pinguinus login[5571]: ROOT LOGIN on '/dev/tty1' Aug 21 23:40:01 pinguinus cron[5579]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Aug 21 23:40:02 pinguinus [ 47.488542] nouveau 0000:01:00.0: PFIFO_CACHE_ERROR - Ch 0/3 Mthd 0x1268 Data 0x00000000 Aug 21 23:40:02 pinguinus [ 47.488548] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 21 23:40:02 pinguinus [ 47.488555] nouveau 0000:01:00.0: PFIFO_CACHE_ERROR - Ch 0/2 Mthd 0x0c6c Data 0x00000000 Aug 21 23:40:02 pinguinus [ 47.488561] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 21 23:40:02 pinguinus [ 47.488587] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 21 23:40:03 pinguinus [ 47.730059] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon Aug 21 23:40:03 pinguinus [ 47.977559] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon Aug 21 23:40:03 pinguinus [ 48.220945] nouveau 0000:01:00.0: GPU lockup -
switching to software fbcon
The "GPU lockup" message goes on and on, and the terminal is damn slow. After trying to change back to the X's VT, the system seemed to hang. Ctrl+Alt+SysRq still worked, so I managed to sync disk and reboot:
(...)
Aug 21 23:42:58 pinguinus [ 223.124393] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon Aug 21 23:42:58 pinguinus [ 223.351695] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon Aug 21 23:43:03 pinguinus [ 228.097813] SysRq : Emergency Sync Aug 21 23:43:42 pinguinus syslog-ng[5220]: syslog-ng starting up;
version='2.1.4'
(...)
Today I've switched to "all-git" versions of Xorg components, and it has been a quite a ride so far :)
Signature · 3 lines
Configure bugmail: http://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-23445-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 23445] NV46: GPU lockup on VT switch
http://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #1 from Renato Caldas <[email protected]> 2009-08-21 16:04:34 PST --- Oh, I'm using the nouveau git kernel:
$ uname -r 2.6.31-rc6-g8fa1abd
I've made the git switch before rebooting, so I've never tested this kernel with the stable Xorg versions... My mistake. I can switch it to a previous commit and test, if this bug is not obvious to you.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup on VT switch
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #2 from Renato Caldas <[email protected]> 2009-08-21 16:06:04 PST --- (In reply to comment #1)
Quoted 1 line
I've made the git switch before rebooting, so I've never tested this kernel
I meant this particular commit. I've been using the nouveau git kernel for quite some time, and updated it yesterday.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup on VT switch
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #3 from Renato Caldas <[email protected]> 2009-08-21 16:08:15 PST --- (In reply to comment #2)
Quoted 4 lines
(In reply to comment #1)
Quoted 1 line
I've made the git switch before rebooting, so I've never tested this kernel
I meant this particular commit. I've been using the nouveau git kernel for quite some time, and updated it yesterday.
.. not considering today's update. I need to sleep...
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup on VT switch
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #4 from Maarten Maathuis <[email protected]> 2009-08-21 16:14:24 PST --- Why do you have 4 channels, normally you have channel 0 for the kernel and
channel 1 for xorg. Have you installed the (unsupported) nv40 gallium driver?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup on VT switch
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #5 from Renato Caldas <[email protected]> 2009-08-21 16:53:47 PST --- (In reply to comment #4)
Quoted 2 lines
Why do you have 4 channels, normally you have channel 0 for the kernel and channel 1 for xorg. Have you installed the (unsupported) nv40 gallium driver?
Not anymore, but the problem seems to remain, except a bit different:
Aug 22 00:47:44 pinguinus login[5527]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) Aug 22 00:47:44 pinguinus login[5569]: ROOT LOGIN on '/dev/tty2' Aug 22 00:47:48 pinguinus [ 40.444285] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 22 00:47:48 pinguinus [ 40.444292] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 22 00:47:48 pinguinus [ 40.444298] nouveau 0000:01:00.0: Unhandled
PFIFO_INTR - 0x00010000
(...)
Aug 22 00:47:48 pinguinus [ 40.445339] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 22 00:47:48 pinguinus [ 40.445344] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 22 00:47:48 pinguinus [ 40.685178] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon Aug 22 00:48:04 pinguinus [ 56.864228] SysRq : Emergency Sync Aug 22 00:48:04 pinguinus [ 56.866521] Emergency Sync complete Aug 22 00:48:16 pinguinus [ 68.854374] SysRq : Emergency Sync Aug 22 00:48:16 pinguinus [ 68.854854] Emergency Sync complete Aug 22 00:48:59 pinguinus syslog-ng[5235]: syslog-ng starting up;
version='2.1.4'
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup when logging into fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
Renato Caldas <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|NV46: GPU lockup on VT |NV46: GPU lockup when
|switch |logging into fbcon--- Comment #6 from Renato Caldas <[email protected]> 2009-08-22 05:42:24 PST --- VT switching isn't causing the problem, it only happens after logging in to the
fb console. Could this be a kernel bug?
My next test will be to disable the automatic X startup, and see if it still locks up.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
Renato Caldas <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|NV46: GPU lockup when |NV46: GPU lockup with gdm
|logging into fbcon |prompt AND logged in fbcon--- Comment #7 from Renato Caldas <[email protected]> 2009-08-22 06:13:47 PST --- Strangest thing: I can only reproduce this when X is showing the GDM prompt,
not after I'm logged in to X.
So to sum up:
-> Start X system-wide, and leave it in the GDM prompt -> Change VT to a console.
-> Log in
OR if already logged in,
-> run dmesg
Problem shows up.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #8 from Pekka Paalanen <[email protected]> 2009-08-22 06:38:49 PST --- Can you reproduce the "GPU lockup" message completely without X?
Log in, run some commands that print lots of text, and see if it appears in dmesg. It would be nice to rule out interference with X.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #9 from Renato Caldas <[email protected]> 2009-08-22 08:28:34 PST --- (In reply to comment #8)
Quoted 1 line
Can you reproduce the "GPU lockup" message completely without X?
It's not reproducible without X.. I've ran things like "dmesg && dmesg && dmesg && dmesg && dmesg", played a hi-res movie in mplayer using "-vo fbdev" and "-vo caca". Nothing.
I've tried with a "gtkterm" session, and the problem didn't occur. Then I tried starting a firefox session, and changed VT while firefox was starting up: full lock up, SysRq wouldn't even work (I was root, not sure if it matters).
Then I tested a gnome-session as a regular user, and the problem didn't show up.
So it seems to be related with changing VT in some circumstances. It seems that its not possible to rule out X after all...
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #10 from Renato Caldas <[email protected]> 2009-08-22 10:20:13 PST --- Further testing proves that it may be gfx-workload related:
I've started a firefox-only session via startx, and then switched VT and issued dmesg a couple of times. It only crashed while the switching was done in the middle of a big page render, namely Gmail. Whenever the switching was done when the page was fully loaded, no lockup.
BTW, what are these PFIFO_INTR for? Who handles them? Could it be that the handler is uninstalled when switching VT, and the lockups occur when the interrupt is fired outside of X?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #11 from Maarten Maathuis <[email protected]> 2009-08-22 10:27:23 PST --- The interrupt handler isn't uninstalled, we just don't know every interrupt and
this is one of them.
So this is purely a problem that occurs at/around VT switching?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #12 from Renato Caldas <[email protected]> 2009-08-22 10:32:53 PST --- (In reply to comment #11)
Quoted 1 line
So this is purely a problem that occurs at/around VT switching?
Yes.
I've also been experiencing lockups with xrandr rotation, but I don't know if they're related. I'll check the logs to see if it's the same thing. Brb.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #13 from Renato Caldas <[email protected]> 2009-08-22 10:39:19 PST --- No, it's not related. There is no actual lockup or similar messages on the
logs, just a black display. I'll submit another report for it.
So it is just VT switching related.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #14 from Renato Caldas <[email protected]> 2009-08-28 15:46:23 PST --- The last kernel commit (b3f15458cb2660f430a68a9134a8427f7838d450) changed the
output a bit:
Aug 28 23:35:31 pinguinus login[5576]: ROOT LOGIN on '/dev/tty1' Aug 28 23:35:33 pinguinus [ 39.975293] nouveau 0000:01:00.0: PFIFO_CACHE_ERROR - Ch 0/3 Mthd 0x1430 Data 0x00000000 Aug 28 23:35:33 pinguinus [ 39.975305] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 28 23:35:33 pinguinus [ 39.975312] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 (...) Aug 28 23:35:33 pinguinus [ 39.975678] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 28 23:35:33 pinguinus [ 39.975702] nouveau 0000:01:00.0: AIII, invalid/inactive channel id 32 Aug 28 23:35:33 pinguinus [ 39.975709] nouveau 0000:01:00.0: PGRAPH_ERROR - nSource: ILLEGAL_MTHD, nStatus: PROTECTION_FAULT Aug 28 23:35:33 pinguinus [ 39.975714] nouveau 0000:01:00.0: PGRAPH_ERROR - Ch -1/2 Class 0x0000 Mthd 0x0c3c Data 0x00000000:0x00000000 Aug 28 23:35:33 pinguinus [ 39.975724] nouveau 0000:01:00.0: AIII, invalid/inactive channel id 32 Aug 28 23:35:33 pinguinus [ 39.975731] nouveau 0000:01:00.0: PGRAPH_ERROR - nSource: ILLEGAL_MTHD, nStatus: PROTECTION_FAULT Aug 28 23:35:33 pinguinus [ 39.975735] nouveau 0000:01:00.0: PGRAPH_ERROR - Ch -1/2 Class 0x0000 Mthd 0x0be4 Data 0x00000000:0x00200108 Aug 28 23:35:33 pinguinus [ 39.975746] nouveau 0000:01:00.0: AIII, invalid/inactive channel id 32 (...) Aug 28 23:35:33 pinguinus [ 39.976048] nouveau 0000:01:00.0: AIII, invalid/inactive channel id 32 Aug 28 23:35:33 pinguinus [ 39.976054] nouveau 0000:01:00.0: PGRAPH_ERROR - nSource: ILLEGAL_MTHD, nStatus: PROTECTION_FAULT Aug 28 23:35:33 pinguinus [ 39.976058] nouveau 0000:01:00.0: PGRAPH_ERROR - Ch -1/2 Class 0x0000 Mthd 0x0c20 Data 0x00000000:0x00000000 Aug 28 23:35:33 pinguinus [ 39.976085] nouveau 0000:01:00.0: PFIFO_CACHE_ERROR - Ch 0/0 Mthd 0x0c24 Data 0x00000000 Aug 28 23:35:33 pinguinus [ 39.976122] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 1 Aug 28 23:35:33 pinguinus [ 39.976128] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 28 23:35:33 pinguinus [ 39.976156] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 28 23:35:33 pinguinus [ 39.976163] nouveau 0000:01:00.0: Unhandled PFIFO_INTR - 0x00010000 Aug 28 23:35:33 pinguinus [ 40.039606] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon Aug 28 23:36:07 pinguinus [ 74.083930] SysRq : Emergency Sync Aug 28 23:36:46 pinguinus syslog-ng[5219]: syslog-ng starting up;
version='2.1.4'
And the console didn't slowdown anymore, but that was the purpose :) I'm not sure if this output is related to this bug though. It may be a bug with the software fallbacks... Comments?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #15 from Renato Caldas <[email protected]> 2009-09-06 03:21:47 PST --- Heads up, I can reproduce this in Fedora Rawhide.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #16 from Alexander Trubitsyn <a.trubitsyn-JGs/[email protected]> 2010-03-14 16:26:15 PST --- Created an attachment (id=34044)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34044)
dmesg log
1. Install Open Suse 11.2 64-bit, 2. download & install latest kernel 2.6.33-31-desktop.
On every boot in dmesg see GPU lockup message
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #17 from Alexander Trubitsyn <a.trubitsyn-JGs/[email protected]> 2010-03-14 16:27:05 PST --- Created an attachment (id=34045)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34045)
lsmod log
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #18 from Alexander Trubitsyn <a.trubitsyn-JGs/[email protected]> 2010-03-14 16:27:35 PST --- Created an attachment (id=34046)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34046)
lspci -vv log
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #19 from Alexander Trubitsyn <a.trubitsyn-JGs/[email protected]> 2010-03-14 16:28:01 PST --- Created an attachment (id=34047)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34047)
xorg.log
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23445
--- Comment #20 from Marcin Slusarz <[email protected]> 2010-10-13 12:36:04 PDT --- Can you test current git? I think it's already fixed (2.6.35 might be good too)
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 23445] NV46: GPU lockup with gdm prompt AND logged in fbcon
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23445
Marcin Slusarz <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXEDSignature · 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.