(2022-05-05, 22:02)fritsch Wrote: Try to turn off Adjut Refreshrate to match video to rule that out first.
Seems like this new pulseaudio feature to switch between various modes of sinks, which might be retriggered after refreshrate is adjusted.
Thanks,
I set 'Adjust display refresh rate' to off. But nothing seems to have changed. Please see the log:
kodi.log2
Few years ago I installed Ubuntu server then Kodi (based on
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server) and after that minimal Ubuntu GUI packets. After that I upgraded Ubuntu to the newest versions.
Now loging to Ubuntu on my user I have several environment desktop options (Kodi, Openbox, Ubuntu, Ubuntu on Xorg).
Can I switch off pulseaudio for Kodi?
I've tried pasuspender but it seems that kodi is frozen after that:
Code:
ela@akacja:~$ pasuspender kodi
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
^[^CGot SIGINT, exiting.
WARNING: Child process terminated by signal 2
ela@akacja:~$ pasuspender -- env KODI_AE_SINK=ALSA kodi
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
EDIT: Seems I found a solution bypassing pulseaudio.
I have edited and changed /usr/bin/kodi-standalone as in
the instructions and now Kodi can play compressed multichannel content using Alsa instead of PulseAudio.