0

I have Ubuntu 18.04 installed on my alienware x11m R3 laptop.

The Problem

When my laptop goes to suspend it gets stuck indefinitely and never actually suspends.
The last line I get whne it gets stuck is "Starting Manage, Install and Generate Color Profiles".
This happens both when I choose to suspend from the menu and when I just close the lid and let it suspend by itself.
Here is a picture of my screen when it gets stuck:
Here is a picture of my screen when it gets stuck

What I tried

My laptop has a GeForce GT 540M graphics card. I have seen that sometimes installing the drivers can help. This did not solve the problem for me. I tried both "Using X.org Server" and Using NVIDIA driver metapackage from nvidia-driver-390 (proprietary,tested)" in "Software & Updates"-> "Additional Drivers" but the problem exists in both.

Required Result

I want my computer to enter suspend mode, powering off everything except what is necessary to preserve the state of the machine.

Please let me know if you need me to provide more information.
Thanks in advance for any help available.

Edit with more info

sudo dmidecode -s bios-version result is A04
sudo dmidecode | grep -A3 '^System Information' result is:

System Information
    Manufacturer: Alienware
    Product Name: M11xR3
    Version: A04

free -h result is:

              total        used        free      shared  buff/cache   available
Mem:           3.8G        2.5G        169M        225M        1.1G        821M
Swap:          2.0G        393M        1.6G
Oha Noch
  • 129

2 Answers2

0

BIOS

Alienware M11xR3

You have BIOS A04.

There's a newer BIOS available, A05, dated June 4, 2020, and can be downloaded from here.

Note: Confirm that I have the correct web page for your model #.

Note: Have good backups before updating the BIOS.

Swap

It sounds like you're using a /swapfile, instead of a swap partition. To confirm it, do:

grep -i swap /etc/fstab

Your /swapfile is too small for only 4G RAM. Let's increase it to 4G.

Note: Incorrect use of the dd command can cause data loss. Suggest copy/paste.

sudo swapoff -a           # turn off swap
sudo rm -i /swapfile      # remove old /swapfile

sudo dd if=/dev/zero of=/swapfile bs=1M count=4096

sudo chmod 600 /swapfile # set proper file protections sudo mkswap /swapfile # init /swapfile sudo swapon /swapfile # turn on swap free -h # confirm 4G RAM and 4G swap

Add this line to /etc/fstab, if it's not already there...

/swapfile    none    swap    sw      0   0

Reboot, and verify proper swap operation with free -h.

heynnema
  • 73,649
0

Formatting Ubuntu again solved the problem. There must have been a program installed at some point that jammed something that caused the suspending getting stuck, but I am not sure what it was.

Thanks to Heynemma for his time, unfortunatly due to circumstance I never got to try the BIOS update. I do not know if this would have helped or not.

Oha Noch
  • 129