0

The laptop works great with minimal issues. But when I close the lid to suspend the system and reopen it again, it crashes by logging me in and out repeatedly while flickering the black screen. Restarting the laptop solves the issue, but it's unreasonable to go on without being able to close the lid.

Gin
  • 89
  • Do you have "swap" space? The terminal command free will tell you. Read man mkswap swapon fstab fallocate to create some. Swap space must be contiguous. use mkswap or fallocate, not dd. Traditionally, swap space of 1.5 × RAM has been recommended, but YMMV. If you don't plan to hibernate your system, you can have less than 1.0 × RAM. – waltinator Jul 20 '23 at 13:44
  • @waltinator yes. I have 16GB RAM and a swap space as well. – Gin Jul 20 '23 at 18:37

1 Answers1

0

It was a hardware issue. My laptop is Razor Blade. I found this link about my laptop's common issues with ubuntu. The solution was:

  1. Edit the default grub config:
sudo nano /etc/default/grub
  1. Add button.lid_init_state=open to the end of the GRUB_CMDLINE_LINUX_DEFAULT option, like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash button.lid_init_state=open"
  1. Make changes permanent:
sudo update-grub

Then restart.

Other things I've tried:

Gin
  • 89