Announcement

News: Chakra 2013.03 Benz Released: Release Notes - Download - A good place to start: Beginner's Guide - For pasting any code/info please use paste.chakra. Please read Forum Etiquette.

#1 2012-01-17 13:06:45

momo.reina
Newbie
Registered: 2012-01-15
Posts: 6

Battery extension tweaks for chakra on virtualbox?

So I'm runnin chakra as a guest on a MacBook air. My laptop's battery seriously drained as I was working on some stuff with emacs and rtorrent, 75% charge gone in 1.5 hours. I've been looking at some of the task posted but most of them seem to focus on ati video cards, while others mention nepomuk and akonadi.

Graphics is a intel hd 300 (or 3000?), so it's not an ati driver issue. I was wondering if it was really woth turning off nepomuk? I don't use desktop search but it is integrated with some of the other apps so I'm not sure what the side effects are going to be...

Does anyone have a similar setup? I am running desktop effects, mainly for transparency and present windows, all other effects off.

Offline

#2 2012-01-17 13:22:23

leit
Enthusiast
From: Germany
Registered: 2011-06-28
Posts: 81

Re: Battery extension tweaks for chakra on virtualbox?

i don't know if this helps in a VM(depends on configuration and used Software), but you could install laptop-mode-tools in your Chakra-VM, these changes the kernel-settings for a more battery-saving way to run.
On a Laptop with Chakra installed it helps a lot, and throughout it changes the settings anyway, it >should< help on a VM, but just like i said i'm not sure about that.

Also disabeling Desktop Effects at all should quite help, even if it's not so shiny anymore.

~ Leit

Offline

#3 2012-01-18 03:53:01

momo.reina
Newbie
Registered: 2012-01-15
Posts: 6

Re: Battery extension tweaks for chakra on virtualbox?

so I've installed laptop-mode-tools and acpi, as it was recommended in the arch wiki. this is the printout of my boot log file

Wed Jan 18 11:41:26 2012: :: Starting acpid    [BUSY] acpid: can't open /proc/acpi/event: No such file or directory
Wed Jan 18 11:41:26 2012:    [FAIL] 
Wed Jan 18 11:41:26 2012: :: Starting laptop-mode    [BUSY]    [DONE] 
Wed Jan 18 11:41:27 2012: Starting the VirtualBox Guest Additions ...done.
Wed Jan 18 11:41:27 2012: Starting VirtualBox Guest Addition service  ...done.

it seems that acpid is not able to load

also, when i run cpufreq-info to see if the governors are in place i get this:

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.

yet laptop-mode is running, as the boot log confirms it was started...

Offline

#4 2012-01-18 09:31:35

leit
Enthusiast
From: Germany
Registered: 2011-06-28
Posts: 81

Re: Battery extension tweaks for chakra on virtualbox?

Maybe you need to Add the generic Driver-Module for acpid to your rc.conf.
Taken from the Wiki:
"To load the driver automatically at startup, add the appropriate driver to the MODULES array within /etc/rc.conf. For example:
MODULES=( acpi-cpufreq ... )"
http://chakra-linux.org/wiki/index.php/Cpufrequtils

Worst case would be if the acpi-cpufreq-module just won't work with the virtual VBox-CPU, but i don't think it's like this.

Offline

#5 2012-01-18 10:20:30

momo.reina
Newbie
Registered: 2012-01-15
Posts: 6

Re: Battery extension tweaks for chakra on virtualbox?

acpi-cpufreq  is in modules, that's what caused the error in the first place, it can't be loaded.

Also, it seems that for some reason I'm missing the cpufreq directory in /sys/devices/system/cpu/cpu0

$ rc.d start cpufreq
grep: /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors: No such file or directory
....

I installed cpufrequtils through pacman.

Offline

#6 2012-01-21 07:53:17

momo.reina
Newbie
Registered: 2012-01-15
Posts: 6

Re: Battery extension tweaks for chakra on virtualbox?

seems that a few people running ubuntu have come across the same problem, doesn't seem to be a kernel issue though, as least according to some of the comments.

maybe an issue with virtualbox and virtualization?
https://bugs.launchpad.net/ubuntu/+sour … bug/351159

Offline

Board footer

Powered by FluxBB 1.4.8