Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 52520  / 2 Years ago, fri, february 4, 2022, 2:05:42

This is more of KDE than Ubuntu question, but...

I have visible tearing on screen. KDE composition, flash video in Firefox, and simple games like kpat are vsynced, but in steam games and in movies there is a distinct constant tearing. If I turn off vsync everywhere, the tearing is double as noticeable, so it is not just GPU ignoring the settings.

What bugs me most it that I'm having the same problem on many different setups. Does everybody have this problem and nobody cares?

My setup




  • Kubuntu (last few versions) or OpenSuse or Gentoo.

  • KDE 4.12 - 4.13

  • Nvidia GTX 260, 570, TITAN, different driver versions.

  • I watch movies in SMplayer with mplayer2 backend. VLC has the same problem.



What did I try (and it didn't help)




  • Switching on and off in different configurations the Vsync settings in nvidia-settings and KDE Desktop effects.

  • Switching Mplayer output and direct rendering settings.

  • Turning off Adaptive power mode in nvidia-settings.

  • Turning off compositing

  • Changing monitor Hz

  • Running mplayer from CLI

  • Performing rituals and sacrifices



What did work (but is not and acceptable solution)




  • Disabling KDE, and running Mplayer in pure X session

  • Switching to nouveau AND turning off composition AND opening video in fullscreen - without any part it is still tearing.



Please advice.



UPDATE 1 I found out that if I go to Desktop Effects -- Advanced and change there anything valuable (OpenGL version, scaling algorythm) and push Apply, the tearing is gone until reboot. However, no setting solves this once and for all. After reboot I have to go and change something again.I guess it is enough to blame this on a bug, not my mistakes, so I will file out bug report.


More From » nvidia

 Answers
4

The source of problem was (of course) faulty nvidia drivers. The solution is simple. Add environmental variables:



export __GL_YIELD="USLEEP"
export __GL_THREADED_OPTIMIZATIONS=1


somewhere before X starts. System-wide /etc/profile/ works fine.


[#25624] Saturday, February 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
howesale

Total Points: 224
Total Questions: 117
Total Answers: 116

Location: Nauru
Member since Thu, May 18, 2023
1 Year ago
;