← Back to team overview

hybrid-graphics-linux team mailing list archive

HP Pavilion 13" DM3-1120eg | Intel + nVidia G105M Hybrid

 

Hi,

i have a new HP Pavilion 13" laptop DM3-1120eg.

# dmidecode -s system-product-name
HP Pavilion dm3 Notebook PC
# dmidecode -s system-version
0487110000241F10110120000

It has two graphic cards:
# lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series
Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA
controller])
01:00.0 VGA compatible controller [0300]: nVidia Corporation G98M [GeForce
G105M] [10de:0a69] (rev a2) (prog-if 00 [VGA controller])

I killed the pre-installed Windows and installed Fedora 13.
Everything is fine, but running the laptop with two graphic cards is
draining the battery empty in something about 3 hours.
Since i use it for office purposes only, i would like to use the intel card
and disable the nvidia card to get more battery time.

Regarding the How-To (
http://linux-hybrid-graphics.blogspot.com/2010/07/using-acpicall-module-to-switch-onoff.html),
i run the following commands:
# yum -y install gcc cpp kernel-devel kernel-headers git
[...]
# cd
# mkdir vga
# cd vga
# git clone http://github.com/mkottman/acpi_call.git
[...]
# cd acpi_call
# make
make -C /lib/modules/2.6.33.6-147.fc13.x86_64/build M=/root/vga/acpi_call
modules
make[1]: Entering directory `/usr/src/kernels/2.6.33.6-147.fc13.x86_64'
  CC [M]  /root/vga/acpi_call/acpi_call.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /root/vga/acpi_call/acpi_call.mod.o
  LD [M]  /root/vga/acpi_call/acpi_call.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.33.6-147.fc13.x86_64'
# insmod acpi_call.ko
# ./test_off.sh
Trying \_SB.PCI0.P0P1.VGA._OFF: failed
Trying \_SB_.PCI0.OVGA.ATPX: works!
# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset
Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: nVidia Corporation G98M [GeForce G105M]
(rev a2)
# echo '\_SB_.PCI0.OVGA.ATPX' > /proc/acpi/call
# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset
Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: nVidia Corporation G98M [GeForce G105M]
(rev a2)

Ok, i get a "works!" message. Sounds good.
But how can i disable the card?
If it's working, why are there still two cards listed by lspci?
Is there a command to check if the card is still draining power?

Any help would be appreciated.

Regads,

Daniel

Follow ups