0

I have a server (CentOS6) which has an ATI GPU. For users to have access to this GPU for computation with OpenCL, they need to have an X session open unfortunately (a restriction on the ATI driver). These users will ssh to the server.

How is it possible for them to start a "dummy" X session on the GPU so that they can access it for computation? (ssh -X server and launching an app like xclock or whatever does not start an Xsession on the GPU...)

Thanks a lot in advance.

Chida
  • 2,491
  • 1
  • 17
  • 29
Se6
  • 101
  • 1

2 Answers2

1

Follow this document: http://developer.amd.com/sdks/AMDAPPSDK/assets/App_Note-Running_AMD_APP_Apps_Remotely.pdf

After that, first set the system runlevel to 3 (you may use /etc/inittab under centos). Then, reboot the system and connect to the system by a new session through SSH. Finally before running OpenCL applications: 1) run 'init 5' command 2) run 'export XAUTHORITY=$HOME/.Xauthority' command

lashgar
  • 681
  • 1
  • 5
  • 16
0

If they have the access rights to do so, the remote user should just be able to run something like

X :0 &

The remote user should then be able to run the Bitcoin miner.

If you aren't running a Bitcoin miner, you really should think about switching to an NVIDIA GPU.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972