Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: No sound after fresh install, 5+hrs of trouble shooting (Read 1050 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

No sound after fresh install, 5+hrs of trouble shooting

So I recently built a new computer with a ryzen 5600g with a gigabyte b550m mother board. I have no audio after hours of trouble shooting and I'm connected via hdmi to a 19" tv.
The first thing I did after installing xorg, xinit, dwm, and st was I installed alsautils and pulse mixer and I unmuted  everything relevant and still no audio.

So this is everything I have done to no avail:
amixer sset Master unmute
pamixer --get-volume-human
amixer -D pulse sset Master toggle, I think this was to stop pulse from auto muting on start up.

 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: ALCS1200A Digital [ALCS1200A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav

 This is the only time i get sound. I then created a .asoundrc as the arch wiki said to, but then I issued the previous command and it said there was a syntac error.( I deleted .asoundrc)

(In my touble shooting I came across https://forum.artixlinux.org/index.php/topic,1706.0.html and tried it and created /etc/asound.conf with the following info defaults.pcm.card 0, and defaults.ctl.card 0

amixer -c0
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

speaker-test -Dhw:1 -c2

speaker-test 1.2.6

Playback device is hw:1
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right

I then go then remove -Rs pulseixer then installed pipewire, pipewire-alsa, pipewire-pulse, helvum, wireplumber. When I launch helvum it's just a black gird with no audio devices like they show on the git page for it, then I removed it since it didn't help and re-installed pulsemixer.
I have also tried plugging in a pair of head phone into the back of the computer and that didn't work.

I'm sorry for the wall of text but i thought you guys should know what I have done

Re: No sound after fresh install, 5+hrs of trouble shooting

Reply #1
I fixed it, the solution was /etc/asound.conf i edit it the file to be:

pcm.!default {
  type hw
  card 1
  device 0
}
ctl.!default {
  type hw
  card 1
  device 0
}

Re: No sound after fresh install, 5+hrs of trouble shooting

Reply #2
HDMI audio can be tricky sometimes, thanks for posting the solution.

 

Re: No sound after fresh install, 5+hrs of trouble shooting

Reply #3
I fixed it, the solution was /etc/asound.conf i edit it the file to be:

pcm.!default {
  type hw
  card 1
  device 0
}
ctl.!default {
  type hw
  card 1
  device 0
}
Hello,
I have the same motherboard as you and I solved the same way, but in addition I removed as much pulseaudio as I could.
I much prefer the pretty and practical qastools mixer:

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

And added this to select card1:
Code: [Select]
defaults.pcm.card 1
defaults.ctl.card 1

Restart system

-------

I found how to work around the problem so that my usb sound card is not in position 0 in / proc / asound / cards

I want my two HDA-Intel cards to always be in position 0 and 1 and my USB-Audio card in position 2

To see the names of the loaded modules:
Code: [Select]
cat / proc / asound / modules
  0 snd_hda_intel
  1 snd_hda_intel
  2 snd_usb_audio

To set snd_usb_audio position 2 in all cases:
Code: [Sélectionner]
Code: [Select]
sudo nano /etc/modprobe.d/alsa-base.conf
I put this in there:
Code: [Select]
options snd_usb_audio index = 2

*******

To see the cards and their numbers:
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
  2 [Camera]: USB-Audio - USB 2.0 Camera