Merge branch 'dev' into rc
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Match Dell XPS systems with LG OLED panel on Intel Panther Lake (Xe3) GPU.
|
||||||
|
|
||||||
|
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"
|
||||||
@@ -1,9 +1,6 @@
|
|||||||
# Fix display issues on Dell XPS 2026+ with LG OLED panel and Intel Panther Lake (Xe3) GPU.
|
# Fix display issues on Dell XPS 2026+ with LG OLED panel and Intel Panther Lake (Xe3) GPU.
|
||||||
# Power-saving features (PSR and Panel Replay) cause freezes and display glitches.
|
# Power-saving features (PSR and Panel Replay) cause freezes and display glitches.
|
||||||
if omarchy-hw-match "XPS" \
|
if omarchy-hw-dell-xps-oled; then
|
||||||
&& 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..."
|
echo "Detected Dell XPS with LG OLED panel on Panther Lake, applying display power-saving fix..."
|
||||||
|
|
||||||
CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_psr=0 xe.enable_panel_replay=0"'
|
CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_psr=0 xe.enable_panel_replay=0"'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
echo "Add xe.enable_psr=0 to CMDLINE for XPS Panther Lake systems missing it"
|
echo "Add xe.enable_psr=0 to CMDLINE for XPS Panther Lake systems missing it"
|
||||||
|
|
||||||
if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl && [ -f /etc/default/limine ]; then
|
if omarchy-hw-dell-xps-oled && [ -f /etc/default/limine ]; then
|
||||||
UPDATED=false
|
UPDATED=false
|
||||||
|
|
||||||
if ! grep -q 'xe.enable_psr' /etc/default/limine; then
|
if ! grep -q 'xe.enable_psr' /etc/default/limine; then
|
||||||
|
|||||||
Reference in New Issue
Block a user