Skip to content

[BUG] Error: GPU detection failed on Android (Termux). #976

@AcatXIo

Description

@AcatXIo

General description of bug:

  • What happened:
    I'm using Motorola G32 smartphone with Qualcomm SM6225 Snapdragon 680 4G chipset, Adreno 610 GPU, and LineageOS 21.0-20240525 (Android 14) custom ROM installed and rooted.
    I installed fastfetch on it with Termux using pkg install fastfetch.
    Running fastfetch -c all.jsonc (both with and without root permissions) doesn't show the GPU, and running with --fomat json shows "error": "GPU detection failed".
    CPU detection works correctly.
    I also tried --gpu-detection-method pci, --gpu-detection-method vulkan and --gpu-detection-method opengl, but all of them also failed to detect the GPU.
    I tried some android system information apps from play store, and those did detect the GPU correctly.

  • What should happen: The GPU detection should work correctly, or a more descriptive error should be printed, explaining why it doesn't work.

  • Fastfetch version used: 2.13.2.

  • Did it work in an older version: I don't know.

  • Where did you get the binary: Termux pkg install fastfetch.

  • Does this issue still occurs in the latest dev build: Yes.

Often helpful information:

The content of the configuration file you use (if any): I used all.jsonc without changes.

Output of fastfetch -c ci.jsonc --format json:

{
  "type": "GPU",
  "error": "GPU detection failed"
}

Output of fastfetch --list-features:

threads
vulkan
freetype
linux/videodev2
linux/wireless

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions