Bug 257345 - Compositing is disabled without proper explanation
Summary: Compositing is disabled without proper explanation
Status: RESOLVED LATER
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-11-19 19:38 UTC by Yuri
Modified: 2018-09-22 01:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri 2010-11-19 19:38:47 UTC
Version:           4.5 (using KDE 4.5.3) 
OS:                FreeBSD

When kde comes up it has compositing disabled.
When I try to enable it I get this message:
compositing has been suspended by another application, press alt+shift+f12 to resume.

This really doesn't give an explanation what's wrong. Which application? Why? What to do to fix the problem?

Message needs to be modified to answer the above questions and to suggest user what is wrong with the system.

I read in one discussion that "Disable functionality checks" in "System Settings->Desktop Effects->Advanced" works for some in this situation. In my case (FreeBSD) it fails: Failed to activate desktop effects using given option.

I use nvidia-driver-256.53.

Desktop effects worked in the past intermittently. Seem to change with system updates, or maybe driver version?

Reproducible: Didn't try
Comment 1 Martin Flöser 2010-11-19 20:06:48 UTC
if it is another application, it really is another application. If kwin turns it off, it does not say that it is another app.

The only two applications I know turning off compositing is our configuration interface and the power management system. So could it be that you come from suspend?

In general the problems we reported about do not affect nvidia, though I do not know how that works on freebsd.
Comment 2 Yuri 2010-11-19 20:07:51 UTC
No, there is no suspend. Its a desktop.
Comment 3 Thomas Lübking 2010-11-19 22:55:29 UTC
kwin cannot provide the requested information, since it doesn't know itself. 

compositing was in this case suspended through an open dbus (IPC) interface - this could have been some shell (init) script, so there'S nothing we could do to fix the problem (but extend the dbus interface and allow callers to pass a reason, this would however have to remain optional and the application that deactivated compositing could do that by itself if it feels this is necessary, kde has various message systems, eg. just "wall 'xyz deactivated compositing because the author thinks that shadows suck'" or so would do)

-> is compositing successfully resumed by pressing shift+alt+f12?
-> what's the output of:
 * "kreadconfig --file kwinrc --group Compositing --key OpenGLIsUnsafe"
 * "kreadconfig --file kwinrc --group Compositing --key CheckIsSafe"
Comment 4 Yuri 2010-11-19 23:03:11 UTC
shift+alt+f12 doesn't resume compositing and no such message appears like the one I described in my OP.

Also this message for some reason only comes up intermittently, about every other time when I press the button "Resume Compositing". Shouldn't the effects of pressing "Resume Compositing" and shift+alt+f12 be the same and this message show up every time in case of failure?

> kreadconfig --file kwinrc --group Compositing --key OpenGLIsUnsafe
false
> kreadconfig --file kwinrc --group Compositing --key CheckIsSafe
true
Comment 5 Thomas Lübking 2010-11-20 00:02:17 UTC
(In reply to comment #4)
> shift+alt+f12 doesn't resume compositing 
this is no good, is the shortcut un/rebound ("kcmshell4 keys"), do kwin shortcuts (like switching the virtual desktop etc.) work in general & does resuming compositing from the config dialog work (on the second or third attempt - sounds like kwin messes up the internal suspension state)?

> and no such message appears like the one I described in my OP.
this is expected (the shortcut is a kwin internal)

> Also this message for some reason only comes up intermittently, about every
> other time when I press the button "Resume Compositing".
So the config dialog is the source then.

> Shouldn't the effects of pressing "Resume Compositing" and shift+alt+f12 be the
> same and this message show up every time in case of failure?
No. the shortcut is part of kwin, the dialog is not and has to use the (general) dbus interface (you can btw. disable the notion in "kcmshell4 notify")

> false, true
'key - that's not it then either.
Comment 6 Yuri 2010-11-20 01:09:38 UTC
shift+alt+f12 is assigned to 'Suspend Compositing' in "kcmshell4 keys".
BTW This should say 'Toggle Compositing' if that's what is really meant.

Other shortcuts (like ctrl-alt-f11: enable tiling) work. Switching virtual desktops also works.

Resuming compositing doesn't work from both System Settings and Configure Window Behavior.
Comment 7 Martin Flöser 2011-08-27 19:42:56 UTC
is this still an issue with 4.7?
Comment 8 Yuri 2011-08-27 20:02:52 UTC
This bug was reported for FreeBSD. And FreeBSD didn't adopt 4.7.0 yet. They only plan on adopting 4.7.1 or 4.7.2 (http://mail.kde.org/pipermail/kde-freebsd/2011-August/011286.html)
Comment 9 Martin Flöser 2011-08-27 20:04:32 UTC
waiting for FreeBSD to catch up
Comment 10 Andrew Crouthamel 2018-09-22 01:49:12 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 set the bug status 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 11 Yuri 2018-09-22 01:51:53 UTC
I have no idea now what this was about.