From 429b99dc507cc7bdcd80a8fd6d344309bb5df66c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 11 Apr 2026 18:01:45 -0400 Subject: [PATCH] PSR1 is introducing lag/stutters CC @spencerbull --- install/config/hardware/dell/fix-xps-ptl-display.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/config/hardware/dell/fix-xps-ptl-display.sh b/install/config/hardware/dell/fix-xps-ptl-display.sh index 6bd18c2e..17941e2c 100644 --- a/install/config/hardware/dell/fix-xps-ptl-display.sh +++ b/install/config/hardware/dell/fix-xps-ptl-display.sh @@ -1,21 +1,21 @@ # Fix display issues on Dell XPS 2026+ with LG OLED panel and Intel Panther Lake (Xe3) GPU. -# Power-saving features cause the screen to run at 10hz. +# Power-saving features (PSR and Panel Replay) cause freezes and display glitches. if omarchy-hw-match "XPS" \ && omarchy-hw-intel-ptl \ && test "$(od -An -tx1 -j8 -N2 /sys/class/drm/card*-eDP-*/edid 2>/dev/null | tr -d ' \n')" = "30e4"; then echo "Detected Dell XPS with LG OLED panel on Panther Lake, applying display power-saving fix..." - CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_panel_replay=0"' + CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_psr=0 xe.enable_panel_replay=0"' sudo mkdir -p /etc/limine-entry-tool.d cat </dev/null -# Fix Dell XPS OLED display issues by disabling Xe PSR2 power-saving feature +# Fix Dell XPS OLED display issues by disabling Xe PSR and Panel Replay power-saving features $CMDLINE EOF # Also append to /etc/default/limine if it exists, since it overrides drop-in configs - if [ -f /etc/default/limine ] && ! grep -q 'xe.enable_panel_replay' /etc/default/limine; then + if [ -f /etc/default/limine ] && ! grep -q 'xe.enable_psr' /etc/default/limine; then echo "$CMDLINE" | sudo tee -a /etc/default/limine >/dev/null fi fi