Linux and GPUGrid

Message boards : Graphics cards (GPUs) : Linux and GPUGrid
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37249 - Posted: 9 Jul 2014, 14:04:02 UTC

GPUGrid wants drivers with CUDA6 capability. However, all drivers beyond 331.38 on this Ubuntu 14.04 Linux machine do not allow BOINC to see the GPU (Missing GPU in BOINC). And 331.38 does not give OpenCL, so applications from other BOINC services WILL NOT RUN!!

The ONLY Nvidia drivers that I have found that give both CUDA and OpenCL access are the 304.xx drivers. I am using 304.121 However this driver is only CUDA5

If someone can show me drivers to install from x-edgers, standard ubuntu, NVIDIA direct and the correct procedure to install them I will be happy to try.

I know that I have installed and tried over 10 different drivers using System Tools and sudo apt-get to no avail.
ID: 37249 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile MJH

Send message
Joined: 12 Nov 07
Posts: 696
Credit: 27,266,655
RAC: 0
Level
Val
Scientific publications
watwat
Message 37250 - Posted: 9 Jul 2014, 15:54:23 UTC - in response to Message 37249.  

Use the custom BOINC client I posted elsewhere on the forum - it properly reports the driver version number to the BOINC server, so you can get CUDA5 WUs
ID: 37250 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37252 - Posted: 10 Jul 2014, 13:47:57 UTC - in response to Message 37250.  

Got the custom BOINC client. Installed it on 3 Linux PCs.

No errors since July 5. But NO cuda60 workunits have been processed
ID: 37252 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Carlesa25
Avatar

Send message
Joined: 13 Nov 10
Posts: 328
Credit: 72,619,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37259 - Posted: 11 Jul 2014, 14:34:54 UTC

AUTOMATIZAR INSTALADOR DE NVIDIA para LINUX

Instalación o actualización manual del driver NVIDIA

Descargar el controlador desde el sitio de Nvidia. Recomiendo usar la versión - Idioma Ingles US - para evitar problemas de traducciones.

http://www.nvidia.com/Download/index.aspx?lang=en-us

Los pasos serían los siguientes:

1.- Descargar el último (o betas si quieres) driver para tu modelo de tarjeta NVIDIA y Linux 64 bits, (o el que sea) seguidamente le cambias el nombre a NVIDIA.run, lo mejor es que lo descargues directamente a tu carpeta personal “ /home “.

A continuación lo pones en “ /opt “ (hay que ser root para poder copiarlo a /opt) para ello podemos usar el terminal (Ctrl+Alt+T) y ponemos “ sudo cp NVIDIA.run /opt/NVIDIA.run “ si tenemos el driver en “ /home “ o nos situamos donde lo tengamos descargado.

2.- Ejecuta en el terminal (Ctrl+Alt+T)

“ gksudo gedit /usr/local/bin/install-nvidia “ (sin comillas)

Se abrirá un archivo de texto vacío de nombre “ install-nvidia “ y allí pegas esta lineas, tal cual.

#!/bin/sh
service lightdm stop
nvidia-uninstall
apt-get --purge remove nvidia*
bash /opt/NVIDIA.run
service lightdm start

3.- Guardas y cierras el terminal.

Hemos creado un Script que podemos usar las veces que interese para instalar y actualizar el driver de Nvidia.

4.- Entra al “ tty1 “ ejecutando “ ctrl+alt+F1 “ .

Después de logearte ejecuta “ sudo bash install-nvidia “ (todo sin comillas evidentemente) y comenzará el proceso de instalación, pedirá una serie de confirmaciones en las que recomiendo las siguientes respuestas:

1a - NO (que no copie xconfig etc...)
2a – OK
3a – OK
4a – Aceptar
5a – Continue Instalacion
6a – Ignore CC...version...etc.
7a – YES instalar version 32bits (no es necesario pero por si acaso)
8a – OK
9a – NO... x config etc..
10a – OK


Terminado lo cual se iniciará automáticamente el servidor gráfico y veremos nuestro escritorio funcionando perfectamente con el último driver de Nvidia.

NOTA - La tarea 4a hay que ejecutarla cada vez que actualicemos el Kernel de Linux, Driver Mesa etc... o lo que seas que afecte al entorno gráfico, lo veremos sobre la marcha.

Si es el caso, nos encontraremos que al arrancar nuestro Linux se nos queda la pantalla en negro.... pues tendremos que ejecutar los pasos de la tarea 4a (si, en esa pantalla en negro) para reinstalar el driver de Nvidia y nada más.

El tener guardado el Script nos facilita enormemente la tarea.

Evidentemente habrá que repetir el paso 1a si queremos actualizar el driver Nvidia y previamente tendremos que borrar o renombrar el NVIDIA.run existente en “ /opt “ y cambiarlo por el nuevo driver descargado.

Este tipo de instalación de los drivers de NVIDIA soluciona el problema de no detección de la GPU en BOINC, por ejemplo y nos permite usar los últimos drivers y sus ventajas de rendimiento y mejor control y opciones en NVIDIA-Settings (Control de los ventiladores y hacer OC por ejemplo).

PD - Todo lo anterior esta verificado, repetidas veces personalmente, en mi Ubuntu 14.04 (trusty) 64 Bits pero evidentemente queda a cargo y riesgo de cada uno si lo usa.
ID: 37259 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37261 - Posted: 12 Jul 2014, 3:54:17 UTC - in response to Message 37259.  

I will try this tomorrow

The patched BOINC client has problems. In a multi-GPU machine, I cannot get all GPUs processing a work unit unless I Update GPUGrid to get another workunit.
ID: 37261 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37263 - Posted: 12 Jul 2014, 19:00:59 UTC - in response to Message 37261.  

I did a translation using Google, Hope I got it right
ID: 37263 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
voss749

Send message
Joined: 27 Mar 11
Posts: 26
Credit: 307,452,808
RAC: 0
Level
Asp
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwat
Message 37267 - Posted: 15 Jul 2014, 0:14:44 UTC - in response to Message 37249.  

Update your ubuntu boinc client to boinc development release

https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/boinc

If you are running debian grab the 7.4.8 packages from Jessie or SID.

With the 7.4.8 packages I am currently using the 3.17 drivers with no problems and not getting and cuda 6 jobs at the current time.



ID: 37267 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37268 - Posted: 15 Jul 2014, 3:49:15 UTC - in response to Message 37261.  

Fedora has the same issue with the BOINC, does not report CUDA version so I am getting lots of failed CUDA6 work units.

Will the patched client work in Fedora?

What risks do I face if I attempt to use the patched client NOT in Ubuntu
ID: 37268 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37269 - Posted: 15 Jul 2014, 15:58:41 UTC - in response to Message 37268.  

Back on Ubuntu with 7.4.8 Boinc. 337.25 drivers downloaded from x-edgers

NO USEABLE GPUS FOUND!!!!!
ID: 37269 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile MJH

Send message
Joined: 12 Nov 07
Posts: 696
Credit: 27,266,655
RAC: 0
Level
Val
Scientific publications
watwat
Message 37270 - Posted: 15 Jul 2014, 18:16:05 UTC - in response to Message 37269.  

Robert - what does the command "nvidia-smi" report?
ID: 37270 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37272 - Posted: 16 Jul 2014, 2:55:08 UTC - in response to Message 37270.  

nvidia-smi
Tue Jul 15 22:55:35 2014
+------------------------------------------------------+
| NVIDIA-SMI 337.25 Driver Version: 337.25 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 760 Off | 0000:02:00.0 N/A | N/A |
| 43% 34C N/A N/A / N/A | 248MiB / 2047MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 760 Off | 0000:03:00.0 N/A | N/A |
| 34% 32C N/A N/A / N/A | 8MiB / 2047MiB | N/A Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
| 1 Not Supported |
+-----------------------------------------------------------------------------+
ID: 37272 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37274 - Posted: 16 Jul 2014, 13:59:28 UTC - in response to Message 37272.  

I tried what captain jack and skgiven said, but Ubuntu executed a panic and stopped on reboot.

So I am back to 304.xx drivers with the patched Ubuntu Boinc client.

FRUSTRATED, VERY VERY FRUSTRATED THAT I CANNOT GET UPDATED DRIVERS THAT WORK!!!
ID: 37274 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37275 - Posted: 16 Jul 2014, 15:37:00 UTC - in response to Message 37274.  

Up and running with Nvidia 304.117 installed from X-Swat on Ubuntu 14.04 LTS and BOINC 7.4.8

Both GTX760s are running now.

I have yet to see if this BOINC client will report CUDA5 properly so that I do NOT get CUDA6 workunits.

HIGHLY FRUSTRATED MAN!!! P***** OFF

CAN'T get updated drivers to WORK. manual install from Nvidia has failed in one way or another TOO many times (10+ tries with NO success)
ID: 37275 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
captainjack

Send message
Joined: 9 May 13
Posts: 171
Credit: 4,594,296,466
RAC: 140
Level
Arg
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37278 - Posted: 16 Jul 2014, 19:09:50 UTC

Robert,

WOW, sorry to hear that you are having so many challenges with NVIDIA drivers.

I tried the x-edgers drivers and had the same result. Not suitable for GPU crunching.

If it is any consolation, I have had some of the same frustrations with finding a correct way of getting the drivers installed manually. Installing NVIDIA drivers manually on Ubuntu is something of a black art. One thing I figured out is that if I tried something that didn't work, it was best to reinstall the operating system then try again. If I tried something that didn't work, it seemed to garble something up in the O/S that prevented any other attempt from working. And yes, I tried way more than 10 times before I was able to get the NVIDIA drivers manually installed.

I'm currently using Ubuntu 14.04, GTX 660ti, GTX 770 and NVIDIA drivers 337.25 installed manually and it is working fine.

There is a piece of software called "NVIDIA X Server Settings" that will help you configure you GPU drivers.

If you are a glutton for punishment and want to try again, do a clean install of Ubuntu, follow the instructions that skgiven and I recommended and be sure to have a monitor connected to each GPU when installing.

Be sure to keep us posted on your progress and any error messages that you encounter.

Hope that helps.
ID: 37278 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37279 - Posted: 17 Jul 2014, 2:53:20 UTC - in response to Message 37278.  

Xserver settings is visited often

I am a frequent reinstaller of Ubuntu. At least 10 times in the last month.

At time, it has been necessary to install something else (fedora, elementary, Mint) to wipe the file system sufficiently to get a clean install of Ubuntu

I had 340.25 also

I will attempt first with 337.25 that you have, then the 340.xx

But time is a big factor due to work
ID: 37279 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37280 - Posted: 17 Jul 2014, 2:55:43 UTC - in response to Message 37278.  

I have ONE monitor ONLY. Motherboard is configured to send video to one slot only. If I move a card, I get a black monitor.

On service lightdm stop, get a flashing cursor, then with right keypress, login
ID: 37280 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37282 - Posted: 17 Jul 2014, 15:03:51 UTC - in response to Message 37280.  

NVIDIA 337.25 on BOINC 7.4.8

Without reinstalling Ubuntu

Delete Boinc 7.2.42 and Boinc 7.4.8

reinstall Boinc 7.4.8

EUREKA!! IT WORKS!!
ID: 37282 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile MJH

Send message
Joined: 12 Nov 07
Posts: 696
Credit: 27,266,655
RAC: 0
Level
Val
Scientific publications
watwat
Message 37295 - Posted: 18 Jul 2014, 9:40:25 UTC - in response to Message 37282.  

Robert,

Generally, if you have X working with the NVidia card, and nvidia-smi is showing the GPUs then the problem is not with the Nvidia driver installation, but with BOINC.
At a guess, I'd say boinc is failing to dlopen the libcudart.so that it needs in order to detect the presence of CUDA.

Matt
ID: 37295 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37299 - Posted: 18 Jul 2014, 14:42:55 UTC - in response to Message 37295.  

I agree that the issue is with BOINC.

I now have several CUDA60 work units that have processed successfully.

However, the BOINC manager 7.4.8 has problems. It get unresponsive to user actions (Update, Projects, Tasks, Statistics, etc) take many seconds, up to a minute or more to respond
ID: 37299 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Robert Gammon

Send message
Joined: 28 May 12
Posts: 63
Credit: 714,535,121
RAC: 0
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 37731 - Posted: 24 Aug 2014, 21:49:29 UTC - in response to Message 37278.  

I got skgiven's instructions on the FAQ that deal with this.

1. I could not get RecoveryMode to work.
2. on the command "sudo lightdm stop", skgiven missed something
It should be "sudo service lightdm stop"

Perhaps you should update your notes.

Ubuntu 14.04.1 with Nvidia 340.24 drivers and Boinc 7.4.8 and all is working
ID: 37731 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · Next

Message boards : Graphics cards (GPUs) : Linux and GPUGrid

©2025 Universitat Pompeu Fabra