Masaru Nomiya composed on 2024-10-02 19:38 (UTC+0900):
Felix Miata has written:
FM> Masaru Nomiya composed on 2024-10-02 15:32 (UTC+0900):
MN>> The key is in the installation of the pipewire file group, and the MN>> most important thing is to install the jack related files MN>> correctly. The correct installation status is shown below; [...] MN>> libpulse0-17.0-3.7.x86_64 MN>> pulseaudio-utils-17.0-3.7.x86_64 MN>> libpulse-mainloop-glib0-17.0-3.7.x86_64
FM> I tried matching this on a 15.5/KDE3 installation. This was as FM> much as I could come up with:
FM> # inxi -ASaz --vs --za --hostname FM> inxi 3.3.36-00 (2024-09-04) FM> System: FM> Host: p5bse Kernel: 5.14.21-150500.55.80-default arch: x86_64 bits: 64 FM> compiler: gcc v: 7.5.0 clocksource: tsc avail: hpet,acpi_pm FM> parameters: root=LABEL=<filter> ipv6.disable=1 net.ifnames=0 noresume FM> consoleblank=0 mitigations=off FM> Console: pty pts/4 wm: kwin DM: 1: KDM 2: XDM Distro: openSUSE Leap 15.5 FM> Audio: FM> Device-1: NVIDIA GK107 HDMI Audio vendor: ZOTAC driver: snd_hda_intel FM> v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 FM> chip-ID: 10de:0e1b class-ID: 0403 FM> API: ALSA v: k5.14.21-150500.55.80-default status: kernel-api FM> tools: alsactl,alsamixer,amixer FM> Server-1: PipeWire v: 0.3.64 status: active with: 1: pipewire-pulse FM> status: off 2: wireplumber status: active 3: pipewire-alsa type: plugin FM> 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl FM> # zypper --no-refresh se -s -i $* | grep -Ev 'debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort# zypsei pipew pulse jack alsa FM> i+ | alsa-firmware | package | 1.2.4-1.41 | noarch | OSS FM> i | alsa | package | 1.2.8-150500.1.1 | x86_64 | OSS FM> i | alsa-plugins | package | 1.2.7.1-150500.1.1 | x86_64 | OSS FM> i | alsa-plugins-speexrate | package | 1.2.7.1-150500.1.1 | x86_64 | OSS FM> i | alsa-plugins-upmix | package | 1.2.7.1-150500.1.1 | x86_64 | OSS FM> i+ | alsa-topology-conf | package | 1.2.5-150400.1.5 | noarch | OSS FM> i | alsa-ucm-conf | package | 1.2.8-150500.1.1 | noarch | OSS FM> i | alsa-utils | package | 1.2.8-150500.1.2 | x86_64 | OSS FM> i+ | gstreamer-plugin-pipewire | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i | libpipewire-0_3-0 | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i | libpulse0 | package | 15.0-150400.4.4.1 | x86_64 | UpdateSLE FM> i | libpulse-mainloop-glib0 | package | 15.0-150400.4.4.1 | x86_64 | UpdateSLE FM> i+ | pipewire-alsa | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i+ | pipewire-libjack-0_3 | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i+ | pipewire-modules-0_3 | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i+ | pipewire-module-x11-0_3 | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i | pipewire | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i+ | pipewire-pulseaudio | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i | pipewire-spa-plugins-0_2 | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i | pipewire-spa-tools | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i+ | pipewire-tools | package | 0.3.64-150500.3.5.2 | x86_64 | UpdateSLE FM> i | pulseaudio-setup | package | 15.0-150400.4.4.1 | x86_64 | UpdateSLE FM> i | pulseaudio-utils | package | 15.0-150400.4.4.1 | x86_64 | UpdateSLE FM> #
FM> Other packages either don't exist, or conflict with those you listed. FM> Also, just logging in causes a KNotify Crash Handler popup with signal FM> 11 (SIGSEGV). It also caused loss of KDE3 system sounds, and KMix is FM> still impotent for volume control, while it works for muting.
All these are old packages...
I was expecting 15.6, except for Tumbleweed.
Anyway, if you're not using Dragonfly and are using Mverb2020, this combination is fine.
I don't know anything about either one: # zypper --no-refresh se -s Mverb2020 | grep -v '32bit|debug|devel|srcp|openSUSE-20' | egrep 'x86|noarch'| sort -f #
In relation to your problems, please show the results of the following;
1. $ ls -l /etc/systemd/user
# ls -l /etc/systemd/user total 6 drwxr-xr-x 2 root root 1024 Mar 9 2024 pipewire-pulse.service.d drwxr-xr-x 2 root root 1024 Mar 9 2024 pipewire-pulse.socket.d drwxr-xr-x 2 root root 1024 Mar 9 2024 pipewire.service.d drwxr-xr-x 2 root root 1024 Mar 14 2023 pipewire.service.wants lrwxrwxrwx 1 root root 41 Mar 14 2023 pipewire-session-manager.service -> /usr/lib/systemd/user/wireplumber.service drwxr-xr-x 2 root root 1024 Mar 9 2024 pipewire.socket.d drwxr-xr-x 2 root root 1024 Oct 2 05:27 sockets.target.wants
2. $ ls -l /etc/alsa/config.d
# ls -l /etc/alsa/config.d ls: cannot access '/etc/alsa/config.d': No such file or directory #
3. $ cat ~/.asoundrc
No such file or directory
4. $ systemctl --user status pipewire-pulse
# systemctl --user status pipewire-pulse.{service,socket} ○ pipewire-pulse.service - PipeWire PulseAudio Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/user/pipewire-pulse.service.d └─override.conf Active: inactive (dead) TriggeredBy: ● pipewire-pulse.socket ● pipewire-pulse.socket - PipeWire PulseAudio Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; vendor preset: enabled) Drop-In: /etc/systemd/user/pipewire-pulse.socket.d └─override.conf Active: active (listening) since Sun 2024-10-06 17:32:02 EDT; 14min ago Triggers: ● pipewire-pulse.service Listen: /run/user/0/pulse/native (Stream) CGroup: /user.slice/user-0.slice/user@0.service/app.slice/pipewire-pulse.socket Oct 06 17:32:02 p5bse systemd[745]: Listening on PipeWire PulseAudio. #
5. $ pactl info
# pactl info Server String: /run/user/0/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 54 Tile Size: 65472 User Name: root Host Name: p5bse Server Name: PulseAudio (on PipeWire 0.3.64) Server Version: 15.0.0 Default Sample Specification: float32le 2ch 48000Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_01_00.1.hdmi-stereo Default Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor Cookie: 5f7d:c48f #
6. pipewire environbment settings
# set | grep -i ewire # Script I use for status checking status follows: # alsactl info # # Sound card # - card: 0 id: NVidia name: HDA NVidia longname: HDA NVidia at 0xefefc000 irq 17 driver_name: HDA-Intel mixer_name: Nvidia GPU 42 HDMI/DP components: HDA:10de0042,19da1258,00100100 controls_count: 28 pcm: - stream: PLAYBACK devices: - device: 3 id: HDMI 0 name: K272HUL subdevices: - subdevice: 0 name: subdevice #0 - device: 7 id: HDMI 1 name: HDMI 1 subdevices: - subdevice: 0 name: subdevice #0 - device: 8 id: HDMI 2 name: HDMI 2 subdevices: - subdevice: 0 name: subdevice #0 - device: 9 id: HDMI 3 name: HDMI 3 subdevices: - subdevice: 0 name: subdevice #0 # wpctl status PipeWire 'pipewire-0' [0.3.64, root@p5bse, cookie:1602077839] └─ Clients: 33. WirePlumber [0.3.64, root@p5bse, pid:1067] 34. WirePlumber [export] [0.3.64, root@p5bse, pid:1067] 45. wpctl [0.3.64, root@p5bse, pid:1391] Audio ├─ Devices: │ 39. GK107 HDMI Audio Controller [alsa] │ ├─ Sinks: │ * 40. GK107 HDMI Audio Controller Digital Stereo (HDMI) [vol: 0.66] │ ├─ Sink endpoints: │ ├─ Sources: │ ├─ Source endpoints: │ └─ Streams: Video ├─ Devices: │ ├─ Sinks: │ ├─ Sink endpoints: │ ├─ Sources: │ ├─ Source endpoints: │ └─ Streams: Settings └─ Default Configured Node Names: # pw-cli list-objects Device id 39, type PipeWire:Interface:Device/3 object.serial = "41" factory.id = "14" client.id = "34" device.api = "alsa" device.description = "GK107 HDMI Audio Controller" device.name = "alsa_card.pci-0000_01_00.1" device.nick = "HDA NVidia" media.class = "Audio/Device" # pw-cli list-objects Node id 29, type PipeWire:Interface:Node/3 object.serial = "29" factory.id = "10" priority.driver = "20000" node.name = "Dummy-Driver" id 30, type PipeWire:Interface:Node/3 object.serial = "30" factory.id = "10" priority.driver = "19000" node.name = "Freewheel-Driver" id 36, type PipeWire:Interface:Node/3 object.serial = "38" factory.id = "10" client.id = "34" node.name = "Midi-Bridge" media.class = "Midi/Bridge" id 40, type PipeWire:Interface:Node/3 object.serial = "42" object.path = "alsa:pcm:0:hdmi:0:playback" factory.id = "18" client.id = "34" device.id = "39" priority.session = "696" priority.driver = "696" node.description = "GK107 HDMI Audio Controller Digital Stereo (HDMI)" node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo" node.nick = "K272HUL" media.class = "Audio/Sink" # aplay -lL null Discard all samples (playback) or generate zero samples (capture) speexrate Rate Converter Plugin Using Speex Resampler pipewire PipeWire Sound Server upmix Plugin for channel upmix (4,6,8) default Default ALSA Output (currently PipeWire Media Server) hdmi:CARD=NVidia,DEV=0 HDA NVidia, K272HUL 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 **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], device 3: HDMI 0 [K272HUL] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 # systemctl -l --no-pager --global --user status pipewire.{service,socket} pipewire-pulse.{service,socket} wireplumber ● pipewire.service - PipeWire Multimedia Service Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/user/pipewire.service.d └─override.conf Active: active (running) since Sun 2024-10-06 17:32:12 EDT; 5min ago TriggeredBy: ● pipewire.socket Main PID: 1066 (pipewire) Tasks: 3 (limit: 4672) CGroup: /user.slice/user-0.slice/user@0.service/session.slice/pipewire.service └─ 1066 /usr/bin/pipewire Oct 06 17:32:12 p5bse systemd[745]: Started PipeWire Multimedia Service. ● pipewire.socket - PipeWire Multimedia System Socket Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; vendor preset: enabled) Drop-In: /etc/systemd/user/pipewire.socket.d └─override.conf Active: active (running) since Sun 2024-10-06 17:32:02 EDT; 5min ago Triggers: ● pipewire.service Listen: /run/user/0/pipewire-0 (Stream) CGroup: /user.slice/user-0.slice/user@0.service/app.slice/pipewire.socket Oct 06 17:32:02 p5bse systemd[745]: Listening on PipeWire Multimedia System Socket. ○ pipewire-pulse.service - PipeWire PulseAudio Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/user/pipewire-pulse.service.d └─override.conf Active: inactive (dead) TriggeredBy: ● pipewire-pulse.socket ● pipewire-pulse.socket - PipeWire PulseAudio Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; vendor preset: enabled) Drop-In: /etc/systemd/user/pipewire-pulse.socket.d └─override.conf Active: active (listening) since Sun 2024-10-06 17:32:02 EDT; 5min ago Triggers: ● pipewire-pulse.service Listen: /run/user/0/pulse/native (Stream) CGroup: /user.slice/user-0.slice/user@0.service/app.slice/pipewire-pulse.socket Oct 06 17:32:02 p5bse systemd[745]: Listening on PipeWire PulseAudio. ● wireplumber.service - Multimedia Service Session Manager Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2024-10-06 17:32:12 EDT; 5min ago Main PID: 1067 (wireplumber) Tasks: 4 (limit: 4672) CGroup: /user.slice/user-0.slice/user@0.service/session.slice/wireplumber.service └─ 1067 /usr/bin/wireplumber Oct 06 17:32:12 p5bse systemd[745]: Started Multimedia Service Session Manager. Oct 06 17:32:13 p5bse wireplumber[1067]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner # I follow that with this script to check what basics work: # cat /usr/local/bin/Apa #!/bin/bash echo "# aplay /usr/local/share/sound/alsa/test.wav" aplay /usr/local/share/sound/alsa/test.wav echo "#^" && sleep 1 echo "# aplay -D default /usr/local/share/sound/alsa/test.wav && sleep 5" aplay -D default /usr/local/share/sound/alsa/test.wav echo "#^" && sleep 5 echo "# aplay -D hdmi /usr/local/share/sound/alsa/test.wav" aplay -D hdmi /usr/local/share/sound/alsa/test.wav echo "#^" && sleep 1 echo "# aplay -D hdmi:0,0 /usr/local/share/sound/alsa/test.wav" aplay -D hdmi:0,0 /usr/local/share/sound/alsa/test.wav echo "#^" && sleep 1 echo "# aplay -D hdmi:0,1 /usr/local/share/sound/alsa/test.wav" aplay -D hdmi:0,1 /usr/local/share/sound/alsa/test.wav echo "#^" && sleep 1 echo "# aplay -D hw:0,3 /usr/local/share/sound/alsa/test.wav" aplay -D hw:0,3 /usr/local/share/sound/alsa/test.wav echo "#^" && sleep 1 echo "# aplay -D hw:0,7 /usr/local/share/sound/alsa/test.wav" aplay -D hw:0,7 /usr/local/share/sound/alsa/test.wav echo "#^" && sleep 1 # Those echos are so when I log it's easy to mark which worked or not. The sleeps are an attempt to deal with an occasional: aplay: main:850: audio open error: Device or resource busy which usually does not occur when the script or same aplay is quickly repeated. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata