LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2018, 08:50 PM   #1
danmartinj
Member
 
Registered: Oct 2009
Posts: 117

Rep: Reputation: 1
Help Getting GPU And Software To Work On Ubuntu


Hello,

I have been battling the Nvidia Quadro K2000 GPU on Ubuntu for several days now. Basically, I am trying to get ccminer to work with dual Quadro K2000 GPUs. I have tried two separate machines and I am starting to think now that those GPUs are just too old to work.

I dowloaded and successfully installed the linux driver from the nvidia website. If I run nvidia-smi I get:
Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.26                 Driver Version: 387.26                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro K2000        Off  | 00000000:03:00.0  On |                  N/A |
| 30%   32C    P8    N/A /  N/A |     83MiB /  1992MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Quadro K2000        Off  | 00000000:04:00.0 Off |                  N/A |
| 30%   34C    P8    N/A /  N/A |      1MiB /  1999MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1341      G   /usr/lib/xorg/Xorg                            80MiB |
+-----------------------------------------------------------------------------+
I installed different versions of the cuda SDK toolkit and it does install but I think this is where the problem lies.

When I install ccminer and try to run it I get:

Code:
 2 miner threads started, using 'cryptonight' algorithm.
 Stratum difficulty set to 20000 (20)
 GPU #0: Quadro K2000, 1883 MB available, 2 SMX
 GPU #0: 64 threads (6) with 8 blocks
 GPU #1: Quadro K2000, 1972 MB available, 2 SMX
 GPU #1: 64 threads (6) with 8 blocks
 GPU #0: invalid device function cryptonight_extra_cpu_prepare line 217
 GPU #1: scanhash_cryptonight:78 driver shutting down
 GPU #1: driver shutting down cryptonight_extra_cpu_init line 205
Basically, I would prefer to use the crypto-miner forums but they basically never reply back and I have had such great luck with linuxquestions forum in the past I was hoping someone here might have some advice or suggestions for me. Like I said I feel the problem is either with cuda and or the GPUs just being too old. Any help would be great appreciated.

R
Joe
 
Old 01-26-2018, 09:54 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
The Quatro K2000M requires legacy 304.xx drivers, not the latest and greatest 387.26 which is for latest and greatest Nvidia graphics devices.

Launchpad.net is where most Ubuntu folks get pre-compiled .deb drivers, after adding the repository and installing through package manager(s). Look around this page to pick a mirror close to you if you would like to install this way.

Also check your version of Ubuntu default repositories.

Last edited by Brains; 01-26-2018 at 09:58 PM.
 
Old 01-26-2018, 10:27 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Sorry
That was Debian site that said 304
According to Nvidia site your card needs 384.111
Select Linux as OS in the search
 
Old 01-27-2018, 04:18 PM   #4
danmartinj
Member
 
Registered: Oct 2009
Posts: 117

Original Poster
Rep: Reputation: 1
Brains,

Thanks for your time. I have actually already tried that driver version. I actually just removed the current driver and just now installed and verified the 384.111 driver is in use and I am getting the below output when running ccminer:

Quote:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111 Driver Version: 384.111 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro K2000 Off | 00000000:03:00.0 Off | N/A |
| 30% 38C P0 N/A / N/A | 0MiB / 1992MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 Quadro K2000 Off | 00000000:04:00.0 Off | N/A |
| 30% 40C P0 N/A / N/A | 0MiB / 1999MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Quote:
GPU #1: invalid device function
GPU #0: invalid device function
GPU #1: invalid device function
GPU #0: invalid device function
And it just loops in place. This is a tricky problem as from what I read older Nvidia GPUs should be able to operate using ccminer however nothing I have done has worked after trying several different Nvidia and Cuda drivers. Something seems to always fail.

Perhaps you have any other ideas? Thanks again for your help.
 
Old 01-27-2018, 05:15 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Check whether you have the correct version of ccminer. Yours is a compute 3.0 card: http://cryptomining-blog.com/4950-wh...ur-nvidia-gpu/
 
Old 01-28-2018, 01:47 PM   #6
danmartinj
Member
 
Registered: Oct 2009
Posts: 117

Original Poster
Rep: Reputation: 1
Thanks for your help everyone. Just to let you know it took me a few days to figure it out as "in my opinion the documentation was vey weak" there was an option in the Make file that allowed you to modify manually for me to get it to work. The option was nvcc_ARCH. Once I did this I was finally able to get to work. However, in my opinion it seems a bit buggy but it is working last time I checked. Thanks for everyones time and help.

R
Joe
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing Google TensorFlow Neural Network Software for CPU and GPU on Ubuntu 16.04 LXer Syndicated Linux News 0 05-02-2017 09:54 PM
KVM GPU Passthrough won't work marthakaber Linux - Software 1 08-04-2015 05:08 PM
Radeon GPU does not work - some games are slow sirabhorn Linux - Hardware 3 08-09-2014 02:22 AM
software source ubuntu 11.10 does not work Yubi52 Linux - Newbie 7 08-09-2012 03:46 AM
Possible to get Antialiasing and AF to work on ATi GPU? Melhisedek Linux - Hardware 0 10-10-2006 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration