You are not logged in.

#301 2017-11-08 07:09:31

Arvids
Member
Registered: 2016-02-01
Posts: 4

Re: Dell XPS 15 9560 (Early 2017)

Anyone else have the problem that sometimes, when resuming from suspend the computer is in a complete frozen state?(the screen looks exactly like before the suspend was issued and no keyboard command has any effect) I have had this happened both in xorg and tty.

Offline

#302 2017-12-03 16:17:48

ferkulat
Member
Registered: 2005-12-03
Posts: 6

Re: Dell XPS 15 9560 (Early 2017)

Setup:
TB16 Dock with two monitors 2560x1440
4K internal display
use wifi only, because USB LAN is buggy.
kernel: 4.9.31
touch screen disabled in BIOS
gnome desktop with xorg ( not wayland)

Config
No drivers installed from nvidia.
No bumblebee
No bbswitch

#/etc/modprobe.d/modprobe.conf
blacklist nouveau

impact of black listed nouveau on power consumption
Powertop shows (backlight at lowest level) without powertop --auto-tune

System baseline power is estimated at 15.8 W

Power est.    Usage     Device name
  8.69 W      0.1%        Display backlight
  3.20 W    100.0%        Audio codec hwC0D0: Realtek
  1.71 W     14.5%        DRAM
  1.04 W     14.5%        CPU core
  424 mW      0.1 pkts/s  Network interface: wlp2s0 (ath10k_pci)
  310 mW     21.9 ops/s   GPU core
  230 mW     14.5%        CPU misc
  141 mW    100.0%        Radio device: ath10k_pci
 61.8 mW     21.9 ops/s   GPU misc
    0 mW    100.0%        USB device: USB 10/100/1000 LAN (Realtek)

As you can see "GPU misc" uses almost nothing without special tweaking, but just blacklisted nouveau driver.
suspend/ resume
On kernels later than linux 4.9.31 lts and linux 4.10+ resume ends up in restart of the machine.
So I stick with linux 4.9.31 and try linux 4.1X from time to time.

External monitors
The external monitor setup is working with xf86-video-intel only.
The other described methods in the wiki seem not work for external monitors via TB16 Dock.

TB16 Dock
Sound not working ( forgot to enable it before throwing windows from the disc?)
USB Lan buggy (not used)
powertop --auto-tune with connected Dock messes things up. Running this command only with disconnected dock.

Offline

#303 2017-12-08 15:02:43

lah
Member
Registered: 2014-08-26
Posts: 28

Re: Dell XPS 15 9560 (Early 2017)

I'm posting here because I'm fighting with a dell 5520 and UEFI boot
https://bbs.archlinux.org/viewtopic.php … 5#p1753805

As said here :
https://wiki.archlinux.org/index.php/Dell_XPS_15_9560
Most of 9560 things also applies to the Precision 5520.

For those who installed arch from preinstalled ubuntu distro and after deleted ubuntu distro. Did grub loading work?
Could you post

efibootmgr -v

result ?

Thanks

Last edited by lah (2017-12-08 15:04:10)

Offline

#304 2017-12-08 15:28:49

lah
Member
Registered: 2014-08-26
Posts: 28

Re: Dell XPS 15 9560 (Early 2017)

I solved my problem...
Originally, when booting ubuntu, before grub screen I got "booting into insecure mode". So I thought UEFI was configured in insecure mode. I did not check that as described here :
https://wiki.archlinux.org/index.php/De … _9560#UEFI

After changing UEFI entries (either with grub-install or directly calling efibootmgr) to have arch grub loading arch grub was not loading and I got a dell UEFI memory check and EFI boot entries modified.
I think UEFI FW detected it was loading an unsecure system... It couldn't load arch bootloader and loaded some recovery tools.

After checking UEFI options,  I discovered secure mode was enabled. It could load ubuntu preinstalled system showing "booting into insecure mode" but it couldn't load any arch system.
I disabled it and now I can get grub loading arch, there is no "booting into insecure mode" message.

I cannot explain how UEFI configured in secure mode could load ubuntu preinstalled system in an insecure mode (as displayed in log)...

Offline

#305 2017-12-17 13:32:53

Arvids
Member
Registered: 2016-02-01
Posts: 4

Re: Dell XPS 15 9560 (Early 2017)

Arvids wrote:

Anyone else have the problem that sometimes, when resuming from suspend the computer is in a complete frozen state?(the screen looks exactly like before the suspend was issued and no keyboard command has any effect) I have had this happened both in xorg and tty.

After switching to the Intel 8265 wifi-card my issues with the laptop being unresponsive after wake-up from either sleep or hibernation as well as issues with kernel panics during boot have not been seen in over a week. Since I have kept the laptop up to date each day it could also be a happy coincidence.

Offline

#306 2017-12-31 12:07:53

xdever
Member
Registered: 2017-12-31
Posts: 7

Re: Dell XPS 15 9560 (Early 2017)

I have a problem that when the machine wakes up from suspend, the turn off, restart, etc menus dissapear from gnome. When I try to shut down the machine with the halt command, it can't turn it off, just writes system is halted, and nothing happens. It's like acpi stops working, I see nothing suspicious in dmesg. My kernel is 4.14.9, grub args are: "acpi_rev_override=1 enable_fbc=1 enable_psr=1 disable_power_well=0". I also tried to add "acpi_osi=! acpi_osi='Windows 2009'" but it changes absolutely nothing.

Other interesting thing is that cat /sys/class/power_supply/BAT0/current_now always displays 1000 when plugged in and fully charged. Why can this be? Can someone check if it is the same for him/her?

Have anyone experienced similar problems?

Offline

#307 2017-12-31 19:31:05

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 783

Re: Dell XPS 15 9560 (Early 2017)

xdever wrote:

I have a problem that when the machine wakes up from suspend, the turn off, restart, etc menus dissapear from gnome. When I try to shut down the machine with the halt command, it can't turn it off, just writes system is halted, and nothing happens. It's like acpi stops working, I see nothing suspicious in dmesg. My kernel is 4.14.9, grub args are: "acpi_rev_override=1 enable_fbc=1 enable_psr=1 disable_power_well=0". I also tried to add "acpi_osi=! acpi_osi='Windows 2009'" but it changes absolutely nothing.

Other interesting thing is that cat /sys/class/power_supply/BAT0/current_now always displays 1000 when plugged in and fully charged. Why can this be? Can someone check if it is the same for him/her?

Have anyone experienced similar problems?

I do not have a problem with the power options disappearing after waking up from suspend nor the issue where it gets stuck at "System is halted". (Though I have run into that on a different laptop before.) I'm running kernel 4.14.9 and booting with:

acpi_rev_override=5 nvme_core.default_ps_max_latency_us=180000 iwlwifi.power_save=1 modprobe.blacklist=nouveau

As for the battery sysfs value:

[build_linux_x86_64] cat /sys/class/power_supply/BAT0/current_now
1000

Offline

#308 2018-01-01 14:35:04

xdever
Member
Registered: 2017-12-31
Posts: 7

Re: Dell XPS 15 9560 (Early 2017)

chenxiaolong wrote:
xdever wrote:

I have a problem that when the machine wakes up from suspend, the turn off, restart, etc menus dissapear from gnome. When I try to shut down the machine with the halt command, it can't turn it off, just writes system is halted, and nothing happens. It's like acpi stops working, I see nothing suspicious in dmesg. My kernel is 4.14.9, grub args are: "acpi_rev_override=1 enable_fbc=1 enable_psr=1 disable_power_well=0". I also tried to add "acpi_osi=! acpi_osi='Windows 2009'" but it changes absolutely nothing.

Other interesting thing is that cat /sys/class/power_supply/BAT0/current_now always displays 1000 when plugged in and fully charged. Why can this be? Can someone check if it is the same for him/her?

Have anyone experienced similar problems?

I do not have a problem with the power options disappearing after waking up from suspend nor the issue where it gets stuck at "System is halted". (Though I have run into that on a different laptop before.) I'm running kernel 4.14.9 and booting with:

acpi_rev_override=5 nvme_core.default_ps_max_latency_us=180000 iwlwifi.power_save=1 modprobe.blacklist=nouveau

As for the battery sysfs value:

[build_linux_x86_64] cat /sys/class/power_supply/BAT0/current_now
1000

I tried your parameters but it has absolutely no difference.

Also my USB C display port adapter is not working. Has anyone succeeded with that?

Thanks,
Robert

Last edited by xdever (2018-01-01 14:35:35)

Offline

#309 2018-01-01 19:56:47

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 783

Re: Dell XPS 15 9560 (Early 2017)

xdever wrote:

I tried your parameters but it has absolutely no difference.

Also my USB C display port adapter is not working. Has anyone succeeded with that?

Thanks,
Robert

Hmm, I'm not really sure then. As far as USB-C DisplayPort goes, that seems to be working for me as well with the Apple multiport adapter I use at work. This is what I see in dmesg when I plug it in: https://hastebin.com/kusavokaze.txt

Offline

#310 2018-01-02 14:45:13

ivan.masich
Member
Registered: 2016-11-29
Posts: 6

Re: Dell XPS 15 9560 (Early 2017)

I also don't see such problems, I'm using kernel 4.14.10-1-ARCH, suspend/'wake up from suspend' works fine.

Offline

#311 2018-01-02 22:01:39

xdever
Member
Registered: 2017-12-31
Posts: 7

Re: Dell XPS 15 9560 (Early 2017)

chenxiaolong wrote:
xdever wrote:

I tried your parameters but it has absolutely no difference.

Also my USB C display port adapter is not working. Has anyone succeeded with that?

Thanks,
Robert

Hmm, I'm not really sure then. As far as USB-C DisplayPort goes, that seems to be working for me as well with the Apple multiport adapter I use at work. This is what I see in dmesg when I plug it in: https://hastebin.com/kusavokaze.txt

Mine looks almost identical, but my screen is not showing up anywhere. My dmesg: https://hastebin.com/raw/miwomabeta.

Regarding to the suspend problem I noticed when I log out to GDM, the buttons there still exists, and they actually work. So this may be a gnome related bug rather than XPS specific. Nevertheless, if anyone has any idea, I would be happy to try it out.

Offline

#312 2018-01-02 22:54:57

xdever
Member
Registered: 2017-12-31
Posts: 7

Re: Dell XPS 15 9560 (Early 2017)

I also see 4 new devices in lspci:

06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]

New display is not shown nor in Wayland, nor in X11.

Do I have to run X/Wayland on NVIDIA for this to work?

Do I have to boot with UEFI for this to work (I'm using MBR)? It would be very strange if thats the case, but I just trying to gess what could be the difference.

Last edited by xdever (2018-01-02 23:07:46)

Offline

#313 2018-01-03 00:20:31

dglastonbury
Member
Registered: 2017-05-26
Posts: 2

Re: Dell XPS 15 9560 (Early 2017)

I'm running hedgepigdaniel's custom kernel and nvidia drivers (https://github.com/hedgepigdaniel/linux-9560).  If I switch to the default linux kernel then the screen brightness adjustment keys don't work (screen backlight is on at 100%). Is it possible to fix this? I'm passing the following kernel parameters, if one of those is the culprit:

i915.enable_fbc=1 i915.enable_psr=1 i915.disable_power_well=0 acpi_backlight=vendor acpi_osi=Linux acpi_rev_override scsi_mod.use_blk_mq=1 quiet splash

thanks

Offline

#314 2018-01-03 01:37:27

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 783

Re: Dell XPS 15 9560 (Early 2017)

dglastonbury wrote:

I'm running hedgepigdaniel's custom kernel and nvidia drivers (https://github.com/hedgepigdaniel/linux-9560).  If I switch to the default linux kernel then the screen brightness adjustment keys don't work (screen backlight is on at 100%). Is it possible to fix this? I'm passing the following kernel parameters, if one of those is the culprit:

i915.enable_fbc=1 i915.enable_psr=1 i915.disable_power_well=0 acpi_backlight=vendor acpi_osi=Linux acpi_rev_override scsi_mod.use_blk_mq=1 quiet splash

thanks

I don't have this problem with the stock kernel. I'm booting with these options and nothing else:

acpi_rev_override=5 nvme_core.default_ps_max_latency_us=180000 iwlwifi.power_save=1 modprobe.blacklist=nouveau

Offline

#315 2018-01-03 01:40:29

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 783

Re: Dell XPS 15 9560 (Early 2017)

xdever wrote:

I also see 4 new devices in lspci:

06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]

New display is not shown nor in Wayland, nor in X11.

Do I have to run X/Wayland on NVIDIA for this to work?

Do I have to boot with UEFI for this to work (I'm using MBR)? It would be very strange if thats the case, but I just trying to gess what could be the difference.

I see the same 4 devices + 1 more (because my adapter has a USB port on it):

06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
3e:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]

I'm not sure if UEFI vs. MBR could cause an issue. I'm booting with UEFI (secure boot enabled) and using GNOME 3 w/X11. EDIT: Also, my NVIDIA GPU is shut down via bumblebee/bbswitch.

Last edited by chenxiaolong (2018-01-03 01:41:19)

Offline

#316 2018-01-04 14:04:17

xdever
Member
Registered: 2017-12-31
Posts: 7

Re: Dell XPS 15 9560 (Early 2017)

I have no time to investigate the tunderbolt problem further.

But I made a simple tool for undervolting the CPU and GPU. Maybe someone find it useful:

https://github.com/xdever/linux-intel-undervolt-tool

Offline

#317 2018-01-04 20:41:23

xdever
Member
Registered: 2017-12-31
Posts: 7

Re: Dell XPS 15 9560 (Early 2017)

chenxiaolong wrote:
xdever wrote:

I also see 4 new devices in lspci:

06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]

New display is not shown nor in Wayland, nor in X11.

Do I have to run X/Wayland on NVIDIA for this to work?

Do I have to boot with UEFI for this to work (I'm using MBR)? It would be very strange if thats the case, but I just trying to gess what could be the difference.

I see the same 4 devices + 1 more (because my adapter has a USB port on it):

06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
3e:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]

I'm not sure if UEFI vs. MBR could cause an issue. I'm booting with UEFI (secure boot enabled) and using GNOME 3 w/X11. EDIT: Also, my NVIDIA GPU is shut down via bumblebee/bbswitch.


I found out that if I force thunderbolt to flashing mode (./force_dell_tbt 1) which disables it's power management, then more devices show up. Dmesg: https://hastebin.com/raw/pewokaripo

lspci:
06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
08:00.0 System peripheral: Intel Corporation DSL6340 Thunderbolt 3 NHI [Alpine Ridge 2C 2015]
3e:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]

But still no output.

When the controller is not in flashing mode and only the first 4 devices are detected, they show up in lspci, but after a few seconds they disappear. If it is in flashing mode, they never disappear.

Offline

#318 2018-01-08 22:05:01

xdever
Member
Registered: 2017-12-31
Posts: 7

Re: Dell XPS 15 9560 (Early 2017)

xdever wrote:
chenxiaolong wrote:
xdever wrote:

I also see 4 new devices in lspci:

06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]

New display is not shown nor in Wayland, nor in X11.

Do I have to run X/Wayland on NVIDIA for this to work?

Do I have to boot with UEFI for this to work (I'm using MBR)? It would be very strange if thats the case, but I just trying to gess what could be the difference.

I see the same 4 devices + 1 more (because my adapter has a USB port on it):

06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
3e:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]

I'm not sure if UEFI vs. MBR could cause an issue. I'm booting with UEFI (secure boot enabled) and using GNOME 3 w/X11. EDIT: Also, my NVIDIA GPU is shut down via bumblebee/bbswitch.


I found out that if I force thunderbolt to flashing mode (./force_dell_tbt 1) which disables it's power management, then more devices show up. Dmesg: https://hastebin.com/raw/pewokaripo

lspci:
06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
08:00.0 System peripheral: Intel Corporation DSL6340 Thunderbolt 3 NHI [Alpine Ridge 2C 2015]
3e:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]

But still no output.

When the controller is not in flashing mode and only the first 4 devices are detected, they show up in lspci, but after a few seconds they disappear. If it is in flashing mode, they never disappear.

I simply can't understand whats happening. I got another adapter, which I tested at the place I got it, and it worked without any problems. I got it home, and with my monitor, it does nothing. I plug the monitor to my old macbook with a homemade passive mini display port to display port adapter, and it works.

The monitor is 2560x1600, but according to the adapters specification, it supports it.

Offline

#319 2018-01-12 22:38:48

syms
Member
Registered: 2008-12-25
Posts: 294

Re: Dell XPS 15 9560 (Early 2017)

Does anyone else have laggy GNOME performance on this laptop 4k screen version? its a bit annoying that animations are not very smooth there hmm

Offline

Board footer

Powered by FluxBB