XPS

Last reply by 04-24-2022 Unsolved
Start a Discussion
2 Bronze
2 Bronze

Suspend and hibernate issues on XPS 15 9500 on Linux

Hi, I've just received my new XPS 15 9500 and installed Arch linux on it (kernel 5.7.7). Most functionalities are working but I'm having issues with suspend and hibernation.

Default suspend behavior is s2idle, which drains a lot of battery for my use case (sleep for the night). So as suggested in the arch wiki for the previous XPS 15 model, I've changed it to deep sleep (S3). Now, after going to sleep, the computer is unable to restart, I have to force shutdown with a long press on the power button.

So I figured I could hibernate instead. The issue is that the computer systematically wakes up after a few seconds, so this is not usable. I've tried without success to toggle the /proc/acpi/wakeup entries to prevent wakeup.

I suppose this must be a BIOS or kernel issue and cannot find any solution to this. Has anyone found a solution for that? What should I do to better diagnose the issue?

Replies (46)
2 Bronze
2 Bronze

I am having the exact same issue, though I am on Ubuntu 20.04 with kernel  5.4.0. s2idle drains battery quickly and switching to deep sleep mode will render the device unbootable. 

I am also having issues with fan noise. Though the system is idle at a temp of ~40C, fans are both running. 

2 Bronze
2 Bronze

Have you tried turning-off the 5 or 6 features in the BIOS mentioned in https://www.reddit.com/r/Dell/comments/hla8yk/how_to_enable_s3_deep_sleep_on_xps_17_9700_in/ ? It's for the XPS 17 but it looks like it's nearly identical to the 15.

I'm interested in buying an XPS 15 for work as well but the iffy linux support is discouraging.

I had not, thanks for the pointer. I've just tried it now and unfortunately, it did not solve the suspend issue.

I've found the issue for hibernation though so now at least I can hibernate.

I've tried the BIOS settings you've shared but they don't seem to work here either with deep sleep mode. The behaviour is the same, it just won't wake up.

andre_p,

 

I see your system shipped with Windows 10.  What version of Linux are you running?

 

Dell-Jesse L



Find your Service Tag

If still under warranty, click the "Get help now" icon on the right to start a live chat session. Currently only available in the USA.

@DELL-Jesse L It's a fresh Ubuntu 20.04 LTS install running kernel  5.4.0

I've also upgraded to the 1.2.1 BIOS. Windows 10 installation is gone.

Just to better understand the situation, is what we are all trying to do, i.e. deep sleep mode on the XPS 15 9500 supposed to work? Has it been tested at all?

My understanding is that there is no official support for the 9500. As such, I mostly wanted to ask if somebody already managed to do it (since I haven't seen any post with a successful solution yet for the 9500). And possibly make the issue visible for some Dell representatives. There might be people working there with a solution even if there is no official support

I have seen a couple accounts of people having successfully got it to work on the XPS 13 9300 [1] and XPS 17 [2], so I would expect the XPS 15 9500 to be able to support it as well.

@andre_p  could you try the Ubuntu OEM kernel (https://wiki.ubuntu.com/Kernel/OEMKernel#How_to_install_it.3F)? It's not only more recent (based on kernel 5.6) but also it contains vendor patches from Canonical partners selling certified hardware (e.g. Dell, Lenovo, ...) to improve hardware compatibility that have not yet made it to the "mainstream" ubuntu kernel.

As the XPS 15/Precision 5550 are certified for Ubuntu, it's possible that the OEM kernel contains patches targeting these very machines.

It is possible that people reported deep sleep working on the XPS 13 in [1] due to the fact that their Developper Edition device might have come with the OEM kernel as default 

-

[1] https://www.dell.com/community/XPS/XPS-13-9300-Wake-from-sleep/m-p/7535386/highlight/true#M59272
[2] https://www.reddit.com/r/Dell/comments/hla8yk/how_to_enable_s3_deep_sleep_on_xps_17_9700_in/

Hi again

@Ben1837 Thanks for the hint with the OEM kernel. Didn't think about it before. Unfortunately, it doesn't improve the suspend-to-ram situation. I would say it's identical to the stock Ubuntu kernel. I should have also said that I am blacklisting the nouveau driver for the Nvidia card. So I am only on the integrated Intel GPU.

One thing that did improve with the OEM kernel is the fan noise though. The throttling is a lot better with this kernel and the system a lot quieter.

 

@Dell-SimranC I am not so much asking about Ubuntu specifically, rather about Linux in general. Windows is not an option for me I am afraid.

Top Contributor
Latest Solutions