cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Joe_Dev
Journeyman III

Share advice on setups and tools, please :)

Hi, 

I am interested in getting my feet a bit wet with OpenCL - I have an E350 based laptop which I would like to use as my testbed. It is currently running Ubuntu 11.04 - I am open to installing another distro if necessary - but I worry that older versions would offer issues with my laptop. 

I came across the Compatibility list at http://developer.amd.com/sdks/AMDAPPSDK/pages/DriverCompatibility.aspx - I am wondering which setups people are using and how they found the installation / setup process. 

Thanks!

PS, I hope this isn't considered spamming but I created http://gpgpu.shapado.com/questions which I hope could grow into a collection of good advice and best practices - and tough questions 🙂 

 

 

0 Likes
5 Replies
nou
Exemplar

just install latest catalyst driver with SDK. there is also some issue when you want use OpenCL/OpenGL interoperability. but OpenCL work normaly.

0 Likes

Hi, Thanks for responding. 

I will try to capture my experience in this thread in the hope that it may help others. 

I had some issues when installing the Catalyst 11.07 drivers:

0. Release notes at: http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx point to http://www2.ati.com/relnotes/Catalyst_11.7_Linux_Installer.pdf which is a 404. 

 

 

1. For some reason I was forced to boot from a liveCD and reinstall grub2

2. The initial install itself had problems related to http://wiki.cchtml.com/index.php/Ubuntu_Natty_Installation_Guide#Aticonfig_not_found_after_installat...

aticonfig was not in path, and gl_conf pointed to mesa. The instructions on that wiki helped me resolve it.

I am currently running 11.7:

fglrxinfo:

display: :0.0  screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: AMD Radeon HD 6300 series Graphics

OpenGL version string: 4.1.10907 Compatibility Profile Context



 

 

0 Likes

I downloaded AMD-APP-V2.5-RC2 which exhibited some unfortunate behavior as noted at: http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=153204

When running `make` in AMD-APP-V2.5-RC2/AMD-APP-SDK-v2.5-RC2-lnx32 I get errors for some samples:

Building build/debug/x86//BoxFilterGL.o

g++  -m32 -msse2 -Wpointer-arith   -Wfloat-equal -g3 -ffor-scope   -I  ../../../../../samples/opencl/SDKUtil/include -I  "/opt/AMDAPP/include"  -I  ../../../../../include  -o build/debug/x86//BoxFilterGL.o -c  BoxFilterGL.cpp

In file included from CommonDeclare.hpp:20:0,

                 from BoxFilterGLSAT.hpp:95,

                 from BoxFilterGL.cpp:93:

/opt/AMDAPP/include/GL/glew.h:1138:20: fatal error: GL/glu.h: No such file or directory

compilation terminated.



 

I was not sure if these headers are expected to come from the AMD packages or whether I should install 'standard' dev packages.

Ultimately I followed the advice at: http://ubuntuforums.org/showpost.php?p=10297626&postcount=5 and compilation could continue. 

 

 

0 Likes

According to the docs, the SDK is not compatible with Ubuntu 11.04, only with super-old versions like the 10.04

I got several problems using the ATI's SDK with GLIB/TBB, probably because they used an old gcc version and libs to compile.

0 Likes

Originally posted by: bubu According to the docs, the SDK is not compatible with Ubuntu 11.04, only with super-old versions like the 10.04

 

I got several problems using the ATI's SDK with GLIB/TBB, probably because they used an old gcc version and libs to compile.

 

 

Could you point me to a sample or test case so I can reproduce on my  setup?

From superficial testing it seems to be working, but I could be missing something. 

0 Likes