+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: SETI MB CUDA for Linux  (Read 387636 times)

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #180 on: 09 Jul 2009, 10:02:45 am »
If I just try with the -image and the -headers packages, the -headers fail, but the image installs and shows up in the menu.lst.  Is that all I really need?  I get the error that the -headers package can't be installed because it depends on itself.  ;)

BTW, the modules that fail now are nvidia (180.44), vboxdrv (2.1.4), and vboxnetflt (2.1.4).

You need the headers package for the nvidia drivers. How do you install the 8.10 kernel? What I did is go to /etc/apt/sources.list and replace every "jaunty" word with "intrepid", so was just like it was in intrepid. Update to reload the packages info and then install these four packages:

linux-headers-2.6.27-14
linux-headers-2.6.27-14-generic
linux-image-2.6.27-14-generic
linux-restricted-modules-2.6.27-14-generic

After installation revert back to the previous "jaunty edition" sources.list and you should be ok.


Also don't give up on cuda 2.2 with 2 gpus. Put back the second GPU, and try more. Tell me how many nvidia devices exist under /dev. Try the xorg.conf tweaks I posted above and post here a new xorg.0.log with the tweaks.

And I need those debug files. But first let's  try standalone. Do you have any workunits?

Tye

  • Guest
Re: SETI MB CUDA for Linux
« Reply #181 on: 09 Jul 2009, 12:02:54 pm »
I did the sources.list trick, and with a little finagling, I was able to get the 8.10 kernel to install with no broken deps or other warnings.  It even added the nvidia driver and vbox stuff correctly.  Booted fine but is crashy now - argh.  Hard to fix via SSH and VNC from work to home...

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #182 on: 09 Jul 2009, 12:26:31 pm »
Ok, I hope the kernel is ok. Now it's time to attack those 2 gpus.

Tye

  • Guest
Re: SETI MB CUDA for Linux
« Reply #183 on: 09 Jul 2009, 12:52:57 pm »
I think it was crashy because of nvclock - will not use it just yet.  Might need the 8.10 version, or my card is unrecognized...  Getting my wife to reboot right now so I can login and see what the deal is...

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #184 on: 09 Jul 2009, 01:07:39 pm »
I also use nvclock with absolute no problems at all. I don't use that from the repositories, but I got it straight from http://www.linuxhardware.org/nvclock/

Tye

  • Guest
Re: SETI MB CUDA for Linux
« Reply #185 on: 09 Jul 2009, 01:55:24 pm »
No worries.  It's not crashy now - one of the things I did must have helped...  ;)

Anyway, got the nvidia-site 185 driver back in and got some debug files for you since I was able to get some workunits.

[attachment deleted by admin]

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #186 on: 09 Jul 2009, 05:32:19 pm »
Tye, the debug files tell me that you've not followed my directions from http://lunatics.kwsn.net/linux/seti-mb-cuda-for-linux.msg19014.html#msg19014 step number 4 to be exact. In your case that list of locations has two more options: /home/tye/bin and /usr/local/cuda/bin . That's why you're getting those instant computation faults.

Tye

  • Guest
Re: SETI MB CUDA for Linux
« Reply #187 on: 09 Jul 2009, 06:24:40 pm »
Aha!  I put it in my ~/bin directory and no more immediate fails.  And it frees up a CPU after a minute so.

I am still crashy (total freeze) however, so I'm thinking of going back to the most recent 9.04 kernel.

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #188 on: 09 Jul 2009, 06:40:09 pm »
Watch your cards for overheat. Cuda stresses the cards very much. I use nvclock to run my card's fan always at 100%.
« Last Edit: 09 Jul 2009, 08:46:41 pm by sunu »

Tye

  • Guest
Re: SETI MB CUDA for Linux
« Reply #189 on: 09 Jul 2009, 10:46:35 pm »
Thanks much sunu - looks like putting the file in the correct place also works with the ubuntu 185 driver I had earlier (now up to 0ubuntu3 though).  Tried it on another machine just out of curiosity and it's as simple as installing that driver (4 files from karmic 'release'), putting the CUDA app in your $PATH, putting the libraries in the seti work area and making the correct lings.

I dId have to go back to the 9.04 kernel though - kept getting hard freezes.

Anyway, thanks again - you saved me.  I thought for sure I had put the CUDA app in the right place.  Argh.

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #190 on: 10 Jul 2009, 04:12:27 am »
Glad we solved it. Have you tried again with two cards?

Tye

  • Guest
Re: SETI MB CUDA for Linux
« Reply #191 on: 10 Jul 2009, 10:59:09 am »
Haven't tried again with two cards, but don't forsee a problem as that was working just fine with 180.44 so the config files will likely work.  If not I'll try your trick.

Cheers!  - Tye

Offline Richard Haselgrove

  • Messenger Pigeon
  • Knight who says 'Ni!'
  • *****
  • Posts: 2819
Re: SETI MB CUDA for Linux
« Reply #192 on: 11 Jul 2009, 01:44:56 pm »
Came across an interesting error message in task 1294937260 while researching something else.

Quote
SETI@home MB CUDA 608 Linux 64bit SM 1.0 - r06 by Crunch3r :p

Error: API mismatch: the NVIDIA kernel module has version 180.29,
but this NVIDIA driver component has version 180.60.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
setiathome_CUDA: Found 1 CUDA device(s):
Cuda error 'cudaGetDeviceProperties( &cDevProp, i )' in file './cudaAcceleration.cu' in line 138 : initialization error.

Something to watch for when fiddling about with Linux drivers and modules.

The anonymous owner of host 5011059 seems to be having a real problem getting his or her GTX 295 running under gentoo.

Tye

  • Guest
Re: SETI MB CUDA for Linux
« Reply #193 on: 11 Jul 2009, 02:37:27 pm »
Figured out what the crashiness was - turns out that the 9600 GSOs I had that were 768 do not like being in the primary PCI-Ex slot.  If I put them in the secondarly slot and use a different card in the primary, then all is good.  Even the 9600 GSO 512 does fine in the primary - just not my two GSO 768s.  Argh.  Looks like no double-CUDA'ing with them, but might try mixed-mode with the 512 if I can pick up another card and put it where the 512 is being used now...

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #194 on: 11 Jul 2009, 03:12:31 pm »
Came across an interesting error message in task 1294937260 while researching something else.

Quote
SETI@home MB CUDA 608 Linux 64bit SM 1.0 - r06 by Crunch3r :p

Error: API mismatch: the NVIDIA kernel module has version 180.29,
but this NVIDIA driver component has version 180.60.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
setiathome_CUDA: Found 1 CUDA device(s):
Cuda error 'cudaGetDeviceProperties( &cDevProp, i )' in file './cudaAcceleration.cu' in line 138 : initialization error.

Something to watch for when fiddling about with Linux drivers and modules.

The anonymous owner of host 5011059 seems to be having a real problem getting his or her GTX 295 running under gentoo.

He hasn't installed the NVIDIA drivers properly.

Figured out what the crashiness was - turns out that the 9600 GSOs I had that were 768 do not like being in the primary PCI-Ex slot.  If I put them in the secondarly slot and use a different card in the primary, then all is good.  Even the 9600 GSO 512 does fine in the primary - just not my two GSO 768s.  Argh.  Looks like no double-CUDA'ing with them, but might try mixed-mode with the 512 if I can pick up another card and put it where the 512 is being used now...

Interesting.

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 33
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 38
Total: 38
Powered by EzPortal