hey there, im having a screen tearing issue while moving windows or watching videos after installing nvidia drivers from xorg edgers ppa and i dont seem to find any good solution by google-ing it, so any help or suggestion would be great and please keep in mind that im a linux newbie.
EDIT: this tearing only arises when i switch to dedicated gfx(nvidia) via prime, when in power saving mode i.e (igpu intel HD gfx) the tearing seems to be in control.
OS: ubuntu 14.04 GPU: GTX760m( on a nvidia optimus laptop) laptop: acer v3 772g-9643
buddy buddy dont you think i would turn on vsync if i had an option anywhere in the desktop ? i did a lot of googling on how to eliminate tearing and i couldnt find a solution which could satisfy me.
What DE are you using? If the nvidia control panel doesn't have the option to enable vsync then you'll have to make xorg handle the compositing... is xcompmgr running? (just write xcompmgr in the terminal), it should be enabled by default... for some reason I have a faint memory that you couldn't edit compositing settings in gnome, but you can easily enable vsync in KDE tho.
im currently using ubuntu 14.04(unity DE) and nvidia panel doesnt have any vsync option :( , and yep:/ no idea what this means "you'll have to make xorg handle the compositing... is xcompmgr running? (just write xcompmgr in the terminal)" but from terminal this is what i got The program 'xcompmgr' is currently not installed. You can install it by typing: sudo apt-get install xcompmgr so i went ahead and installed it what next? dont like the look of KDE, so im gonna stick with unity for awhile.
btw does this tearing has to do something with the fact that im running a optimus(nvidia) enabled laptop?
simply run 'xcompmgr' by typing it in the terminal. Another program that handles screen compositing is 'compton', which, also can be enabled by typing 'compton' in the terminal.
Did you run them? Was the screen still tearing? Note that u can't run them simultaneously, try xcompmgr first, if that doesn't fix the issue disable xcompmgr (ctrl-c in the same terminal you launched it from, or by issuing the 'killall xcompmgr' command) and then run compton
Well hopefully someone with more experience with nvidia in linux can help you... it's been 5 years since my last nvidia card so my memory doesn't really serve me well on this issue :p
or could hopping to some other distro can help? because i cant really stand the screen tearing, or i might have to consider my final option i.e. switching to windows :( which i dont like to....
Used to have a lot of screen tearing myself. After a long time of searching for a solution to this annoying problem, the solution (for me) was simple. Install and run compton:
apt-get install compton
Once installed, now simply run the command:
compton
If it works, just add it to your desktop environments autostart-list. Hopefully it works. It has very little to do with what Linux-distro or graphics card you're using, it's basically all about what screen compositor, desktop environment etc you're using. For completeness, here's what I'm running:
Debian 8 with Nvidia proprietary drivers and XFCE (on Xorg).
nope i did try upgrade and as well dist upgrade nothing help the tearing, and i switched back to nouveau drivers which helps with tearing but they often freeze my display and makes it unresponsive and the biggest problem with them is that i cant reboot my system nor can i log-out. but apart from that everything works well