-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
No suitable wgpu::Adapter found
on Raspberry Pi 4
#139
Comments
There is no support for OpenGL (yet). As I understand, Vulkan drivers on Raspberry Pi are still early. This might be fixed by #134 ... |
@CaseyB Now that Vulkan should work on Raspberry Pi 4 if you have the current release of Mesa installed. And is the preferred graphics stack. Mesa includes a Vulkan 1.0 conformant driver, which is enough for |
There are open issues tracking RasPi4 support in |
I managed to get Pixels working on a Raspberry Pi 4 by setting this parameters on the device descriptor PixelsBuilder::new(width, height, surface_texture)
.device_descriptor(wgpu::DeviceDescriptor {
limits: wgpu::Limits {
max_storage_textures_per_shader_stage: 4,
max_texture_dimension_2d: 4096,
max_texture_dimension_1d: 4096,
..wgpu::Limits::default()
},
..wgpu::DeviceDescriptor::default()
})
.build() |
@FranLMSP thanks for the info! Are you able to get it working with downlevel defaults, instead of defining your own limits? |
Is this issue different from what I am seeing (master, Dec 15 2022) on Pi4? 'No suitable GPU adapters found on the system!' Should I be looking for another open issue to track? |
@andrewdavidmackenzie I won't be able to answer that question without more information. The |
here it is...
|
That clearly shows I have to upgrade the OS on my Pi4, but I'll get back to you after I run some tests of my own. From what I can see, you should not have problems using |
|
Ok, the update took way too long, and I've been having some issues with I/O blocking on the SD card. But Click to expand...
I have 3 adapters:
You appear to only have the last of these, and it probably means you are either missing the Mesa drivers, or they are out of date. Here's some useful info about my environment for you to compare against:
|
I apt-get installed the mesa drivers as you suggested, and now things are working (boids example at least). thanks for your patience and help! |
Even when setting the LOW_POWER flag I get this error. I'm able to run WebGL and glxgears with no problems. Any thoughts on what the problem might be?
The text was updated successfully, but these errors were encountered: