You are not logged in.
Hi to all guys ,
I would like your help for the audio that doesn't work after a fresh install of arch (6.9.3 ) , the follwong packages installed ... pipewire, pipewire-pulse , pipewire-jack, wireplumber and startting all the services ..
the problem that i'm struggling is this .:
if i launch one of these commands
aplay -D plughw:0,0 /home/archie/Documenti/m_We_Love_Hi-Res_192k.wav i get the message
Playing WAVE '/home/archie/Documenti/m_We_Love_Hi-Res_192k.wav' : Signed 24 bit Little Endian in 3bytes, Rate 192000 Hz, Stereo
aplay -D sysdefault:PCH /home/archie/Documenti/m_We_Love_Hi-Res_192k.wav
speaker-test -D sysdefault:PCH -c2 -twav
..i can hear the sound on my speakers..
But if i launch this command
aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Left.wav ... i can NOT hear any sound
this is my
x aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC274 Analog [ALC274 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
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
this is my aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, ALC274 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC274 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC274 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC274 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC274 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC274 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC274 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC274 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
hdmi:CARD=PCH,hi
HDA Intel PCH, HDMI 2
HDMI Audio Output
hdmi:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 3
HDMI Audio Output
sudo dmesg | grep -E 'snd|sof'
[sudo] password di archie:
[ 0.038303] software IO TLB: area num 32.
[ 1.261882] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.261883] software IO TLB: mapped [mem 0x000000004162f000-0x000000004562f000] (64MB)
[ 1.349624] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[ 1.349633] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[ 7.927081] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 7.927410] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 8.005113] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC274: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 8.005118] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 8.005120] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 8.005122] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 8.005123] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 8.005124] snd_hda_codec_realtek hdaudioC0D0: Mic=0x19
lspci -k
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
DeviceName: Onboard - Sound
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1326
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_tgl
...i also try to launch
pactl info or pactl list sinks ... and i get the message
Connection failure: Timeout
I also confirm that i have all three services up and running ( PipeWire Multimedia Service , pipewire-pulse.service, wireplumber.service )
could someone gently help me to get sound work ??
thanks a lot to all
Offline
I also have the same problem
I am new to Linux and Arch
If you solved it please let me know !
Offline
How did you install and what is your graphical session, how are you starting it? Post in [ code ] [ /code ] tags without the spaces
systemctl --user status pipewire{,-pulse} pulseaudio wireplumber
sudo fuser -v /dev/snd/*
printenv
pactl list cardsOffline
thanks V1del ,
this is about the services :
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
Active: active (running) since Fri 2024-05-31 11:47:23 CEST; 7h ago
TriggeredBy: ● pipewire.socket
Main PID: 7264 (pipewire)
Tasks: 2 (limit: 18802)
Memory: 752.0K (peak: 1.1M)
CPU: 10ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─7264 /usr/bin/pipewire
mag 31 11:47:23 arch systemd[897]: Started PipeWire Multimedia Service.
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
Active: active (running) since Fri 2024-05-31 11:50:54 CEST; 7h ago
TriggeredBy: ● pipewire-pulse.socket
Main PID: 7549 (pipewire-pulse)
Tasks: 3 (limit: 18802)
Memory: 1.6M (peak: 2.5M)
CPU: 18ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
└─7549 /usr/bin/pipewire-pulse
mag 31 11:50:54 arch systemd[897]: Started PipeWire PulseAudio.
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-05-31 11:50:54 CEST; 7h ago
Main PID: 7548 (wireplumber)
Tasks: 4 (limit: 18802)
Memory: 1.4M (peak: 1.9M)
CPU: 14ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─7548 /usr/bin/wireplumber
mag 31 11:50:54 arch systemd[897]: Started Multimedia Service Session Manager.
● pipewire.socket - PipeWire Multimedia System Sockets
Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
Active: active (running) since Fri 2024-05-31 09:03:19 CEST; 10h 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
mag 31 09:03:19 arch systemd[897]: Listening on PipeWire Multimedia System Sockets.
about this command :
udo fuser -v /dev/snd/* ---->> I receive nothing
about printenv I receive :
ALACRITTY_LOG=/tmp/Alacritty-1705.log
ALACRITTY_SOCKET=/run/user/1000/Alacritty-wayland-1-1705.sock
ALACRITTY_WINDOW_ID=97790372134624
APPIMAGELAUNCHER_DISABLE=1
BUN_INSTALL=/home/archie/.bun
CLR_ICU_VERSION_OVERRIDE=75.1
COLORTERM=truecolor
CREDENTIALS_DIRECTORY=/run/credentials/getty@tty1.service
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
DISPLAY=:0
DOTNET_ROOT=/home/archie/dotnet
EDITOR=nvim
GDK_SCALE=1
HL_INITIAL_WORKSPACE_TOKEN=81588b05-c85a-4719-a90e-fb7a55e87130
HOME=/home/archie
HYPRLAND_CMD=Hyprland
HYPRLAND_INSTANCE_SIGNATURE=cba1ade848feac44b2eda677503900639581c3f4_1718713926_808760170
INVOCATION_ID=6ac2097b7d9b4443915a4fa0e62a748d
_JAVA_AWT_WM_NONREPARENTING=1
LANG=it_IT.UTF-8
LOGNAME=archie
MAIL=/var/spool/mail/archie
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/system-getty.slice/getty@tty1.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
MOTD_SHOWN=pam
MOZ_ENABLE_WAYLAND=1
MSBuildSDKsPath=/home/archie/dotnet/sdk/2.1.818/Sdks
PATH=/home/archie/.bun/bin:/usr/lib/ccache/bin/:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/archie/dotnet
PWD=/home/archie
QT_AUTO_SCREEN_SCALE_FACTOR=1
QT_QPA_PLATFORM=wayland
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
SHELL=/usr/bin/bash
SHLVL=3
STARSHIP_SESSION_KEY=8403384573272976
STARSHIP_SHELL=bash
SYSTEMD_EXEC_PID=857
TERM=alacritty
USER=archie
_=/usr/bin/printenv
WAYLAND_DISPLAY=wayland-1
WINDOWID=97790372134624
XCURSOR_SIZE=24
XDG_BACKEND=wayland
XDG_CURRENT_DESKTOP=Hyprland
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=Hyprland
XDG_SESSION_ID=1
XDG_SESSION_TYPE=wayland
XDG_VTNR=1
and last command
> pactl list cards
Connection failure: Timeoutas i wrote in my post and if it can help you when i launch this files
aplay -D plughw:0,0 /home/archie/Documenti/m_We_Love_Hi-Res_192k.wav
aplay -D plughw:0,0 /home/archie/Documenti/HELLOWIN.WAVI hear the sound in speakers
let me know if you need anything else
About installing after launching pacstrap and creted fstab i did
arch-chroot /mnt
pacman -S neovim sudo dhcpcd intel-ucode grub os-prober which iwd ntfs-3g git efibootmgr pipewire pipewire-alsa wireplumber pipewire-pulse pipewire-jack pulseaudio-bluetooth bluezLast edited by josh-archie (2024-06-18 13:28:03)
Offline
Hi to all Guys, This morning good news
it seems i found the solution myself and .. I just want to post my two cent in case it will be usefull for other people like @alterego09 ....
As i wrote in my post i was stumble in pipewire problem after a fresh arch install.
After asking for help here, i noted that @v1del require me all the same things i had already read in a tons of other post.... and also my struggeling was that all the services ( pipewire, wireplumber and pipewire-pulse ) had no problem
So this point me in a direction that inadvertently i modified something that created the problem..... and ... ta-da! that it was.
I scan all the configurations file about alsa , pipewire, pulse in my /home and also in /etc and i found this
/home/archie/.config/pipewire/pipewire.conf
/etc/alsa/conf.d/50-pipewire.conf
/etc/alsa/conf.d/99-pipewire-default.conf
/etc/pipewire/
/etc/pulse/client.conffrom there i noted that the content of /home/archie/.config/pipewire/pipewire.conf file was
context.properties = {
["rt.prio"] = 80
["rt.time.soft"] = 2000000
["rt.time.hard"] = 2000000
}
context.modules = [
{ name = libpipewire-module-rt}
{ name = libpipewire-module-rtkit}
]I didn't remember if i changed it or copy from someone and also I don know what the content means..
so i decided to rename the file in /home/archie/.config/pipewire/pipewire.conf.backup and reboot
...and the magic happen ... now i have the audio that works
Thank to all guys for the great job you do.
Could be interesting if someone here explain me what was wrog, I mean why and where the content of the file pipewire.conf was bad and lock pipewire.
Last edited by josh-archie (2024-06-22 08:18:41)
Offline