You are not logged in.

#201 2017-12-17 16:37:33

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,181

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Jshap. Are you talking of coil whine or the static feedback in audio when plugging in headphone? If the latter, have you tried the fixes posted on our devices archwiki?

Offline

#202 2017-12-17 16:42:49

jshap70
Member
Registered: 2017-12-14
Posts: 9
Website

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

frank604 wrote:

Jshap. Are you talking of coil whine or the static feedback in audio when plugging in headphone? If the latter, have you tried the fixes posted on our devices archwiki?

neither. I've already fixed the static and the coil whine using the headphone mic boost and the modsetting on the graphics. This issue is a different one; the best way I could describe it is that whenever the display is drawn or updated, it pipes the coil-whine like crackling sound through the headphone jack. I get that to some extent with this laptop the coil whine is expected, but this is very loudly coming through the headphones and I know it's fixable because it only happens after waking from suspend.

Offline

#203 2017-12-17 16:47:20

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,181

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

@jshap
Wow. This is, to me, the first time I'm hearing about this. Been away for awhile from this thread. Did others experience this as well or a one-off to your system?

Offline

#204 2017-12-17 16:53:44

jshap70
Member
Registered: 2017-12-14
Posts: 9
Website

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

I've read some stuff online about it where people with the same realtek card have the problem, but so far no solutions have worked. Tommylefunk is the first person in the thread to mention it, and his solution only works when the audio device is in powersaving mode and not playing audio.
To me, there are just so many strange things about this problem. I think I still have some more debugging to do, but yeah it's a really annoying problem to have.

Last edited by jshap70 (2017-12-17 16:54:06)

Offline

#205 2017-12-20 20:56:46

borag
Member
Registered: 2017-12-20
Posts: 5

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Yes I have the exact same problem with latest 8th gen. @jshap. Only after suspend mode.
Looking forward for a solution.

Offline

#206 2017-12-25 20:25:12

borag
Member
Registered: 2017-12-20
Posts: 5

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

I think I managed to fix it with "pulseaudio -k"

Offline

#207 2017-12-25 20:34:53

borag
Member
Registered: 2017-12-20
Posts: 5

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Nop sorry sad

Offline

#208 2017-12-25 21:42:19

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,181

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

@borag, hi ~ welcome to the forum.  Please don't add multiple posts after each other.  Instead, you can edit your post and expand upon that.  Thank you!

@jshap70 - good luck, feel free to open another thread with your system details and perhaps the general audience can offer some thoughts?

Offline

#209 2018-01-13 00:19:57

jshap70
Member
Registered: 2017-12-14
Posts: 9
Website

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Just a heads up for whomever it may concern, but there's a bios update out (2.5.0) apparently to address some meltdown-related issues. I had no issues installing it.

Offline

#210 2018-01-19 14:08:53

freiform
Member
Registered: 2011-01-24
Posts: 7

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Hi,

I have the same crackling noise through speakers as described above with my 9360 (i5-8250U)

i915.enable_guc_loading=1

fixes the problem until sleep, after wakeup the crackling noise is back. Note that I am running Fedora. I ran an Ubuntu 16.04 Live Session, which showed the same behaviour. The last one might be somewhat significant in relation to Dell support, as Ubuntu 16.04 is officially supported on the XPS 13 9360.

Maybe collecting affected users might help the case in some way, if only to pool information.

/edit
Should we open a seperate thread for the 9360 8th-gen?

Last edited by freiform (2018-01-19 14:11:40)

Offline

#211 2018-01-19 16:58:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 15,809

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

freiform wrote:

Should we open a seperate thread for the 9360 8th-gen?

Hello, I see you were an Arch user a while back -- welcome back.  That you are running Fedora is fine, and contributing to threads with more information as the problem pertains to other distributions is okay; but we do ask that you not ask for support for other distributions here.  Feel free to participate in existing threads, but please do not open a specific thread for this topic.  On the other hand, if someone using Arch were to do so, go ahead and join in.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#212 2018-01-19 20:09:49

freiform
Member
Registered: 2011-01-24
Posts: 7

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

ewaller wrote:

but we do ask that you not ask for support for other distributions here.

 
I would not do that, of course. But as this seems to be independent of the distribution used, I thought I chime in.

Feel free to participate in existing threads, but please do not open a specific thread for this topic.

Fair enough.

But enough meta, maybe something important is coming up.. wink

Last edited by freiform (2018-01-19 20:10:04)

Offline

#213 2018-01-20 22:43:30

jshap70
Member
Registered: 2017-12-14
Posts: 9
Website

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

freiform wrote:

I have the same crackling noise through speakers as described above with my 9360 (i5-8250U)

i915.enable_guc_loading=1

fixes the problem until sleep, after wakeup the crackling noise is back. Note that I am running Fedora. I ran an Ubuntu 16.04 Live Session, which showed the same behaviour. The last one might be somewhat significant in relation to Dell support, as Ubuntu 16.04 is officially supported on the XPS 13 9360.

I've pretty much isolated it to the pulseaudio reloading of alsa; I'm still really skeptical that it's a hardware bug and not a pulseaudio/asla bug due to the fact that it works normally on the first startup after boot. I technically have a windows iso laying around somewhere, so if I wanted to see if it really was a hw bug I could always boot into that, but that seems like a lot of work right now - maybe in the future when my annoyance levels reach a critical mass.

I still am using that temparary work around of using the hdajackretask to force the internal mic to "disconnected" which solves the problem, but this obviously makes it so you can't use a mic after sleeping. Also sometimes I can't use the speakers yet the headphone jack still works, but not sure about the reason for that... Anyways, for anyone else who has this problem and doesnt want to constantly reboot, here's the steps I followed:

    - wake from sleep, crackling appears
    - open `hdajackretask`
    - under "Select a codec" -> Realtek ALC3246
    - Internal Mic / Pin ID: 0x12 -> check `Override` -> change "Internal mic" to "Not connected"
    - "Apply Now" (you'll hear a pop and a dialog will pop up saying "ok go check it worked" or whatever)
here's where it gets strange...
  sometimes I can:
    - Uncheck `Override`, hit "apply now", and things just work™
  other times I have to:
    - leave it checked and probably go `pulseaudio -k` & `pulseaudio --start` cycle
    - throw in one of those classic `amixer -c 0 set 'Headphone Mic Boost',0 1` that all dell xps users know and love
    - and then probably reselect the proper pulseaudio output device for some reason

Now the crackle is gone (yay!) but you can no longer use your mic (not yay). The whole thing is very frustrating.

Offline

#214 2018-01-21 15:26:30

pietroagus
Member
Registered: 2018-01-21
Posts: 1

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Hello,
I'm plagued by the same issue: coil whine and crackling sound only after suspend.
I did update the Bios to the last version (2.5.0).
my kernel parameters are

i915.enable_fbc=1 i915.enable_guc_loading=1 i915.enable_guc_submission=1

Can I help debug this in any way?

Offline

#215 2018-01-21 19:21:34

freiform
Member
Registered: 2011-01-24
Posts: 7

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

@jshap70
Thank you for the writeup, unfortunately it is not working here. hdajackretask complains that

/sys/class/sound/hwC0D0/reconfig

is busy. On restart or reboot, the override for the internal mic is set, though. 

Regarding Windows; I have a small Windows partition just for that reason, and Windows 10 doesn't have that noise/crackling. I am on the latest Patches but without specific Dell drivers. That doesn't necessarily mean that it is not a hardware issue, though. Maybe a smart driver implements a workaround. Although I would expect that this would require a customized driver by Dell - if they do any customization besides rebranding anyway.  Or maybe not, searching for "crackling noise after wake" or somesuch reveals that this issue not new and by no means limited to the current XPS 13 9360 8th-gen i5.

Last edited by freiform (2018-01-21 19:25:07)

Offline

#216 2018-01-22 06:36:38

jshap70
Member
Registered: 2017-12-14
Posts: 9
Website

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

freiform wrote:

hdajackretask complains that

/sys/class/sound/hwC0D0/reconfig

is busy. On restart or reboot, the override for the internal mic is set, though.

make sure pulseaudio is started. or of it is maybe kill it. or if that doesnt work start it again, lol. It's somewhat finicky, but if I mess with it I almost always find I'm eventually able to get it to stick.

freiform wrote:

Regarding Windows; I have a small Windows partition just for that reason, and Windows 10 doesn't have that noise/crackling. I am on the latest Patches but without specific Dell drivers. That doesn't necessarily mean that it is not a hardware issue, though. Maybe a smart driver implements a workaround. Although I would expect that this would require a customized driver by Dell

That's good to hear that it doesn't exist on windows; I really doubt it's a hack in the driver though, or else more linux users would have it.

freiform wrote:

searching for "crackling noise after wake" or somesuch reveals that this issue not new and by no means limited to the current XPS 13 9360 8th-gen i5.

The issue is that it's difficult to discern this issue from the headphone mic boost one, so I found it was rather tricky to google. I really only found a handful of other places where I could really definitively say that it was exactly this issue.

It's unfortunate I can't get access to the official dell image of ubuntu they distribute because I'm not on a developer edition of the laptop and they're stingy about it. If someone who has this issue does have access to that release, it would be fantastic if they could check if there's something in it that fixes it. Otherwise, I'm afraid the issue is going to involve either rooting into the dark depths of alsa/pulse config. I wonder if the reason this seems to be a new issue is rooted in some change to the default pulse config, and people who already have everything setup wouldn't have the issue introduced. If someone with a working setup wouldn't mind checking a live disk instalation of fedora/ubuntu to see if it's there that would be beyond amazing and really help us narrow down the problem.

Last edited by jshap70 (2018-01-22 06:38:00)

Offline

#217 2018-01-22 10:19:01

freiform
Member
Registered: 2011-01-24
Posts: 7

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

jshap70 wrote:

It's unfortunate I can't get access to the official dell image of ubuntu they distribute because I'm not on a developer edition of the laptop and they're stingy about it. If someone who has this issue does have access to that release, it would be fantastic if they could check if there's something in it that fixes it. Otherwise, I'm afraid the issue is going to involve either rooting into the dark depths of alsa/pulse config. I wonder if the reason this seems to be a new issue is rooted in some change to the default pulse config, and people who already have everything setup wouldn't have the issue introduced. If someone with a working setup wouldn't mind checking a live disk instalation of fedora/ubuntu to see if it's there that would be beyond amazing and really help us narrow down the problem.

That is an interesting issue; the 8th-gen 9360 is not available as DE in, well, de (germany). Here you can only get the 7th-gen 9360 as DE.
This raises two questions:
1) does the 7th-gen 9360 have the same problems and
2) what is Dell's position on Linux-support for the 8th-gen 9360? Is Ubuntu 16.04 LTS officially supported? If the latter is true, the issue could be escalated with Dell support.

Last edited by freiform (2018-01-22 10:55:00)

Offline

#218 2018-01-29 13:49:01

freiform
Member
Registered: 2011-01-24
Posts: 7

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

I think there might be a solution, can somebody please verify?

https://lkml.org/lkml/2018/1/22/169

I recompiled kernel 4.14 with this patch applied, and so far there is no noise or crackling even after suspend.

Last edited by freiform (2018-01-29 13:49:25)

Offline

#219 2018-01-30 00:39:36

jshap70
Member
Registered: 2017-12-14
Posts: 9
Website

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

That patch is actually already in core-x86_64 with the 4.14.15 patches. Went to compile it and took me longer than I'd like to admit to figure out why it was throwing "Reversed (or previously applied) patch detected!  Skipping patch." I didn't even realize that the audio was fixed, but sure enough, everything works perfectly now big_smile
Interesting that the issue was caused by the model number bumping from "0x075b" to "0x082a", wonder if the newly announced xps's will run into this problem again.

Offline

#220 2018-01-31 18:47:44

Zorael
Member
From: Sweden
Registered: 2018-01-31
Posts: 1

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Is anyone else having considerable bluetooth issues?

Whether it works on startup or resume is up to chance, like there's a race. The only way to force it to work is to suspend and resume and try your luck again.

bluetoothctl upon resuming, from working to non-working:

[...]
[CHG] Controller 9C:B6:D0:15:76:4E Powered: no
[CHG] Controller 9C:B6:D0:15:76:4E Discovering: no
[DEL] Controller 9C:B6:D0:15:76:4E xps [default]
[bluetooth]# devices
No default controller available

Then suspend and resume again:

[...]
[NEW] Controller 9C:B6:D0:15:76:4E xps [default]
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001112-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001106-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001104-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00005005-0000-1000-8000-0002ee000001
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001133-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 0000112f-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001132-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Controller 9C:B6:D0:15:76:4E Class: 0x001c010c
[CHG] Controller 9C:B6:D0:15:76:4E Powered: yes
[bluetooth]# power on
Changing power on succeeded

So I end up suspending and resuming until it works.

Offline

#221 2018-02-18 08:22:43

patlux
Member
Registered: 2015-03-19
Posts: 5

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Hey,

I have a strange problem:

My desktop freezes every few seconds for a few seconds...but the mouse and keyboard inputs does not freeze. As soon as I connect my xps to a external monitor everything is working fine. I'm using xorg with i3, but the problem is happening on the terminal too. I'm starting the xserver manually with `startx`. But on the terminal it's not that bad like on the desktop. The second thing is, with `sway` (wayland) it's working without problems.

Does anyone maybe know what could be wrong?

Thanks for any help!


const { aurgithubdotfiles } = patrick;

Offline

#222 2018-02-23 06:45:01

jshap70
Member
Registered: 2017-12-14
Posts: 9
Website

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

patlux wrote:

Hey,

I have a strange problem:

My desktop freezes every few seconds for a few seconds...but the mouse and keyboard inputs does not freeze. As soon as I connect my xps to a external monitor everything is working fine. I'm using xorg with i3, but the problem is happening on the terminal too. I'm starting the xserver manually with `startx`. But on the terminal it's not that bad like on the desktop. The second thing is, with `sway` (wayland) it's working without problems.

Does anyone maybe know what could be wrong?

Thanks for any help!


@patlux what does your i915 modprobe settings look like? try adding "i915.disable_power_well=0" if it's not already there.

Last edited by jshap70 (2018-02-23 06:45:23)

Offline

#223 2018-03-28 13:22:02

patlux
Member
Registered: 2015-03-19
Posts: 5

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

jshap70 wrote:

@patlux what does your i915 modprobe settings look like? try adding "i915.disable_power_well=0" if it's not already there.

Thank you!!


const { aurgithubdotfiles } = patrick;

Offline

#224 2018-03-28 21:25:55

Asriel
Member
Registered: 2016-11-28
Posts: 37

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

Looks like latest drm-tip works fine without disable_power_well=0.

Offline

#225 2018-05-24 06:05:30

clownfish
Member
Registered: 2006-09-04
Posts: 72

Re: Dell XPS 13 Late 2016 9360 Kaby Lake 7th Gen

I'm on a 9360 since about one and a half year. Used Xubuntu 17.04, 17.10 and now after the update to 18.04 I swapped that crap for Arch, hoping that here i have no bluetooth and performance issues (and other stupidities introduced in 18.04). The chance for the integrated bluetooth to work changed from 90% to 10% (now using an external adapter which until now always worked). I'm OK with that. But what got also worse, was the graphics over USB-C/Thunderbolt. When I use the device without a display attached, it's smooth. Using a USB-C to HDMI cable or a USB-C dock with HDMI port, it turns into a slow beast. Browsing in chrome or firefox is slow (especially when i open webapps which utilize a lot of javascript, which now is nearly every website). Terminal lags (not talking about seconds when typing, but it's just not smooth). The Jetbrains IDEs are slow. Switching folders in a filemanager like thunar is slow, especially when browsing network shares. All this goes away if i unplug the display and work on the device itself (except the bluetooth issue). I tried all the things mentioned in the wiki article, updated BIOS and Thunderbolt firmware, but it's always the same.

My kernel is 4.16.10-1. And I'm using i3 without a compositor or anything else which demands graphics power. I had this on Xubuntu too, but just on about one of ten starts, sometimes it needed one or two reboots, sometimes just plugging the USB-C out and in again was enough to fix it. On arch, I didn't find a way to solve this (did a lot of useless reboots).

What helps a bit is, changing the cpu frequency scaling governor from powersave to performance. When I do this, frequencies go up to 2-3GHz (only this chrome window open and the terminal which shows the frequencies), when using powersave governor, they are most of the time in three-digit-ranges. But also using the performance governor, it's not like without display. Lags are not that bad, but they are there. So the performance governor is no solution.

Does anybody have similar issues?

Last edited by clownfish (2018-05-24 06:09:08)

Offline

Board footer

Powered by FluxBB