Bug 325063 - Transparency/compositing does not load on login
Summary: Transparency/compositing does not load on login
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 4.11.1
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 15:08 UTC by Parker Johnson
Modified: 2021-12-07 04:36 UTC (History)
2 users (show)

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


Attachments
Lack of transparency example. (1.27 MB, image/png)
2013-09-18 17:53 UTC, Parker Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Parker Johnson 2013-09-18 15:08:42 UTC
More often than not on login, KDE will successfully start up, but will fail to load any transparency effects. This is repeatable, and can be fixed each time by changing the Qt graphics engine from Raster to Native and back again.
This bug is does not apply to the open-source ati video drivers, only fglrx.

Reproducible: Always

Steps to Reproduce:
1. Reboot system.
2. Observe effects that failed to load.
3. Change Qt graphics engine to fix.
Actual Results:  
The effects are successfully loaded after following the above steps.


Zerobin paste with relevant information such as ~/.xsession-errors and the output of lspci.

http://sebsauvage.net/paste/?6fc0497eea857830#bLvdqkYmJUvCzL3cvqeMgGiOca39I32KuNqpOobSRwQ=
Comment 1 Thomas Lübking 2013-09-18 15:20:58 UTC
The xsession error log does not indicate that compositing was suspended or kwin crashed etc.

a) Please ensure to enable "1212" in "kdebugdialog" (to print more kwin debug out, "kdebugdialog --fullmode" allows you to redirect that into an extra file)
b) please provide the output of "qdbus org.kde.kwin /KWin supportInformation" when compositing "failed" (ie. right after login)
c) does pressing Shift+Alt+F12 (once or twice) bring back compositing?
d) "kwin --replace &" will likely clear the stage as well (changing the graphicssystem implicitly triggers a restart of the process)
Comment 2 Parker Johnson 2013-09-18 17:43:17 UTC
Here is the content of qdbus org.kde.kwin /KWin supportInformation:

http://sebsauvage.net/paste/?3991d6b38a7bf235#ZrkHMBGz4SoFZCfP36YhmCngtSnxZMWl3MItElTJ8PE=

Pressing Shift+Alt+F12 twice does bring back compositing.
Comment 3 Thomas Lübking 2013-09-18 17:49:30 UTC
(In reply to comment #2)
> Here is the content of qdbus org.kde.kwin /KWin supportInformation:
> 
> http://sebsauvage.net/paste/
> ?3991d6b38a7bf235#ZrkHMBGz4SoFZCfP36YhmCngtSnxZMWl3MItElTJ8PE=

Compositing is active. How do you determine it's not?
Pot. bug #323065 ?
Comment 4 Parker Johnson 2013-09-18 17:53:18 UTC
Created attachment 82396 [details]
Lack of transparency example.
Comment 5 Parker Johnson 2013-09-18 17:58:41 UTC
The bug is similar, but I'm not entirely sure if we're having the same exact problem. I'm having similar problems with the drawing of corners upon resizing and maximizing. In the poster's attachments, I can see the lack of drawn drop shadow, but the panel looks completely normal.

Also, I apologize for my unclear wording. Compositing may be working just fine, and only the transparency effect may be failing to load. However, similar to the bug you linked me to, when these effects are disabled and I attempt to use one of them (e.g. Lava lamp minimization), kwin crashes. I figure this is standard behavior though.
Comment 6 Thomas Lübking 2013-09-18 18:07:38 UTC
plasma initially not noticing that compositing is active (thus loading the opaque theme) would be bug #320959 (not bug #179042 which was about runtime changes which apparently work and "fix" the problem for you now)

I assume you can alter the translucency of windows (or the translucency effect in "kcmshell4 kwincompositing" works when moving/resizing a window)?

--------

About crashing when loading an effect: no, that's not standard behavior ;-)
The crashes there occured on a broken patch which never went upstream in that state.

If you get a backtrace, please file a new bug (in case bugzilla doesn't point you to a dupe anyway)
Comment 7 Parker Johnson 2013-09-18 18:22:41 UTC
Yes, on the occasion that I log in and everything is working, translucency when dragging/resizing works as well.

Should I find that the crash that occurs when no effects are loaded and are attempted to be ran is repeatable, would it be beneficial to file another bug report?
Comment 8 Thomas Lübking 2013-09-18 19:19:30 UTC
(In reply to comment #7)
> Yes, on the occasion that I log in and everything is working, translucency
> when dragging/resizing works as well.

That's not what i meant.
The question is whether translucency when dragging/resizing works *despite* the plasma-desktop panels/popups are *not* translucent.
If so (and also present windows etc. works), this is bug #320959 - otherwise not.

> attempted to be ran is repeatable, would it be beneficial to file another
> bug report?

If you get a backtrace: yes please, report the crash (or attach to the present dupe, if any)
Comment 9 Thomas Lübking 2014-01-02 21:53:29 UTC
ping?
Comment 10 Sebastian Schultz 2014-01-07 23:40:16 UTC
(In reply to comment #8)
> The question is whether translucency when dragging/resizing works *despite*
> the plasma-desktop panels/popups are *not* translucent.
> If so (and also present windows etc. works), this is bug #320959 - otherwise
> not.

I think I'm also affected by this bug, and here translucency works when dragging/resizing despite the panel not being translucent.
Comment 11 Sebastian Schultz 2014-01-07 23:48:59 UTC
Just noticed that pressing Shift + Alt + F12 twice does not bring panel-translucency back, but kwin --replace did.
Comment 12 Thomas Lübking 2014-01-07 23:50:59 UTC
Try waiting longer between the shortcuts. KWin delays releasing the CM selection (ie. informs other clients with a little delay to skip that altogether for very short changes eg. when the compositor just needs to be restarted or so)
Comment 13 Sebastian Schultz 2014-01-07 23:55:59 UTC
Ah, sorry, you're right. So it's bug #320959 ? Seems like there's no action in that bug.
Comment 14 Thomas Lübking 2014-01-08 13:03:16 UTC
Is very most likely that bug, yes (i CC'd you there)
No idea about the progress in that regard and don't know the relevant plasma-desktop code good enough, sorry.

@Parker 
We still lack determination on whether you're facing bug #320959 as well, please see comment #8
Comment 15 Andrew Crouthamel 2018-11-11 04:27:12 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Andrew Crouthamel 2018-11-21 04:49:53 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 17 kde.org 2021-11-07 10:30:21 UTC
This issue report is quite old. Can you please confirm, that it still persists with Plasma 5.23?
Comment 18 Bug Janitor Service 2021-11-22 04:38:43 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 19 Bug Janitor Service 2021-12-07 04:36:24 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!