cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

muogoro
Journeyman III

Problem debugging OpenGL applications on Fedora 18

I'm trying (without success) to use CodeXL to debug my OpenGL applications. I'm working on a Fedora 18 64bit installation, using 14.1 beta driver, APP SDK 2.9 and CodeXL 1.3. The driver is installed using the official installer. Outside the CodeXL debugging environment, everything works with no problem (even context sharing with OpenCL). Using the aforementioned debugging environment, I cannot manage to initialize a valid OpenGL context with version greater than 1.1. For instance, the provided teapot example works fine if launched standalone, but when run inside CodeXL it only shows an empty black window.

codexl_problem.png

Looking at the log file, it seems that the AMDTOSWrappers module does not manage to retrieve the functions pointer for a lot of OpenGL API functions:

##   [15:29:49]   [1392215389932]   [ERROR]   [140737326188992]   [osGetProcedureAddress]   [/data/jenkins/workspace/CodeXL-Full-Linux-Release-1.3/release/CodeXL/1.3/CommonProjects/AMDTOSWrappers/src/linux/osModule.cpp]   [187]   [Cannot retrieve function pointer: glMultiDrawElements]

##   [15:29:49]   [1392215389932]   [ERROR]   [140737326188992]   [initializeWrapperAddresses]   [Components/GpuDebugging/AMDTOpenGLServer/src/gsExtensionsManager.cpp]   [796]   [Could not find procedure address of functions glMultiDrawElements.]

##   [15:29:49]   [1392215389932]   [ERROR]   [140737326188992]   [osGetProcedureAddress]   [/data/jenkins/workspace/CodeXL-Full-Linux-Release-1.3/release/CodeXL/1.3/CommonProjects/AMDTOSWrappers/src/linux/osModule.cpp]   [187]   [Cannot retrieve function pointer: glShaderSource]

##   [15:29:49]   [1392215389932]   [ERROR]   [140737326188992]   [initializeWrapperAddresses]   [Components/GpuDebugging/AMDTOpenGLServer/src/gsExtensionsManager.cpp]   [796]   [Could not find procedure address of functions glShaderSource.]

.....

For further information, I've attached the complete log files.

Thanks for your help,

Daniele

0 Likes
0 Replies