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

GPU not found error when running the debug build #8459

Closed
Tobias4Real opened this issue Apr 22, 2023 · 1 comment
Closed

GPU not found error when running the debug build #8459

Tobias4Real opened this issue Apr 22, 2023 · 1 comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-Linux Specific to the Linux desktop operating system P-Crash A sudden unexpected crash

Comments

@Tobias4Real
Copy link

Bevy version

bevy-0.10

[Optional] Relevant system information

Fedora 38, cargo 1.69.0

AdapterInfo { name: "AMD Radeon RX Vega (RADV VEGA10)", vendor: 4098, device: 26751, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 23.0.2", backend: Vulkan }

What you did

I tried to run some 3d examples, for example the pbr one.

What went wrong

The opengl backend which is selected by default doesn't work resulting in the same error as in issue #8086.
The vulkan backend doesn't work when running the debug build on wayland and x11.
Trying to run the following on wayland:

WGPU_BACKEND=vulkan cargo run --features wayland --example pbr

results in "Unable to find a GPU! Make sure you have installed required drivers! For extra information, see: https://github.com/bevyengine/bevy/blob/latest/docs/linux_dependencies.md" (I have installed all linux dependencies),

while running

WGPU_BACKEND=vulkan cargo run --release --features wayland --example pbr

works as expected.
I have no idea why that could be.

@Tobias4Real Tobias4Real added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Apr 22, 2023
@nicopap nicopap added A-Rendering Drawing game state to the screen P-Crash A sudden unexpected crash O-Linux Specific to the Linux desktop operating system and removed S-Needs-Triage This issue needs to be labelled labels Apr 22, 2023
@Tobias4Real
Copy link
Author

The issue seems to be in the vulkan-validation-layers package:

gfx-rs/wgpu#3712.

My other wgpu project didn't experience the same problem, that's why I didn't check the wgpu issues in the first place.
It can be fixed with
sudo dnf remove vulkan-validation-layers.

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 O-Linux Specific to the Linux desktop operating system P-Crash A sudden unexpected crash
Projects
None yet
Development

No branches or pull requests

2 participants