Code: Select all
inxi -Fxz System: Host: ASUS-Samuel Kernel: 4.13.0-38-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia Machine: System: ASUSTeK (portable) product: X542UQ v: 1.0 Mobo: ASUSTeK model: X542UQ v: 1.0 Bios: American Megatrends v: X542UQ.302 date: 11/16/2017 CPU: Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11616 clock speeds: max: 3500 MHz 1: 1110 MHz 2: 864 MHz 3: 868 MHz 4: 850 MHz Graphics: Card-1: Intel Device 5916 bus-ID: 00:02.0 Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 01:00.0 Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: email@example.com GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) GLX Version: 3.0 Mesa 18.0.0-rc4 Direct Rendering: Yes Audio: Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: Advanced Linux Sound Architecture v: k4.13.0-38-generic Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0 IF: enp2s0 state: down mac: <filter> Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0 IF: wlp3s0 state: up mac: <filter> Drives: HDD Total Size: 1000.2GB (5.5% used) ID-1: /dev/sda model: TOSHIBA_MQ01ABD1 size: 1000.2GB temp: 31C Partition: ID-1: / size: 184G used: 37G (22%) fs: ext4 dev: /dev/sda5 ID-2: swap-1 size: 15.73GB used: 0.00GB (0%) fs: swap dev: /dev/sda6 RAID: No RAID devices: /proc/mdstat, md_mod kernel module present Sensors: System Temperatures: cpu: 36.5C mobo: N/A Fan Speeds (in rpm): cpu: N/A Info: Processes: 214 Uptime: 11 min Memory: 1237.8/11896.2MB Init: systemd runlevel: 5 Gcc sys: 5.4.0 Client: Shell (bash 4.3.481) inxi: 2.2.35
I value Hibernation a lot, as it saves energy (and my laptop's biggest flaw is short battery span). However, the hibernation option was nowhere to be found after installation, which I nailed down to be the fault of UEFI's secure boot. Disabling secure boot enabled hibernation, however, this broke Suspension (yes, suspension to RAM as well). Now, after the computer goes to sleep (for example, by closing the lid), waking up results in the fan starting and the power light turning on, and I can see the terminal cursor in the top left corner for a split second, before I'm left with a black screen and no other option but to force shut down the laptop. No key combination has any effect, not even the virtual terminal. Hibernation has the same effect.
To fix this, I've spent countless hours trying everything Google threw at me (which wasn't much, because this seems to be a rarely-ocurring issue with no definitive solution), including updating the kernel, downgrading the kernel, updating to a new Nvidia driver, and... honestly I don't remember the rest, as it's been a hellish time. At some point I switched to the integrated Intel GPU, which resulted in Suspend working, but hibernation was still broken, and I also don't want to use the Intel GPU all the time. Along the way many things broke, which resulted in more and more work researching other obscure problems, and finally I came back to where I started. I disabled secure boot so I can keep my nvidia driver and still sleep, though I'd love if I could have Hibernate on linux.