sound disappears on mx23.1 using kodi and vlc

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
django013
Posts: 185
Joined: Sat Feb 11, 2023 3:25 am

Re: sound disappears on mx23.1 using kodi and vlc

#11 Post by django013 »

dolphin_oracle wrote: Sat Nov 25, 2023 3:24 pm ... easiest way to test that is to see if your audio disappears while using systemd.

OK, I started system using systemd - same behaviour with different timings
dolphin_oracle wrote: Sat Nov 25, 2023 3:24 pm also presuming that the audio is supposed to come out the HDMI cable. when the sound drops away, is a different output selected in pavucontrol, and is the HDMI still available as a choice if so?
pavucontrol is unchanged after disapearing sound.

I have to admit, that I changed /etc/pulse/default.pa where I disabled module switch:

Code: Select all

#load-module module-switch-on-port-available
... and enabled this:

Code: Select all

load-module module-alsa-sink
With this changes, every alsa-sink appears as selectable in pavucontrol (some sinks have the addition "not available"), but this list remains unchanged on sound disappearing or reappearing
MC: ASUS PRIME A320M-K, AMD Ryzen 5 3600, NVIDIA Quadro P400
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER

User avatar
Stevo
Developer
Posts: 14522
Joined: Fri Dec 15, 2006 7:07 pm

Re: sound disappears on mx23.1 using kodi and vlc

#12 Post by Stevo »

Your hardware is supported by the stock Debian 6.1 kernel, so can you install and run kodi and vlc on that kernel to see if that makes any difference?
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
swarfendor437
Posts: 30
Joined: Fri Sep 16, 2022 5:23 pm

Re: sound disappears on mx23.1 using kodi and vlc

#13 Post by swarfendor437 »

How was KODI and VLC installed? I've discovered issues with apps on another KDE distro that uses snap and flatpak heavily. Using Synaptic Package Manager resolved my issue of AisleRiot Solitaire crashing on launch with the Snap version, no issues with the Apt install via Synaptic. I noticed in the terminal screenshot about failure to connect to Jackxxx, Perhaps you need to install Jack packages via Synaptic. I also prefer ALSA over Pulse Audio, so much so that on another distro I disabled it by creating a Pulseoff folder in /etc and dragging Pulse folder into it. Then installed all ALSA packages except for OSS and Jack (You only need Jack normally if you use multiple audio devices. Also installed Qasconfig, Qasctrl, and Qasmixer.

django013
Posts: 185
Joined: Sat Feb 11, 2023 3:25 am

Re: sound disappears on mx23.1 using kodi and vlc

#14 Post by django013 »

Stevo wrote: Sun Nov 26, 2023 11:20 pm Your hardware is supported by the stock Debian 6.1 kernel, so can you install and run kodi and vlc on that kernel to see if that makes any difference?
I bootet with kernel 6.1 and it made no difference. Sound disappeard faster than with other kernels and did not come back.
How was KODI and VLC installed?
I used MX package manager (debian packages)
I noticed in the terminal screenshot about failure to connect to Jackxxx ...
I noticed the same. Don't know, why kody tries to connect to jack.
From compiling kodi I know, that kody relies on pipewire, which is supposed to be a replacement for jack ...
I also prefer ALSA over Pulse Audio ...
I don't care for type of audio system. Whatever works would be fine for me.
I would prefer a system, that can be statically configured and setup, without udev, cable or edid checking, whatever.
Tell the system, what drivers should be loaded and then use that system.

On my mediacenter I don't like experiments or kidding - my hardware would not change, so the system has no need to enable dynamic changes.
My amp supports any audioformat I have, so passthrough should work for any streams.

If someone knows how to do a static setup, any hint will be appreciated a lot!
MC: ASUS PRIME A320M-K, AMD Ryzen 5 3600, NVIDIA Quadro P400
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER

User avatar
j2mcgreg
Global Moderator
Posts: 6717
Joined: Tue Oct 23, 2007 12:04 pm

Re: sound disappears on mx23.1 using kodi and vlc

#15 Post by j2mcgreg »

Your lack of a swap partition is cause for concern. There are a lot of folks touting the idea that with enough ram available you can forgo creating a swap partition or file, but the reality is that some applications still expect it to be there (even though it may never be used) and can give unpridictable results when swap space is not present. The good news is that you can add a swap file at any time and here’s how:

https://www.digitalocean.com/community/ ... -debian-11
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
Stevo
Developer
Posts: 14522
Joined: Fri Dec 15, 2006 7:07 pm

Re: sound disappears on mx23.1 using kodi and vlc

#16 Post by Stevo »

Another experiment would be to run the Live session of the ISO that MX was installed from, update VLC and maybe Kodi (don't think bookworm has done any upgrades of Kodi, though) and then see if the same problems occur in the live session.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

django013
Posts: 185
Joined: Sat Feb 11, 2023 3:25 am

Re: sound disappears on mx23.1 using kodi and vlc

#17 Post by django013 »

Are there no logging/debug options that could be turned on to get more meaningful output that could be used to narrow down the cause?
MC: ASUS PRIME A320M-K, AMD Ryzen 5 3600, NVIDIA Quadro P400
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER

User avatar
Stevo
Developer
Posts: 14522
Joined: Fri Dec 15, 2006 7:07 pm

Re: sound disappears on mx23.1 using kodi and vlc

#18 Post by Stevo »

Something that's pretty quick is to install our indicator-sound-switcher and see if you can redirect the sound to your preferred output if you have a choice in its options. You could also look in VLC's Tools/Preferences/Audio and see if switching that from Automatic to manually point to what you want might fix it. VLC's "Automatic" has been known to have issues before.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

Post Reply

Return to “MX KDE Official Release”