z0rc / debumblebee

DEPRECATED. Don't use it anymore — Optimus graphics support for Debian through VirtualGL
http://suwako.nomanga.net/
GNU General Public License v3.0
26 stars 2 forks source link

Alienware M11x R2 powersafe scripts #44

Closed MelTraX closed 13 years ago

MelTraX commented 13 years ago

I'm too new to this git business to get a pull request rolling but the M11x R2 uses the same commands as the XPS_L501X__. You can verify this by looking at the example script m11xr2.sh in the acpi_call directory.

$ echo \#`sudo dmidecode --string system-product-name`\#
#M11x R2#

$ grep "acpi_call \"" /usr/local/bin/{en,dis}ablecard 
/usr/local/bin/enablecard:acpi_call "\_SB.PCI0.P0P2.PEGP._PS0"
/usr/local/bin/disablecard:acpi_call "\_SB.PCI0.P0P2.PEGP.NVOP 0 0x100 0x1A {255,255,255,255}"
/usr/local/bin/disablecard:acpi_call "\_SB.PCI0.P0P2.PEGP._PS3"

$ optirun glxgears 
Enabling nVidia card succeded.
1929 frames in 5.0 seconds = 385.393 FPS
[VGL] ERROR: in readback--
[VGL]    230: Window has been deleted by window manager
Disabling nVidia card succeded.
z0rc commented 13 years ago

Sounds nice. I'll add support of it today later when I get home.