Getting XFCE4 tearfree with nouveau on nvidia graphics

Getting XFCE4 tearfree with nouveau on nvidia graphics

Introducion:

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
# MODULES
# The following modules are loaded before any boot hooks are
# løb.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES="nouveau"
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]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Compton
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
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false
save with [Ctrl+X]

Restart lightdm:

sudo systemctl restart lightdm Enjoy tearfree video on video-streams or with video-players!    

Contributors:

(besøgte 2,495 gange, 1 besøg i dag)

Pin It on Pinterest

Share This