Skip to content

Instantly share code, notes, and snippets.

@xgenvn
Created September 7, 2020 15:07
Show Gist options
  • Select an option

  • Save xgenvn/0286e38ddf13ebc4c3a12a2a6c0bc7cc to your computer and use it in GitHub Desktop.

Select an option

Save xgenvn/0286e38ddf13ebc4c3a12a2a6c0bc7cc to your computer and use it in GitHub Desktop.
Fix sleep awake issues ubuntu 20.04
  • Symstom: NVIDIA 440.100, GPU 1060, Ubuntu 20.04
  • Solution: Edit /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" #
GRUB_CMDLINE_LINUX="nouveau.modeset=0 acpi_osi=! acpi_osi=\"Windows 2015\" acpi_backlight=vendor mem_sleep_default=deep acpiphp.   disable=1" GRUB_CMDLINE_LINUX="nouveau.blacklist=1 acpi_rev_override=1 acpi_osi=Linux nouveau.modeset=0 pcie_aspm=force drm.vblankoffdelay=1   scsi_mod.use_blk_mq=1 nouveau.runpm=0 mem_sleep_default=deep"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment