linux: Implement GPU device loss recovery for wgpu - #49154
Closed
Vanuan wants to merge 2 commits into
Closed
Conversation
Contributor
Author
|
@larstalian Feel free to re-purpose this draft, this probably doesn't even compile. |
Vanuan
marked this pull request as draft
February 14, 2026 01:17
Vanuan
force-pushed
the
device_loss_recovery
branch
from
February 14, 2026 01:29
498a612 to
58c94e9
Compare
Vanuan
force-pushed
the
device_loss_recovery
branch
from
February 14, 2026 02:43
58c94e9 to
0efcc23
Compare
- Monitor wgpu::Device::lost() in a background thread for proactive detection. - Handle surface errors in WgpuRenderer::draw to trigger recovery. - Add recover_gpu orchestration in X11 client. - Update WgpuAtlas to support context replacement.
Vanuan
force-pushed
the
device_loss_recovery
branch
from
February 20, 2026 12:03
0efcc23 to
f7e95c2
Compare
Contributor
Author
|
Rebased after #49277 |
Member
|
I believe #50898 supersedes this PR, so I'll close this one out. Thank you for the contribution and sorry for the lack of responsiveness. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is reimplementation of #43070 for wgpu