How to get OpenCL working on an ATI Radeon card

11,305

You need to install the ATI Stream SDK. I think ubuntu 10.10 includes the packages, if not, you can find the installed here.

Also your GPU doesn't support OpenCL, so you will get only the CPU OpenCL device, without much performance improvement.

Share:
11,305
Sousou
Author by

Sousou

Updated on August 02, 2022

Comments

  • Sousou
    Sousou almost 2 years

    I'm trying to compile dolphin, a Nintendo emulator. I downloaded the trunk and it compiled fine but it won't link. Instead, I get this error:

    Linking CXX shared library ../../../Binaries/plugins/libPlugin_VideoOGL.so
    /usr/bin/ld: cannot find -lOpenCL
    collect2: ld returned 1 exit status
    make[2]: *** [Binaries/plugins/libPlugin_VideoOGL.so] Error 1
    make[1]: *** [Source/Plugins/Plugin_VideoOGL/CMakeFiles/Plugin_VideoOGL.dir/all] Error 2
    make: *** [all] Error 2
    

    It looks like I need some sort of OpenCL library. I did some research and somehow had an idea that I needed to install fglrx. It did not go smoothly. In fact, when I tried to run fglrxinfo, I got a seg fault..nice. My video wasn't totally hosed, so I tried a make and got the same OpenCL error above. I just want to get Dolphin working. What are my options?

    Here are my specs:

    • Ubuntu 10.4
    • Radeon X1200 (RS690M)