LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2024, 07:45 PM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Unhappy Pipewire on openSUSE is not working -- no sound at all


I've been trying to get sound on a fairly new Leap 15.6rc install (no updates as of earlier today other than some for Mesa and vlc which I declined) as well as an up-to-date Tumbleweed install to no avail. Both systems are using the ALC887 audio chip on the motherboard. The Leap system has sound but only when the motherboard audio is disabled and then the TU116 chip takes over (routing tinny sound to my monitor via HDMI -- not acceptable).

Audacious, for example, spits out error messages about the "snd_pcm_open" module not being found ("no such file or directory") when trying to use ALSA output. Sure enough... "lsmod | grep snd_pcm_open" doesn't show it's been loaded. "insmod" can't load it either.

I get a popup dialog stating: "Error opening output stream" if I try Pipewire or Pulseaudio output. On the CLI, I'm getting
Code:
$ audacious
ERROR ../src/pipewire/pipewire.cc:310 [init_core]: PipeWireOutput: unable to connect context
Clear as mud that message is.

I'm seeing a lot of references to systemctl being used to manage the pipewire software. Trouble is that I'm not seeing unit files for pipewire on either system.

What is missing in openSUSE's pipewire setup? A dependency of some sort? Frankly, I've run out if ideas.

TIA to anyone who can shed some light on what's going on (or not, as the case seems to be).
 
Old 05-20-2024, 03:33 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,854

Rep: Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149
I upgraded to openSUSE Leap 15.6RC a couple of days ago. No issues with sound here. Let's get an idea about the current sound state.

Hardware, driver(s), and sound server(s) information...
Code:
inxi -Aa
Also show output from...
Code:
systemctl --user list-units | egrep -i "wire|pulse"

Last edited by ferrari; 05-20-2024 at 03:36 AM.
 
Old 05-20-2024, 07:08 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ferrari View Post
I upgraded to openSUSE Leap 15.6RC a couple of days ago. No issues with sound here. Let's get an idea about the current sound state.

Hardware, driver(s), and sound server(s) information...
Code:
inxi -Aa
On System 1:
Code:
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20 class-ID: 0403
  Device-2: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aeb
    class-ID: 0403
  Device-3: AVerMedia Live Streamer CAM 313 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2.2:5
    chip-ID: 07ca:313a class-ID: 0102 serial: 20200416001
  API: ALSA v: k6.4.0-150600.20-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.12 status: n/a (root, process) with: a2jmidid
    status: off tools: jack_control,jack_mixer,qjackctl
  Server-2: PipeWire v: 1.0.5 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
NOTE: This result was after going into the BIOS and re-enabling the onboard analog sound function (the desired situation, BTW). I have to turn this off if I don't want to go nuts with the
Code:
TU116 High Definition Audio Controller Digital Stereo (HDMI)
Built-in High Definition Analog Stereo
messages flashing repeatedly on whatever monitor the mouse happens to be positioned in.

Trying to configure sound via the panel's volume widget is a waste of time. The display twitches so fast you can never hope to make any changes.

For now, I'm disabling the HD audio device in the BIOS. I can easily re-enable ii if a promising solution is suggested.

On System 2:
Code:
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 06:00.1
    chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.8.9-1-default status: kernel-api with: 1: aoss
    type: oss-emulator 2: apulse type: pulse-emulator
    tools: alsactl,alsamixer,amixer
  Server-1: JACK v: N/A status: off tools: jack_control
  Server-2: PulseAudio v: 17.0 status: off with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pamix,pamixer,pavucontrol
I've started to attempt to use this as my music player in the event that System 1 will never work. All of my music files reside on this system anyway. System 1 is/was mounting that filesystem via NFS and that worked fine. (It's the means by which the RPi connected to the big stereo in the living room has been accessing music files for some years.)

In neither system is Audacious able to connect to an audio device. TBH, I've been trying various combinations of packages -- pipewire, jack, pulseaudio -- and nothing seems to get past an "unable to connect"-type error popup message.

Quote:
Also show output from...
Code:
systemctl --user list-units | egrep -i "wire|pulse"
This output is even weirder:

System 1:
Code:
# systemctl --user list-units | egrep -i "pipe|wire"
Failed to connect to bus: No medium found
System 2:
Same error message as above. Bash returned rc = "1".


I hope some of this helps...
 
Old 05-20-2024, 07:45 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,854

Rep: Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149
Quote:
Originally Posted by rnturn View Post
This output is even weirder:

System 1:
Code:
# systemctl --user list-units | egrep -i "pipe|wire"
Failed to connect to bus: No medium found
System 2:
Same error message as above. Bash returned rc = "1".


I hope some of this helps...
Run the command as a regular user (not root).
 
Old 05-20-2024, 07:51 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,854

Rep: Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149
BTW, you made no mention of two systems in your opening post.

System 1 is using Jack concurrently with PipeWire. That might be ok, but I'm not sure.
Code:
Server-1: JACK v: 1.9.12 status: n/a (root, process) with: a2jmidid
    status: off tools: jack_control,jack_mixer,qjackctl
  Server-2: PipeWire v: 1.0.5 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
It might be better to use pipewire-jack (wrapper for pipewire) instead...
Code:
sudo zypper in pipewire-jack

System 2 is using PulseAudio and Jack...
Code:
Server-1: JACK v: N/A status: off tools: jack_control
  Server-2: PulseAudio v: 17.0 status: off with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pamix,pamixer,pavucontrol
 
Old 05-21-2024, 06:18 PM   #6
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ferrari View Post
Run the command as a regular user (not root).
Of course...

System 1:
Code:
$ systemctl --user list-units | egrep -i "pipe|wire"
  pipewire-pulse.service                                                                                                   loaded active running   PipeWire PulseAudio
  pipewire.service                                                                                                         loaded active running   PipeWire Multimedia Service
  wireplumber.service                                                                                                      loaded active running   Multimedia Service Session Manager
  pipewire-pulse.socket                                                                                                    loaded active running   PipeWire PulseAudio
  pipewire.socket                                                                                                          loaded active running   PipeWire Multimedia System Sockets
System 2:
Code:
$ systemctl --user list-units | egrep -i "pipe|wire"
  var-lib-nfs-rpc_pipefs.mount                                                                                               loaded active mounted   /var/lib/nfs/rpc_pipefs
 
Old 05-21-2024, 06:25 PM   #7
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ferrari View Post
BTW, you made no mention of two systems in your opening post.

System 1 is using Jack concurrently with PipeWire. That might be ok, but I'm not sure.
Code:
Server-1: JACK v: 1.9.12 status: n/a (root, process) with: a2jmidid
    status: off tools: jack_control,jack_mixer,qjackctl
  Server-2: PipeWire v: 1.0.5 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
It might be better to use pipewire-jack (wrapper for pipewire) instead...
Code:
sudo zypper in pipewire-jack
That's two different physical systems/boxes. I missed that inxi calls out "servers".
System 2 is using PulseAudio and Jack...
Code:
Server-1: JACK v: N/A status: off tools: jack_control
  Server-2: PulseAudio v: 17.0 status: off with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pamix,pamixer,pavucontrol
Quote:
It might be better to use pipewire-jack (wrapper for pipewire) instead...
Code:
sudo zypper in pipewire-jack
What I get:
Code:
$ sudo zypper install pipewire-jack
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'pipewire-jack' is already installed.
No update candidate for 'pipewire-jack-1.0.5+git36.60deeb2-150600.1.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
NOTE: Sound is working on System 1 but it's using the TU116 card and routing all sound to my tinny monitor speakers via HDMI. If we want to explore solutions using the ALC887 card, please let me know as I'll need to tweak the BIOS, reboot, etc.

Last edited by rnturn; 05-21-2024 at 06:30 PM. Reason: Added note about sound card.
 
Old 05-21-2024, 07:20 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,854

Rep: Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149
Try using pavucontrol ('Configuration' tab) to set the desired card profile.
 
Old 05-22-2024, 02:31 PM   #9
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ferrari View Post
Try using pavucontrol ('Configuration' tab) to set the desired card profile.
Well... that, at least, allowed the TU116 to be disabled and the built-in audio to be selected without a rapid-fire display of sound cards being displayed on the monitors. Still no actual sound output, though.

Pipewire is being used but... Jack-related utilities don't work -- at least jack_mixer doesn't so I can't confirm that there's even a connection to the system sound output like I could with jack+jack_mixer. Carla displays garbage (devices popping in and out of existence and connections to some device that don't even appear on the patch panel). Perhaps I read more into the claims about Pipewire providing all the functionality that Jack provided and it really doesn't. It's frustrating at best.

Q: How do I remove Pipewire completely as a fall-back and allow me to revert back to the Jack+Pulseaudio configuration that was successfully used in my 15.3 setup? Some may see Pipewire as the future but, IMHO, it sure seems as though it ain't ready for prime time yet. (Heck, Pulseaudio's intro was less of a hassle than Pipewire's.)

Sorry to vent but Pipewire's about to give me an ulcer.

Last edited by rnturn; 05-22-2024 at 04:51 PM.
 
Old 05-22-2024, 03:38 PM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,854

Rep: Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149
Quote:
Originally Posted by rnturn View Post
Well... that, at least, allowed the TU116 to be disabled and the built-in audio to be selected without a rapid-fire display of sound cards being displayed on the monitors. Still no actual sound output, though.
Did you set the appropriate output levels, after selecting the desired profile?

Quote:
Pipewire is being used but... Jack-related utilities don't work -- at least jack_mixer doesn't so I can't confirm that there's even a connection to the system sound output like I could with jack+jack_mixer. Carla displays garbage (devices popping in and out of existence and connections to some device that don't even appear on the patch panel). Perhaps I read more into the claims about Pipewire providing all the functionality that Jack provided and it really doesn't. It's frustrating at best.
Yes, I can understand the frustration. For most desktop users, PipeWire works without them even being aware of what is operating under the hood. I doubt if PipeWire is the cause of the issue here. I know nothing about Carla, so can't offer any direct advice. A quick search shows numerous threads discussing issues with it, mostly around configuration.

Just in case this is helpful:
https://forum.endeavouros.com/t/how-...ation/36219/12

Quote:
Q: How do I remove Pipewire completely as a fall-back and allow me to revert back to the Jack+Pulseaudio configuration that was successfully used in my 15.3 setup? Some may Pipewire see as the future but, IMHO, it sure seems as though it ain't ready for prime time yet. (Heck, Pulseaudio's intro was less of a hassle than Pipewire's.)

Sorry to vent but Pipewire's about to give me an ulcer.
That is an incorrect assumption...this is an issue specific to your particular environment, and I suspect the the use of Carla.

You can reinstall PulseAudio with
Code:
sudo zypper in pulseaudio
Follow the prompts given (including the removal of wireplumber and pipewire-pulseaudio).

You can remove PipeWire with
Code:
sudo zypper rm pipewire
Restart your desktop session once done.

Last edited by ferrari; 05-22-2024 at 03:39 PM.
 
Old 05-23-2024, 12:32 AM   #11
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
FWIW, when evaluating audio setup here, in addition to inxi -az, I run a script containing the following:
Code:
echo "# alsactl info"
alsactl info
echo "# wpctl status"
wpctl status
echo "# pw-cli list-objects Device"
pw-cli list-objects Device
echo "# pw-cli list-objects Node"
pw-cli list-objects Node
echo "# aplay -lL"
aplay -lL
echo "# systemctl -l --no-pager --global --user status pipewire.{service,socket} pipewire-pulse.{service,socket} wireplumber"
systemctl -l --no-pager --global --user status pipewire.{service,socket} pipewire-pulse.{service,socket} wireplumber
In addition to that, I have couple of scripts I use to see which outputs result in sound, one for when sound should be going out with the video to a display, the other for when going out the green pin jack to speakers. For the latter it's currently (and identical to the other except that omits this one's last 3 lines):
Code:
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 
echo "# aplay -D plughw /usr/local/share/sound/alsa/test.wav"
aplay -D plughw /usr/local/share/sound/alsa/test.wav
echo "#^"
Those #^ lines are so when I save to disk I can readily use that space to indicate whether there was output and whether KMix was able to affect volume.

This I use to see most of what's installed that affects audio setup, and a bit extra:
Code:
# rpm -qa | egrep 'alsa|arts|audio|codec|demul|fmpeg|gstr|jack|kodi|26[45]|mix|mpv|pavu|puls|sof-f|sound|vlc|wire|xdg'|sort
Some day I hope to find out where the system hides whatever settings a DM uses to decide which device to use as default, as usually there are no less than about 6, and often more than twice that, even though most PCs have one physical analog output, and one (or two, or at most three) digital (HDMI and/or DisplayPort or both or two HDMI or two DisplayPort or two HDMI plus DisplayPort).
 
Old 05-23-2024, 02:11 PM   #12
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ferrari View Post
I know nothing about Carla, so can't offer any direct advice.
Never had any problems with it back in the Jack+Pulse days. I only launched it because jack_mixer doesn't work at all now and I had no simple means of seeing what was connected to what.

Quote:
Just in case this is helpful:
https://forum.endeavouros.com/t/how-...ation/36219/12
Thanks. I'll take a look at that.

Quote:
You can reinstall PulseAudio with
Code:
sudo zypper in pulseaudio
Follow the prompts given (including the removal of wireplumber and pipewire-pulseaudio).

You can remove PipeWire with
Code:
sudo zypper rm pipewire
Restart your desktop session once done.
Did that. Didn't help. In fact, I'm back to the blinking card messages again. [sigh] Playing audio using Audacious is now broken in that sound is interrupted frequently as though some gating effect has been introduced. No doubt related to the dueling sound card messages. I received an email from a user who solved what may be my problem by blacklisting the TU116 card. Sadly, that doesn't look promising.

How hard can it be to get Linux to see:
Code:
$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7410000 irq 38
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf7080000 irq 17
 2 [L313           ]: USB-Audio - Live Streamer CAM 313
                      Sunplus IT Co Live Streamer CAM 313 at usb-0000:00:14.0-2.2, high speed
and reliably allow the used of card 0 without the sound software getting confused by the existence of card 1.

I'm off to the ALSA project page to review the basics -- something's amiss.

Any hints on how to check/verify the lowest level of sound configuration?

BTW... thanks for your feedback.
 
Old 05-23-2024, 02:56 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,854

Rep: Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149Reputation: 1149
Quote:
Originally Posted by rnturn View Post

Any hints on how to check/verify the lowest level of sound configuration?

BTW... thanks for your feedback.
Yes, review the following guide:


https://en.opensuse.org/SDB:Audio_tr...est_your_sound
 
Old 05-26-2024, 06:58 PM   #14
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by mrmazda View Post
FWIW, when evaluating audio setup here, in addition to inxi -az, I run a script containing the following:
<snip>

Thanks... I'm knee-deep debugging a systemd problem at the moment. Soon I'll cut-n-paste your script and see what output I get.

Quote:
Some day I hope to find out where the system hides whatever settings a DM uses to decide which device to use as default, as usually there are no less than about 6, and often more than twice that, even though most PCs have one physical analog output, and one (or two, or at most three) digital (HDMI and/or DisplayPort or both or two HDMI or two DisplayPort or two HDMI plus DisplayPort).
That seems like something that would require getting a whole lot of separate development teams to agree upon a solution. I wouldn't hold my breath. I agree that desktop configuration is a mess. I've lost count of the number of times I've had something get corrupted and have had to reconfigure the desktop from scratch. Being to back it up and restore as need would be great.

UPDATE:

I ran msmazda'a scripts (with a little modification for the test sound file) and got the following in response (sorry but some of the output is quite long):

Code:
# alsactl info
./alsainfo: line 4: alsactl: command not found
# wpctl status
PipeWire 'pipewire-0' [1.0.5, rnturn@kadath.theturners.net, cookie:2684331307]
 └─ Clients:
        32. WirePlumber                         [1.0.5, rnturn@kadath.theturners.net, pid:2066]
        40. WirePlumber [export]                [1.0.5, rnturn@kadath.theturners.net, pid:2066]
        45. xdg-desktop-portal                  [1.0.5, rnturn@kadath.theturners.net, pid:2233]
        46. wpctl                               [1.0.5, rnturn@kadath.theturners.net, pid:4492]

Audio
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  
 ├─ Filters:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │      41. Live Streamer CAM 313               [v4l2]
 │      42. Live Streamer CAM 313               [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  *   43. Live Streamer CAM 313 (V4L2)       
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.pci-0000_00_1b.0.analog-stereo.99
# pw-cli list-objects Device
        id 41, type PipeWire:Interface:Device/3
                object.serial = "41"
                factory.id = "14"
                client.id = "40"
                device.api = "v4l2"
                device.description = "Live Streamer CAM 313"
                device.name = "v4l2_device.pci-0000_00_14.0-usb-0_2.2_1.0"
                media.class = "Video/Device"
        id 42, type PipeWire:Interface:Device/3
                object.serial = "42"
                factory.id = "14"
                client.id = "40"
                device.api = "v4l2"
                device.description = "Live Streamer CAM 313"
                device.name = "v4l2_device.pci-0000_00_14.0-usb-0_2.2_1.0"
                media.class = "Video/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 43, type PipeWire:Interface:Node/3
                object.serial = "43"
                object.path = "v4l2:/dev/video0"
                factory.id = "10"
                client.id = "40"
                device.id = "41"
                priority.session = "1000"
                node.description = "Live Streamer CAM 313 (V4L2)"
                node.name = "v4l2_input.pci-0000_00_14.0-usb-0_2.2_1.0"
                node.nick = "Live Streamer CAM 313"
                media.class = "Video/Source"
                media.role = "Camera"
# aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, ASUS VP278
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, ASUS VP278
    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: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [ASUS VP278]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [ASUS VP278]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: 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; enabled; preset: disabled)
     Active: active (running) since Sun 2024-06-09 15:28:17 CDT; 4min 26s ago
TriggeredBy: ● pipewire.socket
   Main PID: 2065 (pipewire)
      Tasks: 3 (limit: 4915)
        CPU: 26ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─2065 /usr/bin/pipewire

● pipewire.socket - PipeWire Multimedia System Sockets
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
     Active: active (running) since Sun 2024-06-09 15:28:17 CDT; 4min 26s ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
             /run/user/1000/pipewire-0-manager (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket
Unit pipewire-pulse.service could not be found.
Unit pipewire-pulse.socket could not be found.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-06-09 15:28:17 CDT; 4min 26s ago
   Main PID: 2066 (wireplumber)
      Tasks: 6 (limit: 4915)
        CPU: 50ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─2066 /usr/bin/wireplumber
The second script returned the following but with intermittent sound output. Previous runs of the script did result in some sound output to the HDMI port but that was when I'd disabled the onboard sound chop in the BIOS. With that enabled, the script produces either sound to the HDMI, distorted sound (again HDMI only), or no sound at all. Anyway... one run's output:
Code:
./soundtest
# aplay /home/rnturn/Data/share/sounds/GONG.WAV
Playing WAVE '/home/rnturn/Data/share/sounds/GONG.WAV' : Unsigned 8 bit, Rate 11025 Hz, Mono
#^
# aplay -D default /home/rnturn/Data/share/sounds/GONG.WAV && sleep 5
Playing WAVE '/home/rnturn/Data/share/sounds/GONG.WAV' : Unsigned 8 bit, Rate 11025 Hz, Mono
#^
# aplay -D hdmi /home/rnturn/Data/share/sounds/GONG.WAV
aplay: main:834: audio open error: No such file or directory
#^
# aplay -D hdmi:0,0 /home/rnturn/Data/share/sounds/GONG.WAV
aplay: main:834: audio open error: No such file or directory
#^
# aplay -D hdmi:0,1 /home/rnturn/Data/share/sounds/GONG.WAV
aplay: main:834: audio open error: No such file or directory
#^
# aplay -D hw:0,3 /home/rnturn/Data/share/sounds/GONG.WAV
aplay: main:834: audio open error: No such file or directory
#^
# aplay -D hw:0,7 /home/rnturn/Data/share/sounds/GONG.WAV
aplay: main:834: audio open error: No such file or directory
#^
# aplay -D plughw /home/rnturn/Data/share/sounds/GONG.WAV
Playing WAVE '/home/rnturn/Data/share/sounds/GONG.WAV' : Unsigned 8 bit, Rate 11025 Hz, Mono
#^
As for the rpms... I get:
Code:
$ rpm -qa | egrep 'alsa|arts|audio|codec|demul|fmpeg|gstr|jack|kodi|26[45]|mix|mpv|pavu|puls|sof-f|sound|vlc|wire|xdg'|sort
PackageKit-gstreamer-plugin-1.2.8-150600.2.8.x86_64
alsa-1.2.10-150600.2.3.x86_64
alsa-docs-1.2.10-150600.2.3.noarch
alsa-firmware-1.2.4-1.41.noarch
alsa-oss-1.1.8-150300.12.3.2.x86_64
alsa-oss-32bit-1.1.8-150300.12.3.2.x86_64
alsa-plugins-1.2.7.1-150500.1.1.x86_64
alsa-plugins-32bit-1.1.5-3.3.1.x86_64
alsa-plugins-jack-1.2.7.1-150500.1.1.x86_64
alsa-plugins-jack-32bit-1.2.7.1-150500.1.1.x86_64
alsa-plugins-pulse-1.2.7.1-150500.1.1.x86_64
alsa-plugins-pulse-32bit-1.2.7.1-150500.1.1.x86_64
alsa-plugins-speexrate-1.2.7.1-150500.1.1.x86_64
alsa-plugins-upmix-1.2.7.1-150500.1.1.x86_64
alsa-ucm-conf-1.2.10-150600.1.2.noarch
alsa-utils-1.2.10-150600.1.5.x86_64
ffmpegthumbnailer-2.2.2-bp156.4.7.x86_64
ffmpegthumbs-23.08.5-bp156.1.1.x86_64
gstreamer-1.20-plugin-openh264-1.20.3-1.sle150500.2.x86_64
gstreamer-1.24.0-150600.1.3.x86_64
gstreamer-lang-1.24.0-150600.1.3.noarch
gstreamer-libnice-0.1.21-150600.6.4.x86_64
gstreamer-plugin-cluttergst3-3.0.27-150600.8.3.x86_64
gstreamer-plugin-pipewire-1.0.5+git36.60deeb2-150600.1.3.x86_64
gstreamer-plugins-bad-1.24.0-lp156.2.3.x86_64
gstreamer-plugins-bad-lang-1.24.0-lp156.2.3.noarch
gstreamer-plugins-base-1.24.0-150600.3.3.1.x86_64
gstreamer-plugins-base-lang-1.24.0-150600.3.3.1.noarch
gstreamer-plugins-farstream-0.2.9+5-150600.1.3.x86_64
gstreamer-plugins-good-1.24.0-150600.1.1.x86_64
gstreamer-plugins-good-gtk-1.24.0-150600.1.1.x86_64
gstreamer-plugins-good-lang-1.24.0-150600.1.1.noarch
gstreamer-plugins-ugly-1.24.0-150600.1.1.x86_64
gstreamer-plugins-ugly-lang-1.24.0-150600.1.1.noarch
jack-1.9.12-150000.3.3.1.x86_64
jack-rack-1.4.7-bp156.4.10.x86_64
jackEQ-0.5.9-bp156.3.7.x86_64
jack_capture-0.9.73-bp156.4.5.x86_64
jack_mixer-15.1-1699.1.pm.452.x86_64
kernel-firmware-sound-20240201-150600.1.2.noarch
kio_audiocd-23.08.5-bp156.1.1.x86_64
kio_audiocd-lang-23.08.5-bp156.1.1.noarch
kpipewire-imports-5.27.11-bp156.1.2.x86_64
kquickcharts-5.115.0-bp156.1.1.x86_64
libKF5Parts5-5.115.0-bp156.1.1.x86_64
libKF5Parts5-lang-5.115.0-bp156.1.1.noarch
libasound2-1.2.10-150600.2.3.x86_64
libasound2-32bit-1.2.10-150600.2.3.x86_64
libavcodec57-3.4.2-150200.11.47.1.x86_64
libavcodec58_134-4.4-150600.13.5.1.x86_64
libffmpegthumbnailer4-2.2.2-bp156.4.7.x86_64
libgsound0-1.0.3-150400.2.10.x86_64
libgstaudio-1_0-0-1.24.0-150600.3.3.1.x86_64
libgstbadaudio-1_0-0-1.24.0-lp156.2.3.x86_64
libgstcodecparsers-1_0-0-1.24.0-lp156.2.3.x86_64
libgstcodecs-1_0-0-1.24.0-lp156.2.3.x86_64
libgstreamer-1_0-0-1.24.0-150600.1.3.x86_64
libgstriff-1_0-0-1.24.0-150600.3.3.1.x86_64
libgstrtp-1_0-0-1.24.0-150600.3.3.1.x86_64
libgstrtsp-1_0-0-1.24.0-150600.3.3.1.x86_64
libgupnp-dlna-backend-gstreamer-0.12.0-150400.3.2.2.x86_64
libjack0-32bit-1.9.12-150000.3.3.1.x86_64
libjackasyn-0.12-bp156.3.4.x86_64
libmpx2-8.2.1+r264010-150000.1.6.4.x86_64
libmpxwrappers2-8.2.1+r264010-150000.1.6.4.x86_64
libopencv_imgcodecs409-4.9.0-150600.1.17.x86_64
libopenh264-7-2.3.1-2.sle150500.2.x86_64
libpcaudio0-1.1-1.70.x86_64
libpipewire-0_3-0-1.0.5+git36.60deeb2-150600.1.3.x86_64
libplacebo264-5.264.1-bp156.1.2.x86_64
libportaudio2-190600_20161030-2.39.x86_64
libpulse-mainloop-glib0-17.0-150600.2.3.x86_64
libpulse0-17.0-150600.2.3.x86_64
libpulse0-32bit-17.0-150600.2.3.x86_64
libqjack0-0.0+20170112-bp156.4.5.x86_64
libvlc5-3.0.20-bp156.1.11.x86_64
libvlccore9-3.0.20-bp156.1.11.x86_64
libwebrtc-audio-processing-1-3-1.3-150600.1.3.x86_64
libwireplumber-0_5-0-0.5.2-150600.1.2.x86_64
mozilla-openh264-2.3.1-2.sle150500.2.x86_64
mpg123-jack-1.26.4-1.15.x86_64
mpg123-pulse-1.26.4-1.15.x86_64
oxygen5-sounds-5.27.11-bp156.1.1.noarch
pamix-1.6-bp156.3.6.x86_64
pavucontrol-5.0-150400.1.8.x86_64
pavucontrol-lang-5.0-150400.1.8.noarch
phonon4qt5-backend-vlc-0.11.3-bp156.3.6.x86_64
phonon4qt5-backend-vlc-lang-0.11.3-bp156.3.6.noarch
pipewire-1.0.5+git36.60deeb2-150600.1.3.x86_64
pipewire-doc-1.0.5+git36.60deeb2-150600.1.3.x86_64
pipewire-lang-1.0.5+git36.60deeb2-150600.1.3.noarch
pipewire-libjack-0_3-1.0.5+git36.60deeb2-150600.1.3.x86_64
pipewire-modules-0_3-1.0.5+git36.60deeb2-150600.1.3.x86_64
pipewire-spa-plugins-0_2-1.0.5+git36.60deeb2-150600.1.3.x86_64
pipewire-spa-tools-1.0.5+git36.60deeb2-150600.1.3.x86_64
pipewire-tools-1.0.5+git36.60deeb2-150600.1.3.x86_64
pulseaudio-17.0-150600.2.3.x86_64
pulseaudio-bash-completion-17.0-150600.2.3.x86_64
pulseaudio-lang-17.0-150600.2.3.noarch
pulseaudio-module-bluetooth-17.0-150600.2.3.x86_64
pulseaudio-module-gsettings-17.0-150600.2.3.x86_64
pulseaudio-module-x11-17.0-150600.2.3.x86_64
pulseaudio-module-zeroconf-17.0-150600.2.3.x86_64
pulseaudio-setup-17.0-150600.2.3.x86_64
pulseaudio-utils-17.0-150600.2.3.x86_64
pulseaudio-utils-32bit-17.0-150600.2.3.x86_64
qemu-audio-spice-8.2.2-150600.1.8.x86_64
qjackctl-0.9.10-bp156.1.7.x86_64
qjackctl-lang-0.9.10-bp156.1.7.noarch
sound-theme-freedesktop-0.8-150400.12.7.noarch
system-user-pulse-17.0-150600.2.3.noarch
texlive-basque-date-2021.189.1.05svn26477-150400.18.1.noarch
texlive-basque-date-doc-2021.189.1.05svn26477-150400.18.1.noarch
texlive-chklref-2021.189.3.1.2svn52649-150400.17.1.noarch
texlive-chklref-doc-2021.189.3.1.2svn52649-150400.17.1.noarch
texlive-cnltx-2021.189.0.0.15svn55265-150400.17.1.noarch
texlive-cnltx-doc-2021.189.0.0.15svn55265-150400.17.1.noarch
texlive-compare-2021.189.svn54265-150400.17.1.noarch
texlive-dynkin-diagrams-2021.189.3.1415926535897932svn58758-150400.17.1.noarch
texlive-dynkin-diagrams-doc-2021.189.3.1415926535897932svn58758-150400.17.1.noarch
texlive-eurosym-2021.189.1.4_subrfixsvn17265-150400.18.1.noarch
texlive-eurosym-doc-2021.189.1.4_subrfixsvn17265-150400.18.1.noarch
texlive-eurosym-fonts-2021.189.1.4_subrfixsvn17265-150400.18.1.noarch
texlive-interval-2021.189.0.0.4svn50265-150400.17.1.noarch
texlive-interval-doc-2021.189.0.0.4svn50265-150400.17.1.noarch
texlive-listings-2021.189.1.8dsvn55265-150400.18.1.noarch
texlive-listings-doc-2021.189.1.8dsvn55265-150400.18.1.noarch
texlive-movie15-2021.189.svn26473-150400.17.1.noarch
texlive-movie15-doc-2021.189.svn26473-150400.17.1.noarch
texlive-newunicodechar-2021.189.1.2svn47382-150400.17.1.noarch
texlive-newunicodechar-doc-2021.189.1.2svn47382-150400.17.1.noarch
texlive-plain-2021.189.3.141592653svn57963-150400.17.1.noarch
texlive-shadowtext-2021.189.0.0.3svn26522-150400.17.1.noarch
texlive-shadowtext-doc-2021.189.0.0.3svn26522-150400.17.1.noarch
texlive-tex-2021.189.3.141592653svn57972-150400.18.1.noarch
texlive-tex-gyre-math-2021.189.svn41264-150400.18.1.noarch
texlive-tex-gyre-math-doc-2021.189.svn41264-150400.18.1.noarch
texlive-tex-gyre-math-fonts-2021.189.svn41264-150400.18.1.noarch
vlc-3.0.20-bp156.1.11.x86_64
vlc-codec-gstreamer-3.0.20-bp156.1.11.x86_64
vlc-jack-3.0.20-bp156.1.11.x86_64
vlc-lang-3.0.20-bp156.1.11.noarch
vlc-noX-3.0.20-bp156.1.11.x86_64
vlc-qt-3.0.20-bp156.1.11.x86_64
vlc-vdpau-3.0.20-bp156.1.11.x86_64
wireless-regdb-20230901-150000.3.17.1.noarch
wireless-tools-30.pre9-150600.19.4.x86_64
wireplumber-0.5.2-150600.1.2.x86_64
wireplumber-doc-0.5.2-150600.1.2.noarch
wireplumber-lang-0.5.2-150600.1.2.noarch
xdg-dbus-proxy-0.1.5-150600.1.3.x86_64
xdg-desktop-portal-1.18.2-150600.2.4.x86_64
xdg-desktop-portal-gnome-45.1-150600.1.3.x86_64
xdg-desktop-portal-gnome-lang-45.1-150600.1.3.noarch
xdg-desktop-portal-gtk-1.15.1-150600.1.3.x86_64
xdg-desktop-portal-gtk-lang-1.15.1-150600.1.3.noarch
xdg-desktop-portal-kde-5.27.11-bp156.1.2.x86_64
xdg-desktop-portal-kde-lang-5.27.11-bp156.1.2.noarch
xdg-desktop-portal-lang-1.18.2-150600.2.4.noarch
xdg-menu-0.2-1.23.noarch
xdg-user-dirs-0.18-150500.1.1.x86_64
xdg-user-dirs-gtk-0.11-150600.6.3.x86_64
xdg-user-dirs-gtk-lang-0.11-150600.6.3.noarch
xdg-user-dirs-lang-0.18-150500.1.1.noarch
xdg-utils-1.1.3+20210805-150500.1.1.noarch
xfce4-pulseaudio-plugin-0.4.8-bp156.1.3.x86_64
xfce4-pulseaudio-plugin-lang-0.4.8-bp156.1.3.noarch
yast2-sound-4.5.0-150500.1.5.x86_64
That's quite a few rpms. (Don't ask me why the texlive stuff got included -- that's a bit of a head scratcher.)

Anything look really odd?

Could one of the sound modules being loaded at boot have problems dealing with the two sound sources? If so, how to prioritize between the two.

TIA for any feedback...

Last edited by rnturn; 06-09-2024 at 06:11 PM. Reason: Fixed dangling quote tag and replied with an update.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fresh 15 no sound with Pipewire in Sway tramtrist Slackware 1 05-05-2024 05:03 PM
LXer: Linux Mint 22 Will Adopt PipeWire as Default Sound Server LXer Syndicated Linux News 0 04-01-2024 08:20 PM
LXer: PipeWire 1.0 -- An interview with PipeWire creator Wim Taymans LXer Syndicated Linux News 0 11-28-2023 04:50 AM
[SOLVED] [current] slackpkg-15.0.2-noarch-1 has /etc/pipewire/pipewire.conf.new j12i Slackware 3 04-27-2021 01:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration