No Sound using Pipewire in Rocky 9.8 (Blue Onyx)

Hello, I have read all sound related posts on rocky, but I am unable to play any sound!!!

This is my lspci output:

# lspci | grep -i Audio
00:1f.3 Multimedia audio controller: Intel Corporation Arrow Lake cAVS
01:00.1 Audio device: NVIDIA Corporation GB207 High Definition Audio Controller (rev a1)

Any help would be much appreciated!!

Based on that you appear to have two audio devices in your computer.

First thing to check is the simplest: which audio device(s) are available, if any? You can do that with the Sound Preferences program that is probably installed on your computer. Or using something like VLC under Audio-Audio Device.

See if either of those devices is listed. If one or both of them are listed then play something and if you’re still not hearing any sound then make sure your speakers are plugged into the correct audio out port. Simply stated, you want to have the speakers plugged into the audio port that’s currently active.

If it says “dummy interface” or wording similar to that when you check your audio device availability, then the operating system hasn’t found either of them.

On my system a “NVidia audio controller” is a “HDMI / DisplayPort” output device – its “port” is the HDMI/DP and thus the sound goes to the monitor (and mine has built-in speakers).

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20632 Analog [CX20632 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [DELL S2721DS]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [DELL S2721DS]
  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

Interestingly, both my Intel and NVidia seem to use the same kernel module:

# lspci -dk ::0403
lspci: -d: ':' expected
[root@cotton ansible]# lspci -k -d ::0403
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
	Subsystem: Hewlett-Packard Company Device 83e0
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_cnl, snd_hda_intel
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
	Subsystem: Hewlett-Packard Company Device 12bc
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

sound works now. The last thing I tried was install alsa-sof-firmware, i.e.

yum install alsa-sof-firmware

I could NOT install pulseaudio due to dependencies issues, but this is a known problem…

You might not have the old “pulseaudio”, but you should have the new pipewire-pulseaudio, allowing you to do
pacmd --help