Reply to topic

A way to change OpenGL version automatically on startup?

xelphos
Registered Member
Posts
3
Karma
0
I am looking for a way to have KDE change the OpenGL version automatically on startup due to tearing . I did try adding that line to /etc/profile but it adds a delay to window dragging, and I do not get that when I manually change from OpenGL 3.1 to 2.0 and back to 3.1. Is there a way to change the OpenGL version via Konsole/Terminal? If so it would allow me to just run a script on startup. Or if anyone knows of something else which would work better, I am willing to listen and try.
User avatar google01103
Manager
Posts
6668
Karma
25
systemsettings -> desktop effects -> advanced tab -> compositing type ->


OpenSuse Leap 42.1 x64, Plasma 5.x

xelphos
Registered Member
Posts
3
Karma
0
google01103 wrote:systemsettings -> desktop effects -> advanced tab -> compositing type ->

Well I am not looking to change it manually every time I reboot, I want it to do the process for me automatically.
luebking
Karma
0
You don't want to do that at all.

If this is an nvidia GPU ensure to enable triple buffering (xorg.conf option. It's off by default) and then in ~/.kde/env create an executable (chmod +x) script
Code: Select all
#!/bin/sh
export KWIN_TRIPLE_BUFFER=1


Alternatively, you can shadow the kwin binary by eg. placing this script

https://github.com/luebking/KLItools/blob/master/kwin

into ~/bin or /usr/local/bin (any place ahead of /usr/bin in $PATH) and uncomment the resp. export there.
xelphos
Registered Member
Posts
3
Karma
0
luebking wrote:You don't want to do that at all.

If this is an nvidia GPU ensure to enable triple buffering (xorg.conf option. It's off by default) and then in ~/.kde/env create an executable (chmod +x) script
Code: Select all
#!/bin/sh
export KWIN_TRIPLE_BUFFER=1



This is extremely late, but this worked!

 
Reply to topic

Bookmarks



Who is online

Registered users: agentx, Baidu [Spider], Bing [Bot], blue_bullet, claydoh, dcihon, fnkkio, Google [Bot], kde-arran, kde-dmk, Majestic-12 [Bot], Sogou [Bot], YaCy [Bot]