I installed Ubuntu 19.04 on my PC:
- INTEL i7 8700k
- NVIDIA Gigabyte GeForce GTX 1080 Ti AORUS Waterforce @NVIDIA-driver-418
- Monitor ASUS PB287Q @3840x2160 Pixel
At the very beginning of using Ubuntu I noticed this annoying screen tearing. I thought that is was only in Firefox, but when I shook the window I saw a horizontal line that broke the window in two parts (the tearing). It happens in every kind of window or application. I read a lot and this is what I have done so far:
- Enable fractional scaling, because I couldn't read at 100% and it killed me at 200%.
I set it to 150 %:gsettings set org.gnome.mutter experimental-features "['x11-randr-fractional-scaling']"
- ForceFullCompositionPipeline to On. First in nvidia-settings, later in
/usr/share/X11/xorg.conf.d/10-nvidia.conf
, because I noticed that a reboot or a shutdown will reset the setting.
Output of nvidia-settings -q CurrentMetaMode
:
Attribute 'CurrentMetaMode' (EST:1.0): id=50, switchable=yes, source=RandR ::
DPY-7: nvidia-auto-select @5120x2880 +0+0
{Transform=(1.333328,0.000000,0.000000,0.000000,1.333328,0.000000,0.000000,0.
000000,1.000000), ViewPortIn=5120x2880, ViewPortOut=3840x2160+0+0,
ResamplingMethod=Bilinear, ForceCompositionPipeline=On,
ForceFullCompositionPipeline=On}
I attached my 10-nvidia.conf
. It is very strange that if I fire this, the tearing is immediately fixed, but I need to reapply it from time to time even if I set up my 10-nvidia.conf
:
sudo nvidia-settings --assign CurrentMetaMode="nvidia-auto-select
@5120x2880 +0+0 { ViewPortIn=5120x2880, ViewPortOut=3840x2160+0+0,
ResamplingMethod=Bilinear, ForceCompositionPipeline=On,
ForceFullCompositionPipeline=On }"