Hello everyone,
Took some wrangling, but I finally got the AMD APP SDK running on Ubuntu & Debian. Well, mostly, the OpenGL interop samples all fail in essentially identical methods, a failure of OpenCL to get the OpenGL object.
Any suggestions? Here's SimpleGL failing to run.
./SimpleGL
Platform 0 : Advanced Micro Devices, Inc.
Selected Platform Vendor : Advanced Micro Devices, Inc.
Device 0 : Juniper
Error: clCreateFromGLBuffer failed. (posBuf) Error code : CL_INVALID_GL_OBJECT
Help?
Are there some logs I should be attaching? Xorg.0.log? Some strace or gdb info? How can I get help with this?
are other samples running correctly?
also try run SimpleGL on CPU device.
All of the OpenGL examples fail with the "CL_INVALID_GL_OBJECT" error. The non OpenGL samples all seem to run fine.
How do I switch to the CPU device?
add "-device cpu" as parameter.
A little correction the option is --device cpu. You can type -h to view all other options.
I have the same problem. Running the SimpleGL sample fails in the same way (CL_INVALID_GL_OBJECT).
My system is Ubuntu 11.04, AMD aPP SDK 2.4, Catalyst 11.6 installed via the Ubuntu package generator, Radeon HD 6970.
I am encountering the same problem too.
Ubuntu 11.04, AMD APP SDK 2.4, same as above, with HD Radeon 5670.
"--device cpu" gives the same error - CL_INVALID_GL_OBJECT
Need help!
just idea run glxinfo | grep vendor
Output of "glxinfo | grep vendor"
server glx vendor string: ATI
client glx vendor string: ATI
OpenGL vendor string: ATI Technologies Inc.