-
Notifications
You must be signed in to change notification settings - Fork 373
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
rerun 0.21.0 WGPU Error on WSL #8564
Comments
A bunch of issues are conspiring here: Turns out we rely on the GL->DX12 forwarding driver that wsl installs by default. This breaking in turn is a bit more complicated and I created a bug here
Ideally, Vulkan would just work! Out of the box there's no forwarding Vulkan driver, but mesa can be updated to achieve this!
But this actually makes it worse: now we end up with non-conformant Vulkan drivers which wgpu filters out and a software rasterizer for GL (which it a least works) -> Next steps:
|
that's trickier than expected. We need extended wgpu setup options for this since this is an instance flag emilk/egui#5506
Can't be done: these downlevel flags are capability flags, not feature flags. I.e. we can't turn it off actually. So from the looks of it we can't work around there here and need to patch wgpu instead. |
All of the above makes it very unlikely we can solve this in a patch release. But we should at the very least have this fixed on 0.22! Note that 0.20 still works fine. |
Figured out by now that there's even more issues here with the GL renderer: It advertises R32f as not renderable. We hard fail when that happens now because this is such a basic feature and may case picking to stop working down the line (in actuality it is only used iff we have to do a depth-reading workaround, tbh I'm not sure if that's actually active in this particular scenario.. so we could get away with it. But then again drawing to R32F is imho so fundamental we'll likely crash in the future over it anyways) I also observed this on a fresh ubuntu 24 wsl. Note to self, here's the steps I did:
|
Hey @Wumpf thanks for looking into the issue! While waiting for the next rerun version do you think I could modify my environment (e.g. installing a different version of the gl driver) to make it compatible with the current rerun version? |
@andrearosasco I poked a little bit into that direction and install newer mesa drivers, but not too much avail so far, see #8564 (comment). The gpu driver ('passthrough') driver situation on WSL is really not that great. Otherwise my recommendation (as always when it comes to WSL!) is to run the viewer on the host Windows system and do only sdk invocations from inside WSL, connecting to the host's viewer. |
Describe the bug
On WSL switching from rerun v0.18.0 to v0.21.0 causes the following error to appear when the visualizer is launched:
Launching rerun with
WGPU_BACKEND=vulkan rerun
works but the performance is poorTo Reproduce
Steps to reproduce the behavior:
Expected behavior
The visualizer starts without any errors
Desktop (please complete the following information):
Ubuntu 22.04.4 (WSL) on Windows 11
Rerun version
0.21.0
Additional Context
The error does not appear in rerun 0.18.0
The text was updated successfully, but these errors were encountered: