Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / picom
Commits: 3e8e182d by Robin Candau at 2024-01-24T15:05:08+01:00 upgpkg: 11-3: Temporarily switch the default backend to 'glx' instead of disabling vsync, as recommended by upstream. See https://github.com/yshui/picom/issues/1166#issuecomment-1908158544 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = picom pkgdesc = X compositor that may fix tearing issues pkgver = 11 - pkgrel = 2 + pkgrel = 3 url = https://github.com/yshui/picom arch = x86_64 license = MPL-2.0 AND MIT ===================================== PKGBUILD ===================================== @@ -6,7 +6,7 @@ pkgname=picom pkgver=11 -pkgrel=2 +pkgrel=3 pkgdesc='X compositor that may fix tearing issues' arch=(x86_64) url='https://github.com/yshui/picom' @@ -30,11 +30,11 @@ prepare() { setconf picom.sample.conf 'inactive-opacity=0.95;' # Improve performance (recommended option) setconf -u picom.sample.conf 'glx-no-stencil=true;' - # Disable vsync which causes freezes on some GPU intensive tasks with picom v11 (such as video playback or resources intensive video games) while waiting for upstream input - # May only impact Nvidia GPU? + # Switch the default backend to glx temporarily + # The xrender backend causes freezes when used with the vsync option enabled on some GPU intensive tasks with picom v11 (such as video playback or resources intensive video games) # See https://github.com/yshui/picom/issues/1166 - sed -i '/vsync\ =\ true;/d' picom.sample.conf - setconf -u picom.sample.conf 'vsync=false;' + sed -i '/backend\ =\ "xrender";/d' picom.sample.conf + setconf -u picom.sample.conf 'backend="glx";' } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/picom/-/commit/3e8e182d18c5c95d5c122cab7039af833de28f88 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/picom/-/commit/3e8e182d18c5c95d5c122cab7039af833de28f88 You're receiving this email because of your account on gitlab.archlinux.org.