9-Stream How to enable pipewire audio (was about no sound on Intel)
Posted: 2022/06/01 12:39:06
Looks like pipewire packages are installed, but not enabled, making it probably no sound on any hardware.
I enabled it with: (type what comes after the $ character... not including the $)pipewire and pipewire-pulse (without the .socket) lines might not be necessary (should be activated by using sockets I think). Hopefully after reboot, you will have sound.
What follows was my original question.
Sound works in most distributions out of the box.
Output is from VGA cable connected to Prime H310M-C R2.0 motherboard... no graphics card connected.
Sound speakers connected to green plug on the motherboard.
Gnome paramaters sound show no output devices.
Test button shows test of (null).
should have used LANG=C in next line, but that not seems a problem.
Any idea what I should try?
I enabled it with: (type what comes after the $ character... not including the $)
Code: Select all
$ systemctl --user enable pipewire
$ systemctl --user enable pipewire-pulse
$ systemctl --user enable wireplumber
$ systemctl --user enable pipewire.socket
$ systemctl --user enable pipewire-pulse.socket
$ systemctl reboot
What follows was my original question.
Sound works in most distributions out of the box.
Output is from VGA cable connected to Prime H310M-C R2.0 motherboard... no graphics card connected.
Sound speakers connected to green plug on the motherboard.
Gnome paramaters sound show no output devices.
Test button shows test of (null).
Code: Select all
[paul@localhost Téléchargements]$ LANG=C aplay piano2.wav
aplay: main:831: audio open error: Host is down
[paul@localhost Téléchargements]$
Code: Select all
[paul@localhost ~]$ lang=C aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media 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=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
[paul@localhost ~]$
Code: Select all
[paul@localhost ~]$ LANG=C aplay -l
**** 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 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
[paul@localhost ~]$
Code: Select all
lspci -nnv shows among others:
00:1f.3 Audio device [0403]: Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
DeviceName: Onboard - Sound
Subsystem: ASUSTeK Computer Inc. Device [1043:86c7]
Flags: bus master, fast devsel, latency 32, IRQ 129
Memory at f7120000 (64-bit, non-prefetchable) [size=16K]
Memory at f7100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Code: Select all
[paul@localhost ~]$ lsmod | grep -i snd
snd_hda_codec_hdmi 73728 1
snd_hda_codec_realtek 159744 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_intel 57344 1
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 176128 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_seq 86016 0
snd_seq_device 16384 1 snd_seq
snd_pcm 147456 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 49152 2 snd_seq,snd_pcm
snd 114688 12 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore 16384 1 snd
[paul@localhost ~]$