module-udev-detect does not detect virtio-snd card recognised by ALSA
Warning
Missing data may cause bugs to languish.
Summary
module-udev-detect does not detect virtio-snd card recognised by ALSA
environment
Check to see if you have pa-info installed by running which pa-info
If yes please run it
If no please download and run https://gitlab.freedesktop.org/pulseaudio/pulseaudio/blob/master/src/utils/pa-info
Attach the output to this bug report as pa-info.txt
Steps to reproduce
distrobox create --image quay.io/fedora/fedora-toolbox:40 --name test-krun --volume ~/.config/pulse
distrobox enter test-krun
-
sudo dnf copr enable teohhanhui/asahi-krun sudo dnf --best install alsa-lib alsa-plugins-pulseaudio dhclient libkrun passt pipewire-libs pulseaudio pulseaudio-libs pulseaudio-utils sommelier virglrenderer xorg-x11-server-Xwayland --exclude pipewire cd ~/Downloads git clone https://github.com/slp/krun.git cd krun curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh . ~/.cargo/env sudo dnf group install c-development sudo dnf install clang-devel libkrun-devel llvm-devel cargo build --release sudo cp target/release/krun{,-guest} /usr/local/bin/ sudo chown -R $USER: ~/.config/pulse
krun bash
-
mkdir -p ${XDG_RUNTIME_DIR}/pulse rm -f ${XDG_RUNTIME_DIR}/pulse/pid pulseaudio --exit-idle-time=-1 -vv
What is the current bug behavior?
I: [pulseaudio] module-udev-detect.c: Found 0 cards.
What is the expected correct behavior?
module-udev-detect
should detect the virtio-snd card which is recognised by ALSA and working:
speaker-test -Dsysdefault:CARD=SoundCard -t wav -c 2
works