You are not logged in.

#1 2015-11-14 09:52:07

clements
Member
Registered: 2015-05-24
Posts: 14

[SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Hello,
I'm having some issues with my new Dell XPS 13, when I use it with Cinnamon, it freezes, randomly, really often.
It completely freezes the whole system,  can't switch tty using Ctrl+Alt+Fx.

Here are my some infos

[clements@ClementsXPS13 ~]$ uname -a
Linux ClementsXPS13 4.2.5-1-bcm4350 #1 SMP PREEMPT Sat Nov 14 00:00:44 CET 2015 x86_64 GNU/Linux

[clements@ClementsXPS13 ~]$ lspci
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)
00:04.0 Signal processing controller: Intel Corporation Device 1903 (rev 08)
00:14.0 USB controller: Intel Corporation Device 9d2f (rev 21)
00:14.2 Signal processing controller: Intel Corporation Device 9d31 (rev 21)
00:15.0 Signal processing controller: Intel Corporation Device 9d60 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Device 9d61 (rev 21)
00:16.0 Communication controller: Intel Corporation Device 9d3a (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Device 9d14 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Device 9d15 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Device 9d18 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d48 (rev 21)
00:1f.2 Memory controller: Intel Corporation Device 9d21 (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21)
00:1f.4 SMBus: Intel Corporation Device 9d23 (rev 21)
3a:00.0 Network controller: Broadcom Corporation Device 43a3 (rev 08)
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 525a (rev 01)
3c:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a802 (rev 01)

There doesn't seem to be log related to those freezes in journalctl.
Here is a part of it: http://pastebin.com/jE1m6dfu (crash happening before reboots)

Last edited by clements (2015-11-16 21:57:26)

Offline

#2 2015-11-14 10:01:14

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Could you show your kernel parameters? or if you set anything in /etc/modprobe.d/ ?

Offline

#3 2015-11-14 10:05:40

clements
Member
Registered: 2015-05-24
Posts: 14

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

This is just basic kernel parameters plus the required parameter for Intel Iris Graphics

root=/dev/nvme0n1p3 rw i915.preliminary_hw_support=1

Nothing in /etc/modprobe.d/

Offline

#4 2015-11-14 21:23:52

mkey
Member
Registered: 2015-02-09
Posts: 38

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

I'm experiencing the same issue with gnome 3. Complete freeze and cannot switch tty.
Nothing interesting seems to be logged as the system is completely frozen.

I assume this is related to current Skylake support since it is announced to be supported from 4.3 kernel, which is currently is testing repository.

Offline

#5 2015-11-15 00:24:26

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Try adding pcie_aspm=force i915.enable_rc6=7 i915.enable_execlists=0

I believe just the execlists will solve your issue but the others are good for powersaving.

Offline

#6 2015-11-15 11:58:42

mkey
Member
Registered: 2015-02-09
Posts: 38

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

In my case the problem persists even with these parameters.

EDIT :
I've also tried this : https://wiki.archlinux.org/index.php/In … tel_driver but adding i915.semaphores=1 parameter led me to the onboot kernel crash described here  https://wiki.archlinux.org/index.php/In … re-M_chips which is not fixed by adding i915.enable_execlists=0 parameter.

Recap :

i915.semaphores=1    -> crash on boot
i915.enable_execlists=0    -> random freeze
i915.semaphores=1 i915.enable_execlists=0    -> crash on boot
none    -> random freeze
intel_pstate=disable   -> random freeze

Last edited by mkey (2015-11-15 12:43:03)

Offline

#7 2015-11-15 12:08:10

clements
Member
Registered: 2015-05-24
Posts: 14

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

In my case too.

Offline

#8 2015-11-15 16:21:09

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Strange.  I used to have the random freeze and no logs.  Then again it was due to frame buffer compression (fbc).  Trying to think what else it would be but was really sure those params did the job.  Actually just removing the fbc param.  But you guys didn't have that param to start with.  The ramdom crash is associated to the intel chip though.

You can look at my config on my github under dell xps 13.  Sorry, if I have an epiphany I'll comment back.

Edit:  I just realized you are using cinnamon.  Can you test with another de/wm?

Last edited by frank604 (2015-11-15 16:32:41)

Offline

#9 2015-11-15 18:33:21

clements
Member
Registered: 2015-05-24
Posts: 14

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

frank604 wrote:

Edit:  I just realized you are using cinnamon.  Can you test with another de/wm?

I just tried with lightDM + Gnome (instead of GDM + Cinnamon), still freezes

Offline

#10 2015-11-15 19:41:22

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Does it freeze when you just leave it alone or when you watch a video or browse the web?

Offline

#11 2015-11-15 19:51:49

clements
Member
Registered: 2015-05-24
Posts: 14

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

It doesn't happen when I leave it alone, it happens when I do something with it

Some examples:
- while I was using chrome
- while I was installing a package with pacman
- while I was going to Cinnamon's settings

Before it freezes completely, mouse cursor becomes quickly laggy when I move it and then it freezes.

It doesn't seems to happen when I just don't use the laptop
I already tried a full re-installation of Arch Linux, still happening.

Offline

#12 2015-11-15 20:12:48

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Some things to try (blind shots):
1. turn on tear free in /etc/X11/xorg.conf.d
2. try kernel 4.3-rc7

Offline

#13 2015-11-15 20:18:59

loqs
Member
Registered: 2014-03-06
Posts: 17,464

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

frank604 wrote:

2. try kernel 4.3-rc7

4.3 has been released and is in testing is there some reason to prefer rc7?

Offline

#14 2015-11-15 20:24:41

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

loqs wrote:

4.3 has been released and is in testing is there some reason to prefer rc7?

No preference.  I just don't like enabling testing as then you get all packages updated to testing repo.  I prefer to build locally with modprobed-db.  It just happens to be the latest rc I saw at the time I pulled.  4.3 does offer skylake improvements which this laptop uses so I thought it would be a blind shot type of test.

Offline

#15 2015-11-15 20:31:53

loqs
Member
Registered: 2014-03-06
Posts: 17,464

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Also switching to testing now would mean a switch to X 1.18 so determining what in all the changes actually fixed it would be somewhat difficult.

Offline

#16 2015-11-15 20:46:21

mkey
Member
Registered: 2015-02-09
Posts: 38

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

It seems like disabling 2D acceleration does the trick.

/etc/X11/xorg.conf.d/20-intel.conf

Option "NoAccel" "True"

No freeze so far...
Have a try clements. Perhaps you can use this as a workaround until 4.3 kernel switches to [core].

Edit:
Well not..
This drives me crazy x)

Last edited by mkey (2015-11-15 21:28:28)

Offline

#17 2015-11-15 21:51:03

ksim
Member
Registered: 2015-11-15
Posts: 59

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

I am experiencing the same issue with 4.2.5, now i've compiled 4.3-rc7 and I am testing it, but it has an issue with video driver https://bugs.freedesktop.org/show_bug.cgi?id=91876, I will play a little with it and will publish patches to linux-bcm4350

Offline

#18 2015-11-15 22:41:21

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

ksim, thanks for the link.  I'm going to patch it right now and test it.  I have been getting this error. 

Edit: are you getting the freeze with 4.3 ?
Edit2: compiling now, if it remove the error and enables modesetting right away then I will push to my github
Edit3: so far no drm:intel errors with patch.  I posted the modified patch from your link on my github.  Thanks and sorry we strayed off the OP's topic

Last edited by frank604 (2015-11-15 23:55:01)

Offline

#19 2015-11-16 07:51:04

ksim
Member
Registered: 2015-11-15
Posts: 59

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

frank604, I am testing it only for one day, but no freezes fo far, if it is ok today, will push changes to the aur package.

Edit: no freezes for me on 4.3 for 1.5 day of testing, the update is published to linux-bcm4350
Edit2: touchscreen is not working on 4.3 for me, looks like we need more patches wink
Edit3: one more patch to fix touchscreen

Last edited by ksim (2015-11-16 13:50:00)

Offline

#20 2015-11-16 18:22:10

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

I own a xps13 9343 (2015 model) and, if I recall good, with kernel >= 4.2 I have random freezes too. Unfortunately, there's nothing interesting in journalctl hmm Still digging, I totally have to time for a git bisect right now.


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#21 2015-11-16 20:27:34

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

I don't want to go off topic from OP so I made a general discussion thread for our dell xps 13 9350

@OP, any progress?  What have you tried?

Offline

#22 2015-11-16 20:30:50

clements
Member
Registered: 2015-05-24
Posts: 14

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

frank604 wrote:

@OP, any progress?  What have you tried?

Nothing, I was busy, I'm going to try with 4.3.

Offline

#23 2015-11-16 20:35:32

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

As mentioned before, Ksim (Maxim??), has pushed all current patches to his AUR package which can be easily installed. 

Note: Try to use modprobed-db from stock kernel and it will quicken your compile time.  Just modify the PKGBUILD.

Offline

#24 2015-11-16 21:40:22

clements
Member
Registered: 2015-05-24
Posts: 14

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Ok, so I used the AUR package. I'm running with 4.3 since 50 minutes and it doesn't seem to want to freeze anymore !
I even tried some things like running Minecraft on it, it just works pretty well (I was surprised by the 45-50fps on average).
Thank you a lot for your help

Offline

#25 2015-11-16 21:48:34

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

Re: [SOLVED] Dell XPS 13 9350 - Randomly freezes using Cinnamon

Please mark this thread as SOLVED by editing the OP and appending it in the title.

Offline

Board footer

Powered by FluxBB