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

[Discussion] Ubuntu 24.04 container - ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave #1374

Open
Dunard opened this issue May 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Dunard
Copy link

Dunard commented May 5, 2024

Screenshot_20240505_045659
How I get this to work? Ubuntu 24.04 container on Fedora 39.

@Dunard Dunard added the bug Something isn't working label May 5, 2024
@Dunard Dunard changed the title [Discussion] Ubuntu 24.04 ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave [Discussion] Ubuntu 24.04 container - ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave May 5, 2024
@Dunard
Copy link
Author

Dunard commented May 6, 2024

distrobox create --name ubuntu2404 --init --image ubuntu:24.04 --additional-packages "systemd libpam-systemd"

distrobox enter ubuntu2404

sudo apt -y full-upgrade

sudo apt install gweled

gweled

@shocklateboy92
Copy link

Okay, I ran into the same issue on Arch Linux and figured out the solution.

The issue is that I (and presumably Fedora, by default) use pipewire as the audio server, but the default ubuntu image isn't configured to do so.

If you follow these 2 steps inside the container to configure alsa to default to using the pipewire alsa module, it'll work.

Does the distrobox team own these images? Can they include this config by default?

@Dunard
Copy link
Author

Dunard commented May 18, 2024

Thanks. Just need this. sudo apt install pipewire-audio-client-libraries
Switched to Ubuntu 23.10 because of the update will download the beta game version. beta game got a bug that will crash.
The game found it. Audio driver chosen: ALSA
Added this to my notes.

Fedora 38 no sounds issue. I tested this while back. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants