Ubuntu stuck after sleep


Ubuntu stuck after sleep. The power button misbehaves (will not work) and all battery is drained when shutting down the OS normally. 2 NVME SSD. target. Fedora 34. Normally I shutdown my computer when I'm done for the day, but last Saturday I hit I've also tried using only the encryption option proposed in the installation menu, and since that doesn't encrypt boot, I go directly to the grub selection screen and get stuck after selecting Ubuntu. 18 kernel, try not to use sleep or hibernate, use only lock. I had 3 sleepless days trying to setup my new machine, hopping from distro to distro and trying to find a solution to this. 0-17-generic Loading initial ramdisk Jun 12, 2020 · I recently updated to Ubuntu 20. 3 and, both the machines that I upgraded, faced this issue. Happy puppy :-) Jun 23, 2023 · Whenever my laptop goes to sleep while Ubuntu is active, after pressing a button and waking it up, my VirtualBox screen shrinks like this : Before logging back in, everything is ok. The behavior is black screen and a restart after about 10 minutes of wait. The laptop does not respond to keystrokes and power button clicks. 60. I have 2 screens connected to the GPU in the host (Ubuntu) and one screen connected to the GPU passed to the Guest (Windows 10). powersave = 3 Mar 29, 2022 · You can look to the dmesg traces when wsl will unstuck. sudo systemctl stop nvidia-suspend. 18 changelog, there were changes regarding audio playback after host sleep/resume. – Jun 22, 2023 · It is the buggy nouveau driver again. 2. Change the selection from Ubuntu to Ubuntu 2D. type in passwo Jul 31, 2021 · Reinstall Ubuntu. You can do this by checking the manufacturer’s website for updates. No response. target suspend. service [ OK ] Finished Load/Dave Screen Backlight Brightness of backlight:intel_backlight Ubuntu 24. 04 » Ubuntu Desktop Guide » Hardware › Problems » Screen problems » Why does my computer not turn back on after I suspended it? Oct 21, 2020 · I have ubuntu 20. This event can also occur on a fresh installation or when updates are installed. I've tried lots of different things -- using Oilaf/Ubuntu-X bleeding-edge drivers, switching to lightdm, running gdm3 -reset-- but the only thing that seems to make a difference is whether I entered sleep by pressing the power button or by closing the laptop lid. Sep 14, 2020 · Same issue seen on a Lenovo T460s using Ubuntu 2024: can not wake laptop up after suspend. I used the Ubuntu control panel to change the resolution back to 5120x1440, and it remains with that setting through reboots and suspending. Just a note that after logging in for the first time after these steps were done, the screen defaulted to 3840x1080. As a last resort, you may need to reinstall Ubuntu. I tried reinstalling Ubuntu once again, but still the same. sleep) my newly installed Xubuntu 19. You can do this by running a diagnostic test on your computer. I can select my user, enter my password and log in. Jun 19, 2022 · Ubuntu 20. Specifically, I disabled: C6 mode, Deep Sleep, and Global C-State Control. You will get some screen shown like below. log file with more logging, using the Windows equivalent of the following Linux bash commands: Apr 5, 2018 · There are two ways of enabling WiFi after sleep. 4-use "sudo systemctl mask sleep. Edit the file /etc/default/grub (using Vi editor -- some users have not been able to save after editing in Vi and have had to use the alternate "Ex" editing mode, which substitutes sudo edit below, then Alt+:w and :x for the save and exit commands). target hibernate" To hide sleep and hibernate. Finally, I decided to completely reinstall the system. 04 flavor) freezes. 04). 04 and it didn’t wake up from sleep. How can I debug it? It's fully updated; Dual boot (windows 10) works fine, default grub configured everything; This OS replaces a 2 year old ubuntu 18. Jun 24, 2021 · Ubuntu 20. Jul 6, 2015 · I am on Lenovo Z50-70 running Ubuntu 15. Things to do after installing Ubuntu 22. Jan 27, 2021 · I'm running Ubuntu 20. 04 LTS, during boot the screen goes blank (turns black), all HD disk activity halts, and the system becomes frozen. I can confirmed that, touchpad will work again after it's completely shutdown (reboot won't work). 3). 04 (same issue on 18. 04 LTS “Jammy Jellyfish” May 26, 2022 · If your system is still unresponsive after the above sequence, you should proceed to this next sequence. When I try to wake it up from the suspension the screen remains black. Aug 26, 2020 · I recently installed Ubuntu 20. 0. A drop-down menu is shown. service sudo systemctl disable nvidia-hibernate. Mar 19, 2019 · After a long time, I tried ACPI shutdown and re-started the machine. Quite often after a screen lock (automatic after X mins or manual) and unlock, the VM gets stuck - it's completely unresponsive, I can't do anything in the VM, and ACPI shutdown does not work, so I have to force it off (Machine > Stop > Power Off). If this works, than you can create a systemd service that will start after you wake from sleep mode, and execute the above automatically. 11. I can put it to sleep/close a lid, and everything goes fine still. Disable NVIDIA systemd services. Jul 14, 2023 · I presume that you are absolutely new to Ubuntu while sharing these tips. 04 LTS to Ubuntu 20. Other Software. No button works, I can't open the terminal or May 1, 2024 · Laptop wakes up and shows the password screen when I press the keyboard immediately after locking it, but if I leave the laptop locked for some time then it does not respond at all. com May 30, 2020 · I made a clean ubuntu 20. Here are some possible solutions: Check your hardware: Make sure that your power supply and motherboard are functioning properly. If you're running Ubuntu 11. As a result, I always have to hold the power button to shut it down and then power it up again. This mostly seems to be happening when the device wakes from sleep - after a system restart, I can access the WSL distro as expected. Also, if the freezing occurs mainly upon boot, the issue is likely with the installation. For me the issue was fixed on both the machines by installing the Nvidia driver version applicable for the Nvidia graphics card on the machines. LTS on Hyper-V, also has Xrdp 0. target hibernate. See my answer here: Wayland window manager causes my computer to stay on a black/blank screen and not wake up. If you are an existing Ubuntu user, some tips may sound too elementary to you. 0 My bluetooth works fine until I resume from sleep, it says bluetooth is disabled, it doesn't start even if i toggle the OFF button May 5, 2019 · After upgrading a computer from Ubuntu 16. 04 LTS or Ubuntu 18. 2, or any Ubuntu OS using Wayland. s. 04, and it worked fine. It happend to me too and I saw there was some lock with the keystroke in bash. 04. 04 features. 04 that was working fine Here are some possible solutions: Check your hardware: Make sure that your power supply and motherboard are functioning properly. 1 Distro Version Ubuntu 2-. 04 with Linux kernel 4. 04 in VirtualBox 7. I've tried restarting but it gets stuck with a blank screen. Jan 23, 2022 · An Ubuntu machine will be stuck on a "blank" screen after entering the user name and password in the login screen. So an easy fix: sudo ubuntu-drivers autoinstall && apt install gnome-screensaver p. 04, and earlier versi Jun 2, 2012 · To do this, log out, and on the graphical login screen click the Ubuntu logo or gear icon near your login name. One distro that it worked without problems: Deepin 20. I can boot into Ubuntu, and OS works normally. 04 » Ubuntu Desktop Guide » Hardware › Problems » Power problems » Ubuntu 24. Feb 13, 2020 · I've just tried to suspend to RAM (i. Ubuntu 21. resume" or from "Ubuntu 16. (Doesn’t seem perfectly black though, it looks like the black with a tiny bit of red used in some Ubuntu screens). Before, I could wake up from suspend by either opening the lid or by pressing the power bottom. Step 4: Enjoy Ubuntu Linux. 04 on Razer Blade Pro 17, but I am having a problem with the laptop constantly being put to sleep after I put it to sleep in the first place. 24 (and also currently at 5. Nov 13, 2023 · I'm on an Lenovo Ideapad, dual boot and having major problems returning from suspend, sometimes the computer will be on (not a totally dark screen as I had on Ubuntu 22. Jun 5, 2022 · 2-Sleep is not fixed in 5. 9. If you have worked out an easy method to reproduce the problem, you could try to create a VBox. May 6, 2018 · I am having a very similar issue on an HP Pavilion 17-ar050wm laptop. This last command will initiate an emergency reboot. Apr 9, 2022 · For no apparent reason, my system started freezing after suspend. Jan 15, 2018 · According to the VirtualBox 6. That ended up not being the case. It usually occurs within a couple of minutes to hours, I notice it most of the time when getting back home from work or after a good nights sleep. It used to fail about 90% of the time. Even, sometimes my laptop's touch-pad doesn't respond while browsing in Files. service sudo systemctl stop nvidia-hibernate. target hybrid-sleep. This makes you use Unity 2D instead of Unity. Jun 22, 2023 · If on Ubuntu 22. service sudo systemctl disable nvidia-suspend. type in username and password on xorg dialog b. 04 won't wake up from sleep. See full list on onestepcode. 04) The May 3, 2020 · I have a Xioami notebook pro laptop on Ubuntu 20. I am using a Dell Inspiron with model number P69G, and am running Ubuntu 22. The weirdest thing though, the keyboard's backlight goes to sleep and turns off after no keys are pressed for a while, it turns back on when I press a key, wth. 04, 23. Aug 29, 2021 · Solution: At first I kept thinking that my Nvidia driver was the source of my troubles. Alt + SysRq + r e i s u b. Start a WSL distro (Ubuntu 20. For me, it ended up being a bios configuration specific to AMD Ryzen CPUs that had to do with idle power. Edit: It happened to me recently again: I'm using wsl2 (debian) via the console of vscode and, sometimes, when I type a new command (make) everything get stuck for few seconds. However, you’ll still find a few good tweaks that are specific to the new Ubuntu 22. No matter what I do it won't open the screen. The first is a common patch to Network Manager as you can see I've made by listing the file: wifi. I included my parts list below, the primary drive is the M. Disabling the security chip in the bios (F1 | Security | Disable Security etc. Apr 26, 2022 · I just upgrade my Lenovo X1 Carbon from Ubuntu 20. 04 changes sound device after getting stuck in an infinite Apr 1, 2019 · The problem I face is sometimes after waking up from sleep, I cannot seem to start some of the applications like Google Chrome, Firefox etc. Version Windows 11 Pro 21h2 build 22000. not technical so just saying. Host is not fallen to sleep mode of screen-lock The message I get in my logfile is: Mar 4, 2020 · After sleep try to execute these commands: sudo systemctl restart network-manager. Thank you all at ask Ubuntu, posting this for others. e. Here are some useful command outputs: $ sudo lshw -C memory. Now, after upgrading, I cannot wake up Aug 28, 2022 · I recently upgraded to Ubuntu 22. Dec 7, 2020 · Ubuntu 20. Sep 20, 2010 · sudo service lightdm restart. 04 LTS to Ubuntu 18. The login window is getting stuck after you enter the login credentials. I see a Ubuntu loading screen (“Ubuntu” title with 4 dotes below it) then after a short time, a black screen. 1. If you're using Kubuntu instead, then the default display manager is kdm, so you should instead use: sudo service kdm restart. I present 3 fixes there, in detail, so check them out first. r: Get keyboard out of raw mode; e: Send SIGTERM to all processes; i: Send SIGKILL to all processes; s: Sync all mounted filesyste; u: Emergency remount read only May 23, 2020 · In both the OS, the sleep drains too much battery and also gets hot idle. month releases) Dec 12, 2020 · sudo systemctl mask sleep. 04 install 2 weeks ago, but since day 1 the OS hangs after some inactivity. 0 (still Ubuntu but now 20. 4 LTS. 04 early this week but i'm still struggling to make my touchpad working after waking up from suspend. After the laptop goes in sleep/hibernate mode, there is no sound that comes out of the speakers. 4 to 22. I tried many proposed fixes (see the next section), but the problem persisted. Apr 7, 2019 · Don’t worry! Things should be better now and you won’t need to edit the kernel parameters anymore. Reading Time: < 1 minute So I recently updated my linux machine to Ubuntu 20. Time will be updated in the screen. But after that, everything stops working as shown in the image. The advanced grub sub-menu shows this: Loading Linux 5. 04 or earlier, you should use this instead (as gdm used to be the default display manager): sudo service gdm restart. 832 WSL Version WSL 2 WSL 1 Kernel Version 5. The system settings (settings>sounds) are detecting music is being played and the headphones are working fine after sleep. ) If in doubt and there's a Feb 1, 2019 · Since the update to 5. Apr 28, 2022 · Got an update from the launchpad. service sudo systemctl disable nvidia Dec 6, 2021 · EDIT: I went through this process when I installed Ubuntu 22. I think it is to do with 'no-more' separate swap and root partitions, and current Nvidia video drivers. Pop OS 20. I have tried everything mentioned in Jun 26, 2021 · With Ubuntu Core 18, an upgrade to Ubuntu Core 20 changes no applications; as only the underneath OS base changes; all snapped applications are untouched - a benefit of the snap only year releases (& very different to year. There is a work around for Nividia 510 using the solution from Nividia 470. I noticed that /usr/bin/nvidia-sleep. 04 running on asus rog 14. 19 kernel,not sure about sleep. Proposed Solutions: In windows: setting CsEnabled as 0 in \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power through regedit; In ubuntu: enablind 'deep' sleep; However, for both the solutions, when I wake up the laptop from sleep, it gets stuck on the dell logo Sounds like the audio device is not properly reactivated after sleep. 8 on Windows 10 21H2. ) made the suspend-resume work again! Oct 13, 2022 · Hi, I'm running Ubuntu 22. Apr 21, 2021 · Installed Ubuntu 20. I hope this tutorial helped you to fix the problem of Ubuntu freezing at the boot time and you were able to boot into your Ubuntu system. 26) I have a problem that after a period of inactivity the Guest (Ubuntu 18. 04 that was working fine Feb 13, 2020 · I've just tried to suspend to RAM (i. sh uses the directory /var/run/nvidia-sleep at RUN_DIR, but that directory does not exist! I created the directory with ownership nvidia-persistenced:nvidia-persistenced, and suspend seems to be working now. Sep 14, 2020 · Now No more blank screen after suspend resume. I've tried to open System Monitor but it didn't respond as well. Update your drivers: Make sure that your drivers are up to date. If the freezing issue occurs frequently after the original installation, it could be that the system didn’t install correctly. 3-There might be some fix in 5. You’ll be booting into Ubuntu straightaway. Here's how I can reproduce this issue, connect to the machine from mstsc a. Nov 5, 2021 · Hello, not sure if this is best under Windows 10 or under Hardware, but I am running Windows 10 on a three year old PC that I built myself. 04) See it hang; Try to do a wsl --shutdown; See that hang as well; Expected Behavior. Upon pressing suspend while logged in, the system freezes instantly. This does indeed stop the laptop from suspending while the lid is closed, but results in systemd-logind consuming 100% cpu and continuously logging the following: (multiple times per second) systemd-logind[514]: Suspending. The bluetooth began working again after system wake-up from sleep after a few kernel upgrades, so I disabled my script, and since about 6 weeks ago the Wifi portion of that chip started working after an upgrade to Linux 5. May 30, 2020 · I made a clean ubuntu 20. Repro Steps. That's what solved the issue for me. service sudo ifconfig wlx8c882b131d8 up sudo rfkill unblock all Change wlx8c882b131d8 to the name of your own WiFi adapter. (If you're using GNOME Shell, you can select GNOME Fallback / GNOME Classic instead. Jun 10, 2021 · I was having the same problem on Ubuntu 24. 10 machine, a Lenovo S340 Ideapad with a replaced SSD. 10. 04 Other Software Docker desktop windows Repro Steps Hibernate machine Start up windows open a new terminal Expected Be Apr 20, 2024 · Restarting the laptop solves the issue, until it goes to sleep and wakes up. Issue: Whenever the laptop suspends (either due to a closed lid or due to a black screen for a certain time), I cannot wake it up. Jun 24, 2021 · Ubuntu 20. 12 installed and running on this VM. So i tried again after disabling the screen blank and auto-suspend options completely. service sudo systemctl stop nvidia-resume. After the update when I'm trying to reboot, after restarting it is stuck on the page saying: systemd-rfkill. ubkpib feyh qkaf tfb smovn smr showj qfig ngzw oqfeawq