Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / picom


Commits:
3ace58d5 by Robin Candau at 2024-01-24T13:31:12+01:00
upgpkg: 11-2: Temporarily disable vsync in picom.conf by default to avoid 
frequent freezes on GPU intensive tasks
See https://github.com/yshui/picom/issues/1166

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = picom
        pkgdesc = X compositor that may fix tearing issues
        pkgver = 11
-       pkgrel = 1
+       pkgrel = 2
        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=1
+pkgrel=2
 pkgdesc='X compositor that may fix tearing issues'
 arch=(x86_64)
 url='https://github.com/yshui/picom'
@@ -30,6 +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?
+  # See https://github.com/yshui/picom/issues/1166
+  sed -i '/vsync\ =\ true;/d' picom.sample.conf
+  setconf -u picom.sample.conf 'vsync=false;'
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/picom/-/commit/3ace58d511b0609cd7de1cb4585423c1dafcb209

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/picom/-/commit/3ace58d511b0609cd7de1cb4585423c1dafcb209
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to