bug, screenshot, freeze
System details
GPU: AMD Radeon RX 6600 1002:73ff (Navi 23) Driver: open-source amdgpu DE: Hyprland via Omarchy OS: Omarchy 7.2.15-1-omarchy Kernel: 7.2.15-1-omarchy
What's wrong?
The Print Screen (PRINT) key binding to omarchy-capture-screenshot causes a complete system freeze requiring hard reboot. This has happened twice in a row. The freeze occurs immediately after pressing Print Screen, the shell crashes, and only a hard power cycle resolves it.
Root Cause: The omarchy-capture-screenshot function triggered via the Print Screen key has a bug/interaction issue with the AMD Radeon RX 6600's open-source driver. The GPU operation causes a deadlock/panic in the amdgpu driver, resulting in a complete system freeze. Proposed Fix (already applied):
- Disable the Print Screen binding in ~/.config/hypr/bindings.lua: hl.unbind("PRINT") -- Disable default screenshot binding that causes freeze
- Remap screenshot to SUPER + S as alternative: hl.unbind("SUPER + S") o.bind("SUPER + S", "Screenshot", "omarchy-capture-screenshot")
Hey, I'm not sure the amdgpu explanation holds up yet. The SUPER+S bind runs the exact same omarchy-capture-screenshot command as Print Screen, so if the driver were locking up on the capture, I'd expect SUPER+S to freeze too. Have you taken a screenshot with it since you changed it?
Also, when it froze, was everything dead, or just the screen? The screenshot tool puts a frozen fullscreen overlay on top and grabs the keyboard, so if it hangs, it looks exactly like a full lockup even when the system is still running. Next time, could you try Ctrl+Alt+F2 to get to a TTY, see whether the mouse still moves or Caps Lock toggles its light, or SSH in from another device?
If you still have the logs from a boot where it froze, these would help a lot:
journalctl -b -1 -k | grep -iE "amdgpu|gpu reset|ring|timeout|drm" journalctl -b -1 --user | grep -iE "omasnap|omarchy-shell|quickshell" coredumpctl list --since -2d pacman -Q omasnap mesa linux-firmware hyprland linux-omarchy
(-b -1 is the previous boot, so run it right after the reboot that followed a freeze.)
If it really is the driver, the kernel log should show something like a ring timeout or GPU reset. If not, it's more likely omasnap or the shell getting stuck. I have an RX 6600 too, so I can try to reproduce it on my end once I know your versions.
I discovered the freezing was caused by my power supply, and it stopped after I replaced it. The Freezing stop