B
B
BelBES2015-01-15 19:27:28
linux
BelBES, 2015-01-15 19:27:28

How to install CUDA 6.5 on a laptop with two graphics cards?

Hello!
There was such a problem. I'm trying to install on a laptop with a discrete graphics card CUDA 6.5 on Ubuntu 14.04. I tried to install both from .deb and from .run file, the result is the same, after restarting the PC, X's die. Has anyone faced this issue? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BelBES, 2015-01-15
@BelBES

I asked myself, I'll answer myself)
In the end, I came to such a sequence of actions. How much CUDA software is launched is not yet clear, but NVCC successfully compiles something.
1) disable the nouveau driver,
create a file /etc/modprobe.d/blacklist-nouveau.conf
containing the following lines:
blacklist nvidiafb
blacklist nvidiafb
blacklist nouveau
blacklist rivafb
blacklist rivatv
blacklist vga16fb
options nouveau modeset=0
reboot the computer
2) install only the driver(!! !) from the .run file from the nvidia website
3) install bumblebee
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
sudo apt-get install primus
reboot computer
4) install cuda toolkit from .run file from nvidia website
5) PROFIT!!!
The vgaswitcheroo utility is no longer available on the system.
Disabling/enabling discrete video is done like this:
Disable discrete video:
tee /proc/acpi/bbswitch << OFF
Enable discrete video:
tee /proc/acpi/bbswitch <<< ON
View status:
cat /proc/acpi/bbswitch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question