• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Am I hibernating wrong? (Ubuntu)

janas19

Platinum Member
Hi AT.

I have a HP MediaCenter, Pentium D with Asus OEM motherboard. I run Linux, Ubuntu 11 currently, as the OS.

When I need to take a break from the computer, and save some energy, I will go to "Hibernate" or "Suspend" (tried both). Everytime I do, the PC appears to shut down - the keyboard does not wake it up.

So to wake it up, I turn on the power button. This makes it boot exactly as if I had shut it down - except when it loads Ubuntu, the screen is frozen and warped, and I have to reboot from the terminal.

Is this how Hibernate is supposed to work??

*scratching my head*
 
Obviously that's not the expected result, however I think you're doing it right. The problem may be that the video driver/card isn't coming back properly. I suspend my work laptop regularly and it works fine, I just type 'pm-suspend' in a root shell and it's asleep in a few seconds, hit the power button and it's available again in a few seconds. But I've got an nVidia card and am using the non-free drivers.
 
Obviously that's not the expected result, however I think you're doing it right. The problem may be that the video driver/card isn't coming back properly. I suspend my work laptop regularly and it works fine, I just type 'pm-suspend' in a root shell and it's asleep in a few seconds, hit the power button and it's available again in a few seconds. But I've got an nVidia card and am using the non-free drivers.

Thanks man.

I haven't heard of non-free drivers in Linux. Where do you get them?
 
Since you're running Ubuntu, you likely are already running them. I think they set them up out of the box. To check, open up your "Administration" category, wherever that is in Unity, and you should find something called "Hardware Drivers". Click that, and it'll scan your system, and notify you of proprietary drivers that are in use, and ones that are available. That's the easiest way I know of.
 
Since you're running Ubuntu, you likely are already running them. I think they set them up out of the box. To check, open up your "Administration" category, wherever that is in Unity, and you should find something called "Hardware Drivers". Click that, and it'll scan your system, and notify you of proprietary drivers that are in use, and ones that are available. That's the easiest way I know of.

Thank you man. I'm just learning Linux, so you guys helping me out is great.

While I'm here, I have another question that I was hoping to get answered. When my screen warped after returning from Hibernate, I pressed ctrl+alt+f1. This was the only way I could gain control - I think it is called "virtual station". Instead of rebooting, though, I tried to get back into the desktop, from the virtual station. So I typed "init 1". Lol. I don't know what the 1 argument means exactly, I'm just trying to learn.

So I got back to the desktop, but now my mouse doesn't work. How do I undo the "init 1" command, whatever that is? I searched Google for 10 mins, couldn't find anything I understood.

Thanks for helping a noob guys. You are awesome! 🙂
 
That I don't know. I'm not especially expert at GNU/Linux. Just an average user. For future reference though, to get out of tty ctrl-alt-F7 should get you back to the desktop.

If no one else answers, try going back to tty, and trying init 2. Wikipedia indicates that's the default run level for Ubuntu. I'm not responsible if your machine blows up :^D

Alternately, you could try rebooting.
 
The tty's you get to via Ctrl+Alt+FX are virtual consoles and 'init 1' tells the init system to switch to runlevel 1 which is single-user on almost all unixes. The default runlevel for Debian and Ubuntu is 2, so 'init 2' tells it to switch to that run level which would restart the display manager and let you log in again.

If that worked in getting you back to X, then it's definitely a problem with your video drivers not resuming properly.
 
Back
Top