You are not logged in.
I have installed all the necessary packages and tried all the ways, but my problem is not solved.
[arch@linux ~]$ systemctl --user status pulseaudio.service
Unit pulseaudio.service could not be found.
[arch@linux ~]$ systemctl --user status pulseaudio.socket
Unit pulseaudio.socket could not be found.
[arch@linux ~]$ pacman -Q | grep pulseaudio
pulseaudio-alsa 1:1.2.7.1-2
[arch@linux ~]$ pacman -Q | grep alsa
alsa-card-profiles 1:1.0.4-3
alsa-firmware 1.2.4-3
alsa-lib 1.2.11-1
alsa-plugins 1:1.2.7.1-2
alsa-topology-conf 1.2.5.1-3
alsa-ucm-conf 1.2.11-1
alsa-utils 1.2.11-1
pulseaudio-alsa 1:1.2.7.1-2
I have installed pulseaudio, but it gives an error during activation
[arch@linux ~]$ sudo systemctl enable --now pulseaudio
Failed to enable unit: Unit file pulseaudio.service does not exist.
[arch@linux ~]$ pulseaudio --start
[arch@linux ~]$
Last edited by Librehosseini (2024-03-29 14:49:46)
Offline
* What devices do you see in aplay -l ?
* Any difference when you executing as root?
* Do you see you audio card detected (lspci |grep -i Audio)
* Any particular reason you are using pulseaudio and not pipewire?
Last edited by impossibleveins23 (2024-03-29 18:11:38)
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
[arch@linux ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
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
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@linux ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
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
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
[arch@linux ~]$ lspci |grep -i Audio
00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
+ Any particular reason you are using pulseaudio and not pipewire?
- No. How do I use pipewire? Now I installed all alsa packages and none of them worked
Last edited by Librehosseini (2024-03-29 19:28:03)
Offline
i installed pipewire-pulse and pipewire
But when I try to activate it, it gives these errors:
[root@linux]# systemctl --user enable pipewire.service
Failed to connect to bus: No medium found
[root@linux]# systemctl --user start pipewire.service
Failed to connect to bus: No medium found
[root@linux]# systemctl --user enable pipwire-pulse.service
Failed to connect to bus: No medium found
[root@linux]# systemctl --user start pipwire-pulse.service
Failed to connect to bus: No medium found
[root@linux]# systemctl --user status pipewire.service
Failed to connect to bus: No medium found
Last edited by Librehosseini (2024-03-29 19:36:49)
Offline
You literally don't have pulseaudio installed so you're likely on pipewire already, if not make sure pipewire-pulse and wireplumber are installed.
Post the output of
sudo fuser -v /dev/snd
pactl list cards
pactl list sinks
and wrap those in [ code ][ /code ] tags without the spaces
Offline
i installed pipewire-pulse and pipewire
But when I try to activate it, it gives these errors:
Ideally you don't have to activate anything here, pipewire is socket activated, in doubt reboot.
[root@linux]# systemctl --user status pipewire.service Failed to connect to bus: No medium found
Why are you doing this as root?
Don't try to su or sudo anything "systemctl --user" and generally don't try to just sudo-fix stuff.
Offline