Hello,
In the Message;
Subject : Re: ALMOST SOLVED: root cannot play sound ???
Message-ID : <20220212140815.GG1071@wahoo.no-ip.org>
Date & Time: Sat, 12 Feb 2022 09:08:15 -0500
[PS] == Patrick Shanahan has written:
[...]
PS>>> 17:53 crash:~ > pidof pipewire
PS>>> 28801 8023
MN> > This seems to be happening more often than not.
PS> yes, when ever root has a sound instance, a pipewire instance is
PS> initiated.
PS> > pidof pipewire
PS> 32068 30775
[...]
MN> > BTW, is everything in /etc/pipewire/pipewire.conf's context.exec
MN> > commented out?
PS> yes, /usr/share/pipewire/pipewire.conf
PS> there is no /etc/pipewire on my tumbleweed systems
If you are not using a sound card with a sampling rate other than
44100Hz, that's fine.
Anyway, I was not convinced, so I installed Tumbleweed
(openSUSE-Tumbleweed-DVD-x86_64-Snapshot20220210)on another PC
and checked it out.
Immediately after installation,
$ pactl info
returned;
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 62
Tile Size: 65472
User Name: masaru
Host Name: linux-frlp
Server Name: PulseAudio
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 44100Hz
[...]
As you see, puseaudio system is working.
Just fo fun, I tried
# pw-play /usr/share/sounds/Oxygen-Sys-Log-In.ogg
To my surprise, it returned the message;
error: pw_context_connect() failed: Host is down
I thought, user can accept that this is a problem with pipewire.
Carlos, a Leap 15.3 user, thinks the same way. In other words, I
believe that the installation media he used is the same configuration
as the Tumbleweed I used.
Anyway, when I started YaST2 and instructed it to install
pipewire-pulseaudio, it showed me other necessary pipewire files and
also told me to remove some pulseaudio related files. But since
pulseaudio-setup was still there, I added it to the list of files to
be removed and let it do its job.
Then. I did;
$ pactl info
returned the same message as above;
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 62
Tile Size: 65472
User Name: masaru
Host Name: linux-frlp
Server Name: PulseAudio
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 44100Hz
[...]
So, I rebooted, and did;
$ pactl info
returens
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 62
Tile Size: 65472
User Name: masaru
Host Name: linux-frlp
Server Name: PulseAudio (on PipeWire 0.3.45)
Server Version: 15.0.0
Default Sample Specification: float16le 2ch 44100Hz
[...]
I couldn't go any further.
That is, somehow, I couldn't configure the sound card in YaST2.
But ... I think I got a hint.
Patrick, please show the resultss of;
1. $ cat /proc/asound/cards
2. $ aplay -L
Regards.
---
┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Three young men died for Rationalization.
Yet, Margaret Bloody Thatcher LIVES!"
'Brassed Off'