CUDA with Bumblebee

Help with issues regarding installation of Debian

CUDA with Bumblebee

Postby pedronovaes » 2020-04-12 20:25

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.
pedronovaes
 
Posts: 24
Joined: 2019-08-07 17:49

Re: CUDA with Bumblebee

Postby Head_on_a_Stick » 2020-04-13 11:02

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).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12744
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: CUDA with Bumblebee

Postby pedronovaes » 2020-04-14 01:40

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
pedronovaes
 
Posts: 24
Joined: 2019-08-07 17:49

Re: CUDA with Bumblebee

Postby Head_on_a_Stick » 2020-04-14 11:46

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.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12744
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable