Skip to content

Render: [WIP] Attempt to Handle GPU Resets#13828

Draft
chrisn731 wants to merge 2 commits intohyprwm:mainfrom
chrisn731:handle-gpu-reset
Draft

Render: [WIP] Attempt to Handle GPU Resets#13828
chrisn731 wants to merge 2 commits intohyprwm:mainfrom
chrisn731:handle-gpu-reset

Conversation

@chrisn731
Copy link
Copy Markdown
Contributor

@chrisn731 chrisn731 commented Mar 24, 2026

Describe your PR, what does it fix/add?

Attempts to Fix:: #12485

Right now, this branch should be able to at minimum not crash hyprland. Hyprland will gracefully recover and notify the user of the event. User will be able to continue to use Hyprland as normal, but currently windows will be lost.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

  1. So far I have tested in AQ Wayland and DRM backends. I have only tested on an AMD GPU as I can manually invoke the reset by doing sudo cat /sys/kernel/debug/dri/N/amdgpu_gpu_recover
  2. How do I setup a correct environment to debug the AQ DRM backend? I have been doing some hacky stuff that is not fun. (lots of prints and janky remote gdb)

Is it ready for merging, or does it need work?

WIP!

  • Check works for NVIDIA
  • Check works for Intel
  • Attempt to save clients?
  • Testing

@github-actions
Copy link
Copy Markdown

Hello and thank you for making a PR to Hyprland!

Please check the PR Guidelines and make sure your PR follows them.
It will make the entire review process faster. :)

If your code can be tested, please always add tests. See more here.

beep boop, I'm just a bot. A real human will review your PR soon.

@chrisn731 chrisn731 changed the title WIP: Attempt to Handle GPU Resets Render: [WIP] Attempt to Handle GPU Resets Mar 24, 2026
@chrisn731
Copy link
Copy Markdown
Contributor Author

unlucky it broke when i rebased it trying to debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant