# We require pipewire-pulse.socket to be active before starting the daemon, because # while it is possible to use the service without the socket, it is not clear # why it would be desirable. # # A user installing pipewire and doing `systemctl --user start pipewire-pulse` # will not get the socket started, which might be confusing and problematic if # the server is to be restarted later on, as the client autospawn feature # might kick in. Also, a start of the socket unit will fail, adding to the # confusion. # # After=pipewire-pulse.socket is not needed, as it is already implicit in the # socket-service relationship, see systemd.socket(5). Requires=pipewire-pulse.socket ConditionUser=!root Wants=pipewire.service wireplumber.service pipewire-media-session.service After=pipewire.service wireplumber.service pipewire-media-session.service Conflicts=pulseaudio.service
@white If your are unable to get pipewire working as root user on your system try any of the multiple other Unix sound systems instead, for example ALSA.
I also tried Ubuntu Studio a while back. It asks you which audio environment you want to use. But the problem is always the same: as soon as I use SUDO, the audio is lost.
I've used at least 10 distributions, including Arch. Same problem with all distributions.
Just as a day well spent brings a happy sleep, so a life well used brings a happy death.
The error is always the same that appears in the qemu window:
Starting exec couldn't open play stream: No such file or directory sndio: failed to open device couldn't open play stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `es1370.dac2' couldn't open rec stream: No such file or directory sndio: failed to open device couldn't open rec stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `es1370.adc' couldn't open play stream: No such file or directory sndio: failed to open device couldn't open play stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `via-ac97.out' couldn't open play stream: No such file or directory sndio: failed to open device couldn't open play stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `via-ac97.out'
Just as a day well spent brings a happy sleep, so a life well used brings a happy death.
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for 0 couldn't open play stream: No such file or directory sndio: failed to open device ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for 0 couldn't open play stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `asc.out'
Thread 1 "qemu-system-m68" received signal SIGSEGV, Segmentation fault. AUD_get_buffer_size_out (sw=0x0) at ../src/audio/audio.c:908 908 return sw->hw->samples * sw->hw->info.bytes_per_frame;
@white - You are the only one with such a problem. - It's not related to QEmu. - It's not related to the AmigaOS 4.x/PPC emulation nor it's audio drivers either. - You should get exactly same problems with anything else trying to play audio as root user, for example "sudo vlc ...". -> Nobody on this forum can help you with your strange Linux system specific problems, try asking for help on Linux forums instead.
@joerg Don't tell me to go to a Linux forum because the problem is related to Qemu emulation for AmigaOS. So I'll try to keep this post updated. If I make further improvements, it'll be fixed. The problem is likely due to the Asus Tuf Gaming B550 integrated audio chipset.
-------------------------------------------------------------- systemctl --user status pipewire pipewire-pulse ● pipewire.service - PipeWire Multimedia Service Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: e> Active: active (running) since Sat 2025-08-23 07:15:36 CEST; 2min 37s ago Invocation: 4e347f644e054b20b7ea9a743606e70e TriggeredBy: ● pipewire.socket Main PID: 3086 (pipewire) Tasks: 3 (limit: 36969) Memory: 6M (peak: 6.7M) CPU: 92ms CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewi> └─3086 /usr/bin/pipewire
ago 23 07:15:36 emulazione systemd[3071]: Started pipewire.service - PipeWire M>
● pipewire-pulse.service - PipeWire PulseAudio Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; pre> Active: active (running) since Sat 2025-08-23 07:15:36 CEST; 2min 37s ago Invocation: ed8984d842a74b2d8c562fd7ebcc212a TriggeredBy: ● pipewire-pulse.socket Main PID: 3092 (pipewire-pulse) Tasks: 3 (limit: 36969) Memory: 3.7M (peak: 5.2M) CPU: 62ms
white@emulazione:~$ pactl info Stringa server: /run/user/1000/pulse/native Versione protocollo libreria: 35 Versione protocollo server: 35 Locale: sì Indice client: 94 Dimensione tile: 65472 Nome utente: white Nome host: emulazione Nome server: PulseAudio (on PipeWire 1.2.7) Versione server: 15.0.0 Specifica di campionamento predefinita: float32le ch 2 48000 Hz Mappa del canale predefinita: front-left,front-right Sink predefinito: alsa_output.pci-0000_08_00.4.analog-stereo Sorgente predefinita: alsa_output.pci-0000_08_00.4.analog-stereo.monitor Cookie: 444e:f2fa
null Discard all samples (playback) or generate zero samples (capture) lavrate Rate Converter Plugin Using Libav/FFmpeg Library samplerate Rate Converter Plugin Using Samplerate Library speexrate Rate Converter Plugin Using Speex Resampler jack JACK Audio Connection Kit oss Open Sound System pipewire PipeWire Sound Server pulse PulseAudio Sound Server speex Plugin using Speex DSP (resample, agc, denoise, echo, dereverb) upmix Plugin for channel upmix (4,6,8) vdownmix Plugin for channel downmix (stereo) with a simple spacialization hw:CARD=NVidia,DEV=3 HDA NVidia, 27G2G4 Direct hardware device without any conversions hw:CARD=NVidia,DEV=7 HDA NVidia, HDMI 1 Direct hardware device without any conversions hw:CARD=NVidia,DEV=8 HDA NVidia, HDMI 2 Direct hardware device without any conversions hw:CARD=NVidia,DEV=9 HDA NVidia, HDMI 3 Direct hardware device without any conversions plughw:CARD=NVidia,DEV=3 HDA NVidia, 27G2G4 Hardware device with all software conversions plughw:CARD=NVidia,DEV=7 HDA NVidia, HDMI 1 Hardware device with all software conversions plughw:CARD=NVidia,DEV=8 HDA NVidia, HDMI 2 Hardware device with all software conversions plughw:CARD=NVidia,DEV=9 HDA NVidia, HDMI 3 Hardware device with all software conversions hdmi:CARD=NVidia,DEV=0 HDA NVidia, 27G2G4 HDMI Audio Output hdmi:CARD=NVidia,DEV=1 HDA NVidia, HDMI 1 HDMI Audio Output hdmi:CARD=NVidia,DEV=2 HDA NVidia, HDMI 2 HDMI Audio Output hdmi:CARD=NVidia,DEV=3 HDA NVidia, HDMI 3 HDMI Audio Output dmix:CARD=NVidia,DEV=3 HDA NVidia, 27G2G4 Direct sample mixing device dmix:CARD=NVidia,DEV=7 HDA NVidia, HDMI 1 Direct sample mixing device dmix:CARD=NVidia,DEV=8 HDA NVidia, HDMI 2 Direct sample mixing device dmix:CARD=NVidia,DEV=9 HDA NVidia, HDMI 3 Direct sample mixing device usbstream:CARD=NVidia HDA NVidia USB Stream Output hw:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog Direct hardware device without any conversions hw:CARD=Generic,DEV=1 HD-Audio Generic, ALCS1200A Digital Direct hardware device without any conversions plughw:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog Hardware device with all software conversions plughw:CARD=Generic,DEV=1 HD-Audio Generic, ALCS1200A Digital Hardware device with all software conversions sysdefault:CARD=Generic HD-Audio Generic, ALCS1200A Analog Default Audio Device front:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog Front output / input surround21:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Digital IEC958 (S/PDIF) Digital Audio Output dmix:CARD=Generic,DEV=0 HD-Audio Generic, ALCS1200A Analog Direct sample mixing device dmix:CARD=Generic,DEV=1 HD-Audio Generic, ALCS1200A Digital Direct sample mixing device usbstream:CARD=Generic HD-Audio Generic USB Stream Output
only with AmigaOS in emulation does this error appear:
Starting exec couldn't open play stream: No such file or directory sndio: failed to open device couldn't open play stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `es1370.dac2' couldn't open rec stream: No such file or directory sndio: failed to open device couldn't open rec stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `es1370.adc' couldn't open play stream: No such file or directory sndio: failed to open device couldn't open play stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `via-ac97.out' couldn't open play stream: No such file or directory sndio: failed to open device couldn't open play stream: No such file or directory sndio: failed to open device audio: Could not create a backend for voice `via-ac97.out'
I guess I have nothing more to add I'll do something else. Now the time has passed and I don't feel like talking anymore.
Just as a day well spent brings a happy sleep, so a life well used brings a happy death.