From a70b05e8f32c239879ef9718085eba27a3405951 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 21 Apr 2026 16:41:07 +0200 Subject: [PATCH] New kernel patches mean we don't need to turn off the display features --- install/config/all.sh | 1 - .../hardware/dell/fix-xps-ptl-display.sh | 20 ------------------- migrations/1776099290.sh | 8 -------- migrations/1776781956.sh | 8 ++++++++ 4 files changed, 8 insertions(+), 29 deletions(-) delete mode 100644 install/config/hardware/dell/fix-xps-ptl-display.sh delete mode 100644 migrations/1776099290.sh create mode 100644 migrations/1776781956.sh diff --git a/install/config/all.sh b/install/config/all.sh index 3a9eaabb..0f8f3d6d 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -47,7 +47,6 @@ run_logged $OMARCHY_INSTALL/config/hardware/intel/fix-wifi7-eht.sh run_logged $OMARCHY_INSTALL/config/hardware/intel/resume-boost.sh run_logged $OMARCHY_INSTALL/config/hardware/dell/fix-xps-haptic-touchpad.sh -run_logged $OMARCHY_INSTALL/config/hardware/dell/fix-xps-ptl-display.sh run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-audio-mixer.sh run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-mic.sh diff --git a/install/config/hardware/dell/fix-xps-ptl-display.sh b/install/config/hardware/dell/fix-xps-ptl-display.sh deleted file mode 100644 index 3c66e47e..00000000 --- a/install/config/hardware/dell/fix-xps-ptl-display.sh +++ /dev/null @@ -1,20 +0,0 @@ -# Fix display issues on Dell XPS Panther Lake (Xe3) systems. -# Xe PSR causes freezes and display glitches on both OLED and IPS panels. -# LG OLED panels also need Panel Replay disabled. -if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl; then - echo "Detected Dell XPS on Panther Lake, applying display power-saving fixes..." - - if omarchy-hw-dell-xps-oled; then - CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_psr=0 xe.enable_panel_replay=0"' - COMMENT='Disable Xe PSR and Panel Replay on Dell XPS Panther Lake OLED systems' - else - CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_psr=0"' - COMMENT='Disable Xe PSR on Dell XPS Panther Lake systems' - fi - - sudo mkdir -p /etc/limine-entry-tool.d - cat </dev/null -# $COMMENT -$CMDLINE -EOF -fi diff --git a/migrations/1776099290.sh b/migrations/1776099290.sh deleted file mode 100644 index 1d060533..00000000 --- a/migrations/1776099290.sh +++ /dev/null @@ -1,8 +0,0 @@ -echo "Ensure xe.enable_psr=0 is set in CMDLINE for XPS Panther Lake systems" - -if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl && [[ -f /etc/default/limine ]]; then - if ! grep -Fq 'xe.enable_psr=0' /etc/default/limine; then - echo 'KERNEL_CMDLINE[default]+=" xe.enable_psr=0"' | sudo tee -a /etc/default/limine >/dev/null - sudo limine-mkinitcpio - fi -fi diff --git a/migrations/1776781956.sh b/migrations/1776781956.sh new file mode 100644 index 00000000..8bf32ac0 --- /dev/null +++ b/migrations/1776781956.sh @@ -0,0 +1,8 @@ +echo "Dell XPS Panther Lake display kernel cmdline drop-in is no longer necessary" + +DROP_IN="/etc/limine-entry-tool.d/dell-xps-ptl-display.conf" + +if [[ -f $DROP_IN ]]; then + sudo rm -f "$DROP_IN" + sudo limine-update +fi