SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using 14.1 with the latest nvidia drivers installed and everything is working fine.
But there is one thing that is very annoying, when I watch movies thru vlc and other media players I get very bad screen tearing and I just can't find any way to get rid of it.
I have tried all of the options in the nvidia-setting but nothing is helping.
Is there a way to solve this or so I just have to live with it?
On my side, I have a configuration file in /etc/X11/xorg.conf.d dedicated to nvidia which is called 10-nvidia.conf and contains :
Code:
# Important note about the attribute ForceFullCompositionPipeline
# ===============================================================
#
# Setting the attribute "ForceFullCompositionPipeline" to "On"
# solves the tearing issue on nvidia kepler based videocards.
#
# ATTENTION:
# ---------
# The use of ForceFullCompositionPipeline=On might reduce performance
# in some video-games. To avoid that, this attribute can be disabled
# using nvidia-settings before running any game as below :
#
# $ nvidia-settings --assign CurrentMetaMode="<CONNECTED_DEVICE> { ForceCompositionPipeline = Off }"
#
# <CONNECTED_DEVICE> must be replaced with the connected device
# returned by the command :
#
# $ xrandr | grep " connected"
#
# For instance, if running the command above returns :
#
# DVI-D-0 connected primary 1920x1080+0+0 ...
#
# Then, the string <CONNECTED_DEVICE> will be : "DVI-D-0: 1920x1080"
#
# Source: https://devtalk.nvidia.com/default/topic/543305
#
Section "Device"
Identifier "Device0"
Driver "Nvidia"
VendorName "Nvidia Corporation"
BoardName ""
Option "UseEdidDpi" "False"
Option "DPI" "120 x 120"
Option "MetaModes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline=On }"
EndSection
Hope this helps.
--
SeB
Last edited by phenixia2003; 02-17-2015 at 07:00 AM.
From what I've read, this is due to a bug in Compiz, discovered and reported by Arthur Huillet. I have yet to find a .patch file for compiz-0.8.8, which is what I'm using on Slackware 14.1, but I did find and unofficial release of compiz-0.8.10 at http://www.northfield.ws/projects/co...leases/0.8.10/
If I get some time, I'll try to build this and see if it fixes the issue.
If anyone else out there has the time and ability, I'd love to have some help (or another person or twenty working on this): I gotta have my wobbly windows!
I built and installed compiz (core) v0.8.10 on my Slackware 14.1 box and the problem seems worse. When (if) I get time, I'll try building all of the pieces of compiz-fusion v0.8.10 and see if that improves things.
Fun, fun, fun!
Stu...
Good News! The .Slackbuilds for compiz 0.8.10 are now available on http://slackbuilds.org/!! woohoo! Big thanks to M.Dinslage (for the new .SlackBuilds) and mrscottm at northfield.ws!
I'm now using them with my build of compiz (core) and it seems to work. I'll be able to test the tearing (no redraw) issue when I get back to my office machine!
Progress!
Bummer; I spoke too soon and forgot to actually read the documentation. While compiz 0.8.10 is an excellent update, it does not include the nvidia patch. In fact, my screen issues got much worse under Slackware64 Current with compiz 0.8.10!
Bummer; I spoke too soon and forgot to actually read the documentation. While compiz 0.8.10 is an excellent update, it does not include the nvidia patch. In fact, my screen issues got much worse under Slackware64 Current with compiz 0.8.10!
I guess it's back to the drawing board for me!
Hi stureedy, I maintain the compiz packages over at SBo. The bug you are referring to above is for the 0.9 branch of compiz, not for the 0.8 branch which are two different forks at this point. I fixed my screen tearing issues with compiz by either installing the legacy Nvidia driver or setting the ForceFullCompositionPipeline to on in your xorg.conf. Also what model is your nvidia card? Gentoo has a patch that is supposed to address nvidia screen tearing issues but I have never applied it to my compiz-core build because the above fixes my problem, however here is a link to the patch if you want to try it http://data.gpo.zugaina.org/stuff/x1..._tearing.patch
If you need a slackbuild for it let me know, I have one ready to go that I use. I can't guarantee that it will fix your problem but I suppose it is worth a try.
Hey Daedra!
Thanks so much! It looks like the ForceFullCompositionPipeline setting fixed the issues I was having (at least in -current with NVidia driver 352.30). I'm confident the same will work for 14.1 (where I'm using NVidia 352.30 with kernel 3.10.87).
Progress!
on the latest nividia the adaptive mode handles most of this for you. think of a video of thousands of textures the adaptive setting syncs this and then reduces tearing. you have auto adaptive and max . Then set the setting so it enhances the program running.
or you can go brute force. ForceFullCompositionPipeline
thing to remember the Nvidia blob driver has been changed. It works by heat as the heat goes up the the gpus are throttle back.
this is what has allowed more overclocking for linux. such as fan speed settings etc etc. just a note.
FWIW I have found KWin to be a superior compositor to Compiz, which AFAIK has all but ceased development. KWin is in continuous development. In my case it is ultra simple to use since I have KDE installed but generally use Xfce. It is my understanding that it does not take a full KDE install to have KWin but I don't know the file list required. I just have heard it is reasonably minimal.
Compton's currently running and it's set to unredirect fullscreen windows. Everything plays tear-free except Youtube in Chromium, and Youtube in Chrome plays tear-free if I turn Compton off.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.