Solution for issue with 'panfrost' module not initializing due to missing dependency - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Solution for issue with 'panfrost' module not initializing due to missing dependency (/showthread.php?tid=15458) |
Solution for issue with 'panfrost' module not initializing due to missing dependency - cobratbq - 12-02-2021 I have noticed that there have been reports of not getting 'panfrost' graphics acceleration working properly. I have problems myself recently with the installation of vanilla Debian Bullseye. I found that there is a hidden dependency on a kernel module that is not yet loaded during early boot, and will (probably by coincidence) be loaded late. Too late for 'panfrost' to initialize before Xorg starts. Consequently, Xorg starts with 'LLVMpipe' DRI display support. Basically, no graphics support. In the case of Debian, (configuration works slightly differently in other distributions) I fixed this with a 'modprobe.d' config file: Code: softdep panfrost pre: governor_simpleondemand I have not saved a copy of the error message. However, `dmesg` would repeatedly try to load 'panfrost' in the first few seconds of booting the linux kernel, and fail. I would be able to get accelerated support if I manually remove and reload the 'panfrost' module, then restart the desktop manager (`lightdm` in my case). Code: glxinfo Upon searching the web, I found some occurrences of these issues in various distros but without clear solutions. For me, this works as a solution, so I wanted to share it. This solution works for me on Debian's 5.10 and 5.14 kernels. |