Message boards :
Number crunching :
Updating GPU drivers in Linux.
Message board moderation
Previous · 1 · 2 · 3 · Next
Author | Message |
---|---|
Claggy Send message Joined: 5 Jul 99 Posts: 4654 Credit: 47,537,079 RAC: 4 |
You'll need a new BOINC 7.6.12(+) built after October 5th 2015, as that's the date my new AMD GPU detection code got added to the 7.6 branch. Don't think any of the Official Ubuntu/Debian or Locutusofborg Boinc's are built from the 7.6 head, But the 7.6.12 tag, any 7.6.12 builds will be just that, and not 7.6.12(+) builds, you'll have to wait for Boinc 7.6.14 for your AMD GPU fixes to be included. Claggy |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
Yeah, you're probably right. Could've hoped though, as it's quite easy to build multiple instances of a versions number by editing versions.h |
Claggy Send message Joined: 5 Jul 99 Posts: 4654 Credit: 47,537,079 RAC: 4 |
It is simply amazing. What Linux distro are you running now? Where did you get Boinc 7.6.12 from? What Boinc packages did you install? Claggy |
Mike Send message Joined: 17 Feb 01 Posts: 34380 Credit: 79,922,639 RAC: 80 |
What Linux distro are you running now? Where did you get Boinc 7.6.12 from? What Boinc packages did you install? Linux Mint 17.2, based on Ubuntu 14.04. Check my thread at Lunatics. With each crime and every kindness we birth our future. |
Claggy Send message Joined: 5 Jul 99 Posts: 4654 Credit: 47,537,079 RAC: 4 |
What Linux distro are you running now? Where did you get Boinc 7.6.12 from? What Boinc packages did you install? I got as far as finding the following out earlier: http://community.linuxmint.com/software/view/boinc Didn't tell who the package maintainers for Mint are. Claggy |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
Try just doing a sudo /etc/init.d/boinc-client restart Nothing wrong with the Linux OpenCL, the Problem is with BOINC not seeing OpenCL. The only suggestion I can make besides having libOpenCL.so in usr/lib is to use the Berkeley BOINC 7.4.25 in your Home folder. You will have to set it up the first time by setting execute bits and checking Dependencies with ldd in the terminal, but after that it should work. |
Claggy Send message Joined: 5 Jul 99 Posts: 4654 Credit: 47,537,079 RAC: 4 |
What Linux distro are you running now? Where did you get Boinc 7.6.12 from? What Boinc packages did you install? Have you had a read of: Debian/Ubuntu/Mint/Derivatives - GPU recognition fixes and this thread: No usable GPUs found. AMD Radeon HD6750 and this thread: Ubuntu 14.X and AMD GPU HD 7990 Claggy |
Fawkesguy Send message Joined: 8 Jan 01 Posts: 108 Credit: 188,578,766 RAC: 0 |
Mike, why not try the sgfxi script I've suggested a few times? I have 5 Linux Mint 17.2 machines, and using the script, I have installed Nvidia drivers successfully every time. No linking of files, no issues whatsoever. OpenCL and CUDA work perfectly. I'm running BOINC 7.2.42 in my home directory. I have no experience using it with ATI cards, but it is my understanding that it works with ATI as well. http://smxi.org/docs/sgfxi-manual.htm X needs to be stopped prior to installation. To install, I run (as root): cd /usr/local/bin && wget -Nc smxi.org/sgfxi && chmod +x sgfxi && sgfxi For upgrades, I simply run: sgfxi |
Juha Send message Joined: 7 Mar 04 Posts: 388 Credit: 1,857,738 RAC: 0 |
<coproc_debug> please. Where did you put the symlink to libOpenCL.so.1? How did you install the drivers? Package manager, Driver thingy, package from AMD, something else? If package(s), exact name(s) please. |
Mike Send message Joined: 17 Feb 01 Posts: 34380 Credit: 79,922,639 RAC: 80 |
<coproc_debug> please. So 08 Nov 2015 23:02:48 CET | | Starting BOINC client version 7.6.12 for x86_64-pc-linux-gnu So 08 Nov 2015 23:02:48 CET | | log flags: file_xfer, sched_ops, task, coproc_debug So 08 Nov 2015 23:02:48 CET | | Libraries: libcurl/7.41.0 OpenSSL/0.9.8zg zlib/1.2.7 So 08 Nov 2015 23:02:48 CET | | Data directory: /var/lib/boinc-client So 08 Nov 2015 23:02:48 CET | | [coproc] launching child process at /usr/bin/boinc So 08 Nov 2015 23:02:48 CET | | [coproc] relative to directory /var/lib/boinc-client So 08 Nov 2015 23:02:48 CET | | [coproc] with data directory /var/lib/boinc-client So 08 Nov 2015 23:02:48 CET | | No NVIDIA library found So 08 Nov 2015 23:02:48 CET | | Caught SIGSEGV in ATI GPU detection So 08 Nov 2015 23:02:48 CET | | No OpenCL library found So 08 Nov 2015 23:02:48 CET | | No usable GPUs found So 08 Nov 2015 23:02:48 CET | | Host name: Mike-FX-L So 08 Nov 2015 23:02:48 CET | | Processor: 8 AuthenticAMD AMD FX(tm)-8350 Eight-Core Processor [Family 21 Model 2 Stepping 0] So 08 Nov 2015 23:02:48 CET | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold vmmcall bmi1 So 08 Nov 2015 23:02:48 CET | | OS: Linux: 3.16.0-38-generic Driver installed from package. Version: 2:15.200-0ubuntu0.5 Last time i made symlink i got error wrong ELF class. So no libOpenCL.so.1 link atm. With each crime and every kindness we birth our future. |
Juha Send message Joined: 7 Mar 04 Posts: 388 Credit: 1,857,738 RAC: 0 |
Open Terminal and run the following command: cd /usr/lib/ && sudo ln -s libOpenCL.so.1 libOpenCL.so Then restart BOINC. edit: I'm assuming your card is so new that it doesn't support CAL. |
Mike Send message Joined: 17 Feb 01 Posts: 34380 Credit: 79,922,639 RAC: 80 |
Open Terminal and run the following command: Will try that again after work but IIRC i tried that already and got the message file already exists. Yes, the card doesn`t support CAL. With each crime and every kindness we birth our future. |
Mike Send message Joined: 17 Feb 01 Posts: 34380 Credit: 79,922,639 RAC: 80 |
ln: Die symbolische Verknüpfung »libOpenCL.so“ konnte nicht angelegt werden: Die Datei existiert bereits Like expected. File already exists. With each crime and every kindness we birth our future. |
Mike Send message Joined: 17 Feb 01 Posts: 34380 Credit: 79,922,639 RAC: 80 |
ln: Die symbolische Verknüpfung »libOpenCL.so“ konnte nicht angelegt werden: Die Datei existiert bereits Edit. Adding LD_LIBRARY_PATH=/lib64:/usr/lib:/lib:/usr/local/lib to etc/default/ did the trick. GPU is now recognised. Thanks all for your suggestions. With each crime and every kindness we birth our future. |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
GPU is now recognised. But only by the Island Name OpenCL states it's got, not by the model number it has. For that you still need a newer BOINC version. So now it's seen as an AMD Tonga, not as an AMD Radeon R9 285/R9 380 (Tonga), which is more complete and correct. |
Mike Send message Joined: 17 Feb 01 Posts: 34380 Credit: 79,922,639 RAC: 80 |
GPU is now recognised. Well its the same as on win 7 for me. At least i can use it now. With each crime and every kindness we birth our future. |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
Well its the same as on win 7 for me. Yes, because 7.6.9 doesn't have the detection code built into the client. 7.6.15 got released for testing last night. It does have the new code. |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
ln: Die symbolische Verknüpfung »libOpenCL.so“ konnte nicht angelegt werden: Die Datei existiert bereits It sounds as though there is something wrong within your usr/lib folder. In one post you say; Last time i made symlink i got error wrong ELF class. Then when you tried to make a link and name it libOpenCL.so you got; Like expected. Extending the library path out managed to find a valid link to libOpenCL. For many people simply having a valid libOpenCL.so link in usr/lib was enough to have BOINC see OpenCL with the repository driver. If my experience holds, if you remove the repository driver and install the proprietary driver you will probably have the same problem with BOINC not seeing OpenCL. It is possible with the new LIBRARY_PATH you can avoid that problem though. Maybe now you can try running 2 instances of OpenCL MBv7 on that card and see if you have the same trouble as in Windows... |
Mike Send message Joined: 17 Feb 01 Posts: 34380 Credit: 79,922,639 RAC: 80 |
I know, i uninstalled the drivers once more and reinstalled it that seems to have fixed that. It seems i grabbed the non HD5 version. Lets wait a little. can anyone give me an example for appconfig to run 2 instances. I will add my appinfo next weekend at earliest. With each crime and every kindness we birth our future. |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
This works on my Cayman; <app_config> <app> <name>setiathome_v7</name> <gpu_versions> <gpu_usage>0.5</gpu_usage> <cpu_usage>.1</cpu_usage> </gpu_versions> </app> </app_config> I tried the cmdline from the other thread with my Cayman and it worked, but a little slower than with the one I was using. From experience I've found in Linux using the setting -oclfft_tune_wg 128 is faster than using 256. I set it for 128 and it choked. Knowing that wg 128 works I decided to start removing other settings until it worked with wg 128. Removing -oclfft_tune_lr 16 was all that was needed to get it working again. So, I'm using; -sbs 256 -spike_fft_thresh 4096 -tune 1 64 1 4 -oclfft_tune_gr 256 -oclfft_tune_wg 128 -oclfft_tune_ls 512 -oclfft_tune_bn 64 -oclfft_tune_cw 64 on my Cayman in Ubuntu and it's running around 95% GPU load with 1 MB task. It's hard to tell, but it may be a little faster on the longer tasks than with the old settings, but not by much. |
©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.