cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

FangQ
Adept I

Can not list R9 nano when running clinfo remotely

(I apologize for posting this question here. I wanted to post it to the OpenCL forum, but I can not find "start a discussion" link! can anyone tell me how to post in that forum?)

I am having trouble listing both of my AMD GPUs for OpenCL computing. The machine is a head-less server containing a Radeon 7970 and a R9 Nano. Initially, when I log on remotely (ssh or x2go), I was not able to see either of the cards. Then I found this online post and created at a script /tmp/enable-amd-compute, with a content of

export COMPUTE=:0

unset DISPLAY

export XAUTHORITY=/tmp/x11-auth-file

after running this script in every session, I am able to see 7970 in clinfo output. However, R9 nano is still not visible. I can only see both cards when using sudo clinfo, see

fangq@pangucoe$ clinfo | grep "^\s*Name:"

  Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

  Name: Tahiti

  Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

fangq@pangucoe$ sudo clinfo | grep "^\s*Name:"

  Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

  Name: Tahiti

  Name: Fiji

  Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

Here are some additional info

fangq@pangucoe$ sudo aticonfig --lsa

* 0. 01:00.0 AMD Radeon R9 200 / HD 7900 Series

  1. 06:00.0 AMD Radeon (TM) R9 Fury Series

* - Default adapter

fangq@pangucoe$ ls -lt /dev/ati/

total 0

crw-rw-rw- 1 root amdgpu 246, 1 Aug 18 13:25 card1

crw-rw-rw- 1 root amdgpu 246, 0 Aug 18 13:07 card0

can anyone tell me how to use both cards without sudo? thanks

0 Likes
1 Reply
dipak
Big Boss

Here is an old document to do the same.

App_Note-Running_AMD_APP_Apps_Remotely.pdf

[may require some changes based on the OS distribution]

[https://community.amd.com/message/1287062#comment-1287062 ]

Regards,

0 Likes