Bug 340971 - Compositing type is overridden when not supported
Summary: Compositing type is overridden when not supported
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 22:12 UTC by Michael Mounteney
Modified: 2014-11-15 08:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mounteney 2014-11-14 22:12:44 UTC
If one logs in via hardware that supports OpenGL compositing, it is possible to set the System Settings / Desktop Effects / Advanced / Compositing Type to OpenGL and enjoy the benefits thereof.  However, if one then logs out and logs in again via different hardware (e.g., xdmcp remote) that does not support OpenGL, the compositing type is reset to XRender so that if one then returns to the first hardware, the setting of OpenGL is lost.

Solution:  don't have KDE overriding values that the user has specified.  If it is considered desirable, warn via a dialog, but provide the option not to override.  I.e., the dialog should ask "This setup doesn't support OpenGL;  do you want to fall back to XRender ? Y/N" with the tick-box "don't ask this question again".
Comment 1 Martin Flöser 2014-11-15 08:27:06 UTC
I'm sorry to say, but this is an intended behavior. The thought is that you don't end up on an unusable system because it uses unsupported OpenGL. We tried to get the best possible solution and switch to XRender once we notice OpenGL is broken. That way further startups don't even try to setup OpenGL just to notice that it breaks.