You are not logged in.

#1 2016-04-18 17:47:16

fullchaos13
Member
Registered: 2016-04-18
Posts: 9

Dell XPS 13 No Sound

My laptop is the Dell XPS 13 9343, and the on board sound card is a Realtek ALC3263. The problem is the sound card isn't even being registered by Linux. The output of aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

From reading the wiki I'm assuming one of the outputs should be broadwell-rt286. After reading around it seems like the sound card doesn't work with Linux kernel 4.5 and my current kernel version is 4.5.0-1. Some people were saying they found a solution by statically compiling CONFIG_DW_DMAC_CORE but me being fairly new to linux, I have no idea how to do thathttps://bugzilla.redhat.com/show_bug.cgi?id=1308792. Others have also found a fix by downgrading the linux kernel to 4.4, but once again I'm somewhat lost on how to go about doing that.

I'm also having an issue with getting the bluetooth to work.  I have followed the instructions posted on the wiki (https://wiki.archlinux.org/index.php/Dell_XPS_13_(2015)) by installing the bt-dw1560-firmware but after reboot turning on the bluetooth does nothing, it can't find any devices and my devices can't find it. I also followed the manual method and still doesn't work.

If anyone can post some insight on my problems that would be greatly appreciate as I'm really stuck.

Last edited by fullchaos13 (2016-04-18 18:24:51)

Offline

#2 2016-04-18 21:31:55

microstudi
Member
Registered: 2016-04-18
Posts: 1

Re: Dell XPS 13 No Sound

Hi,
I'm having the same problem with the audio and kernel 4.5-1. I've downgraded the kernel to the previous 4.4. I'm not using the bluetooth latetly so I'm no sure about it, but I remember having it working a few month ago.
It's easy to change de kernel (asuming that you had previously installed that kernel):

cd /var/cache/pacman/pkg/
sudo pacman -U linux-4.4.5-1-x86_64.pkg.tar.xz  linux-headers-4.4.5-1-x86_64.pkg.tar.xz

Offline

#3 2016-04-18 23:11:06

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 516

Re: Dell XPS 13 No Sound

But kernel 4.4 does not work properly for the XPS 13 9343 model anyhow? The microphone does not work at all and you occasionally get audio pops, e.g. with headphones on. There is also a delay in output, try the GNOME settings audio test to see that. Kerrnel 4.3 worked perfectly but kernel 4.4 and 4.5 require CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y compiled into the kernel then they work as well as 4.3. Compiling with CONFIG_DW_DMAC_CORE is irrelevant for the 9343 (early 2015) model from my tests. That setting is for the XPS 13 9350 (late 2015) model AFAIK.

See my comments on https://bugs.archlinux.org/task/47989.

Compiling the Arch kernel is easy:

ABSROOT=. abs core/linux
cd core/linux
# Edit config.x86_64 to add CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
# Edit PKGBUILD change pkgbase to linux-xps13
# Edit (optional): Add MAKEFLAGS="-j$(nproc)" in build function in PKGBUILD to speed up next makepkg
makepkg -s --skipchecksums (takes about 42 mins plus kernel source download time)
sudo pacman -U kernel-headers_package.tar.xz
sudo pacman -U kernel_package.tar.xz
# Then sudo edit your bootloader config to add boot entries for this kernel. e.g. in /boot/loader/ for systemd-boot.

Last edited by bulletmark (2016-05-08 22:17:53)

Offline

#4 2016-04-19 04:33:38

fullchaos13
Member
Registered: 2016-04-18
Posts: 9

Re: Dell XPS 13 No Sound

bulletmark wrote:

But kernel 4.4 does not work properly for the XPS 13 9343 model anyhow? The microphone does not work at all and you occasionally get audio pops, e.g. with headphones on. There is also a delay in output, try the GNOME settings audio test to see that. Kerrnel 4.3 worked perfectly but kernel 4.4 and 4.5 require CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y compiled into the kernel then they work as well as 4.3. Compiling with CONFIG_DW_DMAC_CORE is irrelevant for the 9343 (early 2015) model from my tests. That setting is for the XPS 13 9350 (late 2015) model AFAIK.

See my comments on https://bugs.archlinux.org/task/47989.

Compiling the Arch kernel is easy:

ABSROOT=. abs core/linux
cd core/linux
#Edit PKGBUILD change pkgbase to linux-xps13
#Edit config.x86_64 to add CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
makepkg -sf --skipchecksums (takes about 42 mins)
sudo pacman -U kernel-headers_package.tar.xz
sudo pacman -U kernel_package.tar.xz
#Then sudo edit your bootloader config to add boot entries for this kernel. e.g. in /boot/loader/ for systemd-boot.

I'm at the final step where I gotta edit the bootloader config. When I open up /boot/laoder/loader.conf it looks like this:
#timeout 3
default c9eb3b729dee4b6c93691f924486fb50-*

I changed it to:
#timeout 3
#default c9eb3b729dee4b6c93691f924486fb50-*
default linux-xps13

After rebooting it didn't seem to do anything. I'm not entirely sure what the new kernel name is, or where I can find it?
Also when running uname-r I get:
4.5.0-1-ARCH
Is this the correct name for the new kernel?

Last edited by fullchaos13 (2016-04-19 04:37:06)

Offline

#5 2016-04-19 05:10:39

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 516

Re: Dell XPS 13 No Sound

@fullchaos13 you added a new /boot/loader/entries/arch-xps13.conf as well didn't you? Just copy the arch.conf and tack -xps13 to the appropriate lines. Make that file your default in /boot/loader/loader.conf.

The pacman install you did should have copied the new kernel (-xps13) files to /boot. The newly booted kernel will be named 4.5.0-1-xps13.

Offline

#6 2016-04-19 05:42:38

fullchaos13
Member
Registered: 2016-04-18
Posts: 9

Re: Dell XPS 13 No Sound

bulletmark wrote:

@fullchaos13 you added a new /boot/loader/entries/arch-xps13.conf as well didn't you? Just copy the arch.conf and tack -xps13 to the appropriate lines. Make that file your default in /boot/loader/loader.conf.

The pacman install you did should have copied the new kernel (-xps13) files to /boot. The newly booted kernel will be named 4.5.0-1-xps13.

Ahh okay! So I think I now booted correctly into the custom kernel, by running uname -r I get 4.5.0-1-xps13.
But the problem still persists. Running aplay -l still shows the same output as before, only HDMI sound while the actual sound card is not displayed.
BTW appreciate the help bulletmark!

EDIT: Actually I lied haha, running aplay -l now produces the following:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3263 Analog [ALC3263 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Looks like I got some sort of PCH analog card? I'm not sure what this is or if this is even the correct sound card. Well atleast were making some sort of progress haha!

Last edited by fullchaos13 (2016-04-19 05:50:15)

Offline

#7 2016-04-19 05:48:17

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 516

Re: Dell XPS 13 No Sound

Check that you definitely have CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y uncommented in your config.x86_64. Note the =y, not =m.

PS NOTE: Also you need to do 2 poweroff reboots to enable sound card changes in this notebook.

Last edited by bulletmark (2016-04-19 05:50:14)

Offline

#8 2016-04-19 06:11:44

fullchaos13
Member
Registered: 2016-04-18
Posts: 9

Re: Dell XPS 13 No Sound

bulletmark wrote:

Check that you definitely have CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y uncommented in your config.x86_64. Note the =y, not =m.

PS NOTE: Also you need to do 2 poweroff reboots to enable sound card changes in this notebook.

Okay so I'm quite sure that card 0: PCH [HDA Intel PCH], device 0: ALC3263 Analog [ALC3263 Analog] is the sound card now I'm having troubles enabling it as the default soundcard on boot.
Following the wiki I went into /etc/modprobe.d/alsa-base.conf and put this in:
options snd_hda_intel index=0
options snd_hda_intel index=1
But after rebooting it still defaults to the HDMI one.

Offline

#9 2016-04-19 06:20:49

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 516

Re: Dell XPS 13 No Sound

fullchaos13 wrote:

Following the wiki I went into /etc/modprobe.d/alsa-base.conf and put this in:
options snd_hda_intel index=0
options snd_hda_intel index=1
But after rebooting it still defaults to the HDMI one.

I don't know what wiki you are looking at? The wiki says to put the line as "options snd_hda_intel index=1,0" in the ALSA configuration section.

Offline

#10 2016-04-19 06:38:08

fullchaos13
Member
Registered: 2016-04-18
Posts: 9

Re: Dell XPS 13 No Sound

bulletmark wrote:
fullchaos13 wrote:

Following the wiki I went into /etc/modprobe.d/alsa-base.conf and put this in:
options snd_hda_intel index=0
options snd_hda_intel index=1
But after rebooting it still defaults to the HDMI one.

I don't know what wiki you are looking at? The wiki says to put the line as "options snd_hda_intel index=1,0" in the ALSA configuration section.

Yes you're right I was looking at https://wiki.archlinux.org/index.php/Ad … sound_card. Regardless changing the file to "options snd_hda_intel index=1,0" didn't work and it still boots with the HDMI as default.

Offline

#11 2016-04-19 06:43:42

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 516

Re: Dell XPS 13 No Sound

Don't know sorry. I have that ALSA config as stated in the wiki and I get:

lt:~ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7218000 irq 48
 1 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf721c000 irq 51

I use GNOME and it just works for me.

Offline

#12 2016-04-19 14:48:25

fullchaos13
Member
Registered: 2016-04-18
Posts: 9

Re: Dell XPS 13 No Sound

Okay I figured it out now. It looked like pulseaudio was still using the HDMI as the default, after going into the gnome gui settings/sound and enabling the sound card that seemed to have done the trick. Sound is finally up and running! Thanks a lot bulletmark, I was on the verge of giving up with Linux arch and I wouldn't have done it without you. Keep slaying brother!

Offline

#13 2016-04-20 08:08:30

benob
Member
Registered: 2008-11-11
Posts: 187

Re: Dell XPS 13 No Sound

I just wanted to say that this post saved my day. The I2S implementation for that chipset is definitely not ready for prime time. It's really unfortunate that the upstream and archlinux devs don't care more for the xps 9343.

Anyone want to make an AUR package for building the latest kernel without the hassle of fiddling the the options?

Offline

#14 2016-04-25 09:45:41

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 84

Re: Dell XPS 13 No Sound

You can also just use linux-lts, as the 9343 wiki page suggests, if you don't wanna compile a new kernel and don't need 4.5 features. Works good for me.

Offline

#15 2016-04-29 22:43:11

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 52
Website

Re: Dell XPS 13 No Sound

I compiled kernel 4.5.1 using

CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y

Sound works flawless.


Linux, street photography and Baroque music enthusiast.

Offline

#16 2016-04-30 13:01:44

nemphis
Member
Registered: 2016-04-26
Posts: 1

Re: Dell XPS 13 No Sound

Works for me as well.
Thanks bulletmark

Offline

#17 2016-05-01 22:28:22

bryn
Member
Registered: 2016-03-02
Posts: 5

Re: Dell XPS 13 No Sound

I just compiled kernel 4.5  with CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y following bulletmark's instructions and it worked as well, thanks..

The wiki page for 9343 model has a note in the Audio I2S section about compiling with CONFIG_DW_DMAC=y and SND_SOC_INTEL_BROADWELL_MACH=m, which bulletmark said is only for 9350 model. I guess this should be changed since the fix described above seems to be working for so many?

Offline

#18 2016-05-01 23:36:57

soren121
Member
From: USA
Registered: 2011-11-20
Posts: 9

Re: Dell XPS 13 No Sound

bryn wrote:

I just compiled kernel 4.5  with CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y following bulletmark's instructions and it worked as well, thanks..

The wiki page for 9343 model has a note in the Audio I2S section about compiling with CONFIG_DW_DMAC=y and SND_SOC_INTEL_BROADWELL_MACH=m, which bulletmark said is only for 9350 model. I guess this should be changed since the fix described above seems to be working for so many?

Both the HDA option (CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y) and the I2S options (CONFIG_DW_DMAC=y and SND_SOC_INTEL_BROADWELL_MACH=m) work on the 9343 model.

The HDA option was a legacy hack to get sound working because Linux I2S support was not ready yet. Going forward, I2S will be the only sound method that is actively supported.

The Arch 4.5.2 kernel includes those two options needed for I2S sound, so it should work with your XPS 13. It's in the testing repo now if you'd like to try it (and please report back if it doesn't work for you!)
Also, if you are upgrading from a kernel that used HDA audio, remember to do two cold boots after upgrading.

Last edited by soren121 (2016-05-01 23:37:39)

Offline

#19 2016-05-02 11:58:07

bryn
Member
Registered: 2016-03-02
Posts: 5

Re: Dell XPS 13 No Sound

soren121 wrote:
bryn wrote:

I just compiled kernel 4.5  with CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y following bulletmark's instructions and it worked as well, thanks..

The wiki page for 9343 model has a note in the Audio I2S section about compiling with CONFIG_DW_DMAC=y and SND_SOC_INTEL_BROADWELL_MACH=m, which bulletmark said is only for 9350 model. I guess this should be changed since the fix described above seems to be working for so many?

Both the HDA option (CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y) and the I2S options (CONFIG_DW_DMAC=y and SND_SOC_INTEL_BROADWELL_MACH=m) work on the 9343 model.

The HDA option was a legacy hack to get sound working because Linux I2S support was not ready yet. Going forward, I2S will be the only sound method that is actively supported.

The Arch 4.5.2 kernel includes those two options needed for I2S sound, so it should work with your XPS 13. It's in the testing repo now if you'd like to try it (and please report back if it doesn't work for you!)
Also, if you are upgrading from a kernel that used HDA audio, remember to do two cold boots after upgrading.

Ah yes, just tried the I2S options and it shows as broadwell-rt286 now, thanks for clearing that up.

Offline

#20 2016-05-11 01:08:09

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 52
Website

Re: Dell XPS 13 No Sound

I am still having problems with I2S sound, even with kernels 4.5.2 and 4.5.3, as explained in https://bugs.archlinux.org/task/48936 . My 9343 model is that with Intel i7, touchscreen, 3200 x 1800 screen resolution, Broadcom wireless (0310JH):

cribari@darwin4 ~ $ dmesg | grep "XPS 13"
[ 0.000000] DMI: Dell Inc. XPS 13 9343/0310JH, BIOS A07 11/11/2015

Sound works for a while and then crashes.


Linux, street photography and Baroque music enthusiast.

Offline

#21 2016-05-11 06:23:42

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

Re: Dell XPS 13 No Sound

@cribari - My machine is not the same one as yours (Dell Inc. XPS 13 9343/0TM99H, BIOS A07 11/11/2015). However, my sounding is working in vanilla Arch kernel 4.5.2 and I get those messages from dmesg:

[    2.986184] haswell-pcm-audio haswell-pcm-audio: Direct firmware load for intel/IntcPP01.bin failed with error -2
[    2.986188] haswell-pcm-audio haswell-pcm-audio: fw image intel/IntcPP01.bin not available(-2)

the same you are getting in your machine. Is your HDA sound working or you are also having issues with it?

Offline

#22 2016-05-14 21:17:34

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 52
Website

Re: Dell XPS 13 No Sound

@tutu I have no (I2S) sound, even with kernel 4.5.x. Sound works for a while and then crashes. My 9343 model is that with Intel i7 processor, 3200 x 1800 screen resolution, touchscreen and Broadcom wireless:

cribari@darwin4 ~ $ dmesg | grep "XPS 13"
[ 0.000000] DMI: Dell Inc. XPS 13 9343/0310JH, BIOS A07 11/11/2015

(Notice the "0310JH"). See the discussion in https://bugs.archlinux.org/task/48936 . I created this kernel bug report: https://bugzilla.kernel.org/show_bug.cgi?id=118051 . See also https://bugzilla.kernel.org/show_bug.cgi?id=93361 . The only way for me to have sound is by compiling my kernels with

CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y

It seems that 4.5.2 (and later) did not fix the problem for all 9343 machines.


Linux, street photography and Baroque music enthusiast.

Offline

Board footer

Powered by FluxBB