You are not logged in.

#1 2016-02-04 16:56:39

Torred
Member
Registered: 2014-09-16
Posts: 9

Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

After upgrading to kernel 4.4.1-2 sound has stopped working. I'm aware that kernel 4.4 has
introduced support for i2s mode and there are details in the xps 13 wiki on how to get sound
working again (two cold reboots, order of initialisation etc). I've followed those steps but
unfortunately sill no sound.

@archlap ~ ➜ cat /etc/modprobe.d/alsa-base.conf 
options snd_hda_intel index=1,0

The kernel now sees my sound card as broadwell-rt286 and no longer shows i2s errors:

[    3.837838] haswell-pcm-audio haswell-pcm-audio: fw image intel/IntcPP01.bin not available(-2)
[    3.840503] haswell-pcm-audio haswell-pcm-audio: FW loaded, mailbox readback FW info: type 01, - version: 00.00, build 77, source commit id: 876ac6906f31a43b6772b23c7c983ce9dcb18a19
[    3.850525] broadwell-audio broadwell-audio: snd-soc-dummy-dai <-> System Pin mapping ok
[    3.850578] broadwell-audio broadwell-audio: snd-soc-dummy-dai <-> Offload0 Pin mapping ok
[    3.850625] broadwell-audio broadwell-audio: snd-soc-dummy-dai <-> Offload1 Pin mapping ok
[    3.850674] broadwell-audio broadwell-audio: snd-soc-dummy-dai <-> Loopback Pin mapping ok
@archlap ~ ➜ cat /proc/asound/cards         
 0 [broadwellrt286 ]: broadwell-rt286 - broadwell-rt286
                      broadwell-rt286
 1 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7418000 irq 49
@archlap ~ ➜ cat /proc/asound/modules
 0 snd_soc_sst_broadwell
 1 snd_hda_intel

I think all the necessary modules have loaded:

@archlap ~ ➜ lsmod | grep '^snd' | column -t  
snd_soc_sst_broadwell    16384   4
snd_soc_sst_haswell_pcm  77824   3   snd_soc_sst_broadwell
snd_soc_sst_ipc          16384   1   snd_soc_sst_haswell_pcm
snd_soc_sst_dsp          36864   1   snd_soc_sst_haswell_pcm
snd_hda_codec_hdmi       49152   1
snd_hda_intel            32768   3
snd_hda_codec            106496  2   snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core             49152   3   snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_hwdep                16384   1   snd_hda_codec
snd_soc_rt286            36864   2   snd_soc_sst_broadwell
snd_soc_rl6347a          16384   1   snd_soc_rt286
snd_soc_core             172032  3   snd_soc_sst_haswell_pcm,snd_soc_sst_broadwell,snd_soc_rt286
snd_compress             20480   1   snd_soc_core
snd_pcm_dmaengine        16384   1   snd_soc_core
snd_pcm                  86016   8   snd_soc_core,snd_hda_codec_hdmi,snd_soc_sst_haswell_pcm,snd_hda_codec,snd_hda_intel,snd_soc_rt286,snd_pcm_dmaengine,snd_hda_core
snd_timer                28672   1   snd_pcm
snd                      65536   23  snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_soc_sst_haswell_pcm,snd_hda_codec,snd_hda_intel,snd_compress
snd_soc_sst_acpi         16384   0

Alsa service fails:

@archlap ~ ➜ systemctl status alsa-state.service 
● alsa-state.service - Manage Sound Card State (restore and store)
   Loaded: loaded (/usr/lib/systemd/system/alsa-state.service; static; vendor preset: disabled)
   Active: inactive (dead)
Condition: start condition failed at Thu 2016-02-04 15:37:35 GMT; 1h 0min ago
           ConditionPathExists=/etc/alsa/state-daemon.conf was not met

@archlap ~ ➜ systemctl status alsa-restore.service   
● alsa-restore.service - Save/Restore Sound Card State
   Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static; vendor preset: disabled)
   Active: inactive (dead)
Condition: start condition failed at Thu 2016-02-04 15:37:35 GMT; 1h 0min ago
           ConditionPathExistsGlob=/dev/snd/control* was not met
@archlap ~ ➜ ll /dev/snd
total 0
drwxr-xr-x  2 root root       80 Feb  4 15:37 by-path
crw-rw----+ 1 root audio 116,  7 Feb  4 15:37 controlC0
crw-rw----+ 1 root audio 116,  2 Feb  4 15:37 controlC1
crw-rw----+ 1 root audio 116,  6 Feb  4 15:37 hwC1D0
crw-rw----+ 1 root audio 116,  9 Feb  4 15:37 pcmC0D0c
crw-rw----+ 1 root audio 116,  8 Feb  4 15:37 pcmC0D0p
crw-rw----+ 1 root audio 116, 10 Feb  4 15:37 pcmC0D1p
crw-rw----+ 1 root audio 116, 11 Feb  4 15:37 pcmC0D2p
crw-rw----+ 1 root audio 116, 12 Feb  4 15:37 pcmC0D3c
crw-rw----+ 1 root audio 116,  3 Feb  4 16:35 pcmC1D3p
crw-rw----+ 1 root audio 116,  4 Feb  4 15:37 pcmC1D7p
crw-rw----+ 1 root audio 116,  5 Feb  4 15:37 pcmC1D8p
crw-rw----+ 1 root audio 116,  1 Feb  4 15:37 seq
crw-rw----+ 1 root audio 116, 33 Feb  4 15:37 timer

I've tried downgrading to kernel 4.3 but the alsa services still fail and I still have no sound.
Does anyone have any ideas on how I would go about solving this problem?

Last edited by Torred (2016-02-04 17:24:17)

Offline

#2 2016-02-04 17:35:56

Torred
Member
Registered: 2014-09-16
Posts: 9

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

After reading https://bugs.archlinux.org/task/47989 I believe I either need to downgrade (still broken) or recompile the kernel with the flag to disable I2S set (unknown whether this works?). I do find it strange that sound is still broken (alsa services fail) when I downgrade to 4.3 however, otherwise this would be the option I'd take at this time.

Last edited by Torred (2016-02-04 17:36:31)

Offline

#3 2016-02-04 21:06:52

Torred
Member
Registered: 2014-09-16
Posts: 9

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

I managed to get sound working after downgrading so that will do for now.

Offline

#4 2016-02-05 11:00:39

Bastian
Member
Registered: 2012-05-17
Posts: 43

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

I have the same issue, I also own a Dell XPS 13 (9343). With linux 4.4.1-2 my sound would become choppy, and if I suspended my computer and resumed from suspension the sounds would glitch and play very loud. This only affects speaker output and headphone output (PCM i assume) - If I played sound through Displayport, then it was fine.

I downgraded..

sudo pacman -U linux-firmware-20151207.bbe4917-1-any.pkg.tar.xz
sudo pacman -U acpi_call-1.1.0-37-x86_64.pkg.tar.xz linux-4.3.3-3-x86_64.pkg.tar.xz

and that fixed the issue for me.. anyone knows if this issue is reported upstream?

Offline

#5 2016-02-05 21:37:51

mobabur94
Member
From: Canada
Registered: 2015-03-12
Posts: 3
Website

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

I am having the same issue with the Dell XPS 13 (9343). Not sure if it has been reported upstream or not.

After upgrading to 4.4.1-2, my touchpad occasionally freezes, and my keyboard becomes unresponsive. Then I have to hold the power button in order to reboot. I was wondering if this is related to the sound card being initialized in i2s mode?

Last edited by mobabur94 (2016-02-18 18:41:49)

Offline

#6 2016-02-09 10:04:45

m94dama
Member
Registered: 2016-02-08
Posts: 2

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

My XPS (9343) works very well with 4.4.1-2. Could the BIOS version be the key?

I had serious nightmares with Arch on my XPS and almost threw in the towel. But this weekend I gave it one last shot. I updated the BIOS to A07, replaced the Broadcom wifi card with Intel 7260 ($20) and updated Arch sw with "pacman -Syu".
Suddenly everything began to work out of the box.

Wifi, sound, microphone, touchpad, built-in video cam - it all just works. (ok mic needed volume activation in alsamixer)

BIOS:
https://wiki.archlinux.org/index.php/De … OS_updates

Wifi card replacement:
https://www.ifixit.com/Teardown/Dell+XP … down/36157

... after inspiration from an XPS 9350 guide:
http://oli.me.uk/2015/11/06/installing- … s-13-9350/

I realize, I have not tested bluetooth. But after fiddling a little while posting this, I started the bluetooth.service and at least bluetooth detects my iphone.

Offline

#7 2016-02-09 13:01:39

danielbarter
Member
Registered: 2016-02-08
Posts: 22

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

m94dama,

Could you give me some more information about your system?

- Do you have pulse audio installed?
- Could you send me a dmesg dump so I can compare with mine?

I have firmware A07 on my XPS 13 (9343), and have been unable to get sound working on my XPS 13 with kernel 4.4

Offline

#8 2016-02-09 17:06:12

m94dama
Member
Registered: 2016-02-08
Posts: 2

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

Yes, I have Pulse Audio installed.

dmesg:
http://pastebin.com/8s7DeKNT

journalctl -p 3 -xb:
http://pastebin.com/2Nzrvyvf

/etc/modprobe.d/modprobe.conf:

options snd-hda-intel id=PCH index=1

I am bit confused about whether the kmix profile errors in journalctl has any (positive) impact ..

Months ago - before doing the upgrade last weekend, I tried to get Skype (i know...) to work and I have a vague memory of getting sound to work only after running pavucontrol and selecting the right device within that front-end. Cant remember if that sound issue was isolated to Skype or if that was across the system.

Last edited by m94dama (2016-02-09 17:09:00)

Offline

#9 2016-02-09 17:27:03

tutu
Member
Registered: 2015-11-11
Posts: 30

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

@danielbarter - I also have bios A07 in my xps 13 (9343). My audio through the builtin speakes work fine. I'm using pulseaudio and pulseaudio-alsa packages. Perhaps you are using the wrong sink and therefore not getting any audio. You should have two sinks available:

pacmd
>>> list-sinks
2 sink(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_03.0.hdmi-stereo>
(...)
  * index: 1
        name: <alsa_output.platform-broadwell-audio.HiFi__hw_broadwellrt286__sink>
(...)

The "*" means the sink that is currently active in your system. If the hdmi sink is the one active, perhaps that is the issue. You can use the command (after starting pacmd):

>>> set-default-sink alsa_output.platform-broadwell-audio.HiFi__hw_broadwellrt286__sink

where I'm using the broadwell-audio sink. Perhaps it will be named differently in your system.

The issue I'm having with this configuration is that when I plug my headphones I constantly hear a pop noise until I start some audio and then the pop sound is reduced. I don't know why this happens. Perhaps it is some miss-configuration I did or I2S is not working properly with our sound card.

Do you have this issue with headphones @m94dama?

Offline

#10 2016-02-09 21:22:43

mobabur94
Member
From: Canada
Registered: 2015-03-12
Posts: 3
Website

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

I am also on A07, have pulse audio installed, and have replaced the broadcom wifi card with the intel 7260 wifi card.

After setting the default sink properly, as @tutu showed, audio works. However, I am also experiencing the popping sounds. I tried disabling power saving according to the wiki, but I am still getting the popping sound.

babur [xps13] ~ $ cat /etc/modprobe.d/alsa-base.conf 
options snd_hda_intel index=1,0 power_save=0

Offline

#11 2016-02-09 23:08:27

danielbarter
Member
Registered: 2016-02-08
Posts: 22

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

I do not have pulseaudio installed, but that should't matter right? Pulse audio just re transmits from alsa?

Last edited by danielbarter (2016-02-09 23:17:28)

Offline

#12 2016-02-10 01:05:14

tutu
Member
Registered: 2015-11-11
Posts: 30

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

@mobabur94 - The popping sound you are experience are when you use earphones or just the builtin speakers? I think this post is relevant in case you have popping sounds when an audio is about to be played. If you are listen to the popping sound when you are using your earphones and no audio is playing, I have no idea and if you figure out how to get rid of it let me know smile.

@danielbarter - I think you are right, but I was not able to make broadwell audio work with alsa only. That's why I used pulseaudio and pulseaudio-alsa. I also would like to have a alsa only solution. Let me know if you get broadwell audio working with only alsa.

Offline

#13 2016-02-10 01:26:27

mobabur94
Member
From: Canada
Registered: 2015-03-12
Posts: 3
Website

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

@tutu, the popping sound is only when using headphones though the 3.5mm jack. I tried what was mentioned in the post you linked, but my 'Front REMIX' was already muted. The popping sound happens every 1s when audio is not playing. When I play some music, it goes away, but comes back when I pause or stop the music.

Offline

#14 2016-02-10 01:30:19

tutu
Member
Registered: 2015-11-11
Posts: 30

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

Yeah, that's the issue that I'm having, at least I'm not the only one having this issue. I'm wondering if is due to pulseaudio or because of the broadwell audio. If I figure out something I post here.

Offline

#15 2016-02-10 02:15:59

danielbarter
Member
Registered: 2016-02-08
Posts: 22

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

the popping is not pulseaudio. I have the same popping when I plug in headphones. The catch is that I also can't get any sound from the headphones.

Last edited by danielbarter (2016-02-10 02:58:18)

Offline

#16 2016-02-10 18:43:30

danielbarter
Member
Registered: 2016-02-08
Posts: 22

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

OK. So I recompiled kernel 4.4 from source with CONFIG_ACPI_REV_OVERRIDE_POSSIBLE set to yes and after two cold boots, everything is working perfectly again. I have sound back and there is no more popping from the headphones. My sound device has turned back into HDA Intel PCH.

Whatever that flag does, the problem is there

Last edited by danielbarter (2016-02-10 18:46:28)

Offline

#17 2016-02-10 18:47:01

tutu
Member
Registered: 2015-11-11
Posts: 30

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

So what audio module is currently being used, snd_soc_sst_broadwell or snd_hda_intel? In other words, are using HDA or I2S?

Offline

#18 2016-02-10 18:59:20

danielbarter
Member
Registered: 2016-02-08
Posts: 22

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

HDA Intel PCH according to alsamixer

Offline

#19 2016-02-10 20:55:13

tutu
Member
Registered: 2015-11-11
Posts: 30

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

Oh I see. I'm happy that things are work good for you. I'm going to investigate the difference between HDA and I2S to see which one should I go with.

Offline

#20 2016-02-15 10:59:57

banana_pancakes
Member
Registered: 2015-06-06
Posts: 19

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

@danielbarter, @tutu: How do you check which mode is running through alsa mixer?

@tutu: "snd_hda_intel" is used in the wiki as entries for /etc/modprobe.d/alsa-base.conf pre 4.4, so does it really indicate that it's running I2S?

Just for documentation, in 4.4, pavucontrol shows the output device as "broadwell-rt286 Speaker playback + Headphones playback", and pre 4.3 used to show "Build-in Audio Analog Stereo". I assume this is also the case for others... (Screenshot)

So, the only solution so far seems to either be downgrading the kernel to 4.3 or recompiling the 4.4 kernel with CONFIG_ACPI_REV_OVERRIDE_POSSIBLE set to True.

Offline

#21 2016-02-15 16:22:43

tutu
Member
Registered: 2015-11-11
Posts: 30

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

I'm not sure how to answer your first question, but I believe the first index card should be your default. In 4.4 kernel, they compile it with a flag that provides support to I2S sound instead of using HDA. I think that is fine and most likely what will happen in the future in terms of hardware, but this is just speculation of my part and I'm no expert in the subject.

For the second question, the alsa-base.conf in the wiki was to switch the order of the cards when using HDA audio. It was setting HDMI audio as default, so the builtin speakers had no sound. I believe the same thing happen when using I2S mode, we need to chose the default audio device (broadwell-rt286). I tried doing this using alsa-base.conf but didn't got any audio working, so I install pulseaudio, pulseaudio-alsa setup the default sink using pacmd from pulseaudio (I described this above).

I installed pavucontrol and I get the same you described in 4.4. I did not test in 4.3.

For me the only issue in using I2S is a periodic popping sound when my headphones are plugged in and audio is not playing. If audio is playing I have a small periodic noise that do not bother me that much.

Question for you, if you compile the kernel with CONFIG_ACPI_REV_OVERRIDE_POSSIBLE set to true do you still have I2S audio or only HDA?

Offline

#22 2016-02-16 16:47:13

Median
Member
Registered: 2011-06-03
Posts: 60

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

Has anyone come up with a solution that works? I've tried everything stated here, and alsamixer shows broadwell-r286 as the primary audio card, but there's still no sound output. In worst case I'll have to recompile the kernel.

EDIT: Nevermind, I changed the audio sink, and while I'm now getting audio there's a lot of popping when I have headphones inserted.

Last edited by Median (2016-02-16 16:50:58)

Offline

#23 2016-02-24 13:57:00

WebReflection
Member
Registered: 2014-07-08
Posts: 106

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

funny things happening with this laptop ... XPS 13 (9343) and since Dell recently replaced the motherboard and the screen I thought they messed up something with the microphone.

Bios A07 and archibold.io on it (GNOME on ArchLinux) the sound is just fine but the microphone doesn't work anymore.

Curious fact after Ubuntu 16
If I boot the beta Ubuntu 16 LTS and check the sound settings I see like two cards and by default the one I cannot hear is selected. If I switch it to the built in card for both speakers and microphone I can hear and talk without problems once rebooting on GNOME. It shows builtin speakers and builtin mic instead of broadwell-rt286

However, as soon as I reboot or switch it off and on again to GNOME it goes back to broadwell-rt286 and while speakers might have a one-off initial delay if I change the volume but then works fine, the microphone won't ever work unless I start `pavucontrol` and in the input device I select Handset microphone (unplugged) and then I switch back to Main Microphone.

Only at this point the mic works and if I go in the GNOME audio settings I see it's responding.


Does anybody know what would the command to switch the mic off and on again (LOL) to make it work on boot? I'm fine with this manual activation but it feels so dumb!

Best Regards

Edit
I've created a gist showing all images and differences between regular boot and a boot after changing in/out in Ubuntu 16 (I've used the "try Ubuntu" option)

Last edited by WebReflection (2016-02-24 14:20:25)

Offline

#24 2016-02-25 22:25:46

rjs02
Member
Registered: 2015-10-13
Posts: 7

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

I've also been having problems, glad I'm not the only one. My sound stopped working about a week ago, but I've been way too busy to look at it. I decided to try giving things a go today, and for some reason "cat /proc/asound/cards" results in:

 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7218000 irq 50

So... no sound card now? When booting I've also started seeing:

broadwell-audio broadwell-audio: ASoC: CODEC DAI rt286-aif1 not registered

Using BIOS A07.

Offline

#25 2016-02-28 23:47:40

der_eismann
Member
Registered: 2016-02-19
Posts: 3

Re: Dell XPS 13 2015 A02 bios broken sound after kernel upgrade to 4.4.1-2

Same here @rjs02... using BIOS A07, sound was working fine in I2S mode a week ago. Now the PCH soundcard is completely missing.

Using Manjaro kernels 4.4.2-1 and 4.5rc4-1.

Offline

Board footer

Powered by FluxBB