Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: user44 on 11 July 2025, 21:55:18

Title: No sound using ALSA no matter which sound card is selected
Post by: user44 on 11 July 2025, 21:55:18
I am running a fresh install of runit Artix and am having issues with audio playback.

Alsamixer shows the FiiO audio card as not having any audio controls. While this was the case a couple days ago, audio was nevertheless playing through it then.

After installing pulseaudio and pulseaudio-alsa, pavucontrol shows a moving bar when playing audio, but nothing is actually playing no matter which output device I select.

I have tried running speaker-test with all three of the cards with nothing being played. The DP device has speakers connected to it as well. Everything is unmuted in alsamixer and in pavucontrol when installed.

aplay -l output with pulseaudio uninstalled:
Code: [Select]
**** List of PLAYBACK Hardware Devices ****
card 0: K3 [FiiO K3], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [Acer X34A]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lsmod output:
Code: [Select]
Module                  Size  Used by
8021q                  53248  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    12288  1 garp
llc                    16384  2 stp,garp
iptable_nat            12288  0
nf_nat                 61440  1 iptable_nat
nf_conntrack          204800  1 nf_nat
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
iptable_mangle         12288  0
iptable_filter         12288  0
ip6_tables             36864  0
xt_owner               12288  0
ip_tables              36864  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               65536  6 iptable_filter,xt_owner,ip6_tables,ip_tables,iptable_nat,iptable_mangle
ntfs3                 327680  3
vfat                   24576  1
fat                   110592  1 vfat
rtw_8814au             12288  0
rtw_8814a             258048  1 rtw_8814au
rtw_usb                32768  1 rtw_8814au
intel_rapl_msr         20480  0
snd_hda_codec_realtek   221184  1
rtw_core              339968  2 rtw_usb,rtw_8814a
amd_atl                57344  1
intel_rapl_common      53248  1 intel_rapl_msr
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
snd_hda_scodec_component    20480  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     90112  1
mac80211             1650688  2 rtw_usb,rtw_core
ucsi_ccg               36864  0
polyval_clmulni        12288  0
snd_hda_intel          69632  4
typec_ucsi             77824  1 ucsi_ccg
polyval_generic        12288  1 polyval_clmulni
snd_intel_dspcfg       40960  1 snd_hda_intel
ghash_clmulni_intel    16384  0
libarc4                12288  1 mac80211
typec                 114688  1 typec_ucsi
sha512_ssse3           53248  0
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_usb_audio         573440  2
sha256_ssse3           36864  0
roles                  16384  1 typec_ucsi
ee1004                 16384  0
snd_hda_codec         217088  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
asus_wmi_sensors       20480  0
snd_usbmidi_lib        49152  1 snd_usb_audio
sha1_ssse3             32768  0
snd_ump                40960  1 snd_usb_audio
aesni_intel           106496  0
cfg80211             1400832  2 rtw_core,mac80211
snd_hda_core          143360  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_rawmidi            53248  2 snd_usbmidi_lib,snd_ump
crypto_simd            16384  1 aesni_intel
eeepc_wmi              12288  0
cryptd                 28672  2 crypto_simd,ghash_clmulni_intel
snd_hwdep              24576  2 snd_usb_audio,snd_hda_codec
snd_seq_device         16384  2 snd_ump,snd_rawmidi
mousedev               28672  0
asus_wmi              110592  1 eeepc_wmi
rapl                   20480  0
snd_pcm               212992  5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
platform_profile       16384  1 asus_wmi
igb                   348160  0
sp5100_tco             20480  0
mc                     90112  1 snd_usb_audio
sparse_keymap          12288  1 asus_wmi
snd_timer              57344  1 snd_pcm
rfkill                 45056  3 asus_wmi,cfg80211
wmi_bmof               12288  0
pcspkr                 12288  0
acpi_cpufreq           32768  0
ptp                    49152  1 igb
snd                   155648  25 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
i2c_piix4              36864  0
pps_core               32768  1 ptp
i2c_nvidia_gpu         12288  0
soundcore              16384  1 snd
ccp                   184320  0
i2c_smbus              20480  1 i2c_piix4
k10temp                16384  0
dca                    16384  1 igb
gpio_amdpt             16384  0
mac_hid                12288  0
gpio_generic           24576  1 gpio_amdpt
ses                    20480  0
enclosure              20480  1 ses
scsi_transport_sas     57344  1 ses
nouveau              3649536  3
drm_ttm_helper         16384  2 nouveau
ttm                   118784  2 drm_ttm_helper,nouveau
video                  81920  2 asus_wmi,nouveau
gpu_sched              65536  1 nouveau
i2c_algo_bit           24576  2 igb,nouveau
drm_gpuvm              45056  1 nouveau
nvme                   65536  3
drm_exec               12288  2 drm_gpuvm,nouveau
drm_display_helper    274432  1 nouveau
nvme_core             266240  4 nvme
mxm_wmi                12288  1 nouveau
uas                    36864  2
cec                    90112  1 drm_display_helper
nvme_keyring           20480  1 nvme_core
usb_storage            90112  3 uas
nvme_auth              32768  1 nvme_core
wmi                    32768  6 asus_wmi_sensors,video,asus_wmi,wmi_bmof,mxm_wmi,nouveau

lspci output:
Code: [Select]
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
00:19.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
00:19.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
00:19.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
00:19.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
00:19.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
00:19.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
00:19.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
00:19.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] X399 Series Chipset USB 3.1 xHCI Controller (rev 02)
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] X399 Series Chipset SATA Controller (rev 02)
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] X399 Series Chipset PCIe Bridge (rev 02)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
08:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller
09:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal]
0a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
0a:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor (PSP) 3.0 Device
0a:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller
0b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
0b:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
0b:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
40:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
40:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
40:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
40:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
40:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
40:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
40:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
40:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
40:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
40:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
40:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
41:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A] (rev a1)
41:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Controller (rev a1)
41:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller (rev a1)
41:00.3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI Controller (rev a1)
42:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
42:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor (PSP) 3.0 Device
42:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller
43:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
43:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)

Please let me know if any further information would be useful and I will provide it.
Title: Re: No sound using ALSA no matter which sound card is selected
Post by: nous on 11 July 2025, 22:40:36
Do you have audio within the live ISO you installed from?
Title: Re: No sound using ALSA no matter which sound card is selected
Post by: kixik on 11 July 2025, 22:52:59
Quote
aplay -l output with pulseaudio uninstalled:

I see you have pulseaudio installed, do you by any chance also have pulseaudio-alsa installed?  Or pipewire-alsa?

If any of those plugins are installed alsamixer will show you just an almost useless thing, since pulseaudio or pipewire take over.  Just a stupid suggestion from me to look at, but it came to my mind given you have pulseaudio installed.
Title: Re: No sound using ALSA no matter which sound card is selected
Post by: user44 on 11 July 2025, 23:04:22
Quote
Do you have audio within the live ISO you installed from?

Running speaker-test didn't play any audio for both the FiiO and DP sound cards in the live ISO, which is strange considering audio played from the FiiO device just a couple days ago on this installation.

Quote
If any of those plugins are installed alsamixer will show you just an almost useless thing, since pulseaudio or pipewire take over.

I have since uninstalled both pulseaudio and pulseaudio-alsa, but when they were installed pavucontrol showd the moving bar indicating playing audio for all the output devices when I switched between them, but none were playing any audio.
Title: Re: No sound using ALSA no matter which sound card is selected
Post by: nous on 12 July 2025, 18:05:23
@user44 You marked it as solved, what was it?
Title: Re: No sound using ALSA no matter which sound card is selected
Post by: user44 on 21 July 2025, 13:58:22
Quote
@user44 You marked it as solved, what was it?

I managed to get sound working on the FiiO device by fixing an issue with the physical device itself, I still haven't managed to do so on the DP sound card but that isn't an issue for me right now.
Title: Re: No sound using ALSA no matter which sound card is selected
Post by: mrbrklyn on 21 July 2025, 14:02:04
I was going to say, try slapping your laptop really hard on the side....

or maybe not.