Return errors more often#160
Conversation
At Zed, by far the most common panics we experience across the userbase are from Linux users who crash during a `draw` call in the Blade renderer. We'd like to be able to detect that something has gone wrong and show a notification via dbus to help people understand the problem and debug.
|
I'd strongly lean on the way of ergonomics. Blade isn't fully safe by design (that's what |
|
@kvark In the last 2 hours:
Unfortunately the way our panic reporting works, it's tricky for me to get more information about these. I also know that some of these are caused by the initialization failures on intel we havent' fixed yet: #144. |
|
Thanks for the info! That's quite high of a number. I wish we had one of the users to work with... |
|
In theory we could run Are there other specific things you think we should check for that would make the output size smaller / could be queried in-process? or is it more of an unknown unknown at this point? |
|
Are you concerned that VulkanInfo contains too much private information about the machine? I imagine this would be behind some kind of uesr concern. |
At Zed, by far the most common panics we experience across the userbase
are from Linux users who crash during a
drawcall in the Bladerenderer.
We'd like to be able to detect that something has gone wrong and show a
notification via dbus to help people understand the problem and debug.
This PR is a work in progress, as before I completely change the API I wanted
to check that this is the right direction.
Even with these changes I'd stil like to try and reduce the frequency that
users see these problems, but I'm not sure how to do that.