bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
35.52k stars 3.52k forks source link

Qualcomm GPU not found on Android #11133

Open Selene-Amanita opened 9 months ago

Selene-Amanita commented 9 months ago

Bevy version

0.12.1

Error

I was trying to launch a Bevy game on my Fairphone 2, using cargo apk (/adb), and I was greeted with a white screen. After getting logcat to work, I saw that I had the following GPU error: RustStdoutStderr: Unable to find a GPU image

An App showing hardware information told me that my GPU is a Qualcomm, with GLES 3.0 support but "unknown" Vulkan support.

I was on LinageOS 15.1 but I just upgraded to LinageOS 18.1 and still have the same problem, and still "unknown" Vulkan support.

Additional information

I also tried with an android tablet with android 8 and had this error:

image

I was told to try a wgpu example but I don't know how to launch one with cargo apk, I had the following error when I tried cargo apk run --bin wgpu-examples cube: unexpected argument 'cube' found

mockersf commented 9 months ago

The fairphone 2 has a Qualcomm Adreno 330 which is 10 years old, it's possible it doesn't support Bevy

On your other device, could you try to disable MSAA? It looks like https://github.com/bevyengine/bevy/issues/8229

Braymatter commented 9 months ago

Is there documentation anywhere on what hardware features bevy needs to be supported?