I recently acquired a HP T430 Thin Client with an Intel Celeron N4020 CPU. Running a clean install of Libreelec 12 on it, I can notice that there are clearly some dropped frames while navigating through the menus. Enabling the logging setting shows an FPS in the 20-30s range. The reason I even got this system was that x86 machines are reportedly much smoother and faster than arm machines for minimal kodi boxes.
There's been a bunch said already about this on the internet, and the solution has been to force the minimum gpu frequency to the max value supported.
111032 – Need to set gt_min_freq_mhz to max value to avoid sync issues on Gemini Lake N5000/J5005
RE: CPU stuck at 800Mhz?
RE: Video stutter 25Hz Videoplayback with Hardwaredecoding Libreelec 9.0
It seems this is (still) the problem. The GPU clock speed is not scaling up as it should under load.
With a NUC 2820, I added this `autostart.sh` script:
(Code, 5 lines)
The 750 comes from the output of this command (you should check if you have a different NUC)
(Code, 1 line)
This results…
The lack of further responses to any of the above tickets seem to indicate that the issue no longer exists, but it's clearly present for me. Is this a linux kernel issue or a buggy bios/firmware for my device?
I know I haven't posted any logs here, and it's because I wasn't sure what exactly to put. If the devs want something particular to look at, please let me know.
Sidetrack: I tried to do some further testing running kodi wayland in ubuntu desktop. I could swear that I noticed that the UI was buttery smooth when the default audio device wasn't HDMI, and only started dropping frames when I changed the the output device to HDMI audio in gnome settings. I tried replicating this a few more times to get some logs, but couldn't get it to consistently reappear. dmesg and journalctl logs didn't show anything either. If anyone has thoughts on this, please let me know.