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

RequestDeviceError on WSL2 #927

Open
gvcallen opened this issue Jun 22, 2023 · 0 comments
Open

RequestDeviceError on WSL2 #927

gvcallen opened this issue Jun 22, 2023 · 0 comments

Comments

@gvcallen
Copy link

gvcallen commented Jun 22, 2023

I've been following the "getting started" guide and have run into issues. I have tried running the Nannou Polyline example on my Ubuntu WSL2, but am met with the following error in the terminal:
thread 'main' panicked at 'could not get or request device: RequestDeviceError', nannou_wgpu/src/device_map.rs:220:14

I am successfully able to run the wgpu "cube" example, so I don't think its an issue with my system.

After some investigating, I noticed the error on the lower level occurs in wgpu-core/src/instance.rs when calling adapter.create_device. Here, with the wgpu cube example, the device is created successfully. However, through nannou, the resultant error variable contains the following fields:
name: "max_storage_buffer_size" requested: 134217728 allowed: 0

My PC has onboard Intel i7-1065G7 graphics. I noticed that the wgpu example requested a storage buffer size of 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant