fix: prevent black lock screen on dual-GPU system
- AQ_DRM_DEVICES=/dev/dri/card0 forces Aquamarine to use only the Intel iGPU, avoiding EGL_BAD_MATCH errors from the NVIDIA RTX 3060 after VT/DPMS cycles (page-flip lockups, black display) - lock.sh: guard against duplicate hyprlock instances (second instance steals surfaces, leaves screen black) - lid-close.sh: same guard for laptop - wake-display.sh: conditional DPMS cycle (only when display is off) to restore hyprlock surfaces without flicker - unstick-display.sh: emergency recovery script for tty3
This commit is contained in:
parent
6199866e4c
commit
24344598e9
6 changed files with 69 additions and 6 deletions
|
|
@ -15,6 +15,11 @@ env = HYPRCURSOR_SIZE,24
|
|||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
env = HYPRSHOT_DIR,Screenshots
|
||||
|
||||
# Force Aquamarine to use only the Intel iGPU for display.
|
||||
# The NVIDIA RTX 3060 is also present but causes EGL_BAD_MATCH errors and page-flip
|
||||
# lockups after VT/DPMS cycles (multi-GPU buffer ownership fights).
|
||||
env = AQ_DRM_DEVICES,/dev/dri/card0
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
|
@ -187,7 +192,7 @@ input {
|
|||
kb_layout = us,se,kr
|
||||
kb_variant = dvorak,dvorak,
|
||||
kb_model =
|
||||
kb_options = grp:win_space_toggle,grp:alt_r_toggle
|
||||
kb_options = grp:win_space_toggle,grp:toggle
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue