bevyengine / bevyengine/bevy

Qualcomm GPU not found on Android

Open
#11,133 2 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug I-Crash O-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`
![image](https://github.com/bevyengine/bevy/assets/134181069/3d84f5b5-cded-488b-9bec-bac4768d803b)

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](https://github.com/bevyengine/bevy/assets/134181069/9c9bd9a6-97af-4ec0-8d8e-5a3aa803f4f2)

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.