distrobox icon indicating copy to clipboard operation
distrobox copied to clipboard

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

Open Dunard opened this issue 1 year ago • 2 comments

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

Dunard avatar May 05 '24 09:05 Dunard

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

Dunard avatar May 06 '24 01:05 Dunard

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?

shocklateboy92 avatar May 16 '24 20:05 shocklateboy92

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. :)

Dunard avatar May 18 '24 03:05 Dunard

Thanks for investigating @Dunard I'll close this, as I've documented your missing package

89luca89 avatar Jun 18 '24 15:06 89luca89