You are not logged in.
Hello, i recently reinstalled arch on my laptop. Everything with the exception of Audio is working fine. I tried following the installation protocol of pipewire, rebooted it, but still it doesent work. As far as i looked, it seem the audio devices are being detected by the kernel, but not by KDE. There is a sound config on /lib/modules/ (...). Can someone help me with what to debugg, and what can possibly be misscofigured or lacking? Here are some info about my pc:
kernel using: 6.12.3-zen1-1-zen
pacman -Q | grep linux:
archlinux-appstream-data 20240914-1
archlinux-keyring 20241203-1
linux 6.12.3.arch1-1
linux-api-headers 6.10-1
linux-firmware 20241111.b5885ec5-1
linux-firmware-whence 20241111.b5885ec5-1
linux-headers 6.12.3.arch1-1
linux-zen 6.12.3.zen1-1
linux-zen-headers 6.12.3.zen1-1
util-linux 2.40.2-1
util-linux-libs 2.40.2-1
sudo dmesg | grep snd:
[ 1.834952] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 1.834998] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 1.835098] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 1.835101] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
pacman -Qs audio:
local/a52dec 0.8.0-2
Library for decoding ATSC A/52 (AC-3) audio streams
local/alsa-card-profiles 1:1.2.7-1
Low-latency audio/video router and processor - ALSA card profiles
local/faad2 2.11.1-1
Freeware Advanced Audio (AAC) Decoder
local/ffmpeg 2:7.1-3
Complete solution to record, convert and stream audio and video
local/ffmpeg4.4 4.4.5-1
Complete solution to record, convert and stream audio and video
local/flac 1.4.3-2
Free Lossless Audio Codec
local/lame 3.100-5
A high quality MPEG Audio Layer III (MP3) encoder
local/libiec61883 1.2.0-8
A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libmad 0.15.1b-10
A high-quality MPEG audio decoder
local/libopenmpt 0.7.11-1
A library to render tracker music to a PCM audio stream
local/libpipewire 1:1.2.7-1
Low-latency audio/video router and processor - client library
local/libsamplerate 0.2.2-3
An audio sample rate conversion library
local/libsndfile 1.2.2-2
A C library for reading and writing files containing sampled audio data
local/libvorbis 1.3.7-3
Reference implementation of the Ogg Vorbis audio format
local/lv2 1.18.10-1
Plugin standard for audio systems
local/mpg123 1.32.9-1
Console based real time MPEG Audio Player for Layer 1, 2 and 3
local/opus 1.5.2-1
Totally open, royalty-free, highly versatile audio codec
local/pavucontrol 1:6.1-1
PulseAudio Volume Control
local/pipewire 1:1.2.7-1
Low-latency audio/video router and processor
local/pipewire-alsa 1:1.2.7-1
Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:1.2.7-1
Low-latency audio/video router and processor - Audio support
local/pipewire-jack 1:1.2.7-1
Low-latency audio/video router and processor - JACK replacement
local/pipewire-pulse 1:1.2.7-1
Low-latency audio/video router and processor - PulseAudio replacement
local/plasma-pa 6.2.4-1 (plasma)
Plasma applet for audio volume management using PulseAudio
local/portaudio 1:19.7.0-3
A free, cross-platform, open source, audio I/O library.
local/pulseaudio-qt 1.6.1-1
Qt bindings for libpulse
local/qt6-multimedia 6.8.1-1 (qt6)
Classes for audio, video, radio and camera functionality
local/rubberband 4.0.0-1
Time-stretching and pitch-shifting audio library and utility
local/sdl2 2.30.10-1
A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version
2)
local/taglib 2.0.2-1
A Library for reading and editing the meta-data of several popular audio formats
local/webrtc-audio-processing-1 1.3-3
AudioProcessing library based on Google's implementation of WebRTC
Last edited by Sungus (2024-12-12 14:17:25)
Offline
Hello Sungus, welcome to arch wiki!
By looking in the packages i don't think you installed something wrong. But sorry to ask, did you already activated pipewire to test if it works?
In a window use the command pipewire, If it returns no error and you are blocked from writing them pipewire was successfully activated, but it is temporary until you close the window.
And in your packages i can't see your session manager, are you using one? If yes it is wireplumber or pipewire-media-session?
Anyway, if you are not using one, you should probably look in the this wiki page first. But basically you need a session manager to work with pipewire. And you also need to activate those packages(pipewire-pulse, pipewire, pipewire-jack,pipewire-media-manager or wireplumber....). The easier way to activate those packages is installing the package xorg-xinit(if you use xorg in your installation) and adding the paths of these packages executables in the start of a ~/.xinitrc file, like this, every time you start your xorg desktop enviroment your audio will be activated too.
Example of a simple pipewire setup in ~/.xinitrc using pipewire-media-session:
usr/bin/pipewire &
/usr/bin/pipewire-pulse &
/usr/bin/pipewire-media-session
Last edited by John-Something-Something (2024-12-08 10:39:55)
Offline
i've been trying to find what is wrong. I activated pipewire in the moment of the post.
So, i tried switching to pulseaudio, and for some reason, pulseaudio isnt detecting my hardware audio devices:
pactl list sinks short:
0 auto_null module-null-sink.c s16le 2ch 44100Hz SUSPENDED
since it lists only null;
but alsa is detecting:
cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0x72000000 irq 17
idk what is wrong with pulseaudio and pipewire for them to not detect my hardware
Offline
I think i made it work, but now anything related to audio dosent play, like any youtube video. Pulseaudio for some reason isnt allowing them to play ???
I think i made it work cus now my hardware is being correctly identified
Offline
Sorry so. I dont know if this is the answer but. You are trying to use pipewire and pulse audio at the same time? If yes, that's probably why you are having errors, you should use only one of then.
But let's analyse the problem from another angle. It should not be a driver problem since alsa is detecting your device. And the module was suspended. Try to remove one of them(pipewire or pulseaudio) and them use the command again.
I think i made it work, but now anything related to audio dosent play, like any youtube video. Pulseaudio for some reason isnt allowing them to play ???
I think i made it work cus now my hardware is being correctly identified
Oh you made it work! Now if you are using pipewire, them you should install and enable a session manager to use the audio from youtube and other places. It won't work without one.
Maybe pulseadio is conflicting with pipewire but it probably wound not cause the absence of one of them and sorry to repeat, but if you don't have a session manager this probably the reason why your audio doesn't work.
Last edited by John-Something-Something (2024-12-08 10:59:53)
Offline
the problem that i cant solve is that:
pactl list sinks short
0 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink module-alsa-card.c s16le 2ch 48000Hz SUSPENDED
1 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink module-alsa-card.c s16le 2ch 48000Hz SUSPENDED
2 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink module-alsa-card.c s16le 2ch 48000Hz SUSPENDED
3 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink module-alsa-card.c s16le 2ch 48000Hz SUSPENDED
all sinks are suspended. I will try doing what you said, maybe i forgot to remove some of pipewire, since now i am trying to use pulseaudio.
Offline
If nothing changes even removing pipewire. Then we need to try other things.
Try killing all pulseaudio devices(relax they come back again)
killall pulseaudio
Try to use other commands to display info about pipewire, like:
pactl info
Try to see if pipewire isn't activated while you try to use pulseudio, you can search for pipewire in htop and send a SIGKILL to all pipewire related things.
You can also identify more efficiently if pipewire is running with:
ps -e | grep pipewire
If you see pipewire, and/or pipewire-(something) in the output them it's running
Last edited by John-Something-Something (2024-12-08 12:04:37)
Offline
yeah, it worked, thank you very much
Offline
Offline
Sungus, please use code tags when posting outputs: https://wiki.archlinux.org/title/Genera … s_and_code
Also, if you have resolved your issue, please update the topic title to reflect that: https://wiki.archlinux.org/title/Genera … ow_to_post
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online