You are not logged in.
Pages: 1
Hi,
i update my system daily with pacman -Syu.
After doing this yesterday, my sound output seems to be broken and i do not really know where to start debugging.
Could somebody help me look into it? Thanks in advance!
I am using the onboard soundcard from my motherboard.
Some infos i guess might be of help:
uname -a
Linux mysystem 5.5.1-arch1-1 #1 SMP PREEMPT Sat, 01 Feb 2020 16:38:40 +0000 x86_64 GNU/Linuxsudo fuser -v /dev/snd/* (found in another sound related thread)
(nothing here)aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA ATI HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 3
HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
HDA ATI HDMI, HDMI 4
HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
HDA ATI HDMI, HDMI 5
HDMI Audio Output
usbstream:CARD=HDMI
HDA ATI HDMI
USB Stream Output
sysdefault:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
Front speakers
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 9: HDMI 3 [HDMI 3]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 10: HDMI 4 [HDMI 4]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 11: HDMI 5 [HDMI 5]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 0: ALC1220 Analog [ALC1220 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 1: ALC1220 Digital [ALC1220 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0ls -la /dev/snd
insgesamt 0
drwxr-xr-x 3 root root 380 4. Feb 16:36 .
drwxr-xr-x 20 root root 3620 4. Feb 16:36 ..
drwxr-xr-x 2 root root 80 4. Feb 16:36 by-path
crw-rw----+ 1 root audio 116, 9 4. Feb 16:36 controlC0
crw-rw----+ 1 root audio 116, 15 4. Feb 16:36 controlC1
crw-rw----+ 1 root audio 116, 8 4. Feb 16:36 hwC0D0
crw-rw----+ 1 root audio 116, 14 4. Feb 16:36 hwC1D0
crw-rw----+ 1 root audio 116, 6 4. Feb 16:36 pcmC0D10p
crw-rw----+ 1 root audio 116, 7 4. Feb 16:36 pcmC0D11p
crw-rw----+ 1 root audio 116, 2 4. Feb 16:36 pcmC0D3p
crw-rw----+ 1 root audio 116, 3 4. Feb 16:36 pcmC0D7p
crw-rw----+ 1 root audio 116, 4 4. Feb 16:36 pcmC0D8p
crw-rw----+ 1 root audio 116, 5 4. Feb 16:36 pcmC0D9p
crw-rw----+ 1 root audio 116, 11 4. Feb 16:36 pcmC1D0c
crw-rw----+ 1 root audio 116, 10 4. Feb 16:36 pcmC1D0p
crw-rw----+ 1 root audio 116, 12 4. Feb 16:36 pcmC1D1p
crw-rw----+ 1 root audio 116, 13 4. Feb 16:36 pcmC1D2c
crw-rw----+ 1 root audio 116, 1 4. Feb 16:36 seq
crw-rw----+ 1 root audio 116, 33 4. Feb 16:36 timerdmesg | grep snd
[ 4.116842] snd_hda_intel 0000:0c:00.1: Force to non-snoop mode
[ 4.210465] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[ 4.210468] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.210469] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 4.210471] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 4.210472] snd_hda_codec_realtek hdaudioC1D0: dig-out=0x1e/0x0
[ 4.210473] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 4.210474] snd_hda_codec_realtek hdaudioC1D0: Front Mic=0x19
[ 4.210475] snd_hda_codec_realtek hdaudioC1D0: Rear Mic=0x18
[ 4.210477] snd_hda_codec_realtek hdaudioC1D0: Line=0x1a
[ 4.843109] snd_hda_intel 0000:0c:00.1: bound 0000:0c:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])speaker-test
speaker-test 1.2.1
Wiedergabe-Gerät ist default
Stream-Parameter sind 48000 Hz, S16_LE, 1 Kanäle
Verwende 16 Oktaven rosa Rauschen
ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
Fehler beim Öffnen des Gerätes: -19, Kein passendes Gerät gefundenlsmod | grep '^snd'
snd_hda_codec_realtek 126976 1
snd_hda_codec_generic 94208 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 73728 1
snd_hda_intel 57344 0
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_hda_codec 163840 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 106496 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_pcm 139264 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 40960 1 snd_pcm
snd 114688 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcmamixer
amixer: Mixer attach default error: No such devicelspci | grep -i audio
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64]
0e:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio ControllerLast edited by nexx1 (2020-02-04 20:08:44)
Offline
Which device do you want output out of? The AMD/HDMI card or the actual card that's part of the MB? It's likely that your graphics card didn't expose a HDMI interface but does with the new kernel, now your ALSA indices have shifted. That's normal, what i do find weird though is that you don't have a default device do you have any custom ALSA configuration?
FWIW if it's the first of these things with a new HDMI card appearing, creating a config in /etc/modprobe.d/alsa.conf to the effect of
options snd_hda_intel index=1,0should shift the indices back to keep the integrated card in the first position.
Offline
Yes, i want to use the output of the onboard-sound and not from my videocard.
There was no alsa.conf in this directory so i created it with your suggestion being the only line in it and rebooted - sadly didnt change anything.
Offline
Repost aplay -Ll as well as your /etc/asound.conf and ~/.asoundrc if present. And
amixer -c0Last edited by V1del (2020-02-04 17:55:03)
Offline
*edit: forgot amixer -c0
Here it is:
aplay -LI
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
sysdefault:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
Front speakers
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA ATI HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 3
HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
HDA ATI HDMI, HDMI 4
HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
HDA ATI HDMI, HDMI 5
HDMI Audio Output
usbstream:CARD=HDMI
HDA ATI HDMI
USB Stream Output/etc/asound.conf --> does not exist
cat .asoundrc
pcm.!default {
type plug
slave.pcm "dmixer"
}
ctl.!default {
type hw
card Generic_1
}
# mostly from https://web.archive.org/web/20160415075838/https://dl.dropboxusercontent.com/u/18371907/asoundrc
pcm.dmixer {
type dmix # http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html
ipc_key 17 # must be unique for each dmix definition
ipc_key_add_uid true # add current uid to unique IPC key, users can use this simultaneously
slave {
channels 2 # 2 for stereo, 6 for surround51, 8 for surround71
pcm {
nonblock true # nonblocking open mode, read/write access unchanged
#format S16_LE
format S32_LE
rate 44100
#rate 48000
type hw
#card 0
card Generic_1
device 0
#subdevice 0
}
period_time 0 # OSS? http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_dmix
period_size 1024 # OSS needs powers of 2
buffer_size 8192
#period_size: 11024 # mpd defaults
#buffer_size: 22048
}
}amixer -c0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 60 [69%] [-20.25dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 39 [62%] [12.00dB] [on]
Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 0 [0%] [-17.25dB] [off]
Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]I am running this custom and fractional asoundrc for a long time and remember that i had problem with my audio in the first days of my arch install.
And i also remember that there was some event where i had to switch the indices.
Just gotta find out how to get alsa to re-read the asoundrc without rebooting, then i'll try changing my asoundrc
Last edited by nexx1 (2020-02-04 19:18:06)
Offline
Looks like you have some kind of USB audio device, which may have grabbed slot 0 , as v1del stated an /etc/modprobe.d/alsa-base.conf file may fix this
options snd_hda_intel index=-0
options snd_usb_intel index=-2This will ensure onboard gets slot 0 and USB gets slot in future.
Good luck
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Looks like you have some kind of USB audio device, which may have grabbed slot 0 , as v1del stated an /etc/modprobe.d/alsa-base.conf file may fix this
options snd_hda_intel index=-0 options snd_usb_intel index=-2This will ensure onboard gets slot 0 and USB gets slot in future.
Good luck
Hi,
there is no USB audio device. Could this be the usb-connector for the front-audio jacks on my pc case? I purely use my speakers with the output of my mainboard-audio and always have been.
Trying your suggestion now
Edit:
Now using a rather deault .asoundrc
pcm.!default {
type hw
card Generic
}
ctl.!default {
type hw
card Generic
}Which at least enables MPD to output audio \o/ Browsers are still without audio though.
Next edit:
Exactly one tab in my browser is able to output audio, nothing else seems to be allowed to output at the same time. Is this a mixing issue?
Last edited by nexx1 (2020-02-04 19:51:29)
Offline
Well, thanks for the support, but i just had to change my asoundrc to the proper card (so card 1 in this case) - and voilá everything back to normal.
Guess its solved then.
Offline
Without a definition in modprobe that 1 is unstable ensure you have a file in modprobe, or use the "newly correct" string identifier of Generic instead of Generic_1
Offline
Pages: 1