LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-25-2018, 07:53 PM   #1
mattflyx
LQ Newbie
 
Registered: May 2018
Posts: 2

Rep: Reputation: Disabled
Unable to Hibernate ubuntu bionic (kernel 4.15.0-22-generic) after installing nvidia drivers


I have an issue that Ive been researching since 2 months and didn't find anyone yet with that same thing. Hibernation is "important" to me because i like to let linux on a snapshooted way so that I switch to another OS and then come back to the same environment that I was working before on a dual boot machine. So I won't loose hardware resources while on the other OS (I know I could like use virtualBox...) and all applications come back. I use kde session restoring feature but not all applications support the XSM protocol.

Anyway the goal is being able to hibernate (suspend to disk) or recover from a snapshoot of the whole system in any way. Hibernation works on the ubuntu 17.10 (im not sure if i had the nvidia drivers enabled then). But still, even without the nvidia drivers, it hibernates but doesn't recover from it when I boot, which is a known issue due to the metldown kernel patch and seems to be fixable now for ubuntu.

After installing the nvidia driver 390, on all of my hibernation attempts i get stuck ad s2disk message "snapshooting system", then the fans run faster for a while and im forced to force shutdown (alt+print REISUB works too). And yes I've waited like 20 minutes on this screen.

I made a bug report here: https://bugs.launchpad.net/ubuntu/+s...p/+bug/1770491
But maybe it isn't ubuntu fault. I also did this question and tried all that's there: https://answers.launchpad.net/ubuntu/+question/667833

SPECS Dell i15-7567-A30P Gamer

PROCESSOR: Intel Core i7 7700HQ 7ª Gen. (até 3.8 GHz) Cache 6 MB
RAM: 16 GB DDR4 2133 MHz (suporte até 32 GB)
VIDEO CARD: Geforce GTX 1050 Ti 4 GB GDDR5
STORAGE: Drive primário SSD de 256GB + HD de 1TB (5400 RPM)

Code:
# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda8                               partition       16726012        0       -2
The swap works when I fill my ram with random applications so the problem is not it. The swap partition is on the SSD drive(Should i try having it on the hdd?).

The exactly same error happens when I try either the pm-hibernate or hibernate or s2disk commands.

I would like any things or ideas I could still try or any feedback, maybe someone finds out this is a bug on nvidia drivers or i should be installing it from somewhere else or maybe its a bug on the linux kernel itself??? Also I'm open to suggestions besides all i said and the links, for hibernating.

Thanks in advance!
 
Old 05-29-2018, 11:09 PM   #2
mattflyx
LQ Newbie
 
Registered: May 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Is there any way I could debug s2disk while it is trying to snapshoot my computer? How would it be technically possible to debug this if not on a virtual machine?
 
Old 07-18-2018, 11:56 AM   #3
markackerman8@gmail.
Member
 
Registered: Jul 2008
Location: Canada
Distribution: linux Mint Cinnamon
Posts: 34

Rep: Reputation: 16
Smile

I was also having this problem plague me ... and a fix after many attempts was to re-install Ubuntu 18.04, and now it is working perfectly. I am also using Nvidia's "tested" Driver, as Nvidia was the culprit before.

Perhaps it was the "sudo add-apt-repository ppa:graphics-drivers" ppa which installed "Extra" Stuff from the PPA and/or the 396 driver itself which screwed up my laptop's hibernating ability.

Either way it works flawlessly at this time of writing with the NVidia's 390 tested driver. And just FYI, it was also working with the 396 driver for a long time, but became problematic last week - AGAIN! SO although I don't know the exact cause ...

It is/was definitely related to the NVidia driver as before switching to the Nouveau driver also worked, but I sure did not like that option.

Trying to help, Mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install The Latest AMD Radeon Drivers on Ubuntu 18.04 Bionic Beaver Linux LXer Syndicated Linux News 0 05-22-2018 01:32 PM
LXer: How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux LXer Syndicated Linux News 0 04-30-2018 09:11 AM
[SOLVED] unable to set up kernel drivers and modules for HDA Nvidia (audio via hdmi) gjwalsh Linux - Hardware 5 06-18-2011 06:57 PM
Unable to load NVIDIA drivers or change monitor resolution Ubuntu 8.10 invisibleman Linux - Hardware 4 01-21-2009 10:01 PM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration