Currently the rockchip hardware video decoder is loaded BUT the display rendering is still using software which results in high CPU usage and I need to fix this.
Please send steps or point to an kernal image that has the hardware rendering with GPU enabled.
Hello there, we are working on the newer ubuntu version which will have kernel-6.1 and panfrost drivers with it, so it should solve this issue.
For now you can enable 2D acceleration in the xorg config with the help of glamor. To do that open the file /etc/X11/xorg.conf.d/20-modesetting.conf with root access and check if below line is present in the Rockchip Graphics section,
Option "AccelMethod" "glamor"
if this is not present then add this in the Rockchip Graphics section.
I have checked, and the Option "AccelMethod" "glamor" is already present in the /etc/X11/xorg.conf.d/20-modesetting.conf file under the “Rockchip Graphics” section.
Unfortunately, this setting does not seem to have affected the CPU utilization. During video playback, the CPU usage is still very high.
As I mentioned in my original query, it appears the hardware video decoder is loaded, but the final rendering to the display is still using software. This is what’s causing the high CPU load.
We understand that the future Ubuntu version with kernel 6.1 and panfrost drivers should resolve this. However, we need a solution for the current build.
Are there any other steps we can take to specifically enable GPU hardware rendering (not just 2D acceleration) to offload this work from the CPU?