[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:hardware:nvidia_optimus [2014/05/12 13:57 (UTC)] tommychowtos:hardware:nvidia_optimus [2014/12/23 20:55 (UTC)] tommyc
Line 20: Line 20:
 ==== Installing Bumblebee ==== ==== Installing Bumblebee ====
 ---- ----
 +=== The Automated Way ===
 +There is a new, automated way of installing Bumblebee thanks to Slacker: Ryan McQuen.
 +<note warning>USE AT YOUR OWN RISK!
 +If you have modified the SlackBuilds in any way, this script may not be for you.</note>
 +
 +You can run this as root:
 +<code>
 +curl https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/slackware/crazybee.sh | sh
 +</code>
 +
 +Alternatively you can download the script and run it as root on your system directly.
 +
 +This script detects multilib, creates the necessary group, adds users and applies the necessary /etc/rc.d/rc.local entries.
 +
 +It also uses upgradepkg's %%--%%reinstall %%--%%install-new features for use after kernel upgrades.
 +=== The Manual Way ===
 === Getting the SlackBuilds === === Getting the SlackBuilds ===
 A fellow Slacker, jgeboski, originally provided SlackBuilds that mostly follow the [[http://www.slackbuilds.org/guidelines/|SlackBuilds.org]] requirements for Bumblebee. Now, another Slacker has taken over where he has left off on his own [[https://github.com/WhiteWolf1776/Bumblebee-SlackBuilds|github repo]]. Remember to check which directory you're in first, as they will be downloaded to that directory. Assuming you're ready, the SlackBuilds can simply be git cloned as such. Then we're going to change into the new directory and begin the build process. A fellow Slacker, jgeboski, originally provided SlackBuilds that mostly follow the [[http://www.slackbuilds.org/guidelines/|SlackBuilds.org]] requirements for Bumblebee. Now, another Slacker has taken over where he has left off on his own [[https://github.com/WhiteWolf1776/Bumblebee-SlackBuilds|github repo]]. Remember to check which directory you're in first, as they will be downloaded to that directory. Assuming you're ready, the SlackBuilds can simply be git cloned as such. Then we're going to change into the new directory and begin the build process.
Line 137: Line 153:
 If you want to use the nVidia proprietary drivers, you must not use nouveau, as the drivers interfere with each other. This can be prevented by removing nouveau, installing xf86-video-nouveau-blacklist from /extra, or blacklisting nouveau manually. If you want to use the nVidia proprietary drivers, you must not use nouveau, as the drivers interfere with each other. This can be prevented by removing nouveau, installing xf86-video-nouveau-blacklist from /extra, or blacklisting nouveau manually.
  
-<note> 
 This part is entirely optional. Slackware 13.37 and above comes with xf86-video-nouveau, the open source nVidia graphics card drivers. If you are using this, you do not need the closed source proprietary nVidia drivers. However, if you wish to use the closed source drivers, then install the packages listed in this section before going on. This part is entirely optional. Slackware 13.37 and above comes with xf86-video-nouveau, the open source nVidia graphics card drivers. If you are using this, you do not need the closed source proprietary nVidia drivers. However, if you wish to use the closed source drivers, then install the packages listed in this section before going on.
  
Line 144: Line 159:
 </note> </note>
  
-1Build and installlibvdpau (Now required to assist in building the newer nvidia-bumblebee packages)+<note>If you are using Slackware 14.1 or older, you will need to install libvdpau. Newer Slackware versions now ship libvdpau.
 <code> <code>
 # cd ../libvdpau # cd ../libvdpau
Line 150: Line 165:
 # upgradepkg --install-new libvdpau-*.t?z # upgradepkg --install-new libvdpau-*.t?z
 </code> </code>
 +</note>
  
-2. Build and install: nvidia-bumblebee+1. Build and install: nvidia-bumblebee
 <code sh> <code sh>
 # cd ../nvidia-bumblebee # cd ../nvidia-bumblebee
Line 161: Line 177:
 </code> </code>
  
-3. Build and install: nvidia-kernel+2. Build and install: nvidia-kernel
 <code sh> <code sh>
 # cd ../nvidia-kernel # cd ../nvidia-kernel
Line 170: Line 186:
 # COMPAT32=yes ./nvidia-kernel.SlackBuild # Only for 32-bit compatible binaries and libraries on an x86_64 based system. # COMPAT32=yes ./nvidia-kernel.SlackBuild # Only for 32-bit compatible binaries and libraries on an x86_64 based system.
 </code> </code>
-</note> 
 ==== Post-Installation ==== ==== Post-Installation ====
 Excellent. Now we're ready to do some post-installation setup. The bumblebee package provided us with an rc.bumblebee script in /etc/rc.d where the other startup scripts are also located. Remember to make this script executable and, if you so desire, start it! Excellent. Now we're ready to do some post-installation setup. The bumblebee package provided us with an rc.bumblebee script in /etc/rc.d where the other startup scripts are also located. Remember to make this script executable and, if you so desire, start it!
 howtos:hardware:nvidia_optimus ()