Bug 112721

Summary: No sound, either on headphones or internal speakers.
Product: Drivers Reporter: John M (sapjsm)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: superquad.vortex2, tiwai
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.13.0-74-generic x86_64 Subsystem:
Regression: No Bisected commit-id:
Attachments: Screen capture after attempted upgrade

Description John M 2016-02-20 18:02:16 UTC
Hi Folks,

new laptop (Dell 5559), new installation.

No sound, either on headphones or internal speakers. Have been all over forums, tried every fix I can find.

Sound is not muted, and I believe the settings are correct, but it's hard to be sure, as each answer I find seems to have slightly differing advice, albeit a lot in common.

Submitted bug to Canonical, and they have requested I raise it with you.

Information:

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-74.118-generic 3.13.11-ckt30
Uname: Linux 3.13.0-74-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: john 2107 F.... pulseaudio
CurrentDesktop: Unity
Date: Wed Dec 30 14:25:38 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-12-24 (6 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_AlsaPlaybackTestStderr:
 W r i t e e r r o r : - 5 , I n p u t / o u t p u t e r r o r
  x r u n _ r e c o v e r y f a i l e d : - 5 , I n p u t / o u t p u t e r r o r
  T r a n s f e r f a i l e d : I n p u t / o u t p u t e r r o r
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: john 2107 F.... pulseaudio
Symptom_Jack: Speaker, Internal
Symptom_Type: No sound at all
Title: [Inspiron 5559, Realtek ALC255, Speaker, Internal] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/16/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.6
dmi.board.name: 0664DJ
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.0.6:bd09/16/2015:svnDellInc.:pnInspiron5559:pvr:rvnDellInc.:rn0664DJ:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Inspiron 5559
dmi.sys.vendor: Dell Inc.
Comment 1 Takashi Iwai 2016-02-20 20:24:28 UTC
The kernel is way too old.  Try the latest 4.4.x or 4.5-rc kernel at first.

If it still doesn't work, give alsa-info.sh output for further analysis.
Comment 2 John M 2016-02-21 21:35:31 UTC
(In reply to Takashi Iwai from comment #1)
> The kernel is way too old.  Try the latest 4.4.x or 4.5-rc kernel at first.
> 
> If it still doesn't work, give alsa-info.sh output for further analysis.

Hi,

you're saying that the kernel for the current long-term release of Ubuntu, version 14.04 (Trusty Tahr) is too old?

Does that mean I have to upgrade to Ubuntu 15.04?  Or can I just do a kernel upgrade?

Best regards,

John
Comment 3 Takashi Iwai 2016-02-22 09:52:53 UTC
(In reply to John M from comment #2)
> (In reply to Takashi Iwai from comment #1)
> > The kernel is way too old.  Try the latest 4.4.x or 4.5-rc kernel at first.
> > 
> > If it still doesn't work, give alsa-info.sh output for further analysis.
> 
> Hi,
> 
> you're saying that the kernel for the current long-term release of Ubuntu,
> version 14.04 (Trusty Tahr) is too old?

Yes.

> Does that mean I have to upgrade to Ubuntu 15.04?  Or can I just do a kernel
> upgrade?

At best, build the kernel by yourself.  If the problem is still seen with the latest upstream kernel, report back here.
Comment 4 John M 2016-02-22 20:29:33 UTC
Created attachment 204351 [details]
Screen capture after attempted upgrade

Screen capture after attempted upgrade to 4.5-rc
Comment 5 John M 2016-02-22 20:33:49 UTC
Hi there Iwai,

I tried upgrading to 4.5-rc, but got errors.  I followed the instructions for 64-bit at:

https://websetnet.com/install-linux-kernel-45-rc-3-ubuntu-1504-ubuntu-1404/

The download and unpack were fine, but the upgrade got firmware errors.

I've copied the text from the terminal and attached it in a text file. I hope it's helpful to you.

Many thanks for your time.

John
Comment 6 Takashi Iwai 2016-02-23 16:15:55 UTC
I recommend you to ask it on some Ubuntu forum at first.  It's a downstream issue, not what we do care here.
Comment 7 Raymond 2016-02-24 02:38:09 UTC
8192.226320] playback write error (DMA or IRQ trouble?) [ 8202.234132] playback write error (DMA or IRQ trouble?)

Seem bug in hda controller
Comment 8 Raymond 2016-02-24 03:53:53 UTC
c[    3.023244] [drm:si_dpm_set_power_state] *ERROR* si_upload_sw_state failed
[    3.023287] [drm] radeon: dpm initialized
[    3.023291] radeon 0000:01:00.0: No connectors reported connected with modes
[    3.023293] [drm] Cannot find any crtc or sizes - going 1024x768
[    3.025863] [drm] fb mappable at 0xC1250000
[    3.025864] [drm] vram apper at 0xC0000000
[    3.025864] [drm] size 3145728
[    3.025865] [drm] fb depth is 24
[    3.025866] [drm]    pitch is 4096
[    3.025868] checking generic (b0000000 7e9000) vs hw (c0000000 10000000)
[    3.026060] radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device
[    3.026063] radeon 0000:01:00.0: registered panic notifier
[    3.026073] [drm] Initialized radeon 2.36.0 20080528 for 0000:01:00.0 on minor 0
[    3.056176] Switched to clocksource tsc



[   12.696294] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[   12.696469] snd_hda_intel 0000:00:1f.3: irq 143 for MSI/MSI-X
[   12.709700] SKU: Nid=0x1d sku_cfg=0x40700001
[   12.709703] SKU: port_connectivity=0x1
[   12.709704] SKU: enable_pcbeep=0x1
[   12.709705] SKU: check_sum=0x00000000
[   12.709705] SKU: customization=0x00000000
[   12.709706] SKU: external_amp=0x0
[   12.709707] SKU: platform_type=0x0
[   12.709707] SKU: swap=0x0
[   12.709708] SKU: override=0x1
[   12.709920] autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   12.709921]    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   12.709922]    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   12.709923]    mono: mono_out=0x0
[   12.709924]    inputs:
[   12.709925]      Mic=0x12
[   12.709926] realtek: No valid SSID, checking pincfg 0x40700001 for NID 0x1d
[   12.709927] realtek: Enabling init ASM_ID=0x0001 CODEC_ID=10ec0255
[   12.713279] autoconfig: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[   12.713282]    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   12.713283]    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   12.713284]    mono: mono_out=0x0
[   12.713284]    dig-out=0x3/0x0
[   12.713285]    inputs:
[   12.716675] input: HDA Intel PCH HDMI as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11
[   12.716751] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input10
[   12.810825] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
Comment 9 John M 2016-03-04 20:56:53 UTC

Hi Folks,

I've solved the problem.

Luckily, before the kernel upgrade wrecked my machine, I'd backed up the /home directories.

After a lot of grief, I managed to install 15.10 from a flash drive (initially, the UEFI BIOS wouldn't let me boot from the CD or the flash drive).

Changing the kernel from 3.13.74 to 4.2.0 seems to have nailed the problem. I now have sound and HDMI output.

Thanks for all the help and advice.

John M.