Skip to main content
Topic: No audio in fresh install Xfce (Read 958 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

No audio in fresh install Xfce

Hi I'm running Artix Xfce on an hp laptop (total noob btw)

i have no audio output.

i believe this is due to that i don't have the Intel audio card available to me to select

pulse audio only shows HDMI outputs available,  associated with my GPU

any help is greatly appreciated, let me know if i should run anything to provide output to post here.

much thanks

Re: No audio in fresh install Xfce

Reply #1
I have a similar problem on my Acer.  Its that there are 2 audio "cards"; 1 normal and 1 HDMI.  And the HDMI somehow becomes the default.

Sorry, I cant offer resolution for pulseaudio, I use alsa.  What i do for alsa is to create as root /etc/asound.conf with these contents:

Code: [Select]
defaults.pcm.card 1
defaults.ctl.card 1

This forces the "2nd card" to be the default.  I am not sure if this change to alsa effects pulse.  Hopefully someone  more knowledgeable with pulse will respond.



Re: No audio in fresh install Xfce

Reply #2
Bonjour,
The solution that works for me :

I removed the pulseaudio packages except one: libpulse.

I installed qastools which offers a nice and very practical mixer :
Code: [Select]
sudo pacman -Sy qastools

Then I listed my audio cards:
Code: [Select]
cat /proc/asound/cards
0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfce60000 irq 96
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfc900000 irq 98

I created/modified  /etc/asound.conf
Code: [Select]
sudo nano /etc/asound.conf

And added this to select card1:
defaults.pcm.card 1
defaults.ctl.card 1

Re: No audio in fresh install Xfce

Reply #3
Thanks for the help, this pointed me in the right direction

I still don't have audio, I think this is because my system can't see my other audio card

the output of "cat /proc/asound/cards" only shows:

 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xb5080000 irq 17

are there any drivers/configurations that would allow my system to see the intel audio card?

Re: No audio in fresh install Xfce

Reply #4
Code: [Select]
$ lsmod | grep snd_hda_intel
$ sudo modprobe snd_hda_intel
$ ls /etc/alsa/conf.d
10-samplerate.conf 10-speexrate.conf 50-arcam-av-ctl.conf 50-jack.conf 50-oss.conf 50-pulseaudio.conf 60-speex.conf 60-upmix.conf 60-vdownmix.conf 98-usb-stream.conf
$ hwinfo --sound

https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture
https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture/Troubleshooting

https://forum.artixlinux.org/index.php/topic,1923.0.html

Re: No audio in fresh install Xfce

Reply #5
hey thanks for the help

the first line (lsmod | grep snd_hda_intel) provides this:
snd_hda_intel          57344  2
snd_intel_dspcfg       28672  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_hda_codec         176128  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          110592  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_pcm               151552  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd                   114688  14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm

the second line (sudo modprobe snd_hda_intel) didn't seem to do anything

the third line (ls /etc/alsa/conf.d) didn't seem to work "No such file or directory" and when I went in manually there was no alsa folder there

I assume the fourth line was to be added to the conf.d file

the fifth line (hwinfo --sound) gave: hwinfo: command not found

much thanks

Re: No audio in fresh install Xfce

Reply #6
I assume the fourth line was to be added to the conf.d file
conf.d should be a directory, and that is a list of symlinks that should be in that directory.

What is the output of
Code: [Select]
$ LC_ALL=C pacman -Ss alsa | grep installed
?

Quote
the fifth line (hwinfo --sound) gave: hwinfo: command not found
Code: [Select]
$ sudo pacman -S hwinfo inxi
then retry, and then also give the output of
Code: [Select]
$ sudo inxi -F
and
Code: [Select]
$ lspci -v
(You can use paste.artixlinux.org.)

Have you read the other links I listed? Arch wiki has an entire article dedicated to troubleshooting sound. On some hardware you might need to supply parameters to the drivers. Generally though, udev should insert the appropriate modules.

It seems that the snd_hda_intel kernel module is loaded on your system.

Re: No audio in fresh install Xfce

Reply #7
Thank you so much, also I tried a couple of things on the wiki

-for putting the symlinks in the /etc/alsa/conf.d, there is no alsa folder in etc, should I make one and conf.d and nest the symlinks in conf.d   also how do I put symlinks in there?

-”LC_ALL=C pacman -Ss alsa | grep installed”: https://paste.artixlinux.org/view/4debc535

-”hwinfo –sound”: https://paste.artixlinux.org/view/2c6d04d1

-”sudo inxi -F”: https://paste.artixlinux.org/view/17d5f327

-”lspci -v”: https://paste.artixlinux.org/view/bfc713dd

Re: No audio in fresh install Xfce

Reply #8
A web search for the other kernel module which is loaded on your system (sof-audio-pci-intel-cnl) gives:

https://bugs.archlinux.org/task/64720
https://bbs.archlinux.org/viewtopic.php?pid=1876701#p1876701

You can try adding the
Code: [Select]
snd_hda_intel.dmic_detect=0
parameter to the kernel command line and see if that helps.

Re: No audio in fresh install Xfce

Reply #9
oh nice, thanks


I'm a little confused about how I add this though

What command would I use? or What doc would I add this to?