Posts: 182
Joined: Feb 2015
Reputation:
1
your right I forgot the gpu memory split. However, that along didn't fix the problem. Still have video audio sync issues.
for reference my /boot/config.txt has the following:
disable_overscan=1
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
dtoverlay=vc4-fkms-v3d
gpu_mem=320
hdmi_enable_4kp60=1
Posts: 688
Joined: Feb 2015
Reputation:
21
Ok, so still back to the first problem.
Did you enabled "Sync playback to display" option in Kodi video settings ? And "Adjust display frame rate" or something similar ? If so try with both disabled.
Also notice that Kodi on RPi runs better if you limit the interface to 1080p, see first post of the guide again. There maybe some issues if you leave it at 4K.
Posts: 688
Joined: Feb 2015
Reputation:
21
Try with audio passthrough disabled then. And in 1080p, check your overscan settings on the TV first and if not fixable, on the RPi.
Posts: 182
Joined: Feb 2015
Reputation:
1
I did some digging into my hardware setup. My 4K UHD TV has 2 HDMI connectors. I have a Nvidia Shield TV plugged into one and it is running 3840 x 2160 x 60hz. The other HDMI is connected to my Denon receiver that only puts out 30hz when in 4K mode. This is not normally a problem since my Nvidia Shield TV is the only 4K content I have. When my Rpi 4B is connected to the Denon I set the screen resolution to 1080P 60hz and up to this point Mythtv only displays recorded TV in 1080i or 720P so no issues there. However, Kodi on rpi 4 doesn't work in 4k or HD when set in the system settings. both have audio sync issues.
So I thought I try the newest LibreELEC that has RPi 4 support. That will not work for me long term as I need mythtv backend running under Raspbian buster.
I can get Kodi on LibreELEC working if I use Kodi system settings to change the resolution to 1080p and freq to 60hz from it's default of 4kx30hz. The recorded TV (mpeg2) plays as expected completely in sync. Not sure how to translate that into Kodi 18.4 on Raspbian Buster.
Posts: 688
Joined: Feb 2015
Reputation:
21
Well I am out of ideas then...
In Libreelec, are you talking about the option "Limit GUI size" in system settings or what else ? Does Libreelec also have the audio sync problem if you don't activate/change that option ? I am asking this because, if that's what fixes the problem, I can add the same patch to next Raspbian Buster Kodi build.