mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
feat(uwsm): pin Hyprland to AMD iGPU via AQ_DRM_DEVICES
This commit is contained in:
1 parent
492f0e5c53
commit
4710377e6e
2 files changed
+11
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# Sourced by uwsm before Hyprland starts.
|
||||
# Keep Hyprland on the AMD iGPU (Radeon 8060S, PCI c4:00.0). The Thunderbolt
|
||||
# eGPU (RTX 5060 Ti) drives no displays and is for compute only; without this,
|
||||
# aquamarine opens it as a second KMS device. cardN numbering shifts with eGPU
|
||||
# hotplug timing, so resolve the stable by-path link. Left unset if missing so
|
||||
# Hyprland still falls back to auto-detection.
|
||||
igpu=$(readlink -f /dev/dri/by-path/pci-0000:c4:00.0-card 2>/dev/null)
|
||||
[ -e "$igpu" ] && export AQ_DRM_DEVICES="$igpu"
|
||||
unset igpu
|
||||
Reference in new issue
Block a user