Radeon R7 GPU

Questions and Answers : GPU applications : Radeon R7 GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
jimkr

Send message
Joined: 14 Feb 16
Posts: 10
Credit: 1,244,410
RAC: 0
United States
Message 2026291 - Posted: 4 Jan 2020, 17:01:38 UTC

I have a AMD motherboard with onboard Radeon R7 GPU using shared memory. Will this setup work for GPU processing or do I need a separate card for GPU processing to work?
Are the work unit s the same for either CPU or GPU?
If GPU processing is selected will CPU processes be discontinued?
ID: 2026291 · Report as offensive
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22158
Credit: 416,307,556
RAC: 380
United Kingdom
Message 2026293 - Posted: 4 Jan 2020, 17:16:30 UTC

It should work OK.
To prevent screen-lag and the like it is best to "free-up" one CPU core so the operating system and anything else you are running has a chance. There are many ways of freeing-up a core, the one I normally use is to use the BOINC "advanced" view, then select "options" then "computing preferences", near the top of the first tab there is a pair of options, the first is "use at most x\5 of the CPUs" - you need to set x to release on core e.g. if your processor has 4 CPU cores x = 75. Save and you can return to which ever is your normal view in BOINC's GUI.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 2026293 · Report as offensive
jimkr

Send message
Joined: 14 Feb 16
Posts: 10
Credit: 1,244,410
RAC: 0
United States
Message 2026519 - Posted: 6 Jan 2020, 0:20:41 UTC - in response to Message 2026293.  

Thanks Rob,
I've made the recommended adjustments.

JimK
ID: 2026519 · Report as offensive
jimkr

Send message
Joined: 14 Feb 16
Posts: 10
Credit: 1,244,410
RAC: 0
United States
Message 2031135 - Posted: 7 Feb 2020, 2:30:35 UTC

How do I know that the work units are being processed by the GPU?
ID: 2031135 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2031136 - Posted: 7 Feb 2020, 2:39:41 UTC - in response to Message 2031135.  

In your Advanced View, you should see the application name called out for the currently running tasks. Cpu tasks will have an application version number of something like 8.00, 8.01, 8.05 etc.

The gpu tasks will have a version number like 8.22, 8.24 and have a descriptor like SoG, SAH, opencl or something similar. You can check the current applications that the project delivers according to platform here:

https://setiathome.berkeley.edu/apps.php
Seti@Home classic workunits:20,676 CPU time:74,226 hours

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

Send message
Joined: 14 Feb 16
Posts: 10
Credit: 1,244,410
RAC: 0
United States
Message 2031299 - Posted: 7 Feb 2020, 22:30:55 UTC

Then I am not getting GPU applications even though I've enabled them in my preferences for AMD GPU's.
I don't see any relevant current error messages in /var/lib/boinc/

How do I trouble shoot?
ID: 2031299 · Report as offensive
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 13720
Credit: 208,696,464
RAC: 304
Australia
Message 2031307 - Posted: 7 Feb 2020, 23:14:46 UTC

With your computer hidden we can't be of much help.

I'd exit BOINC & restart, then post the first 40 or so lines from the event viewer. You need to have a driver installed, and BOINC needs to recognise that the hardware can be used. You need to not have anything in your local preferences set regarding the GPU as they will override web based preferences.
Grant
Darwin NT
ID: 2031307 · Report as offensive
jimkr

Send message
Joined: 14 Feb 16
Posts: 10
Credit: 1,244,410
RAC: 0
United States
Message 2031490 - Posted: 8 Feb 2020, 21:19:06 UTC

Last lines before restart:
Fri 07 Feb 2020 10:58:15 PM EST | SETI@home | update requested by user
Fri 07 Feb 2020 10:58:17 PM EST | SETI@home | Sending scheduler request: Requested by user.
Fri 07 Feb 2020 10:58:17 PM EST | SETI@home | Requesting new tasks for AMD/ATI GPU
Fri 07 Feb 2020 10:58:18 PM EST | SETI@home | Scheduler request completed: got 0 new tasks
Fri 07 Feb 2020 10:58:18 PM EST | SETI@home | General prefs: from SETI@home (last modified 07-Feb-2020 22:57:49)
Fri 07 Feb 2020 10:58:18 PM EST | SETI@home | Host location: none
Fri 07 Feb 2020 10:58:18 PM EST | SETI@home | General prefs: using your defaults
Fri 07 Feb 2020 10:58:18 PM EST | | Preferences:
Fri 07 Feb 2020 10:58:18 PM EST | | max memory usage when active: 5477.12 MB
Fri 07 Feb 2020 10:58:18 PM EST | | max memory usage when idle: 9858.83 MB
Fri 07 Feb 2020 10:58:18 PM EST | | max disk usage: 13.82 GB
Fri 07 Feb 2020 10:58:18 PM EST | | max CPUs used: 3
Fri 07 Feb 2020 10:58:18 PM EST | | don't compute while active
Fri 07 Feb 2020 10:58:18 PM EST | | don't use GPU while active
Fri 07 Feb 2020 10:58:18 PM EST | | suspend work if non-BOINC CPU load exceeds 25%
Fri 07 Feb 2020 10:58:18 PM EST | | (to change preferences, visit a project web site or select Preferences in the Manager)
Fri 07 Feb 2020 10:59:15 PM EST | SETI@home | update requested by user
Fri 07 Feb 2020 10:59:18 PM EST | SETI@home | Sending scheduler request: Requested by user.
Fri 07 Feb 2020 10:59:18 PM EST | SETI@home | Requesting new tasks for AMD/ATI GPU
Fri 07 Feb 2020 10:59:20 PM EST | SETI@home | Scheduler request completed: got 0 new tasks
Fri 07 Feb 2020 10:59:20 PM EST | SETI@home | Not sending work - last request too recent: 63 sec

After restart:

Sat 08 Feb 2020 03:53:37 PM EST | | cc_config.xml not found - using defaults
Sat 08 Feb 2020 03:53:37 PM EST | | Starting BOINC client version 7.16.1 for x86_64-pc-linux-gnu
Sat 08 Feb 2020 03:53:37 PM EST | | log flags: file_xfer, sched_ops, task
Sat 08 Feb 2020 03:53:37 PM EST | | Libraries: libcurl/7.66.0 OpenSSL/1.1.1d-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.39.2
Sat 08 Feb 2020 03:53:37 PM EST | | Data directory: /var/lib/boinc
Sat 08 Feb 2020 03:53:37 PM EST | | OpenCL: AMD/ATI GPU 0: AMD KAVERI (DRM 2.50.0, 5.4.8-200.fc31.x86_64, LLVM 9.0.0) (driver version 19.2.8, device version OpenCL 1.1 Mesa 19.2.8, 2043MB, 2043MB available, 461 GFLOPS peak)
Sat 08 Feb 2020 03:53:37 PM EST | | OpenCL CPU: pthread-AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G (OpenCL driver vendor: The pocl project, driver version 1.5-pre, device version OpenCL 1.2 pocl HSTR: pthread-x86_64-unknown-linux-gnu-bdver3)
Sat 08 Feb 2020 03:53:38 PM EST | | [libc detection] gathered: 2.30, GNU libc
Sat 08 Feb 2020 03:53:38 PM EST | | Processor: 4 AuthenticAMD AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G [Family 21 Model 48 Stepping 1]
Sat 08 Feb 2020 03:53:38 PM EST | | 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 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 bpext ptsc cpb hw_pstate ssbd vmmcall fsgsbase bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold overflow_recov
Sat 08 Feb 2020 03:53:38 PM EST | | OS: Linux Fedora: Fedora 31 (Thirty One) [5.4.8-200.fc31.x86_64|libc 2.30 (GNU libc)]
Sat 08 Feb 2020 03:53:38 PM EST | | Memory: 10.70 GB physical, 10.00 GB virtual
Sat 08 Feb 2020 03:53:38 PM EST | | Disk: 27.01 GB total, 14.87 GB free
Sat 08 Feb 2020 03:53:38 PM EST | | Local time is UTC -5 hours


There are the specs.
ID: 2031490 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2031508 - Posted: 8 Feb 2020, 23:25:08 UTC

Well to start, Seti can't use the POCL OpenCL cpu driver. Some other projects can I believe.

The other issue is the Mesa OpenCL driver. I am still not sure that Seti can use the Mesa driver. It can use the standard proprietary AMD driver for sure.

I'll just post this text boilerplate I have saved for people with AMD hardware in Linux.


I did this from (L)Ubuntu 18.04

From the AMD drivers download page,
https://www.amd.com/en/support
I entered my GPU model (RX 570) and got to here:
https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-570

It doesn't seem to matter the exact GPU model, because the drivers work fine for my RX 460, but you do need to enter some model to get to the driver page.

From the Ubuntu x86 64-bit section you download the Ubuntu 18.04.1 driver tar.gz file (the AMDGPU graphics stack). On that web page the link for installation instructions link is:
https://amdgpu-install.readthedocs.io/en/latest/
I didn't read the instructions at first (typical!) and instead just poked around in the unzipped folder and clicked on what turned out to be the installer script (can't remember the exact file name), and off it went.

After that was done, I then read the installation instructions (of course!) and on the "Using the amdgpu-install Script" page saw an option for installing OpenCL. So I did like they said and from within the AMD graphics stack directory used the terminal to:
$ ./amdgpu-install -y --opencl=legacy

When I initially (blindly) double clicked on the amdgpu installer I think I invoked the amdpgu-install script, not the amdgpu-pro-install script. If so, then I must have installed the All-Open stack, which included Mesa OpenGL and Mesa multimedia, but not OpenCL, hence my separate installation of OpenCL. From AMD's instructions, invoking the amdgpu-pro script installs the Pro Stack, which includes Pro OpenGL, Pro OpenCL, and Pro Vulcan (Pro OpenCL supports Vega 10 and later). I guess those are all AMD proprietary drivers? Several web discussions I had read seem to have a dim view of AMDGPU-Pro, so maybe using AMD's All-Open stack is the trick.

These AMD docs show the installation commands for OpenCL

https://amdgpu-install.readthedocs.io/en/latest/install-overview.html?highlight=OpenCL

https://amdgpu-install.readthedocs.io/en/latest/install-script.html?highlight=OpenCL#specifying-an-opencl-implementation

Seti@Home classic workunits:20,676 CPU time:74,226 hours

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

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2031510 - Posted: 8 Feb 2020, 23:26:30 UTC

We are still guessing as to your hardware though since you have your computers hidden.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

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

Send message
Joined: 14 Feb 16
Posts: 10
Credit: 1,244,410
RAC: 0
United States
Message 2031600 - Posted: 9 Feb 2020, 16:28:58 UTC

AMD/ATI GPU 0: AMD KAVERI
A10-7800 Radeon R7, 12 Compute Cores 4C+8G

Since I'm not going to install the proprietary drivers there's no point in pursuing this further.

Thanks for your time.
ID: 2031600 · Report as offensive

Questions and Answers : GPU applications : Radeon R7 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.