User Tools

Site Tools


optihnus

nVidia Optimus and Linux

Power management

modprobe bbswitch
echo OFF > /proc/acpi/bbswitch

OpenGL

Start:

modprobe nvidia-current
modprobe nvidia-current-uvm
echo ON > /proc/acpi/bbswitch
/etc/init.d/bumblebeed start
cat /proc/acpi/bbswitch

primusrun your_opengl_application

Stop:

rmmod nvidia-current-uvm
rmmod nvidia-current
rmmod nvidia-uvm
rmmod nvidia
/etc/init.d/bumblebeed stop
echo OFF > /proc/acpi/bbswitch
cat /proc/acpi/bbswitch

OpenCL

apt-get install nvidia-opencl-common nvidia-opencl-dev nvidia-opencl-icd
primusrun your_opencl_application
optihnus.txt · Last modified: 2016-01-10 04:03:04 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki