-
Notifications
You must be signed in to change notification settings - Fork 105
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
Panicking Thread on WSL2: Error in wgpuSurfaceGetPreferredFormat: unsupported format #393
Comments
Can you try the |
@almarklein thanks for the reply!
Cube example raises a simliar panic as the one I reported above. Using your suggested Texture Format raises a different, non-panic exception, encountered on the following line:
|
It looks like wgpu reports that the surface simply has zero supported formats. Could this be because it's on WSL2? Ideas @rajveermalviya ? |
Reporting here because the error asks me to!
I was running the following script from the pygfx README:
When running the script (with the
RUST_BACKTRACE
environment variable set), I receive the following error, observed both with Qt and glfw windows:pygfx: 0.2.0
wgpu: 0.15.3
System: Ubuntu 22.04.3 LTS, WSL2
Notably, the script runs just fine on Windows.
The text was updated successfully, but these errors were encountered: