Bug 445210 - Plasma hangs all but mouse moves and some beep - no keyboard response
Summary: Plasma hangs all but mouse moves and some beep - no keyboard response
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 5.23.2
Platform: openSUSE Linux
: NOR critical
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-09 14:24 UTC by Rafael Linux User
Modified: 2022-01-18 13:38 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
journalctl -p 5 (106.20 KB, text/x-log)
2021-11-09 14:24 UTC, Rafael Linux User
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2021-11-09 14:24:41 UTC
Created attachment 143371 [details]
journalctl -p 5

SUMMARY
Without any warning, the keyboard stops responding and only the mouse reacts to user interaction. A "beep" sounds (even over headphones) every minute or so, and Plasma does not even react to <Ctrl><Alt> + 2x <Backspace>. The only way to reboot, is via REISUB

STEPS TO REPRODUCE
1. Log in to Plasma
2. Begin to work on any application

OBSERVED RESULT
- Keyboard doesn't respond (nor to <Ctrl><Alt> + 2x <Backspace>)
- Mouse most of times moves (but curiosly, doesn't reach yet my second monitor, only the first one) but doesn't respond to buttons
- Some "beep" sounds approximately about each 51 seconds, and then no noise at all
- It don't let my switch to any console (<Ctrl><Alt><F1>).
-  It only reacts to <Ctrl><Alt><Int><B> (rebooting)

EXPECTED RESULT
To works without system hang


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211102
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060/PCIe/SSE2

ADDITIONAL INFORMATION
Two monitors, SSD main hard disk, HP Z1 PC
Comment 1 Nate Graham 2021-11-09 22:07:28 UTC
I very much doubt this could be caused by any KDE code, especially on X11 where input handling is done by the X server rather than anything under KDE's control. XKB, maybe? Andrey, any ideas?

Maybe this is related to the recent X11 release which caused various regressions. Did you happen up receive and apply an X11 update in tumbleweed recently?
Comment 2 Andrey 2021-11-09 23:16:03 UTC
<Ctrl><Alt> + <Backspace> is handled by X11 and not Plasma, so it seems like lower-level problem indeed.
That beeps might be symptom of some buffer overflow, e.g with keyboard events. XKB doesn't handle physical devices so should be indifferent.
I might also be useful to look into X11 logs, I'm not sure journalctl grabs ones..

I see crashes in your log, can you also try the session with new user?
What's on Wayland?
Does the problem arose after some upgrade, meaning it's a regression?
Comment 3 Rafael Linux User 2021-11-10 08:38:35 UTC
(In reply to Andrey from comment #2)
> <Ctrl><Alt> + <Backspace> is handled by X11 and not Plasma, so it seems like
> lower-level problem indeed.
> That beeps might be symptom of some buffer overflow, e.g with keyboard
> events. XKB doesn't handle physical devices so should be indifferent.
> I might also be useful to look into X11 logs, I'm not sure journalctl grabs
> ones..
> 
> I see crashes in your log, can you also try the session with new user?
> What's on Wayland?
> Does the problem arose after some upgrade, meaning it's a regression?

is a great clue to the problem. I had always thought that the "skdjf" key combination was unique to Plasma (it's what I've been using since I started Linux years ago).

I forgot to add that, curiously, it seems that if I DON'T use the computer, it doesn't crash. It's as if it only crashes when I'm using it (nothing that stresses the computer, it's more programming, with hardly any access to the hard disk).

Regarding updates, I can't establish a relationship between an update and the onset of the problem, except for the NVidia drivers, which I couldn't install and finally managed to do so.

Should I ask in an X11 forum or would it be more correct in an openSUSE forum?

is a great clue to the problem. I had always thought that the "<Ctrl><Alt> + 2x <Backspace>)" key combination was unique to Plasma (it's what I've been using since I started Linux years ago).

I forgot to add that, curiously, it seems that if I DON'T use the computer, it doesn't crash. It's as if it only crashes when I'm using it (nothing that stresses the computer, it's more programming, with hardly any access to the hard disk).

Regarding updates, I can't establish a relationship between an update and the onset of the problem, except for the NVidia drivers, which I couldn't install and finally managed to do so.

Should I ask in an X11 forum or would it be more correct in an openSUSE forum?

Thanks to both
Comment 4 Andrey 2021-11-10 11:35:42 UTC
(In reply to Rafael Linux User from comment #3)
> Should I ask in an X11 forum or would it be more correct in an openSUSE
> forum?
Seems reasonable, please add the links here too if you do.

Also you could try to reproduce in other Desktop Environment first.
And try it on Plasma Wayland, too.
Comment 5 Rafael Linux User 2021-11-10 12:32:15 UTC
I will do it at the next hang and reboot. At the moment, I've been running for more than two hours without problems .... "knock on wood".

I will keep you informed of any news about it.
Comment 6 Bug Janitor Service 2021-11-25 04:38:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Rafael Linux User 2021-11-25 08:39:27 UTC
It seems latest updates (I don't know if of Plasma or NVidia driver) fixed issue.
Comment 8 Rafael Linux User 2021-11-25 12:11:20 UTC
Still bug remains. I can't add that even if playing music, it continues playing, but no way to interact with desktop.
Comment 9 Rafael Linux User 2021-11-25 12:11:54 UTC
Operating System: openSUSE Tumbleweed 20211122
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.3-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060/PCIe/SSE2
Comment 10 Rafael Linux User 2021-12-21 14:17:25 UTC
It seems some changes fixed the issue on:
Operating System: openSUSE Tumbleweed 20211203
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.5-1-default (64-bit)
Graphics Platform: X11
NVIDIA Driver Version: 470.86
Comment 11 Rafael Linux User 2022-01-18 13:38:22 UTC
Again this issue come back:

Operating System: openSUSE Tumbleweed 20220112
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060/PCIe/SSE2