LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-21-2013, 03:40 AM   #1
Lop3
Member
 
Registered: Aug 2013
Posts: 48

Rep: Reputation: Disabled
Talking Turning off Nvidia GPU on Asus N53SV laptop. Nvidia Optimus. Installed Bumblebee


Linux eats eats my laptop's battery for breakfast.

Laptop: Asus N53SV with 2x 8GB DDR3 and 2 memory slots free. With the standard 750GB 7200RPM hard drive and DVDRW.
Distro: Mint 15 x64 with Mate 1.6
Kernel: 3.8.0-19 kernel

On a fresh boot powertop reports 44W used. It settles down after a few seconds to 23W.

I used this kernel module to turn off my GPU with the command: \_SB.PCI0.PEG0.GFX0.DOFF

Powertop reports power consumption drops to 11.3W.
All seems well. But when I try shut down the system crashes (Mate GUI freezes and the hard drive light stops blinking)

I tried repeating the test, turning the GPU back on using the command \_SB.PCI0.PEG0.GFX0.DOFF, but power consumption only rises to 18W meaning the GPU is not restored to its original (power hungry) state. Shutting down STILL crashes.

I verified that if I boot up, run powertop, wait for system to settle and then shut down, there are no problems.

===================

The next idea I had is to shut down in a terminal or see if there is some error message, whats the best way to do that?

Beyond that I'm out of ideas. What do you suggest?

Last edited by Lop3; 10-22-2013 at 07:16 AM. Reason: Solved
 
Old 10-21-2013, 04:03 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
All seems well. But when I try shut down the system crashes (Mate GUI freezes and the hard drive light stops blinking)
any indication of the error? You really need some error here, or some piece of code that has crashed. Otherwise, how are you going to find it?
 
Old 10-21-2013, 04:28 AM   #3
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Asus N53SV with an nVidia GPU? If so, its an 'optimus' setup and I'd suggest trying Bumblebee, not vga-switcharoo.

http://bumblebee-project.org/
 
Old 10-22-2013, 02:27 AM   #4
Lop3
Member
 
Registered: Aug 2013
Posts: 48

Original Poster
Rep: Reputation: Disabled
business_kid:
I was hoping someone could suggest what log files I should check or what method to use to shut down, where I'd be able to see an error.

cascade9:
Ok, I thought bumblebee was for using the Nvidia graphics. I don't want to use the Nvidia graphics at all. (at this stage) so I thought the ACPI stuff was the way to go.
 
Old 10-22-2013, 02:45 AM   #5
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Bumblebee is a software implementation comprising of two parts:

Render programs off-screen on the dedicated video card and display it on the screen using the integrated video card. This bridge is provided by VirtualGL or primus (read further) and connects to a X server started for the discrete video card.
Disable the dedicated video card when it is not in use (see the Power management section)
Quote:
Power management

The goal of power management feature is to turn off the NVIDIA card when it is not used by bumblebee any more. If bbswitch is installed, it will be detected automatically when the Bumblebee daemon starts. No additional configuration is necessary.
Default power state of NVIDIA card using bbswitch

The default behavior of bbswitch is to leave the card power state unchanged. bumblebeed does disable the card when started, so the following is only necessary if you use bbswitch without bumblebeed.
https://wiki.archlinux.org/index.php/bumblebee
 
1 members found this post helpful.
Old 10-22-2013, 03:02 AM   #6
Lop3
Member
 
Registered: Aug 2013
Posts: 48

Original Poster
Rep: Reputation: Disabled
Okay here is whats crashing. plymouthd and Xorg
http://i.imgur.com/V5C6K34.jpg
 
Old 10-22-2013, 03:05 AM   #7
Lop3
Member
 
Registered: Aug 2013
Posts: 48

Original Poster
Rep: Reputation: Disabled
Cool, thanks will give bumblebee a try

I was a little hasty when I went through the installation.
I didn't read the whole page and see that there is an option to JUST get the power management.
https://wiki.ubuntu.com/Bumblebee#Installation

For better or worse I'm getting the whole bumblebee open source nVidia story. (500MB of archives)
Perhaps I'll find a use for my GPU.

Last edited by Lop3; 10-22-2013 at 03:45 AM.
 
Old 10-22-2013, 07:11 AM   #8
Lop3
Member
 
Registered: Aug 2013
Posts: 48

Original Poster
Rep: Reputation: Disabled
Thanks cascade9!

I installed the full bumblebee package.
Rebooted. Had to re-configure my resolutions.
Then I ran powertop and saw my GPU is automatically switched off. My laptop was idling at 13.5W

Awesome!
Then I shut down and it didn't crash!

weeeeeee!
 
  


Reply



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
Laptop Battery life.. Does Distro affect battery life?? jeevanism Linux - Hardware 6 07-09-2011 02:16 AM
How to disable onboard intel graphic card on Toshiba M640 (Hybrid Intel/Nvidia) Marcelo Ruiz Linux - Laptop and Netbook 6 08-14-2010 09:59 AM
LXer: Intel and PowerTOP extend Linux laptop battery life LXer Syndicated Linux News 0 05-17-2007 11:16 AM
Windows: 4-5 hour battery life, Gentoo : ~2:30 battery life numerous Linux - Laptop and Netbook 3 01-17-2005 08:39 PM
windows, good battery life -> fedora, bad battery life daedalusq1115 Linux - Laptop and Netbook 1 01-17-2005 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:52 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
Open Source Consulting | Domain Registration