Arch Linux no sound with Kodi 21 because of default to pipewire - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Arch Linux no sound with Kodi 21 because of default to pipewire (/showthread.php?tid=377464) |
Arch Linux no sound with Kodi 21 because of default to pipewire - muncrief - 2024-05-10 I've seen similar reports to this one but couldn't find a thread not related to flatpak so I'm creating a new thread. The problem is that Kodi 21 now defaults to pipewire so there's no sound, and it freezes when trying to exit so it has to be killed from the command line. I've spent about 3 hours trying to debug the problem and get it to work, but even running it with "--audio-backend=pulseaudio" or "--audio-backend=alsa" doesn't fix the freeze on exit problem, though the sound does work with those options. About half those hours were spent uninstalling pulseaudio and getting pipewire to work, but even then the freezing problem still occurs with a pipewire unlocking problem. So for now it doesn't look like Kodi 21 can work on Arch Linux. And since there are a lot of reports with errors with pipewire in general for other programs, including locking problems, I uninstalled most of pipewire and reinstalled pulseaudio. However Arch now has dependencies that require pipewire and libpipewire to be installed even though they're not used, so that may be why Kodi now thinks they're the default. However they don't cause problems with pulseaudio with other programs, so it appears there's something broken with Kodi audio. RE: Arch Linux no sound with Kodi 21 because of default to pipewire - Neo1973 - 2024-05-10 I guess you are confused because of this line: Code:
Quote:So for now it doesn't look like Kodi 21 can work on Arch Linux. And since there are a lot of reports with errors with pipewire in general for other programs, including locking problems, I uninstalled most of pipewire and reinstalled pulseaudio.Kodi works just fine on Arch, be it native or with the Flatpak. Use PulseAudio or PipeWire, both work. If there are problems specific to your setup we need a debug log: https://kodi.wiki/view/Log_file/Easy RE: Arch Linux no sound with Kodi 21 because of default to pipewire - muncrief - 2024-05-10 Here is the debug log with pipewire installed: https://paste.kodi.tv/fijahalaya.kodi By the way, I saw some notices about LazyTV and VersionCheck in the log so I tried disabling them but it didn't change anything. Kodi also outputs a debug log sometimes and I could send that as well if you wish. EDIT: I uninstalled pipewire and reinstalled pulseaudio, but mousepad is still segfaulting and was updated on May 1st so it probably has nothing to do with pipewire. In any case I started Kodi with --audio-backend=pulseaudio and here is the debug log: https://paste.kodi.tv/xoferiyihi.kodi I started it from the command line and it output a segfault at exit - "/usr/bin/kodi: line 215: 16641 Segmentation fault ${KODI_BINARY} ${ENV_ARGS} $SAVED_ARGS" Let me know if you need any other logs or debugging steps. I'm happy to help. RE: Arch Linux no sound with Kodi 21 because of default to pipewire - Neo1973 - 2024-05-11 (2024-05-10, 22:12)muncrief Wrote: I started it from the command line and it output a segfault at exit - "/usr/bin/kodi: line 215: 16641 Segmentation fault ${KODI_BINARY} ${ENV_ARGS} $SAVED_ARGS"Without seeing the stack trace it's not guaranteed it's the same problem but most likely it's Python, see https://github.com/xbmc/xbmc/issues/24440 (upstream https://github.com/python/cpython/pull/118618) RE: Arch Linux no sound with Kodi 21 because of default to pipewire - muncrief - 2024-05-11 This certainly looks like the same issue. I worked a bit on creating a patched python version but some things have changed and 2 out of 4 hunks failed. I took a look at the code surrounding the failed hunks and they're considerably different, and since I'm not a python developer I'm probably not going to be able to fix it. But I'm a retired hardware/firmware/software R&D engineer so of course I can't give up and will try a few more things. By the way, I traced the segfault in mousepad to the new glib2-2.80.2 released for CachyOS on May 9th, so it doesn't have anything to do with pipewire. Thankfully I was just able to downgrade to glib2-2.80.0 to fix that. RE: Arch Linux no sound with Kodi 21 because of default to pipewire - jrubenol - 2024-05-17 I just upgraded Manjaro which included an update from Kodi 20 to 21, and appear to be hitting the same problem stated in the subject line. I'm not seeing crashes (at least I don't think) but my audio is defaulting to pipewire and it's the only option available in the audio settings. If I run kodi --audio-backend=pulseaudio, things appear to run correctly. Is this a kodi bug? I want to confirm before submitting on their github bug tracker. RE: Arch Linux no sound with Kodi 21 because of default to pipewire - Neo1973 - 2024-05-17 (2024-05-17, 02:15)jrubenol Wrote: Is this a kodi bug? I want to confirm before submitting on their github bug tracker. It probably is https://github.com/xbmc/xbmc/issues/25002 which will be fixed in Kodi 21.1. |