v3d driver clock problem forces OpenGL to use software rendering
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
release: 32-bit ubuntu 20.04 running on a raspberry pi 4
package: linux-raspi 5.4.0.1008.8
I made the configuration change described in:
https:/
and am running a kernel with v3d on a raspberry pi 4.
Unfortunately, OpenGL is still not using the GPU; it's using the software renderer, llvmpipe.
Setting LIBGL_DEBUG=verbose and running an OpenGL program shows that OpenGL can't open any /dev/dri/renderD* device.
Looking in /dev/dri, there are no device files that begin with "render," indicating the v3d driver isn't starting up properly.
Adding debugging code to the kernel, I find that:
(1) drivers/
(2) in drivers/
(3) drivers/
The solution is to add a clock definition to the kernel source and a corresponding change to the device tree, but I'm not familiar enough with either to create that solution myself.
In the raspbian kernel source tree, drivers/
Changed in linux-raspi (Ubuntu Focal): | |
status: | New → Confirmed |
tags: | added: focal |
Changed in linux-raspi (Ubuntu): | |
status: | Confirmed → Fix Released |
no longer affects: | linux-raspi (Ubuntu Focal) |
i forgot to mention: the relevant device tree file is: arm/boot/ dts/bcm2711- rpi.dtsi
arch/