How to give information, I manage to get CUDA under Bumblebee to work.

After a couple of try and errors I got CUDA under bumblebee to work. But how did I do it?
Can I just give some information and other supplies other information?

Installed bumblebee and got it fully working with nVidia driver https://en.opensuse.org/SDB:NVIDIA_Bumblebee

linux-wgdj:~ # rpm -qa | grep nvidia
nvidia-bumblebee-346.59-1.1.x86_64
nvidia-glG03-346.46-0.x86_64
nvidia-uvm-gfxG03-kmp-default-346.46_k3.16.6_2-0.x86_64
nvidia-gfxG03-kmp-default-346.46_k3.16.6_2-0.x86_64
nvidia-computeG03-346.46-0.x86_64
nvidia-bumblebee-32bit-346.59-1.1.x86_64
dkms-nvidia-uvm-346.59-78.1.x86_64
linux-wgdj:~ # rpm -qa | grep bumblebee
nvidia-bumblebee-346.59-1.1.x86_64
nvidia-bumblebee-32bit-346.59-1.1.x86_64
bumblebee-3.2.1-20.1.x86_64

I had to use nvidia’s 346. See that it is both 346.59 and 346.46 but it seams to work.

*Downloaded cuda-repo-opensuse132-7-0-local-7.0-28.x86_64.rpm from https://developer.nvidia.com/cuda-downloads
When first install cuda rpm (yast2) it only copy all needed files to hard drive (to /var/cuda-repo-7-0-local) and add that to repo list.
Then I installed cuda-7-0-7.0-28.x86_64 and required packages installed automatically.

*After installation nsight is really crashy, but somewhere on internet http://askubuntu.com/questions/513471/kubuntu-14-04eclipse-adt-crashes-at-button-ok-from-project-properties/530468#530468 they instructed us to change in /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc the value GtkComboBox::appears-as-list from 1 to 0.

linux-wgdj:~ # rpm -qa | grep cuda
cuda-repo-opensuse132-7-0-local-7.0-28.x86_64
cuda-7-0-7.0-28.x86_64
cuda-cufft-dev-7-0-7.0-28.x86_64
cuda-runtime-7-0-7.0-28.x86_64
cuda-cusolver-7-0-7.0-28.x86_64
cuda-nvrtc-7-0-7.0-28.x86_64
cuda-toolkit-7-0-7.0-28.x86_64
cuda-misc-headers-7-0-7.0-28.x86_64
cuda-cublas-dev-7-0-7.0-28.x86_64
cuda-cufft-7-0-7.0-28.x86_64
cuda-command-line-tools-7-0-7.0-28.x86_64
cuda-license-7-0-7.0-28.x86_64
cuda-curand-dev-7-0-7.0-28.x86_64
cuda-cudart-dev-7-0-7.0-28.x86_64
cuda-npp-7-0-7.0-28.x86_64
cuda-cusolver-dev-7-0-7.0-28.x86_64
cuda-cusparse-7-0-7.0-28.x86_64
cuda-documentation-7-0-7.0-28.x86_64
cuda-core-7-0-7.0-28.x86_64
cuda-gdb-src-7-0-7.0-28.x86_64
cuda-drivers-346.46-0.x86_64
cuda-cudart-7-0-7.0-28.x86_64
cuda-visual-tools-7-0-7.0-28.x86_64
cuda-samples-7-0-7.0-28.x86_64
cuda-cublas-7-0-7.0-28.x86_64
cuda-nvrtc-dev-7-0-7.0-28.x86_64
cuda-driver-dev-7-0-7.0-28.x86_64
cuda-cusparse-dev-7-0-7.0-28.x86_64
cuda-curand-7-0-7.0-28.x86_64
cuda-npp-dev-7-0-7.0-28.x86_64
linux-wgdj:~ # zypper lr -u
#  | Alias                                | Name                                                | Enabled | Refresh | URI                                                                                             
---+--------------------------------------+-----------------------------------------------------+---------+---------+-------------------------------------------------------------------------------------------------
 1 | Bumblebee                            | Bumblebee                                           | Yes     | Yes     | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.2/                         
 2 | Bumblebee_unofficial                 | Bumblebee_unofficial                                | Yes     | Yes     | http://download.opensuse.org/repositories/home:/Bumblebee-Project:/nVidia:/latest/openSUSE_13.2/
 3 | cuda                                 | cuda                                                | Yes     | Yes     | http://developer.download.nvidia.com/compute/cuda/repos/opensuse131/x86_64                      
 4 | cuda-7-0-local                       | cuda-7-0-local                                      | Yes     | No      | file:/var/cuda-repo-7-0-local                                                                   
 5 | download.nvidia.com-opensuse         | nVidia Graphics Drivers                             | Yes     | Yes     | http://download.nvidia.com/opensuse/13.2/                                                       
 6 | download.opensuse.org-Apps           | openSUSE BuildService - GNOME:Apps                  | Yes     | Yes     | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_13.2/                            
 7 | download.opensuse.org-Education      | openSUSE BuildService - Education                   | Yes     | Yes     | http://download.opensuse.org/repositories/Education/openSUSE_13.2/                              
 8 | download.opensuse.org-Extra          | openSUSE BuildService - KDE:Extra                   | Yes     | Yes     | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/                             
 9 | download.opensuse.org-Virtualization | openSUSE BuildService - Virtualization (VirtualBox) | Yes     | Yes     | http://download.opensuse.org/repositories/Virtualization/openSUSE_13.2/                         
10 | download.opensuse.org-Wine           | openSUSE BuildService - Wine CVS Builds             | Yes     | Yes     | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_13.2/                        
11 | download.opensuse.org-database       | openSUSE BuildService - Database                    | Yes     | No      | http://download.opensuse.org/repositories/server:/database/openSUSE_13.2/                       
12 | download.opensuse.org-games          | openSUSE BuildService - Games                       | Yes     | Yes     | http://download.opensuse.org/repositories/games/openSUSE_13.2/                                  
13 | download.opensuse.org-lxde           | openSUSE BuildService - LXDE                        | Yes     | Yes     | http://download.opensuse.org/repositories/X11:/lxde/openSUSE_13.2/                              
14 | download.opensuse.org-mozilla        | openSUSE BuildService - Mozilla                     | Yes     | Yes     | http://download.opensuse.org/repositories/mozilla/openSUSE_13.2/                                
15 | download.opensuse.org-oss            | Main Repository (DEBUG)                             | Yes     | No      | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                                  
16 | download.opensuse.org-oss_1          | Main Repository (Sources)                           | Yes     | Yes     | http://download.opensuse.org/source/distribution/13.2/repo/oss/                                 
17 | download.opensuse.org-packages       | openSUSE BuildService - Java:packages               | Yes     | Yes     | http://download.opensuse.org/repositories/Java:/packages/openSUSE_13.2/                         
18 | download.opensuse.org-perl           | openSUSE BuildService - devel:languages:perl        | Yes     | Yes     | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_13.2/                 
19 | download.opensuse.org-php            | openSUSE BuildService - PHP                         | Yes     | Yes     | http://download.opensuse.org/repositories/server:/php/openSUSE_13.2/                            
20 | download.opensuse.org-python         | openSUSE BuildService - devel:languages:python      | Yes     | Yes     | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_13.2/               
21 | download.opensuse.org-update         | Update Repository (DEBUG)                           | Yes     | No      | http://download.opensuse.org/debug/update/13.2/                                                 
22 | ftp.gwdg.de-suse                     | Packman Repository                                  | Yes     | Yes     | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/                                        
23 | google-earth                         | google-earth                                        | Yes     | Yes     | http://dl.google.com/linux/earth/rpm/stable/x86_64                                              
24 | home:Bumblebee-Project:nVidia:346.59 | home:Bumblebee-Project:nVidia:346.59                | Yes     | Yes     | http://download.opensuse.org/repositories/home:/Bumblebee-Project:/nVidia:/346.59/openSUSE_13.2/
25 | home:nick31:wimtools                 | home:nick31:wimtools                                | Yes     | Yes     | http://download.opensuse.org/repositories/home:/nick31:/wimtools/openSUSE_13.2/                 
26 | home_FrodeSolheim_devel              | home:FrodeSolheim:devel (openSUSE_13.2)             | Yes     | Yes     | http://download.opensuse.org/repositories/home:/FrodeSolheim:/devel/openSUSE_13.2/              
27 | local_inst                           | local_inst                                          | Yes     | Yes     | dir:///run/media/quinness/KINGSTON/local_inst/                                                  
28 | local_upd_1                          | local_upd                                           | Yes     | Yes     | dir:///run/media/quinness/KINGSTON/local_upd/                                                   
29 | openSUSE_13.2-0                      | openSUSE 13.2-0                                     | Yes     | No      | iso:///?iso=openSUSE-13.2-DVD-x86_64.iso&url=file:///run/media/quinness/KINGSTON/               
30 | opensuse-guide.org-repo              | libdvdcss repository                                | Yes     | Yes     | http://opensuse-guide.org/repo/13.2/                                                            
31 | repo-debug                           | openSUSE-13.2-Debug                                 | No      | Yes     | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                                  
32 | repo-debug-update                    | openSUSE-13.2-Update-Debug                          | No      | Yes     | http://download.opensuse.org/debug/update/13.2/                                                 
33 | repo-debug-update-non-oss            | openSUSE-13.2-Update-Debug-Non-Oss                  | No      | Yes     | http://download.opensuse.org/debug/update/13.2-non-oss/                                         
34 | repo-non-oss                         | openSUSE-13.2-Non-Oss                               | Yes     | Yes     | http://download.opensuse.org/distribution/13.2/repo/non-oss/                                    
35 | repo-oss                             | openSUSE-13.2-Oss                                   | Yes     | Yes     | http://download.opensuse.org/distribution/13.2/repo/oss/                                        
36 | repo-source                          | openSUSE-13.2-Source                                | No      | Yes     | http://download.opensuse.org/source/distribution/13.2/repo/oss/                                 
37 | repo-update                          | openSUSE-13.2-Update                                | Yes     | Yes     | http://download.opensuse.org/update/13.2/                                                       
38 | repo-update-non-oss                  | openSUSE-13.2-Update-Non-Oss                        | Yes     | Yes     | http://download.opensuse.org/update/13.2-non-oss/                                               
39 | windows:mingw                        | windows:mingw                                       | Yes     | Yes     | http://download.opensuse.org/repositories/windows:/mingw/openSUSE_Factory/                      
40 | windows:mingw:win32                  | windows:mingw:win32                                 | Yes     | Yes     | http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/               

Have a nice day or night or what you might have

On 2015-06-02 21:56, quinness wrote:
>
> After a couple of try and errors I got CUDA under bumblebee to work. But
> how did I do it?
> Can I just give some information and other supplies other information?

Notice that this is the chit chat forum, not a place to ask technical
questions. I’d suggest you ask a moderator to move your post to
somewhere more appropriate - just use the triangle report button.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

This wil be moved to Install.Boot/Login and is CLOSED for the moment.

Moved from General Chitcaht and open again.

I have no idea what CUDA is, thus that may be the reason that it is not very clear to me if you ask for help or not.

In any case, the number of repos you have all Enabled, is asking for problems IMHO.

On 2015-06-03 14:16, hcvv wrote:
>
> I have no idea what CUDA is, thus that may be the reason that it is not
> very clear to me if you ask for help or not.

“CUDA, which stands for Compute Unified Device Architecture,[1] is a
parallel computing platform and application programming interface (API)
model created by NVIDIA.[2] It allows software developers to use a
CUDA-enabled graphics processing unit (GPU) for general purpose
processing – an approach known as GPGPU. The CUDA platform is a software
layer that gives direct access to the GPU’s virtual instruction set and
parallel computational elements.[3]”

(wikipedia)

> In any case, the number of repos you have all Enabled, is asking for
> problems IMHO.

Yes, indeed.

Some are duplicated, I think. Most are for 13.2, but the cuda one seem
to be for 13.1 :-?


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Hmmmm, for the moment no problems with software, so the long list of repos is not a problem.

What I (tried to) ask for is: Can I give some more information on how to install CUDA under bumblebee? This because I can’t find any information in any thread here on openSUSE and want to give it to you. :\

/Johan

That is a bit shortsighted IMHO, but as you are happy with it …

As you may have seen when you looked around here a bit before you decided to be a member and before you started posting, we have a “Howto/FAQ Forums” with subforum “Unreviewed How To and FAQ”. And it explains there:

POST HERE: Tips and solutions for SUSE Linux from the community. (Please do not post questions)

Yes, I know that it should be placed there :wink: But I had question about if there are some more information to supply before posting a new thread there. Maybe the tread should be moved there, but it quite long now just because I don’t know if my data is sufficient for others to reproduce a working system.
/Johan

Moved from Install/Boot/Login.