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

No GPU Version Found #5767

Closed
aftix opened this issue Aug 22, 2022 · 7 comments
Closed

No GPU Version Found #5767

aftix opened this issue Aug 22, 2022 · 7 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Comments

@aftix
Copy link

aftix commented Aug 22, 2022

Bevy version

v0.8.0

[Optional] Relevant system information

Arch linux, Wayland, nouveau drivers

cargo 1.63.0-nightly (4d92f07f3 2022-06-09)

What you did

Followed the bevy book for initializing default plugins (https://bevyengine.org/learn/book/getting-started/plugins/). I am using the wayland feature in my Cargo.toml.

What went wrong

No window appears, instead I get the message thread 'main' panicked at 'Unable to find a GPU! Make sure you have installed required drivers!', /home/aftix/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_render-0.8.0/src/renderer/mod.rs:103:10

Additional information

I have done a system update and rebooted. I have verified that wgpu and winit examples work on this setup.

@aftix aftix added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Aug 22, 2022
@DJMcNab
Copy link
Member

DJMcNab commented Aug 22, 2022

Can you compare the features activated for our depedency on wgpu with the features enabled for wgpu when you run the example?

This can probably be done with cargo tree -e features -p wgpu

@aftix
Copy link
Author

aftix commented Aug 22, 2022

They seem to both be default features. There's a lot of dependencies to check, but the main ones all have the same features ("default"). I can't find the features for winit on my bevy repo, but on my wgpu clone it has "wayland-dlopen"

@aftix
Copy link
Author

aftix commented Aug 22, 2022

Using some UNIX tools, it looks like all the things that the two wgpu's share have the same features enabled.

@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels Aug 23, 2022
@DasLixou
Copy link
Contributor

DasLixou commented Sep 6, 2022

I get sort of the same error with x11 and amd-gpu drivers: thread 'main' panicked at 'Unable to find a GPU! Make sure you have installed required drivers!', /home/lixou/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_render-0.8.1/src/renderer/mod.rs:103:10

@DasLixou
Copy link
Contributor

DasLixou commented Sep 6, 2022

Solved it by installing vulkan-radeon on linux

@rsaihe
Copy link

rsaihe commented Sep 21, 2022

Solved it by installing vulkan-radeon on linux

A similar fix worked for me on Alpine Linux (mesa-vulkan-intel in my case).

@mockersf
Copy link
Member

closing to centralise in #3191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

6 participants