summaryrefslogtreecommitdiff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorIan Eure <ian@retrospec.tv>2026-03-27 20:49:08 -0700
committerIan Eure <ian@retrospec.tv>2026-03-28 09:01:48 -0700
commitdd080e7fda2be54e2bcec3814473f90b326cb256 (patch)
tree3e8b49e88c078c47d682ba7ee8a72f03401e4d61 /gnu/local.mk
parent990268790761dd49c4944742ebb73e7fa1442ab2 (diff)
gnu: xorg-server: Apply tearfree patch for modesetting driver.
Much of the modern Linux video stack depends on using kernel modesetting (KMS) drivers. Because of this, not much effort has been put into the legacy stuff, which have grown less supported and more buggy. Unfortunately, the modesetting Xorg driver didn’t initially have support for tear-free video (which most legacy drivers did), requiring additional software -- a compositor -- to fix this. Sadly, there’s no good option for a compositor -- they all require hardware-specific tweaking and tuning, and tend to be quite buggy. Support for a "TearFree" option merged in 2022[1], but there hasn’t been an Xorg release since it was merged. This PR applies the patch from that MR to the last release. It required a one-character edit to apply cleanly, necesitating inclusion in the Guix repo. I tested this on bare metal and it appears to work well. [1]: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1006 * gnu/local.mk (dist_patch_DATA): Add patch. * gnu/packages/patches/xorg-server-tearfree-modesetting.patch: New file. * gnu/packages/xorg.scm (xorg-server): Apply modesetting tearfree patch. Change-Id: I60a705b35cb51bfd7de79aba406bc4b7b3934e48
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index fc3bb46bc95..d4019b94f1f 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2606,6 +2606,7 @@ dist_patch_DATA = \
%D%/packages/patches/xiphos-glib.patch \
%D%/packages/patches/xlispstat-fix-compilation-with-modern-gcc.patch \
%D%/packages/patches/xmonad-dynamic-linking.patch \
+ %D%/packages/patches/xorg-server-tearfree-modesetting.patch \
%D%/packages/patches/xplanet-1.3.1-cxx11-eof.patch \
%D%/packages/patches/xplanet-1.3.1-libdisplay_DisplayOutput.cpp.patch \
%D%/packages/patches/xplanet-1.3.1-libimage_gif.c.patch \