Ubuntu: Sound problems after upgrading to 17.04 on HP Spectre x360


I upgraded to Ubuntu 17.04 from 16.10 yesterday on my HP Spectre x360 13-w0XX. After upgrading, I noticed that the sound wasn't working anymore: the volume sliders in the menu bar were grayed out, pressing the volume increase/decrease hotkeys didn't do anything, and there was no sound output.

I followed some online guides about the same question and found that the audio card is being identified, and I can select an audio output in system preferences (see below).

After running sudo update-initramfs -u and rebooting, the volume sliders are no longer grayed out and the speakers work, but there is no sound when I plug in headphones.

Having been through many online guides, I don't really know where to go from here, so any help is appreciated.

Here is some additional information:

The volume is not muted on alsamixer.

I followed this guide, to no avail. Here is is the output of sudo aplay -l:

**** List of PLAYBACK Hardware Devices ****  card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]    Subdevices: 1/1    Subdevice #0: subdevice #0  card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]    Subdevices: 1/1    Subdevice #0: subdevice #0  card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]    Subdevices: 1/1    Subdevice #0: subdevice #0  card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]    Subdevices: 1/1    Subdevice #0: subdevice #0  

and here is the output of lspci -v | grep -A7 -i 'audio':

00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21) (prog-if 80)      Subsystem: Hewlett-Packard Company Device 827e      Flags: bus master, fast devsel, latency 32, IRQ 286      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  

This is the result of running wget http://www.alsa-project.org/alsa-info.sh -O alsa-info.sh && chmod +x alsa-info.sh && ./alsa-info.sh

Update: opening a Windows 10 VM in Ubuntu 17.10 shows a volume icon with a red X on it. I can fix the speakers in the VM using Windows troubleshooting, but it says that headphones are not plugged in while troubleshooting (they are plugged in).

I used grep "pulseaudio" /var/log/syslog* and got this output:

pulseaudio[1385]: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files  pulseaudio[1880]: [alsa-sink-Generic Analog] alsa-mixer.c: Failed to set switch of Headphone: Input/output error  


In Ubuntu 17.04, I opened a terminal window and typed in pulseaudio and pressed enter and within a few seconds, the "greyed-out" speaker icon on the right side of the top bar became "black" (i.e. not greyed-out) and the sound started working. Seems weird but I have to do this every time I start up this computer (a Dell Optiplex 760). It's a pain in the ass but it works for me. I hope this helps people out.


I had similar issues, and I found that pulseaudio was dying and restarting in a loop.

I saw in /var/log/syslog that pulseaudio was missing some modules it expected. After searching the web for what package provides mbeq_1197.so, I installed the swh-plugins package, and suddenly my volume controls reappeared and I had audio.


My solution: changed from Gnome desktop back to Unity desktop after reboot and sound resumed working. I upgraded from 16.04 to 17.04 with a few minor bugs that already had solutions available. Later, I decided to try the Gnome desktop after reading it was the new direction just to see how it worked. Today is the first day I used something that required sound - no sound. On a whim I flipped back to Unity and sound now works again.


Had the same problem and found that the following worked (from https://ubuntuforums.org/showthread.php?t=2360020)

Add the following line to /etc/modprobe.d/alsa-base.conf

options snd-hda-intel model=basic

and restart alsa with sudo alsa force-reload.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »