![]() Registered Member ![]()
|
Each time I login to Linux Mint 17.3 KDE either forgets or overrides my last compositing settting (OpenGL3.1) and sets it to XRrender. I lose certain windows behavior, e.g. Magic Lamp (I know eye candy), until I remember to reset it via UI: System Settings-> Desktop Effects-> Advanced then select OpenGL3.1 via pull down, click Apply, click Accept Configuration on a timed screen.
Due to my forgetfulness and KDE's obstinance I wrote a script to include as part of my startup script to deal with the problem: #!/bin/sh # Updated 2016-02-25 @ 13:03:49 by rob@fargo echo "Change default rendering to OpenGL3.1..." kwriteconfig --file kwinrc --group Compositing --key Backend OpenGL qdbus org.kde.kwin /KWin reconfigure #the /home/rob/.kde/share/config/kwinrc #kate /home/rob/.kde/share/config/kwinrc echo End of change When I run the script the editors (when uncommented) THE and KATE confirm kwriteconfig properly rewrites kwinrc, but the window behavior does not change. Am I missing a command or commands to perform the equivalent of Apply and Accept Configuration? Please forgive my primitive approach. I write most of my scripts in Rexx. As Jerry Jeff Walker sings, "I'm just a buffalo singing the dinosaur blues". Any help or suggestions would be much appreciated.
Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
|
![]() Manager ![]()
|
not my thing but:
did you try setting the environment variable KWIN_COMPOSE https://community.kde.org/KWin/Environm ... IN_COMPOSE if you set it to OpenGL 2.0 is it saved? what graphic chip and driver are you using? |
![]() Registered Member ![]()
|
I put a comment and an export line: # This will force compositing to O2: OpenGL 2 backend Updated 2016-02-26 @ 10:57:29 by rob@fargo export KWIN_COMPOSE=O2 in the file /home/rob/.kde/env/path.sh, logged out, and logged in. Problem solved. Thank you. I was unaware of KWIN_COMPOSE. graphic/driver from Konsole: rob@fargo:~$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) rob@fargo:~$ glxinfo | grep OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.3 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 10.1.3 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: google01103 Thanks for fixing my problem. Your solution is much simpler than what I was trying to do.
Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
|
![]() ![]()
|
can you please post your ~/.config/kwinrc (in "code" tags, please)
|
![]() Registered Member ![]()
|
Here is ~/.kde/share/config/kwinrc:
Setting the environment variable KWIN_COMPOSE to O2 fixed my problem. Strange I lost this window behavior on my HP laptop (LM17.3), but not on my ZT Systems desktop (LM17.3) nor my 2 HP Chromebooks running Kbuntu (Trusty) via Crouton nor an older HP laptop (LM17.3). It must have something to do with the graphics card.
Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
|
![]() ![]()
|
That alone doesn't explain it. Can you please also post the output of "glxinfo"?
|
![]() Registered Member ![]()
|
glxinfo yields:
Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]