Fatal error during GPU init

Which Khadas SBC do you use?

VIM3 Pro

Which system do you use? Android, Ubuntu, OOWOW or others?

Debian 11

Which version of system do you use? Khadas official images, self built images, or others?

self built Debian image (by fenix)

Please describe your issue below:

I build the Debian image using a Fenix script (GitHub - khadas/fenix: One-stop script set to build Ubuntu/Debian images). During the kernel boot process I see GPU initialization error messages. How to fix it?

Post a console log of your issue below:

[ 0.729856] panfrost ffe40000.gpu: clock rate = 24000000
[ 0.729925] panfrost ffe40000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found
[ 0.743117] panfrost ffe40000.gpu: devfreq_add_device: Unable to find governor for the device
[ 0.746168] panfrost ffe40000.gpu: [drm:panfrost_devfreq_init [panfrost]] ERROR Couldn’t initialize GPU devfreq
[ 0.756181] panfrost ffe40000.gpu: devfreq init failed -22
[ 0.756196] panfrost ffe40000.gpu: Fatal error during GPU init
[ 0.756222] panfrost: probe of ffe40000.gpu failed with error -22

Delete this line and post your log here.

It seems an error of the Panfrost GPU, do you use the orignal source to build the image ? Have you checked the Ubuntu image?

Thanks for your reply.
Yes I used orignal source. I didn’t check Ubuntu because according to the project’s requirements I need to use Debian. As an experiment, I’ll test it with Ubuntu in the near future.

I checked with Ubuntu - everything is fine (with Panfrost GPU) there…

@smike can you describe more details about your firmware ?

I have debian 11 which I upgraded to debian 12 with apt updates, but is having 6.2 kernel from fenix.

Panfrost work on my side, maybe try replacing your kernel packages ?


Thanks @Electr1, this really helped - I upgraded to debian 12 and now Panfrost works!

1 Like