No sound card detected by PulseAudio and ALSA, but is visible in lspci [Dell XPS 13 9360]

Bug #1781294 reported by Justin Luther on 2018-07-11

This bug report will be marked for expiration in 45 days if no further activity occurs. (find out why)

18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
High
Unassigned

Bug Description

This is 18.04 LTS but also occurred in 16.04 LTS. I have gone through the troubleshooting steps here:

https://help.ubuntu.com/community/SoundTroubleshooting

and have included some output of those diagnostic steps below:

$ sudo aplay -l
aplay: device_list:270: no soundcards found...

$ find /lib/modules/`uname -r` | grep snd
/lib/modules/4.15.0-23-generic/kernel/sound/synth/emux/snd-emux-synth.ko
/lib/modules/4.15.0-23-generic/kernel/sound/synth/snd-util-mem.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/pcsp/snd-pcsp.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/mpu401/snd-mpu401.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/snd-mtpav.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/snd-mts64.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/vx/snd-vx-lib.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/snd-aloop.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/opl3/snd-opl3-lib.ko
/lib/modules/4.15.0-23-generic/kernel/sound/drivers/opl3/snd-opl3-synth.ko
...and lots more

$ lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) (prog-if 80)
 Subsystem: Dell Sunrise Point-LP HD Audio
 Flags: bus master, fast devsel, latency 32, IRQ 131
 Memory at dc228000 (64-bit, non-prefetchable) [size=16K]
 Memory at dc200000 (64-bit, non-prefetchable) [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel, snd_soc_skl

Sound settings still only list dummy output.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu7.1
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 11 18:44:06 2018
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
InstallationDate: Installed on 2017-05-11 (426 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
SourcePackage: pulseaudio
Symptom: audio
UpgradeStatus: Upgraded to bionic on 2018-07-11 (0 days ago)
dmi.bios.date: 01/18/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.2
dmi.board.name: 01KT0M
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.3.2:bd01/18/2017:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn01KT0M:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9360
dmi.sys.vendor: Dell Inc.

Justin Luther (justinluther) wrote :
summary: - no sound but system recognizes integrated sound card on laptop
+ no sound but system recognizes integrated sound card on laptop [Dell XPS
+ 13 9360]
summary: - no sound but system recognizes integrated sound card on laptop [Dell XPS
- 13 9360]
+ No sound card detected by PulseAudio and ALSA, but is visible in lspci
+ [Dell XPS 13 9360]
Changed in pulseaudio (Ubuntu):
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed

I have a XPS 13 9370 with the same card and I'm seeing exactly the same. My card was being detected correctly in Ubuntu 18.04 but stopped being detected when I upgraded to the Ubuntu 18.10 development version.

In my case if I do:

sudo alsa force-reload

the sound card is detected. If I'm plugged into the Dell dock station it keeps detecting only a USB headphone (and it works through that both with pulseaudio and alsa).

The Doctor (thedoctor81877) wrote :

I am having the same issues. I had no problems with my sound on my HP 15-ay041wm in 18.04, however now that I have upgraded to 18.10 I have no sound whatever. Additionally,

sudo alsa force-reload

does nothing for me.

Bug #1784485 is also reporting sound problems with the same audio card as the systems in this bug, but I'm not sure if it can be duplicated to this bug.

summary: No sound card detected by PulseAudio and ALSA, but is visible in lspci
- [Dell XPS 13 9360]
+ [Dell XPS 13 9360/9370]

I'm on this for more than two hours. Everything I try just fails, and every search I attempt results into outdated or non-working tips. I was able to get sound by adding myself to the audio group; now speaker-test -D sysdefault:CARD=PCH works, but PulseAudio stubbornly does not detect my device. Tried to delete ~/.config/pulse, tried to restart PulseAudio, attempted to get verbose logging, no useful information. pactl list and pavucontrol only show a NVIDIA HDMI audio, and a USB webcam, no onboard HDA Intel. Do I really need to get an external USB sound card for Ubuntu 18.10? This is a real deal breaker. We need a downgrade path if upgrade fails the system that hard, but there is no such thing, besides formatting and loosing all my settings.

Eric Buist (buisteric) wrote :

If that can be of any help, here is my ALSA information. http://www.alsa-project.org/db/?f=d957084a5503ca9a9c61d3b695f84ea6595f4a3d

Eric Buist (buisteric) wrote :

I ended up running sudo apt purge pulseaudio, which completely removed PulseAudio and some configuration files. Then I rebooted and surprise, sound was back. However, it wasn't working for Firefox/YouTube, and Spotify. I then tried to reinstall PulseAudio, which didn't do anything. But systemctl --user start pulseaudio restarted the daemon, and then I have sound. I tried to reboot and still have sound.
Not sure if that will remain stable, will have to monitor this.

There are at least two issues: I got removed from the "audio" group which prevented me from using ALSA devices, then PulseAudio configuration got screwed up preventing PulseAudio from accessing ALSA devices.

Daniel van Vugt (vanvugt) wrote :

I notice the bug description mentions:

  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.

Justin (and anyone else who finds that the 'pulseaudio' process is missing), please try adding:

  realtime-scheduling = no

to /etc/pulse/daemon.conf and reboot.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete

Daniel, I did what you suggest in #10 and no change.

Changed in pulseaudio (Ubuntu):
status: Incomplete → Confirmed
Daniel van Vugt (vanvugt) wrote :

That was for people like Justin whose pulseaudio process is missing, not running.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Daniel van Vugt (vanvugt) wrote :

Which doesn't seem to include you (bug 1793640). Maybe we need to unmark that as a duplicate...?

OK, I undup, the sound card is the same, though.

summary: No sound card detected by PulseAudio and ALSA, but is visible in lspci
- [Dell XPS 13 9360/9370]
+ [Dell XPS 13 9360]
Konstantin Yegupov (kyegupov) wrote :

I have the same problem as Walter (alsa reload helps). The laptop is Asus VivoBook Pro 17, audio device is "00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)".

Can I help with solving this issue in any way?

Daniel van Vugt (vanvugt) wrote :

This bug is about the "Dell XPS 13 9360".

So to avoid confusing potentially different issues, please log your own bug.

Konstantin Yegupov (kyegupov) wrote :

Daniel, the audio card id string seems to be the same, so I suspect it might be the same issue.

Anyway, I have found the culprit. Sound card was intercepted by another process (timidity), so Pulseaudio was unable to use it.

I have discovered the offending process via the `sudo fuser /dev/snd/*` command.

Uninstalling timidity has solved the issue.

Daniel van Vugt (vanvugt) wrote :

Konstantin: That is bug 210472 you had.

Justin: Please answer comment 10. And also ensure you don't have any 'timidity' packages installed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers