AnsweredAssumed Answered

Ubuntu 12.04 AMD Radeon HD 6970 Catalyst 12.6 APP SDK 2.7 OpenCL cl_khr_gl_sharing issue: Error: clCreateFromGLBuffer failed. (posBuf) Error code : CL_INVALID_GL_OBJECT

Question asked by bodigital on Jun 29, 2012
Latest reply on Jun 30, 2012 by nou

/opt/AMDAPP/samples/opencl/cl/app/SimpleGL$ build/debug/x86_64/SimpleGL

Platform 0 : Advanced Micro Devices, Inc.

Platform found : Advanced Micro Devices, Inc.

 

Selected Platform Vendor : Advanced Micro Devices, Inc.

Device 0 : Cayman Device ID is 0xd6d000

Number of displays 1

glXCreateContextAttribsARB 0x7f058c0cdc80

Number of interoperable devices 1

Interop Device ID is 0xd6d000

Error: clCreateFromGLBuffer failed. (posBuf) Error code : CL_INVALID_GL_OBJECT

Location : SimpleGL.cpp:738

 

/opt/AMDAPP/samples/opencl/cl/app/SimpleGL$ fglrxinfo

display:   screen: 0

OpenGL vendor string: Advanced Micro Devices, Inc.

OpenGL renderer string: AMD Radeon HD 6900 Series

OpenGL version string: 4.2.11733 Compatibility Profile Context

 

Catalyst control center driver information:

Catalyst™ Version 12.6

Driver Packaging Version 8.98-120611a-141410C-ATI

2D Driver Version 8.98.2

Catalyst™ Control Center Version 2.15

RandR Version 1.3

 

/opt/AMDAPP/samples/opencl/cl/app/SimpleGL$ uname -a

Linux hilbert 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

 

Any ideas on how to resolve the problem with the cl_khr_gl_sharing extension in the SimpleGL sample application?

 

Thanks!

Outcomes