Skip to content
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

webgpuComputePass and webgpuHelloTriangle tests fail in wsl with amd graphics card #14152

Closed
dsherret opened this issue Mar 30, 2022 · 3 comments · Fixed by #14157
Closed

webgpuComputePass and webgpuHelloTriangle tests fail in wsl with amd graphics card #14152

dsherret opened this issue Mar 30, 2022 · 3 comments · Fixed by #14157
Labels
ext/webgpu related to the ext/webgpu tests related to tests

Comments

@dsherret
Copy link
Member

These two tests fail in wsl because they can't request the adapter.

@dsherret dsherret added the tests related to tests label Mar 30, 2022
@crowlKats crowlKats added the ext/webgpu related to the ext/webgpu label Mar 30, 2022
@crowlKats
Copy link
Member

This could be related to gfx-rs/wgpu#1443

@dsherret dsherret changed the title webgpuComputePass and webgpuHelloTriangle tests fail in wsl webgpuComputePass and webgpuHelloTriangle tests fail in wsl with amd graphics card Mar 30, 2022
@dsherret
Copy link
Member Author

Seems like WSL doesn't support amd graphics cards microsoft/WSL#8053

Maybe I should just buy a new graphics card finally (mine is from 2013).

@crowlKats
Copy link
Member

On top of that, i got some information from the wgpu matrix:

Graphics is supported only on W11 and you need vulkan related packages to run it
Alternatively there is a way to run headless Xorg and forward graphics to some program on W10

If you have windows 11 (which has support for WSLg), read trough gfx-rs/wgpu#1443
The tldr is that OpenGL works, Vulkan is not supported by WSLg (microsoft/wslg#40) and DX12 could be made to work but needs work from wgpu's side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext/webgpu related to the ext/webgpu tests related to tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants