Closed tonicsoft closed 9 months ago
Honestly I don't know the answer to this but I'm going to guess that installing VLC installs a bunch of the desktop environment maybe including pipewire (I don't know if that turns up in Lite by default) and you are now getting pipewires default config which I'm going to guess defaults to something other than the 3.5mm jack. Uninstalling VLC then doesn't uninstall pipewire. You can test for it being there with pipewire -h
which will produce a simple help test if it exists. You can try changing the audio out with raspi-config.
Thanks for the help, especially the tip that you can configure audio with raspi-config.
It's a new day and I don't know what has changed but I can't reproduce the issue anymore, at least not from a completely freshly imaged SD card. I have a feeling that maybe I confused myself and it was in fact pulseaudio that caused the issues. Anyway, vlc appears to work out of the box, despite error messages about pulseaudio. No idea if this is a good idea to be using VLC in a headless environment, and yes a boatload of extra stuff gets installed (but not pipewire
) but it's working :)
Environment: Raspberry pi 3B, RaspiOS Lite bookworm (latest release as of 9th December 2023)
Issue:
speaker-test -c2
and hear the white noise, confirming that the sound is workingsudo apt-get install vlc
speaker-test -c2
and observe that there is no soundsudo apt remove --purge vlc && sudo apt autoremove
speaker-test -c2
and observe that there is still no soundSome background on my use case: I am trying to use
vlc
to play audio files from a headless raspberry pi. I can't get it to work at all, but the steps above seemed like something specific enough that it might be worth reporting as a bug. I'm sorry if this is completely useless info or if vlc is simply not intended to run on the Lite version of the OS, I don't know anything about Audio.