Getting Rid of Screen Tearing on Artix with NVIDIA Drivers

Hey fellow Artix users! 🐧

If you’ve been bothered by annoying screen tearing on your Artix system with NVIDIA drivers, fret not! We’ve got a simple solution that involves tweaking the nvidia-settings to include ForceFullCompositionPipeline = On. Let’s dive into the steps and make your visual experience smooth as butter.

Why Screen Tearing?

Before we jump into the solution, let’s quickly talk about what screen tearing is. It’s that pesky visual glitch where the image on your screen seems to split or tear during fast-moving scenes. Not cool, right? But don’t worry, we’re about to banish it.

NVIDIA-Settings Magic

First things first, open up your terminal. We’re going to use the magical nvidia-settings tool to fix our issue. If you don’t have it installed, grab it from your package manager.

sudo pacman -S nvidia-settings

Now, fire it up:

nvidia-settings

Navigate to the “X Server Display Configuration” tab, and you’ll see something like this:

NVIDIA Settings

Now, open the terminal and type:

nvidia-settings --query CurrentMetaMode

Copy the value returned (it will look something like DVI-D-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}).

Now, let’s put this into action. Open your terminal and run:

nvidia-settings --assign CurrentMetaMode="YOUR_COPIED_VALUE"

Replace YOUR_COPIED_VALUE with the value you just copied. Hit enter, and voila! Your screen tearing should be a thing of the past.

Make It Stick

But wait, there’s more! We want this fix to stick around, right? Let’s make it permanent.

Open your favorite text editor (mine’s nano, but use whatever floats your boat):

sudo nano /etc/X11/xorg.conf

Add the following lines at the end:

Section "Screen"
    Option         "metamodes" "YOUR_COPIED_VALUE"
EndSection

Save and exit.

Now restart your X server (you can do this by logging out and back in, or just restarting your system). Your screen tearing should be a thing of the past!

Wrapping Up

And there you have it! A quick and easy way to bid farewell to screen tearing on your Artix system with NVIDIA drivers. Enjoy your smooth, tear-free visuals, and happy computing! 🚀