Hallo,
ich habe da ein Problem wenn ich z.B. ein youtube Video abspiele und anschließend den vdr aus dem suspend Modus erwecke, die
Sounddevice immer belegt ist. Wie bekomme ich das geregelt, dass mehrere Anwendungen gleichzeitig die Soundkarte nutzen können.
Jedenfalls ging es noch mit der vorherigen Fedora33 Version, jetzt habe ich Fedora 34 mit Pulseaudio/Pipewire
softhddevice Einstellung
Meldungen in der Logdatei bzgl. belegter Sounddevice
Code
[root@fc34 vdr]# journalctl -xe
Mai 13 16:00:53 fc34 vdr[3506]: [3526] SVDRP fc34 < 127.0.0.1:44946 client connection accepted
Mai 13 16:00:53 fc34 vdr[3506]: [3526] SVDRP fc34 > 127.0.0.1:44946 server created
Mai 13 16:00:53 fc34 vdr[3506]: [3526] SVDRP fc34 < 127.0.0.1:44946 connection closed
Mai 13 16:00:53 fc34 vdr[3506]: [3526] SVDRP fc34 < 127.0.0.1:44946 server destroyed
Mai 13 16:00:55 fc34 vdr[3506]: [3526] SVDRP fc34 < 127.0.0.1:44948 client connection accepted
Mai 13 16:00:55 fc34 vdr[3506]: [3526] SVDRP fc34 > 127.0.0.1:44948 server created
Mai 13 16:00:55 fc34 vdr[3506]: audio: 'alsa' output module used
Mai 13 16:00:55 fc34 vdr[3506]: audio/alsa: playback open 'hw:0,0' error: Das Gerät oder die Ressource ist belegt
Mai 13 16:00:55 fc34 vdr[3506]: audio/alsa: can't open mixer 'default'
Mai 13 16:00:55 fc34 vdr[3506]: audio: 44100Hz supports 0 0 0 0 0 0 0 0 channels
Mai 13 16:00:55 fc34 vdr[3506]: audio: 48000Hz supports 0 0 0 0 0 0 0 0 channels
Mai 13 16:00:55 fc34 vdr[3506]: audio: 192000Hz supports 0 0 0 0 0 0 0 0 channels
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: VDPAU API version: 1
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: VDPAU information: NVIDIA VDPAU Driver Shared Library 465.27 Thu Apr 22 23:11:23 UTC 2021
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: highest supported high quality scaling 1
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: feature deinterlace temporal supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: feature deinterlace temporal spatial supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: attribute skip chroma deinterlace supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: 4:2:0 chroma format with 8192x8192 supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: 4:2:2 chroma format with 8192x8192 supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: 4:4:4 chroma format with 8192x8192 supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: 8bit BGRA format with 32768x32768 supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: 10bit RGBA format with 32768x32768 supported
Mai 13 16:00:55 fc34 vdr[3506]: video/vdpau: created osd output surface 1680x1050 with id 0x0000000a
Mai 13 16:00:55 fc34 vdr[3506]: [3526] SVDRP fc34 < 127.0.0.1:44948 connection closed
Mai 13 16:00:55 fc34 vdr[3506]: [3526] SVDRP fc34 < 127.0.0.1:44948 server destroyed
Mai 13 16:00:55 fc34 systemd[1624]: app-glib-Start\x20VDR-3660.scope: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Mai 13 16:00:56 fc34 vdr[3506]: [3506] switching to channel 17 S19.2E-1-1101-28106 (Das Erste)
Mai 13 16:00:56 fc34 vdr[3506]: [3671] device 1 receiver thread started (pid=3506, tid=3671, prio=high)
Mai 13 16:00:56 fc34 vdr[3506]: [3672] device 1 TS buffer thread started (pid=3506, tid=3672, prio=high)
Mai 13 16:00:57 fc34 vdr[3506]: video: get hwaccel context, not supported
Mai 13 16:00:57 fc34 vdr[3506]: video/vdpau: can't render mixer: An invalid handle value was provided.
Mai 13 16:00:57 fc34 vdr[3506]: video/vdpau: can't render mixer: An invalid handle value was provided.
Mai 13 16:00:57 fc34 vdr[3506]: video/vdpau: can't render mixer: An invalid handle value was provided.
Mai 13 16:00:57 fc34 vdr[3506]: video/vdpau: can't render mixer: An invalid handle value was provided.
Mai 13 16:00:57 fc34 vdr[3506]: video/vdpau: can't render mixer: An invalid handle value was provided.
Mai 13 16:00:57 fc34 vdr[3506]: audio: 2 channels unsupported
Mai 13 16:00:57 fc34 vdr[3506]: video/vdpau: can't render mixer: An invalid handle value was provided.
Display More
Auflisten der Ausgabegeräte
Code
[martin@fc34 ~]$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC892 Analog [ALC892 Analog]
Sub-Geräte: 0/1
Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 1: ALC892 Digital [ALC892 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 9: HDMI 3 [HDMI 3]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 10: HDMI 4 [HDMI 4]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 2: USB [Scarlett 2i2 USB], Gerät 0: USB Audio [USB Audio]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
[martin@fc34 ~]$ pw-cat -p --list-targets
Available targets ("*" denotes default): alsa_output.pci-0000_00_1b.0.analog-stereo
* 39: description="Internes Audio Analog Stereo" prio=1009
41: description="Focusrite Scarlett 2i2 2nd Gen Analog Stereo" prio=881
55: description="GP108 High Definition Audio Controller Digital Stereo (HDMI)" prio=632
[martin@fc34 ~]$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, ALC892 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
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
hdmi:CARD=NVidia,DEV=4
HDA NVidia, HDMI 4
HDMI Audio Output
sysdefault:CARD=USB
Scarlett 2i2 USB, USB Audio
Default Audio Device
front:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
Front output / input
surround21:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
IEC958 (S/PDIF) Digital Audio Output
Display More