4

I have a Lenovo-Legion-Y530-15ICH laptop. Initially I had a dual boot system with Ubuntu 20.04 and Windows 10. After upgrading to Ubuntu 20.10 the problem appeared. Specifically, when I try to turn it on after suspension, a black screen appears with a dash on the upper left corner, that does not even blink and freezes there. It doesn't even show the log-in screen. It is totally unresponsive and every time I have to reboot it with the power button. I removed 20.10 and reinstalled it from scratch (along with windows 10) but nothing changed. In Ubuntu 20.04 I didn't have this problem.

In reply to Carles Mateo response, I checked if it hibernates but that should not be the case. I turn it on just some seconds after going to suspension and the problem appears every time. I checked also the memory allocation. I have 8G of RAM and 2G of Swap file. The swap space is not too large but I see that with SSD no more is needed.

I also attach the logs here. In line 508 a BIOS error appears. In line 1590 I think there is another error related to some SSD dependency.

Any ideas? Thank you in advance!

Angelos
  • 27

4 Answers4

3

I had the same problem on my Acer Predator laptop with an Nvidia GTX1060 video card. If I waited a few minutes after it freezes an error message appeared from nvidia_modeset. Are you using the Nvidia video drivers?

You can resolve this issue by switching to the open source Nouveau driver:

How to switch from nvidia to nouveau drivers on ubuntu 18.04

Update: The problem was occuring with version 450 of the Nvidia driver. Version 455 has just released. Updating to this new version also fixes the issue.

hcao
  • 46
1

I have a Lenovo-Legion-Y530 too and I had the same problem. So, I solved this problem as follows:

First, apparently this is about the nvidia-card-driver. My installed driver was nvidia-driver-450. I updated it to nvidia-driver-455 and the issue was gone. For installing the edge version of the driver you better add the nvidia repository first:

sudo add-apt-repository ppa:graphics-drivers/ppa

Then run the command below to get the list of driver versions that are available:

ubuntu-drivers devices

You'd better install the last version released. For me, the last version is nvidia-driver-455. So I run:

sudo apt install nvidia-driver-455

Then reboot and check if your problem is solved.

Angelos
  • 27
0

Many laptops hibernate after certain time suspended. While suspended the computer keeps the info on memory, and use a small amount of energy, while hibernating it puts the contents of the memory into a file and completely powers off. In Linux this dump of the memory is put on the Swap. If you have 16 GB o RAM, you need at least 16 GB of Swap assuming you was using 0% of the swap. Many people recommend to have a swap of double size of your RAM memory for that reason. To know the memory and the swap in use execute:

free -h

Make sure your config is not to hibernate instead of suspend.

If you just suspend it, like closing the lid, if you open it back again after 10 seconds or 5 minutes (so making sure is just suspended), it works?.

If the fail is after suspend many things could be wrong, from old firmware, to the drivers of one device. We would need to see the logs to provide more information.

Do you see anything in:

/var/log/syslog

or

dmesg -T | less

Cheers.

Carles Mateo
  • 1,647
  • 7
  • 12
0

I spent days on this, the only way I managed to finally make it work was to reinstall linux from scratch and not confirm following option:

Install third-party software for graphics and WiFi hardware and additional media formats

Once Ubuntu is installed, install NVIDIA drivers through

Software & Updates -> Additional Drivers

In my case (same laptop and Ubuntu 20.04) the problem would not fix if I install latest drivers (Nvidia-driver-470 & 460).

zx485
  • 2,865