Ubuntu 18.04 No Soundcards Found

Asked by S

I recently reinstalled Ubuntu 18.04 on my Asus TUF FX505GT, and it is unable to detect my speakers or headphone jack as outputs. I feel like I have tried going through every askubuntu question related to sound issues in 18.04 to no avail... Any help would be greatly appreciated!

Things I've tried:
I have a dual boot with Windows 10. Speakers and headphones work fine there. Fast startup is disabled, and drivers are up to date there.

I've tried the steps listed in the following guides:
https://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html
https://askubuntu.com/questions/914463/dummy-output-no-sound-in-ubuntu-16-04
https://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/

and reverted the changes made after they were unsuccessful at fixing the issue..

I have tried going through the Ubuntu SoundTroubleshooting guide (https://help.ubuntu.com/community/SoundTroubleshootingGuide) to no avail. Interestingly, the output of the "big one"
echo "Sound cards recognized by the system:"; lspci -nn | grep --color=none '\[04[80][13]\]'; echo "Sound cards recognized by ALSA:"; lspci -nn | grep '\[04[80][13]\]' | while read line; do lspci -nnk | grep -A 3 '\[04[80][13]\]' | grep -e 'Kernel modules: ..*' -e '\[04[80][13]\]' | grep --color=none -F "$line"; done; echo "Sound cards recognized by ALSA, and activated:"; lspci -nn | grep '\[04[80][13]\]' | while read line; do lspci -nnk | grep -A 3 '\[04[80][13]\]' | grep -e 'Kernel drivers in use: ..*' -e '\[04[80][13]\]' | grep --color=none -F "$line"; done

shows that the sound cards are recognized by the system, by alsa, and are activated...

Sound cards recognized by the system:
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
Sound cards recognized by ALSA:
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
Sound cards recognized by ALSA, and activated:
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)

Finally the Ubuntu SoundTroubleshootingProcedure (https://help.ubuntu.com/community/SoundTroubleshootingProcedure) has led me here...

The output of alsa-info.sh is as follows:
http://alsa-project.org/db/?f=3e68a0f3a4c224b7afece2016b4f6968143ed346
!!################################
!!ALSA Information Script v 0.4.65
!!################################

!!Script ran on: Fri May 29 22:41:50 UTC 2020

!!Linux Distribution
!!------------------

Ubuntu 18.04.4 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=bionic

!!DMI Information
!!---------------

Manufacturer: ASUSTeK COMPUTER INC.
Product Name: TUF Gaming FX505GT_FX505GT
Product Version: 1.0
Firmware Version: FX505GT.303
Board Vendor: ASUSTeK COMPUTER INC.
Board Name: FX505GT

!!ACPI Device Status Information
!!---------------

/sys/bus/acpi/devices/ACPI0003:00/status 15
/sys/bus/acpi/devices/ACPI000C:00/status 15
/sys/bus/acpi/devices/ACPI000E:00/status 15
/sys/bus/acpi/devices/ASUS2018:00/status 15
/sys/bus/acpi/devices/ATK4002:00/status 15
/sys/bus/acpi/devices/ELAN1200:00/status 15
/sys/bus/acpi/devices/INT33A1:00/status 15
/sys/bus/acpi/devices/INT3400:00/status 15
/sys/bus/acpi/devices/INT3403:04/status 15
/sys/bus/acpi/devices/INT340E:00/status 15
/sys/bus/acpi/devices/INT3450:00/status 15
/sys/bus/acpi/devices/INT3F0D:00/status 15
/sys/bus/acpi/devices/LNXPOWER:00/status 1
/sys/bus/acpi/devices/LNXPOWER:03/status 1
/sys/bus/acpi/devices/LNXPOWER:04/status 15
/sys/bus/acpi/devices/LNXPOWER:05/status 1
/sys/bus/acpi/devices/LNXPOWER:06/status 1
/sys/bus/acpi/devices/LNXPOWER:07/status 1
/sys/bus/acpi/devices/LNXPOWER:08/status 1
/sys/bus/acpi/devices/LNXPOWER:09/status 1
/sys/bus/acpi/devices/LNXPOWER:0b/status 1
/sys/bus/acpi/devices/MSFT0001:00/status 15
/sys/bus/acpi/devices/MSFT0101:00/status 15
/sys/bus/acpi/devices/PNP0103:00/status 15
/sys/bus/acpi/devices/PNP0C02:00/status 3
/sys/bus/acpi/devices/PNP0C02:03/status 3
/sys/bus/acpi/devices/PNP0C02:05/status 3
/sys/bus/acpi/devices/PNP0C04:00/status 31
/sys/bus/acpi/devices/PNP0C0A:03/status 31
/sys/bus/acpi/devices/PNP0C0C:00/status 15
/sys/bus/acpi/devices/PNP0C0E:00/status 11
/sys/bus/acpi/devices/PNP0C0F:00/status 9
/sys/bus/acpi/devices/PNP0C0F:01/status 9
/sys/bus/acpi/devices/PNP0C0F:02/status 9
/sys/bus/acpi/devices/PNP0C0F:03/status 9
/sys/bus/acpi/devices/PNP0C0F:04/status 9
/sys/bus/acpi/devices/PNP0C0F:05/status 9
/sys/bus/acpi/devices/PNP0C0F:06/status 9
/sys/bus/acpi/devices/PNP0C0F:07/status 9
/sys/bus/acpi/devices/PRP00001:00/status 11
/sys/bus/acpi/devices/XXXX0000:01/status 15
/sys/bus/acpi/devices/XXXX0000:03/status 15
/sys/bus/acpi/devices/XXXX0000:05/status 15
/sys/bus/acpi/devices/device:11/status 15

!!Kernel Information
!!------------------

Kernel release: 5.3.0-53-generic
Operating System: GNU/Linux
Architecture: x86_64
Processor: x86_64
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version:
Library version: 1.1.3
Utilities version: 1.1.3

!!Loaded ALSA modules
!!-------------------

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

!!Soundcards recognised by ALSA
!!-----------------------------

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10) (prog-if 80)
 Subsystem: ASUSTeK Computer Inc. Device [1043:1ab1]
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
 Subsystem: ASUSTeK Computer Inc. Device [1043:1ab1]

!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2

!!Loaded sound module options
!!---------------------------

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root audio 116, 1 May 29 15:41 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 May 29 15:41 /dev/snd/timer

!!Aplay/Arecord output
!!--------------------

APLAY

aplay: device_list:270: no soundcards found...

ARECORD

arecord: device_list:270: no soundcards found...

!!Amixer output
!!-------------

!!Alsactl output
!!--------------

--startcollapse--
--endcollapse--

!!All Loaded Modules
!!------------------

8250_dw
acpi_pad
acpi_tad
acpi_thermal_rel
aes_x86_64
aesni_intel
ahci
asus_nb_wmi
asus_wireless
asus_wmi
aufs
autofs4
binfmt_misc
bluetooth
bnep
bpfilter
br_netfilter
bridge
btbcm
btintel
btrtl
btusb
ccm
cfg80211
cmac
coretemp
crc32_pclmul
crct10dif_pclmul
cryptd
crypto_simd
drm
drm_kms_helper
ecc
ecdh_generic
fb_sys_fops
ghash_clmulni_intel
glue_helper
hid
hid_generic
hid_multitouch
i2c_algo_bit
i2c_hid
i915
idma64
input_leds
int3400_thermal
int3403_thermal
int340x_thermal_zone
intel_cstate
intel_lpss
intel_lpss_pci
intel_pch_thermal
intel_powerclamp
intel_rapl_common
intel_rapl_msr
intel_rapl_perf
intel_soc_dts_iosf
ip_tables
ipmi_devintf
ipmi_msghandler
iptable_filter
iptable_nat
irqbypass
iwlmvm
iwlwifi
joydev
kvm
kvm_intel
libahci
libarc4
libcrc32c
llc
lp
mac80211
mac_hid
mc
mei
mei_hdcp
mei_me
mxm_wmi
nf_conntrack
nf_conntrack_netlink
nf_defrag_ipv4
nf_defrag_ipv6
nf_nat
nfnetlink
nls_iso8859_1
nvidia
nvidia_drm
nvidia_modeset
nvme
nvme_core
overlay
parport
parport_pc
pinctrl_cannonlake
pinctrl_intel
ppdev
processor_thermal_device
r8169
realtek
rfcomm
sch_fq_codel
serio_raw
soundcore
sparse_keymap
stp
syscopyarea
sysfillrect
sysimgblt
usbhid
uvcvideo
v4l2_common
video
videobuf2_common
videobuf2_memops
videobuf2_v4l2
videobuf2_vmalloc
videodev
virt_dma
wmi
wmi_bmof
x86_pkg_temp_thermal
x_tables
xfrm_algo
xfrm_user
xt_MASQUERADE
xt_addrtype
xt_conntrack

!!ALSA/HDA dmesg
!!--------------

[ 0.162328] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.162329] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.162330] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)

!!Packages installed
!!--------------------

ii alsa-oss 1.0.28-1ubuntu1 amd64 ALSA wrapper for OSS applications
ii alsa-tools 1.1.3-1 amd64 Console based ALSA utilities for specific hardware
ii alsa-tools-gui 1.1.3-1 amd64 GUI based ALSA utilities for specific hardware
ii alsa-utils 1.1.3-1ubuntu1 amd64 Utilities for configuring and using ALSA

I've been pulling my hair out a bit with this one, so I hope someone has a better clue than I do!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you install and use pavucontrol does it help?

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

"!!ALSA Version
!!------------

Driver version:
Library version: 1.1.3
Utilities version: 1.1.3"

You are missing the drivers.

Which kernel packages do you have installed? What is the output of the command

dpkg -l | grep ' linux-'

Revision history for this message
S (shonig) said :
#3

Thanks for the quick responses!

@Andrew - I have pavucontrol 3.0-4 installed. Running it, I am only able to see a dummy output and don't have the option to change any settings or see advanced options.

@Manfred - here is the output you requested:
simon@simon-TUF:~$ dpkg -l | grep ' linux-'
ii linux-base 4.5ubuntu1.1 all Linux image base package
ii linux-firmware 1.173.18 all Firmware for Linux kernel drivers
ii linux-generic-hwe-18.04 5.3.0.53.110 amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.3.0-28 5.3.0-28.30~18.04.1 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-28-generic 5.3.0-28.30~18.04.1 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-5.3.0-53 5.3.0-53.47~18.04.1 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-generic-hwe-18.04 5.3.0.53.110 amd64 Generic Linux kernel headers
ii linux-image-5.3.0-28-generic 5.3.0-28.30~18.04.1 amd64 Signed kernel image generic
ii linux-image-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Signed kernel image generic
ii linux-image-generic-hwe-18.04 5.3.0.53.110 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 4.15.0-101.102 amd64 Linux Kernel Headers for development
ii linux-modules-5.3.0-28-generic 5.3.0-28.30~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-modules-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-modules-extra-5.3.0-28-generic 5.3.0-28.30~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-modules-extra-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-signed-generic-hwe-18.04 5.3.0.53.110 amd64 Complete Signed Generic Linux kernel and headers (dummy transitional package)
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

What output do you receive for the command

sudo modprobe -v snd-hda-intel

Maybe similar to https://askubuntu.com/q/1175052

Revision history for this message
S (shonig) said :
#5

simon@simon-TUF:~$ sudo modprobe -v snd-hda-intel
[sudo] password for simon:

install /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
insmod /lib/modules/5.3.0-53-generic/kernel/sound/core/snd.ko
install /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
insmod /lib/modules/5.3.0-53-generic/kernel/sound/core/snd-pcm.ko
insmod /lib/modules/5.3.0-53-generic/kernel/sound/core/snd-hwdep.ko
insmod /lib/modules/5.3.0-53-generic/kernel/sound/hda/snd-hda-core.ko
insmod /lib/modules/5.3.0-53-generic/kernel/sound/pci/hda/snd-hda-codec.ko
insmod /lib/modules/5.3.0-53-generic/kernel/sound/hda/snd-intel-dspcfg.ko
insmod /lib/modules/5.3.0-53-generic/kernel/sound/pci/hda/snd-hda-intel.ko

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Do you have sound after that command?

Revision history for this message
S (shonig) said :
#7

No unfortunately still no sound through my laptop's speakers or headphone jack. Only the dummy output is listed.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

What happens when you execute the modprobe command and then run the alsa-info script?
Is there something listed for "ALSA Version - Driver version:"?

Revision history for this message
S (shonig) said :
#9

Yes, now the driver version is:

!!ALSA Version
!!------------

Driver version: k5.3.0-53-generic
Library version: 1.1.3
Utilities version: 1.1.3

full output here:
http://alsa-project.org/db/?f=0eb462367584f356b6c0ac336e25a6a5aef2e1a3

I am now able to get sound through my HDMI port to an external monitor with built in speakers, but it isn't an ideal work around.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Have you tried https://askubuntu.com/q/1175052 (adding snd_hda_intel.dmic_detect=0 to the boot command line in grub)?

Revision history for this message
S (shonig) said :
#11

I had before, yes. I retried again today and still only see a dummy output. Additionally, the HDMI sound output is no longer listed in the Sound Settings.

Alsa-info output following the change and reboot:

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10) (prog-if 80)
 Subsystem: ASUSTeK Computer Inc. Device [1043:1ab1]
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
 Subsystem: ASUSTeK Computer Inc. Device [1043:1ab1]

Full log here:
http://alsa-project.org/db/?f=d9de8f1745972b2c51b771233d07d19638d22910

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#12

Your output again shows that no driver is loaded.
I do not know why, but the automatic loading of the driver seems not to be working on your system. Apparenty you have to load it manually with the modprobe command.

Revision history for this message
S (shonig) said :
#13

Thanks Manfred Hampl, that solved my question.