Display MoreThe fix in the testbuild is included in this PR: linux (RPi): update to 5.10.4 by HiassofT · Pull Request #4871 · LibreELEC/LibreELEC.tv · GitHub
The problem is that H264 hardware decoding consumes quite a lot of RAM bandwidth and that results in HDMI audio FIFO underrun as audio DMA gets delayed because RAM is busy.
The kernel patch included in the testbuild (and the PR) increases the memory bandwidth for audio DMA which helps a lot, but it looks like a bit more tweaking is needed.
Unfortunately neither kodi nor kernel log will show anything if or when that happened.
As a workaround you can also disable hardware decoding (in player->video settings), software-decoded H264 videos (which was the default in nighty builds until a few weeks ago) don't suffer from the audio dropout issue.
so long,
Hias
nicely found !! thanxz, looking forward to the further tweaks !
I also noticed when DRM Prime decoding is enable the menu button overlay for the (normal) DVD menu's is not showing the highlight (but not with all dvd's)
I modified the DVDVideoCodecDRMPRIME.cpp for test (kodi 18.9 was just fine)
if (!(hints.codecOptions & CODEC_FORCE_SOFTWARE)){
while ((codec = av_codec_iterate(&i)))
{
if (!av_codec_is_decoder(codec))
continue;
if (codec->id != hints.codec)
continue;
const AVCodecHWConfig* config = FindHWConfig(codec);
if (config)
return codec;
}
} else {
if ( hints.codec == 2){
CLog::Log(LOGINFO, "CDVDVideoCodecDRMPRIME::{} return nullptr for codec {}",__FUNCTION__, hints.codec);
return nullptr;
Now the menu is showing normal again...