AnsweredAssumed Answered

Can not list R9 nano when running clinfo remotely

Question asked by FangQ on Aug 18, 2016
Latest reply on Aug 24, 2016 by dipak

(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

Outcomes