Ubuntu won't use GPU for seti but does for astropulse? AMD rx 560

Message boards : Number crunching : Ubuntu won't use GPU for seti but does for astropulse? AMD rx 560
Message board moderation

To post messages, you must log in.

AuthorMessage
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1962006 - Posted: 26 Oct 2018, 19:06:40 UTC

I am using Ubuntu 18.10 and have set the preferences for seti and astropulse to use both GPU and CPU. When the seti app runs it uses CPU only while astropulse runs on the GPU. Since astropulse units only download rarely the GPU is mostly idle. I am using ROCm for the opencl computing. The compute error shown on my task page is from mesa/clover before I switched to ROCm. Can I run seti on the AMD rx 560 GPU?

My computer is: 8598471
ID: 1962006 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962017 - Posted: 26 Oct 2018, 20:14:16 UTC - in response to Message 1962006.  

I cannot find any errored task other than abandoned/aborted for the gpu. So unable to offer any suggestions other than reading the AMD instructions for installing the drivers for Ubuntu 18.10 and/or hoping that someone else with AMD experience answers your help request.

https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-18.10-Release-Notes.aspx
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962017 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 1962047 - Posted: 27 Oct 2018, 0:42:53 UTC

Isn't Ubuntu 18.10 using the kernel 4.19, the one that will be used with Ubuntu 18.04.2 somewhen in the future ?
AMD's current driver 18.40 only supports Ubuntu 18.04.1 so far (looking at AMD's driver support page).

So probably go back to older Ubuntu 18.04.1 if you want to use OpenCL-app with AMD GPU.
_\|/_
U r s
ID: 1962047 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962048 - Posted: 27 Oct 2018, 0:55:12 UTC - in response to Message 1962047.  
Last modified: 27 Oct 2018, 0:57:48 UTC

No Ubuntu 18.10 uses kernel 4.18.0-10. I looked over articles on Ubuntu 18.10 and the current AMD 18.40 over at Phoronix and didn't find any mention of problems with OpenCL. But the majority of hits via Google show support for only Ubuntu 18.04.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962048 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1962049 - Posted: 27 Oct 2018, 1:07:40 UTC - in response to Message 1962047.  

Is there a repository somewhere on setiathome where I can look at and download the various versions of the seti app so I can try them out manually? So far only the generic one ever even auto downloads for seti while astropulse gets the opencl version. Thank you.
ID: 1962049 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962054 - Posted: 27 Oct 2018, 1:37:04 UTC - in response to Message 1962049.  
Last modified: 27 Oct 2018, 1:39:47 UTC

Again, since you have no MB ATI tasks on your host that is not abandoned we can't tell what version of the MB gpu application you tried to run. I assume you got the standard 8.22 application delivered by the scheduler. You should have some executable in your project folder with a name with MB and ATI in its name. If you could post that we might be able to help you.

The only place I know of that has various version of the ATI MB app are at Mikes World.
http://mikesworld.eu/download.html

But all of those are Windows apps as far as I know.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962054 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1962062 - Posted: 27 Oct 2018, 2:03:39 UTC - in response to Message 1962054.  

As I said, only the generic seti auto downloads:

setiathome-8.00_AUTHORS
setiathome-8.00_COPYING
setiathome-8.00_COPYRIGHT
setiathome-8.00_README
setiathome_8.00_x86_64-pc-linux-gnu
setigraphics_8.00_x86_64-pc-linux-gnu

Astropulse gets the opencl version but its gone now. I reset the project.
ID: 1962062 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962084 - Posted: 27 Oct 2018, 5:45:14 UTC - in response to Message 1962062.  

Post us the first 30 lines of the Event Log after restarting BOINC. That will show whether BOINC sees the gpu card and whether it sees a viable OpenCL driver to run it. From the files downloaded you listed, all you are getting is the cpu app and the screensaver app. No gpu application. That would be the case if BOINC sees no gpu.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962084 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1962090 - Posted: 27 Oct 2018, 6:11:29 UTC - in response to Message 1962084.  

Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] Unrecognized tag in cc_config.xml: <dont_use_wsl>
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27: Unrecognized XML tag '<dont_use_wsl>' in CC_CONFIG::parse_options; skipping
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] Starting BOINC client version 7.12.0 for x86_64-pc-linux-gnu
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] log flags: file_xfer, sched_ops, task, coproc_debug
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] Libraries: libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.1 librtmp/2.3
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] Data directory: /var/lib/boinc-client
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] [coproc] launching child process at /usr/bin/boinc
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] [coproc] relative to directory /var/lib/boinc-client
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] [coproc] with data directory /var/lib/boinc-client
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] OpenCL: AMD/ATI GPU 0: Baffin [Radeon RX 550 640SP / RX 560/560X] (driver version 2679.0 (HSA1.1,LC), device version OpenCL 1.2, 2048MB, 2048MB available, 2662 GFLOPS peak)
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] [coproc] NVIDIA: libcuda.so: cannot open shared object file: No such file or directory
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] [coproc] ATI: libaticalrt.so: cannot open shared object file: No such file or directory
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] [libc detection] gathered: 2.28, Ubuntu GLIBC 2.28-0ubuntu1
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Host name: bedroom
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Processor: 12 AuthenticAMD AMD Ryzen 5 2600X Six-Core Processor [Family 23 Model 8 Stepping 2]
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] 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 cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] OS: Linux Ubuntu: Ubuntu 18.10 [4.18.0-11-lowlatency|libc 2.28 (Ubuntu GLIBC 2.28-0ubuntu1)]
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Memory: 15.67 GB physical, 2.00 GB virtual
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Disk: 227.74 GB total, 197.95 GB free
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Local time is UTC -7 hours
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Config: GUI RPCs allowed from:
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [SETI@home] URL http://setiathome.berkeley.edu/; Computer ID 8598471; resource share 50
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [SETI@home] General prefs: from SETI@home (last modified 13-Oct-2018 19:47:46)
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [SETI@home] Computer location: home
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [SETI@home] General prefs: no separate prefs for home; using your defaults
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Preferences:
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] max memory usage when active: 8024.59 MB
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] max memory usage when idle: 14444.27 MB
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] max disk usage: 45.55 GB
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] max CPUs used: 6
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Setting up project and slot directories
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Checking active tasks
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Setting up GUI RPC socket
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] gui_rpc_auth.cfg is empty - no GUI RPC password protection
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] Checking presence of 213 project files
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 Initialization completed
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [SETI@home] Sending scheduler request: To fetch work.
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [SETI@home] Requesting new tasks for CPU and AMD/ATI GPU
Oct 26 23:03:29 bedroom boinc[12365]: 26-Oct-2018 23:03:29 [SETI@home] Scheduler request completed: got 0 new tasks
Oct 26 23:03:29 bedroom boinc[12365]: 26-Oct-2018 23:03:29 [SETI@home] Not sending work - last request too recent
ID: 1962090 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962144 - Posted: 27 Oct 2018, 16:08:36 UTC

Thanks. See the problem . First is the unrecognized cc_config option.

Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27 [---] Unrecognized tag in cc_config.xml: <dont_use_wsl>
Oct 26 23:03:27 bedroom boinc[12365]: 26-Oct-2018 23:03:27: Unrecognized XML tag '<dont_use_wsl>' in CC_CONFIG::parse_options; skipping

Remove it from the file. Assume you copied the file from a Windows installation. Not needed in native linux. Next, the main one that does not allow using the gpu.

Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] [coproc] NVIDIA: libcuda.so: cannot open shared object file: No such file or directory
Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] [coproc] ATI: libaticalrt.so: cannot open shared object file: No such file or directory

So the graphics drivers did not install all the necessary compute packages, neither the CUDA or OpenCL packages. CUDA not needed for your card of course but it missing too is indicative of the graphics drivers not being fully installed.

The other questionable thing is:

Oct 26 23:03:28 bedroom boinc[12365]: 26-Oct-2018 23:03:28 [---] OS: Linux Ubuntu: Ubuntu 18.10 [4.18.0-11-lowlatency|libc 2.28 (Ubuntu GLIBC 2.28-0ubuntu1)]

Curious why you have the low-latency version of Linux installed. I've run across someone using that version only once and they had good reason since they were running a audio editing file workstation. Is this the same case? As far as I know, that version is a stripped down version that may or may not have all the usual and normal resources available as the generic kernel.

So I would once again attempt to install the graphics drivers for ATI. Try running and see if those error messages are removed. If not, try a different driver and see if the libaticalrt.so package is installed.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962144 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962213 - Posted: 28 Oct 2018, 2:41:02 UTC

Hey, Ben. I assume you figured out by now I know nothing about ATI cards since I've always been an Nvidia fanboy. But noticed a post over at Einstein that probably explains your issue with your ATI.
quick-guide-how-install-opencl-amd-gpus-linux-kubuntu-1804-and-similar-distro

Hope this sorts you out.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962213 · Report as offensive

Message boards : Number crunching : Ubuntu won't use GPU for seti but does for astropulse? AMD rx 560


 
©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.