Qualcomm GPU not found on Android
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
## 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`

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:

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`
Contributor guide
Research direction
No source file or test is named. Start by reproducing the failure on the Fairphone 2 or Android 8 tablet with Bevy 0.12.1, using cargo apk and logcat, then compare the reported GLES 3.0 and unknown Vulkan support. Done means identifying whether the device configuration is supported and documenting or fixing the GPU detection failure with reproducible evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, rust
- Domain
- computer-graphics, game-dev, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100