Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for installing nvidia blob #33

Open
Lekensteyn opened this issue Jan 11, 2012 · 8 comments
Open

Instructions for installing nvidia blob #33

Lekensteyn opened this issue Jan 11, 2012 · 8 comments

Comments

@Lekensteyn
Copy link
Member

Can someone play with the installer from nvidia.com and make a /usr/lib/nvidia-bumblebee directory containing all required files? Possibly helpful are these results of (un)installing nvidia.

This is especially needed for distros which do not have something like an alternatives system for drivers (Ubuntu) like Debian, OpenSUSE and Fedora.

@ArchangeGabriel
Copy link
Member

I will take a look at it if I can, but I fear to lack time for that.

@Samsagax
Copy link
Member

I found a way, simply by extracting the isntaller from Nvidia and copying the libraries. The only libraries that conflic and should be in a separate folder are:

  • LibGL and it's links
  • all files under lib/xorg/modules -> lib/nvidia-bumblebee/xorg/modules

Here is the PKGBUILD I made, look at the package() function for paths:
https://github.com/Bumblebee-Project/bumblebee-AUR/blob/master/nvidia-utils-bumblebee/PKGBUILD

@Lekensteyn
Copy link
Member Author

How/where is the kernel module installed?

@Samsagax
Copy link
Member

The kernel module comes in a different package. Not sure how the package is made in Ubuntu. But on Arch the libraries and the kernel module are separate things. You can even choose which kernel module package to use: dkms, stock, etc.

Here is an unneccesary package but just for consistency I'm making it anyway: https://github.com/Bumblebee-Project/bumblebee-AUR/tree/master/nvidia-bumblebee
That one installs the module.

@Lekensteyn
Copy link
Member Author

On Ubuntu those are provided in the same package, possibly to avoid users installing a different X driver and kernel module.

@Samsagax
Copy link
Member

Then combine those two... the libraries are not needed for building the kernel module

@Thulinma
Copy link
Member

Why not install to nvidia-current like the distros that do have an alternatives system do? Would make the job of figuring out what paths to use a lot more straightforward.

@masaleiro
Copy link

Hi! I've been trying to install bumblebee + nvidia drivers (from xorg-edgers, v.331,67) but it always break mesa libGL and then I cannot use the Unity 3d anymore with the Intel card. I've read the whole thread but I can't quite understand how to install the nvidia-drivers without breaking libGL. Can anyone give me a few hints on how to do it? I'm running Ubuntu 12.04. Thanks in advance

@ArchangeGabriel ArchangeGabriel modified the milestone: Bumblebee Future Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants