bigtreetech / bigtreetech/CB2

GPU does not work on CB2 (kernel4.19)

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
149
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am attempting to use the Panfrost driver for the Mali-G52 GPU on my CB2 board, but I am encountering an issue. After installing the driver and checking the OpenGL status using the following command:

glxinfo | grep "OpenGL"
The output shows:

OpenGL renderer string: llvmpipe
This indicates that the system is falling back to software rendering (llvmpipe) instead of using the Mali-G52 GPU for hardware acceleration.

Problem:
I followed the instructions to install the Panfrost driver for the Mali-G52 GPU. However, the driver is not working as expected because my kernel version is 4.19. This version appears to be too old to fully support Panfrost.
As a result, the Mali-G52 GPU is not being used for hardware acceleration, and software rendering is active instead.
Kernel Version:
My current kernel version is 4.19, and I suspect that this is preventing the Panfrost driver from functioning properly with the Mali-G52 GPU.
Expected Behavior:
I expect the system to use the Mali-G52 GPU with hardware acceleration after installing the Panfrost driver.
Actual Behavior:
The system is falling back to software rendering (llvmpipe) instead of using the GPU.
Questions:
Can anyone confirm that kernel 4.19 does not support Panfrost for the Mali-G52 GPU, and a newer kernel version is required?
Is there a way to make the Panfrost driver work with kernel 4.19, or do I need to upgrade to kernel 5.x or later?
Does anyone have suggestions or steps to proceed with upgrading the kernel or using a different method for GPU acceleration?
Thank you in advance for your help!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.