Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What does export __GL_YIELD="USLEEP"?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 247

PostPosted: Mon Jun 16, 2014 4:09 pm    Post subject: What does export __GL_YIELD="USLEEP"? Reply with quote

My kde used to ignore my vsync.settings for some time. There are a lot of bugs and other pages on the internet, for example:
https://bugs.kde.org/show_bug.cgi?id=322060
http://forum.kde.org/viewtopic.php?f=111&t=117147
https://wiki.archlinux.org/index.php/NVIDIA

All explain, that the problem exists on nvidia-drivers and kde sinde 4.11 and they have two solutions.
1) make a /etc/profile.d/kwin.sh with export __GL_YIELD="USLEEP"
2) enable TrippleBuffering in the nvidia-drivers in xorg.conf (Option "TripleBuffer" "True")
if 2) isn't detected by kde but grep -i triple /var/log/Xorg.0.log tells me tripplebuffering is on export KWIN_TRIPLE_BUFFER=1 in /etc/profile.d/kwin.sh may be helpful.

To make it short:
About TrippleBuffering I know it uses more VRAM and might be slower.
Just point 1) works for me, but I don't understand it at all. What does it?

Thanks for any explanation.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum