![]() |
|
|
#122 | |
|
2·11·103 Posts |
Quote:
I'm stumbled that you were able before ... it never worked for me. I have always run gpuowl as root because of this issue, I have filed a github issue for ROCm about this. https://github.com/RadeonOpenCompute/ROCm/issues/823 |
|
|
|
|
#123 | |
|
32·5·199 Posts |
Quote:
I have found how to resolve the issue partially. The file /etc/OpenCL/vendors/amdocl64.icd has owner root and group root. Assigning this ownership to a regular user makes that user able to run OpenCL applications. |
|
|
|
|
#124 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
17·487 Posts |
Unless rebooting is also required, this fix didn't work for me. I'll look for other OpenCL files installed as root.
|
|
|
|
|
|
#125 |
|
22×5×71 Posts |
|
|
|
|
#126 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
17·487 Posts |
An old Haswell system. Originially Ubuntu 16 upgraded to 19. Rocm 2.4 initially loaded, downgraded to 2.2 for development, since upgraded to 2.5.
At least I'm crunching now. If I have to run as root forever, not too big a deal. |
|
|
|
|
|
#127 | |
|
2×7×449 Posts |
Quote:
I have tested the fix on Ubuntu 19 and Debian Testing and it works in both cases. It is a partial fix however, only root and that owner user have the ability to run OpenCL applications. |
|
|
|
|
#128 |
|
Sep 2009
25·7·11 Posts |
What permissions does that file have? Does it get written to when gpuowl runs? If not then any user who can read the file ought to be able to run it.
Chris |
|
|
|
|
|
#129 |
|
225228 Posts |
|
|
|
|
#130 |
|
Sep 2009
25×7×11 Posts |
Check when the file was last updated, stat /etc/OpenCL/vendors/amdocl64.icd would tell you. If it's updated when you run gpuowl then changing permissions to group-writeable and adding multiple users to it's group should let them run gpuowl (you can change it's group if you want).
But it sounds odd for gpuowl to need to write to that file. So there may be something else involved. And since I don't have any amd GPU to test gpuowl on I can't help any more. Chris |
|
|
|
|
|
#131 | |
|
293910 Posts |
Quote:
it is not gpuowl fault, it is ROCm failing to load the file (maybe trying to update it). |
|
|
|
|
#132 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
17·487 Posts |
Trying to run /opt/rocm/bin/rocmsmi as a normal user produces this:
Code:
hsa api call failure at line 900, file: /data/jenkins_workspace/compute-rocm-rel-2.4/rocminfo/rocminfo.cc. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vega 20 announced with 7.64 TFlops of FP64 | M344587487 | GPU Computing | 4 | 2018-11-08 16:56 |
| GTX 1180 Mars Volta consumer card specs leaked | tServo | GPU Computing | 20 | 2018-06-24 08:04 |
| RX Vega performance | xx005fs | GPU Computing | 5 | 2018-01-17 00:22 |
| Radeon Pro Duo | 0PolarBearsHere | GPU Computing | 0 | 2016-03-15 01:32 |
| AMD Radeon R9 295X2 | firejuggler | GPU Computing | 33 | 2014-09-03 21:42 |