| Summary: | KDE randomly locks up | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | bkorb |
| Component: | Containment | Assignee: | Sebastian Kügler <sebas> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | crash | CC: | kde, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.8.8 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Mint (Debian based) | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
bkorb
2018-01-15 22:01:08 UTC
Oh, wait, another point: I actually can get this to happen regularly. Yesterday, it happened while I was actively using the system. However, if I leave the computer and come back a half hour later, somewhat more likely than not, it will be locked up. I can prevent that, of course, by typing "init 4" first and then return and type "init 5", but this should not be happening. and you don't get this with openbox. Anything in "dmesg" after it freezes? dmesg resets itself after a reboot. I currently can not ssh in to run dmesg because sshd started refusing connections for reasons beyond me to explain.
Anyway, /var/log/kern.log contains these 5 entries before the last lockup (8 minutes ago):
Jan 24 16:07:35 bach kernel: [28972.823404] nouveau 0000:01:00.0: gr: TRAP ch 8 [007f6be000 chrome[2903]]
Jan 24 16:07:35 bach kernel: [28972.823428] nouveau 0000:01:00.0: gr: GPC0/TPC0/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 3f000d [OOR_REG]
Jan 24 16:07:35 bach kernel: [28972.823437] nouveau 0000:01:00.0: gr: GPC0/TPC1/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 3f000d [OOR_REG]
Jan 24 16:07:39 bach kernel: [28977.119555] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Jan 24 16:07:39 bach kernel: [28977.119564] nouveau 0000:01:00.0: fifo: gr engine fault on channel 2, recovering...
which seems to indicate some new information for me: Chrome might be triggering a graphics engine issue. I'll do some Googling to see what might be amiss. Still, if KDE can figure a way to capture some four fingered salutes, it would be nice. (Ctl-Alt-Shift-PageUp/PageDown/SomethingOrAnotherToSayRestartKDE).
I'll post something after my Google session.
It has been known for at least 2 years. Here's a link to RedHat: https://bugs.freedesktop.org/show_bug.cgi?id=93629 the cause is still unknown, but I'm guessing if I dump the "nouveau" c**p, and use Nvidia directly instead, I'll be happy again. I can now confirm it is a nouveau driver issue. By switching to Nvidia, the desktop has become stable. However, despite the fact the lockup is triggered by a graphics engine fault (and you-all can't do much about that), there are some things KDE can do to make life easier on the victims. Presumably, I cannot use Ctl-Alt-Shift-F1/PageUp/PageDown because keyboard events are all delivered to a non-responsive thread. You could add a watchdog timer thread that would restart KDE after a sufficiently long time. Viz., if the keyboard events remain untouched for a few seconds, it's likely something pretty bad is going on. |