cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

rouellet
Staff
Staff

Re: Catalyst 12.6, APP SDK 2.7, OpenCL does not see HD7970, linux

Jump to solution

You can use VNC to make this work.

Set up a server on the machine running the device/driver & X session on the console.

When you connect with a VNC client you should be able to use the GPU.

The real trouble you have with a remote X session is that the code to support that detours around the GPU.

I'll note that Windows (through Windows 7) has the same problem with Remote Desktop.

To run OpenCL applications on the GPU (and for that matter Direct X compute applications),

you need to have access to the console.  Remote Desktop detours around the GPU.

And like Linux, a VNC session doesn't have this problem.

R.

rouellet
Staff
Staff

Re: Catalyst 12.6, APP SDK 2.7, OpenCL does not see HD7970, linux

Jump to solution

Nice.  I didn't know that you could do that.

0 Likes
se6
Journeyman III

Re: Catalyst 12.6, APP SDK 2.7, OpenCL does not see HD7970, linux

Jump to solution

Thanks a lot, that worked indeed!

Seb

seb-L300:~$ ssh -X sebsalmanazar

Salmanazar:~$ clinfo | grep GPU

Salmanazar:~$ export COMPUTE=:0

Salmanazar:~$ clinfo | grep GPU

  Device Type:                     CL_DEVICE_TYPE_GPU

0 Likes
se6
Journeyman III

Re: Catalyst 12.6, APP SDK 2.7, OpenCL does not see HD7970, linux

Jump to solution

Thanks Roland.

I had tried VNC, but it is a KDE session and it CodeXL does not run!

Seb

0 Likes
rouellet
Staff
Staff

Re: Catalyst 12.6, APP SDK 2.7, OpenCL does not see HD7970, linux

Jump to solution

Could you tell us about the machine running CodeXL and the VNC client machine, the software, and the versions of the software running so that we can try to reproduce this problem.  We think it should work, but have clearly missed something.

R.

0 Likes
se6
Journeyman III

Re: Catalyst 12.6, APP SDK 2.7, OpenCL does not see HD7970, linux

Jump to solution

The remote machine with the GPU has CentOS 6.2 with KDE.

The machine I use to connect to it either by ssh or vnc is Unbutu 12.04

Installing the rpm failed with plenty of suspicious dependencies missing (suspicious because it was there). So I used the tar.gz.

When I run it on terminal in KDE it conplains:

Salmanazar:~$ cd CodeXL/bin

Salmanazar:~/CodeXL/bin$ ./CodeXL

Cannot mix incompatible Qt library (version 0x1040602) with this library (version 0x40704)

./CodeXL: line 41:  3714 Aborted                 /local-home/seb/CodeXL/bin/./CodeXL-bin

However, if I ssh -X I can run it fine!

Seb

0 Likes