This shows you the differences between two versions of the page.

Link to this comparison view

user:jenda:optihnus [2016/01/10 04:03] (current)
jenda created
Line 1: Line 1:
 +====== nVidia Optimus and Linux ======
 +===== Power management =====
 +<​code>​modprobe bbswitch
 +echo OFF > /​proc/​acpi/​bbswitch</​code>​
 +===== OpenGL =====
 +<​code>​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</​code>​
 +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
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki