guix-epistemia

Personal Guix channel
Log | Files | Refs

commit 2992bb7a264d6d1f1035843109af3fc8baa62f43
parent 1f0f3e224a6c0901ec70be685c1e79f11ff99156
Author: Vineet Kumar <git@vineetk.net>
Date:   Sat, 14 Nov 2026 23:55:08 +0100

packages/xorg: add MaxClock workaround for bypassing edid verification of 5120x1440@240Hz

wayland/wlroots didn't have this issue since it didn't seem to
validate the maxclock of that mode while xorg complained.

Diffstat:
Mepistemia/packages/xorg.scm | 17+++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/epistemia/packages/xorg.scm b/epistemia/packages/xorg.scm @@ -24,8 +24,7 @@ "Section \"Files\"\nModulePath \"" #$output "/lib/xorg/modules," #$(this-package-input "xf86-input-libinput") "/lib/xorg/modules," - #$(this-package-input "xf86-input-wacom") "/lib/xorg/modules," - #$(this-package-input "xf86-video-amdgpu") "/lib/xorg/modules\"\n" + #$(this-package-input "xf86-input-wacom") "/lib/xorg/modules\"\n" "EndSection\n") port))) (call-with-output-file @@ -62,8 +61,18 @@ " MatchProduct \"Wacom\"\n" " Driver \"wacom\"\n" "EndSection\n") + port))) + (call-with-output-file + (string-append #$output "/share/X11/xorg.conf.d/10-monitor-maxclock.conf") + ;; fixes xorg edid validation for 5120x1440@240Hz on my MSI MPG491CX OLED + (lambda (port) + (display + (string-append + "Section \"Monitor\"\n" + " Identifier \"DP-4\"\n" + " Option \"MaxClock\" \"2200 MHz\"\n" + "EndSection\n") port))))))))) (inputs (modify-inputs (package-inputs xorg-server) (append xf86-input-libinput - xf86-input-wacom - xf86-video-amdgpu))))) + xf86-input-wacom)))))