mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Extract ASUS Expertbook B9406 display backlight fix and apply it for Zenbook ux5406aa too * Add migration for Panther Lake Asus display bakclight fix * Check if limine-update exists before executing it in the migration Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
16 lines
717 B
Bash
16 lines
717 B
Bash
# Display fix for ASUS ExpertBook B9406 (Panther Lake / Xe3 iGPU).
|
|
#
|
|
# Panel Replay is Xe3-new, default-on in the xe driver, and has a broken
|
|
# exit/wake path on this eDP panel: the panel latches the last-presented
|
|
# frame in self-refresh and never wakes for subsequent atomic commits, so
|
|
# the screen only updates on a full modeset (e.g. a VT switch). The older
|
|
# xe.enable_psr=0 knob does not cover Panel Replay.
|
|
|
|
if omarchy-hw-asus-expertbook-b9406; then
|
|
sudo mkdir -p /etc/limine-entry-tool.d
|
|
cat <<EOF | sudo tee /etc/limine-entry-tool.d/asus-expertbook-b9406-display.conf >/dev/null
|
|
# ASUS ExpertBook B9406 (Panther Lake / Xe3) display workaround
|
|
KERNEL_CMDLINE[default]+=" xe.enable_panel_replay=0"
|
|
EOF
|
|
fi
|