Install graphic card in Ubuntu Server 12.04 - BOINC/GPU

Questions and Answers : Unix/Linux : Install graphic card in Ubuntu Server 12.04 - BOINC/GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
DanHansen@Denmark
Volunteer tester
Avatar

Send message
Joined: 14 Nov 12
Posts: 194
Credit: 5,881,465
RAC: 0
Denmark
Message 1474770 - Posted: 9 Feb 2014, 18:14:02 UTC

Hello crunchers,

System: Ubuntu Server 12.04 32Bit
Issue: Graphic card installation
Problem: Driver MSI Nvidia GeForce GT610 2Gb
Wish: To use GPU in BOINC

How do I install MSI Nvidia GeForce GT610 2Gb driver on Linux Server 12.04?

The problem is, that I dont know anything about the graphic card drivers in Linux. I read a lot about X and DKMS. But its all a very big blur to me.
I can't understand why its nessesary to install desktop utilities for the Ubuntu Server 12.04 to work with MSI GeForce GT610. To make the GPU useable in BOINC.

Several guys both in here and from the ubuntu network has helped, but they are all desktop users. I'm looking for someone, who has installed a Nvidia graphic card driver on Ubuntu Server 12.04. Because I'm not good enough to understand the help I get from most persons. And I'm very sorry about that. I know how to apt-get, wget, copy and so on. I can setup a webserver, mailserver etc. using Linux. But it's all terminal stuff. So I understand a little, but not enough. So please, if anybody has got the time and the knowhow, please help me. I afraid I'm just wasting those other guy's in here and those from the ubuntu forum's time.
Project Headless CLI Linux Multiple GPU Boinc Servers
Ubuntu Server 14.04.1 64bit
Kernel 3.13.0-32-generic
CPU's i5-4690K
GPU's GT640/GTX750TI
Nvidia v.340.29
BOINC v.7.2.42

ID: 1474770 · Report as offensive
DanHansen@Denmark
Volunteer tester
Avatar

Send message
Joined: 14 Nov 12
Posts: 194
Credit: 5,881,465
RAC: 0
Denmark
Message 1475105 - Posted: 10 Feb 2014, 8:58:08 UTC
Last modified: 10 Feb 2014, 9:33:55 UTC

Hi everyone,

Anybody who has used Ubuntu Server and a GPU on BOINC?? Please notice, I'm running a non-graphical environment. This is computers being build only to help the BOINC community! This one is the first serious cruncher of several.

I now tried reinstalling the Ubuntu Server but in 64bit. Same result.

Can it be that I have to some how "start" the GPU mode ???
boincmd --set_gpu_mode

Can this be the reason? I've installed boinc using this repository: add-apt-repository ppa:costamagnagianfranco/boinc
And I read something about the GPU didn't work if repository is used. Can this be the reason or am I just misunderstanding? Found it here:
http://boinc.berkeley.edu/dev/forum_thread.php?id=8109

Or maybe this, where a command optirun apparently fixes the problem? Just cant find an optrun command in ubuntu server. Found it here:
http://ubuntuforums.org/showthread.php?t=1935345

Starting to lose hope ;(

Note! I would write BOINC version number, if I could find it. I'll read some more and insert it when done.
Project Headless CLI Linux Multiple GPU Boinc Servers
Ubuntu Server 14.04.1 64bit
Kernel 3.13.0-32-generic
CPU's i5-4690K
GPU's GT640/GTX750TI
Nvidia v.340.29
BOINC v.7.2.42

ID: 1475105 · Report as offensive
DanHansen@Denmark
Volunteer tester
Avatar

Send message
Joined: 14 Nov 12
Posts: 194
Credit: 5,881,465
RAC: 0
Denmark
Message 1475156 - Posted: 10 Feb 2014, 12:20:45 UTC

SOLVED!


We succeeded... I will insert a todo here later. Theres a little to be corrected before my todo is right ;)
It was Guy from in here who did the final push ;)

Thanks to you all

Prove:
NVIDIA GeForce GT 610 (2047MB) OpenCL: 1.01
Project Headless CLI Linux Multiple GPU Boinc Servers
Ubuntu Server 14.04.1 64bit
Kernel 3.13.0-32-generic
CPU's i5-4690K
GPU's GT640/GTX750TI
Nvidia v.340.29
BOINC v.7.2.42

ID: 1475156 · Report as offensive
Profile Bil

Send message
Joined: 27 Jan 01
Posts: 76
Credit: 1,887,795
RAC: 0
Latvia
Message 1475167 - Posted: 10 Feb 2014, 12:44:39 UTC - in response to Message 1475156.  

xm. looks like i see that thread bit too late, but i do not see problems at all to do gt610 work under linux from cli.
get last linux driver from nvidia ( do "nvidia driver linux" from google.com), and run it in way like as "sh NVIDIA-blabla-331.38.run", then answer to elementar questions, and after driver is installed - reboot your linux and start your boinc. all will be detected and run - not like as is with ATI/AMD cards, where you must struggle and struggle to get it work...:D
ID: 1475167 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1475186 - Posted: 10 Feb 2014, 13:13:19 UTC - in response to Message 1475156.  
Last modified: 10 Feb 2014, 13:18:06 UTC


I see you have now cuda55 tasks on Asteroids@home so probably CUDA is OK now on this computer
http://asteroidsathome.net/boinc/results.php?hostid=74516&offset=0&show_names=0&state=1&appid=

Asteroids@home CUDA app is not too much faster (compared to the CPU app) - for your combination of CPU and GPU maybe the CPU tasks will be faster.


SETI CUDA apps are better optimized.

There is no stock SETI@home v7 Linux CUDA app for now:
http://setiathome.berkeley.edu/apps.php

You can get version for manual 'install'
Lunatics_x41g_linux64_cuda32.7z
http://www.arkayn.us/forum/index.php?action=tpmod;dl=cat5;dlsort=id;desc;p=10


 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1475186 · Report as offensive
DanHansen@Denmark
Volunteer tester
Avatar

Send message
Joined: 14 Nov 12
Posts: 194
Credit: 5,881,465
RAC: 0
Denmark
Message 1475201 - Posted: 10 Feb 2014, 13:50:00 UTC
Last modified: 10 Feb 2014, 13:51:25 UTC

Hi BilBg,


Well, I think the primary issue is to loose the nouveau part. Since it conflicts with the Nvidia driver. I'm collecting multiple methods to loose the nouveau driver/kernel to make an easy todo for people who is not using the gaphical part of Ubuntu. As you know I'm working the terminal based environment. 99% of the contact with the servers is done by Putty/SSH so I don't need any kind of graphical interface. It's not necessary. That's why I was looking like h... to find a way. And we found it ;)
I seem to remember that you helped pretty much to. I think it was you who told me about CUDA and stuff. Never the less, you all pointed me in the right direction. Thank you for that.
The commands to kill nouveau didb't all work like they should, but I killed enough to make the Nvidia driver run and then the driver software asked if it should disable the nouveau driver.
But I will try this, by installing the same again and again, until I find the reason and the best way to do this.
This I will do because I'm going to setup several BOINC servers to help the community.
You showed med the ASUS GeForce card didn't you? 640? 660?, I got it written down!. And this is a very good choice because of the large heat sinks and the fan, and because of the performance too!

I will make a todo for others in my situation to use ;) For that, and because I want to make it easier to install several servers I would like a little help:

If I have a list of commands, and I does these commands every time I setup a server. Is there a way to make some kind of shell script, so that I can run this script of apt-get commands e.g. install_ubuntu_server_1204_ntp_boinc ???

If this is possible, is it then possible to make a script which does this:

#0
Command: apt-get install ssh openssh-server

#1
Command: apt-get install vim-nox

#2
Command: vi /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.2xx
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        dns-nameservers 8.8.8.8 8.8.4.4

#3 
Command: /etc/init.d/networking restart

#4 
Command: vi /etc/hosts

127.0.0.1       localhost.localdomain	localhost
192.168.0.xxx   hostname.domain.tld	hostname

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

#5
Command: echo xxxxxx.apollox.dk > /etc/hostname
Command: /etc/init.d/hostname restart

#6
Command: hostname
Command: hostname -f

#7
Command: vi /etc/apt/sources.list

# deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ precise main restricted
#deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ precise main restricted

#8
Command: apt-get update
Command: apt-get upgrade

#9
Command: apt-get install ntp ntpdate

#10
Command: reboot

#11 etc. etc.

Project Headless CLI Linux Multiple GPU Boinc Servers
Ubuntu Server 14.04.1 64bit
Kernel 3.13.0-32-generic
CPU's i5-4690K
GPU's GT640/GTX750TI
Nvidia v.340.29
BOINC v.7.2.42

ID: 1475201 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1475249 - Posted: 10 Feb 2014, 15:56:31 UTC - in response to Message 1475105.  

Note! I would write BOINC version number, if I could find it. I'll read some more and insert it when done.

Apropos, boinc --version on a command line, will show which version of BOINC you run. For other command line options, see here. Or use the command line tool BOINCCMD
ID: 1475249 · Report as offensive
DanHansen@Denmark
Volunteer tester
Avatar

Send message
Joined: 14 Nov 12
Posts: 194
Credit: 5,881,465
RAC: 0
Denmark
Message 1475494 - Posted: 11 Feb 2014, 2:28:08 UTC - in response to Message 1475249.  

Hello,

boinc --version

boinc --version
7.2.33 x86_64-pc-linux-gnu
Thanks for that.

Nice new function I see ;)
Project Headless CLI Linux Multiple GPU Boinc Servers
Ubuntu Server 14.04.1 64bit
Kernel 3.13.0-32-generic
CPU's i5-4690K
GPU's GT640/GTX750TI
Nvidia v.340.29
BOINC v.7.2.42

ID: 1475494 · Report as offensive

Questions and Answers : Unix/Linux : Install graphic card in Ubuntu Server 12.04 - BOINC/GPU


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.