Posts: 713
Joined: Aug 2009
Reputation:
164
Hi, Just installed Xubuntu 20.04 and Kodi 19.4 on a Gemini Lake J4125 Mini PC and when playing 24p content I'm getting frame skips every few seconds. It's not an issue with the TV or the mini PC as LibreELEC plays the 24p content rock steady. Any ideas how to diagnose and fix this issue.
Before anyone asks why not just use LibreELEC, it has other issues and I'd like a full Linux install that's not locked down.
Thanks.
Posts: 713
Joined: Aug 2009
Reputation:
164
Thanks, I'll start from scratch tomorrow and do an install of Ubuntu 21.10. If the problem persists, I'll post logs and a sample file.
Posts: 14,213
Joined: Nov 2009
Reputation:
707
Klojum
Lost connection
Posts: 14,213
In case you don't know yet, 22.04 will be out in 8 days or so. Installing 21.10 first will be a bit of a waste IMO, unless you don't mind the fiddling with OSes.
You can already install its beta, it will fully update to the final. I doubt if much will change in the upcoming week.
Posts: 713
Joined: Aug 2009
Reputation:
164
Ok, I'll try the 22.04 beta and see if I have any luck with that. Thanks
Posts: 14,213
Joined: Nov 2009
Reputation:
707
Klojum
Lost connection
Posts: 14,213
2022-04-14 08:41:32.143 T:5109 INFO <general>: XRANDR: /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr --screen 0 --output HDMI-2 --mode 0x57
Are you running two monitors on your J4125 setup? Because that will affect the video performance, even with bigger PC's with discrete gfx cards like Nvidia.
I ran the sample video on Ubuntu here with MPV and it had only a couple of small hiccups here and there, probably from something in the background. I have a pretty busy Office setup on my J5005. And with Kodi it had the same effect.
Enabling the Sync playback to display option seems to soften the scrolling but also aggravates any hiccups a bit. Disabling it seems to mask it better. Or perhaps I'm not intentionally looking so hard for micro hiccups.
Obviously LibreELEC has no 'background noise' from things like printer spoolers or other processes for network or applications, hence probably your smooth(er) experience there.
Posts: 14,213
Joined: Nov 2009
Reputation:
707
Klojum
Lost connection
Posts: 14,213
2022-04-14, 18:35
(This post was last modified: 2022-04-14, 18:38 by Klojum.)
Interesting indeed. I did have to add the following config line to have my J5005 display h265 videos correctly in Ubuntu, and something similar in LibreELEC.
export LIBVA_DRIVER_NAME="i965"
Perhaps replacing the whole driver in Ubuntu will also be necessary for me with 22.04. We'll see soon.
Thread marked solved.