1. Home
  2. Docs
  3. Desktops
  4. XFCE4
  5. Getting XFCE4 tearfree with nouveau on nvidia graphics

Getting XFCE4 tearfree with nouveau on nvidia graphics


As some nvidia cards are falling back to legacy, it is needed to get open source nouveau drivers work in a most best tearfree performance.

Following the issue by some users here at the forum (including my thinkpad T410 and a nvidia GeForce GT710)

It is not possible to get XFCE4 started from lightdm (LoginManager) with the driver package xf86-video-nouveau installed.

I just use the modesetting driver from kernel.

I do find this solution to get the best out of the situation:

The Solution:

sudo pacman -R xf86-video-nouveau

sudo nano /etc/mkinitcpio.conf

Add nouveau to the modules:

# vim:set ft=sh
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)

save with [Ctrl+X]

Rebuild images:

sudo mkinitcpio -p linux

depending on the kernel you are using may you need to replace linux with linux-lts…

sudo pacman -S compton

Turn off xfwm4’s compositing feature:

xfconf-query -c xfwm4 -p /general/use_compositing -s false

Put compton to autostart:

nano ~/.config/autostart/compton.desktop

[Desktop Entry]
Comment=X11 compositor
Exec=compton -b --paint-on-overlay --unredir-if-possible --backend xr_glx_hybrid --vsync drm --glx-swap-method -1 --glx-no-stencil

save with [Ctrl+X]

Restart lightdm:

sudo systemctl restart lightdm

Enjoy tearfree video on video-streams  or with video-players!

Was this article helpful to you? Yes No