Bug 432038 - Compositing gets disabled by crashes and never re-enables itself absent manual intervention
Summary: Compositing gets disabled by crashes and never re-enables itself absent manua...
Status: RESOLVED DUPLICATE of bug 452344
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.20.0
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression, usability
Depends on:
Blocks:
 
Reported: 2021-01-24 14:24 UTC by nonouser
Modified: 2022-08-04 17:36 UTC (History)
3 users (show)

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


Attachments
Compositor - System Settings OpenGL warning. (95.69 KB, image/png)
2021-01-27 16:56 UTC, nonouser
Details
kwin --replace output after crash (5.19 KB, text/plain)
2021-01-28 23:11 UTC, nonouser
Details
Kwin kcrash file of 2021-01-30 (8.19 KB, text/vnd.kde.kcrash-report)
2021-01-30 23:55 UTC, nonouser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nonouser 2021-01-24 14:24:43 UTC
SUMMARY


The following stooped working:

- Unable to change transparency in windows.
- When resizing windows don't get transparent.
- My conky windows lost their transparency.
- All animations stop working, like panel showing/hiding, changing desktop, etc.
- Calling "Present Windows" or "Desktop Grid" does nothing.


STEPS TO REPRODUCE

Turn on the computer and log in. There is no crash. Thinks just don't work.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE neon 5.20 
Kernel Version: 5.4.0-64-generic
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-01-26 17:30:07 UTC
Seems like the compositor got turned off. If you hit Alt+Shift+F12, do these things start working again?
Comment 2 nonouser 2021-01-27 15:58:59 UTC
(In reply to Nate Graham from comment #1)
> Seems like the compositor got turned off. If you hit Alt+Shift+F12, do these
> things start working again?


Alt+Shift+F12 seems to do nothing on my machine.

By compositor you mean kwin right? I tried restarting it with "kwin --replace" but no luck. The problem persists.
Comment 3 Nate Graham 2021-01-27 16:20:29 UTC
On X11, KWin can either do compositing, or not. When compositing is turned off, the system exhibits the symptoms that you're reporting.

Can you go to System Settings > Display and Monitor > Compositor and see if "Enable compositor on startup" is checked?
Comment 4 nonouser 2021-01-27 16:56:19 UTC
Created attachment 135239 [details]
Compositor - System Settings OpenGL warning.


It was turned off along side a message about OpenGL compositing crashing kWin in the past.

I re-enable OpenGL detection and enable compositor on startup and everything is up and running.


I hadn't touch any of this setting though, it seems a crash has disabled them. I joined an image to the bug report as an attachment so you can see the warning.


It says it might be a driver bug, I have the Latest Legacy GPU version (390.xx series) cause I have an old GPU (GTX 560) in the legacy list.
Do you think it's ok to update to one of the latest driver versions 455 or 460?
Comment 5 Nate Graham 2021-01-27 17:37:02 UTC
No comment about driver versions as I don't use Nvidia hardware and am wildly ignorant about anything Nvidia-related. :)

Since re-enabling compositing works, it seems like there's a KWin bug here in that compositing should not get totally disabled in the first place. That's pretty intrusive, and demands manual intervention from the user to re-enable compositing that they likely will not know how to perform (hence this bug report). Moving to KWin.
Comment 6 nonouser 2021-01-27 19:04:22 UTC
Thanks for your help and advice. I see you moved it to kwin, but since I don't have any logs or crash information, is it useful to leave this open or should I close it?
Comment 7 Nate Graham 2021-01-27 19:19:53 UTC
Let's leave it open.
Comment 8 nonouser 2021-01-28 23:11:50 UTC
Created attachment 135274 [details]
kwin --replace output after crash

After using kwin for awhile it crashed again. I got the same massage in  "System Settings > Display and Monitor > Compositor" I re-enable OpenGL detection and relaunched kwin. That promptly crashed again, I saved the output and added as an attachment.

(see attachment)


Because a crash happened the crash handler opened but I was unable to get any info. In the crash handler the "Developer Information" tab says "The debugger has quit unexpectedly. The crash information could not be generated."

Clicking reload gives the following output.

> Freeze in OpenGL initialization detected
> Unable to start Dr. Konqi
> ptrace: No such process.
> /tmp/drkonqi.XsYgub:2: Error in sourced command file:
> No symbol table is loaded.  Use the "file" command.
> /tmp/drkonqi.YcJicb:1: Error in sourced command file:
> No thread selected
Comment 9 nonouser 2021-01-30 23:55:11 UTC
Created attachment 135316 [details]
Kwin kcrash file of 2021-01-30

kwin crashed again this time the crash handler was able to create a kcrash log.
(see attachment)
Comment 10 kde.org 2022-06-28 10:12:58 UTC
Can you try to reproduce the issue with 5.25? If so, can you provide a new crash dump with debug information?
Comment 11 Bug Janitor Service 2022-07-13 04:36:52 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 12 Bug Janitor Service 2022-07-28 04:36:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 13 Nate Graham 2022-08-04 17:36:03 UTC

*** This bug has been marked as a duplicate of bug 452344 ***