Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no audio out with Raspberry Pi OS Lite #79

Closed
sulmfish opened this issue May 19, 2021 · 5 comments
Closed

no audio out with Raspberry Pi OS Lite #79

sulmfish opened this issue May 19, 2021 · 5 comments

Comments

@sulmfish
Copy link

I installed dab-cmdline example 2 on a Raspberry Pi 3B with Raspberry Pi OS Lite (headless) as described in the related documentation. I got it working but there is no audio out. I can generate an audio file with option -O, but it sounds horrible (at least with omxplayer). But no audio out with OS Lite and from remote terminal.
If I install it based on the Raspberry Pi Desktop OS and start example 2 from Desktop, everything is fine. Installation via remote terminal is exactly the same.
Do I have to install any additional libraries? Any idea?

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented May 19, 2021 via email

@sulmfish
Copy link
Author

I found the solution: In the standard Raspberry Pi OS (with desktop) pulseaudio is installed and is started automatically after boot. In the Rapsberry Pi OS Lite (which is without desktop) pulseaudio is not installed. So "sudo apt-get install pulseaudio" is the solution and pulseaudio must be started before dab-cmdline by "pulseaudio --daemonize" for example.

@andimik
Copy link
Contributor

andimik commented May 20, 2021

@sulmfish

Good hint. Maybe it's worth to mention it in the Readme.

@sulmfish
Copy link
Author

By the way: I didn't need "sudo apt-get install mesa-common-dev" and "sudo apt-get install libgl1-mesa-dev". I think these are installed with pulseaudio.

@sulmfish
Copy link
Author

One thing to mention belonging to Raspberry Pi OS Lite: I had to "sudo dpkg-reconfigure locales". I always selected en_GB.UTF8, en_US.UTF8 and de_DE.UTF8. Probably too much, but it worked.
This can be done also via raspi-config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants