Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] KDE screentearing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 20 Aug 2016
Posts: 179

PostPosted: Sun Aug 28, 2016 7:01 pm    Post subject: [SOLVED] KDE screentearing Reply with quote

I have horrible screen tearing in KDE 5 Plasma.

tweaking the KDE compositor in almost every possible way did not solve the tearing.

i am using NVIDIA GTX 970 proprietary drivers, and for a solution i thought about using Wayland.

Question: is Wayland use able already, if so, how does one properly set up Wayland (google did not help much)

Question: for KDE Plasma with Xorg, is there any software that will stop the screen tearing (vsync) beside the KDE compositor?
i know Compton works fine with XFCE, but i don't know if it works with KDE


Last edited by farmer.ro on Mon Aug 29, 2016 5:59 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8942

PostPosted: Sun Aug 28, 2016 7:04 pm    Post subject: Re: KDE screentearing - Wayland Reply with quote

farmer.ro wrote:
i am using NVIDIA GTX 970 proprietary drivers, and for a solution i thought about using Wayland.

Question: is Wayland use able already, if so, how does one properly set up Wayland (google did not help much)

Nvidia proprietary = forget about Wayland
Back to top
View user's profile Send private message
davidbrooke
Guru
Guru


Joined: 03 Jan 2015
Posts: 341

PostPosted: Mon Aug 29, 2016 3:31 am    Post subject: Re: KDE screentearing - Wayland Reply with quote

farmer.ro wrote:
I have horrible screen tearing in KDE 5 Plasma.

tweaking the KDE compositor in almost every possible way did not solve the tearing.

i am using NVIDIA GTX 970 proprietary drivers, and for a solution i thought about using Wayland.

Question: is Wayland use able already, if so, how does one properly set up Wayland (google did not help much)

Question: for KDE Plasma with Xorg, is there any software that will stop the screen tearing (vsync) beside the KDE compositor?
i know Compton works fine with XFCE, but i don't know if it works with KDE

I use a NVIDIA GTX 950 with stable proprietary drivers and have no tearing issues in videos (using plex, mpv, vlc, etc...) or steam. I add this file:
/etc/profile.d/tearfree_kde.sh
export __GL_YIELD="USLEEP"

Make the above file executable.
Back to top
View user's profile Send private message
farmer.ro
Apprentice
Apprentice


Joined: 20 Aug 2016
Posts: 179

PostPosted: Mon Aug 29, 2016 5:58 am    Post subject: Reply with quote

Solved with:

Code:
/etc/profile.d/tearfree_kde.sh
export __GL_YIELD="USLEEP"
chmod +x /etc/profile.d/Tearing.sh


Thanks!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8942

PostPosted: Mon Aug 29, 2016 6:16 am    Post subject: Reply with quote

Very nice! This would make a good addition to the Gentoo-Wiki KDE Troubleshooting section for other Nvidia users, if you're interested.
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