-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panics in submit when running under X11 #139
Comments
See for example zed-industries/zed#14225. I wonder if it's specific to the combination of KDE + X11. Will try that tomorrow |
That linked Zed issue sounds a lot like the Intel + Nvidia systems issue we've been looking at for a while, e.g. #88 We need to figure out the scope of affected systems and extend the workaround. Right now it's based on PRIME config - blade/blade-graphics/src/vulkan/init.rs Lines 113 to 116 in 9e47628
|
I wrote a general fix for this in #144. It's unfortunately verbose, but it should be 100% correct unlike the current heuristics. I'd really like a strong signal from people having Intel+Nvidia configuration before merging. This includes both those affected and not. Here is what we'd need:
@lemtea8 would you be able to try this out? |
@kvark Sadly the pr is still not working for my machine.
|
Thank you for testing, @lemtea8 ! The call stack of this failure is purely inside |
Bunnymark example is trying to init a transparent window, maybe that's the main difference. But it's irrelevant to the original issue at hand. |
After the zed launch, we're seeing a number of crashes in
::submit
:Aquire image error ERROR_SURFACE_LOST_KHR
GPU has crashed, and no debug information is available.
It seems like these are exclusive (or at least very much more common) on Zed's X11 implementation vs the Wayland one, so I wonder if we've messed something up on our side.
I haven't seen this locally, but it happens across a wide range of linux distributions in the wild.
Do you have an idea for what I should look for to try and debug this?
The text was updated successfully, but these errors were encountered: