Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

CUDA with Bumblebee

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

CUDA with Bumblebee

#1 Post by pedronovaes »

Hi,

I want to run some applications with CuPy python package. For that, I need to install CUDA.
I would like to know how can I install cuda with bumblebee (I choose bumblebee because my laptop has hybrid card and I found on debian wiki that Bumblebee it's the most appropriate software in this case).

Thanks.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: CUDA with Bumblebee

#2 Post by Head_on_a_Stick »

I don't think you can use CUDA with Optimus laptops unless they offer a firmware option to switch the card on permanently and disable the iGPU, see the "additional information" tab here.

If you can switch the card then see https://wiki.debian.org/NvidiaGraphicsDrivers#CUDA (slightly outdated but the named packages seem to be available in buster).
deadbang

pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Re: CUDA with Bumblebee

#3 Post by pedronovaes »

Hi,

Thank you so much for your answer!
If you can switch the card then see https://wiki.debian.org/NvidiaGraphicsDrivers#CUDA
I saw this link and for my case, I have to install Bumblebee because my laptop has an Optimus (hybrid) graphics chipset.

Now, I have another question: if I install Bumblebee with

Code: Select all

apt install bumblebee primus
do I still need to install Nvidia driver? (in my case:)

Code: Select all

apt install nvidia-driver

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: CUDA with Bumblebee

#4 Post by Head_on_a_Stick »

pedronovaes wrote:I have another question
Please restrict yourself to a single query per thread (with a clearly defined title to aid searching).

It is possible to use Bumblebee with the open source nouveau drivers.
deadbang

Post Reply