cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

FocusStealer
Journeyman III

OpenGL 1.x and 2.x support in GPU PerfStudio

I see GPU PerfStudio 2.2 "Supports DX11, DX10.1, DX10 and OpenGL 3.0 applications"

Does it support OpenGL 1.x and 2.x as well?

 

0 Likes
4 Replies
plohrmann
Staff

GPU PerfStudio should support OpenGL 1.x and 2.x features, however it relies on functionality added in later version of OpenGL. Therefore, the driver will need to have support for certain OpenGL 3.0 features (or comparable extensions) and the OpenGL context that you create may need to be at least 2.1.

Please let us know if you find that something does not work.

0 Likes

Thanks for the info.

The version I'm getting with GL_VERSION is 2.1.8787.

However, when I execute these steps:

  1. Start GPUPerfClient.exe
  2. Click Connect
  3. Choose my app's .exe in the Server Connection dialog, then click Connect.

what happens is:

  1. GPUPerfServer starts
  2. My app starts (appears to be working fine)
  3. GPUPerfServer starts logging:

Message: Server    :    1: 127.0.0.1  - /Process.xml
Message: Server    :    2: 127.0.0.1  - /Process.xml
Message: Server    :    3: 127.0.0.1  - /Process.xml
Message: Server    :    4: 127.0.0.1  - /Process.xml

...

Message: Server    :   88: 127.0.0.1  - /Process.xml

then terminates, closing my app as well.

 

An Error dialog pops up with the message:

"Unable to attach to the current application. Please make sure it is using a supported graphics API."

This is on a HD4870 on Vista 32-bit with Catalyst 9.7.

 

Appreciate any help

0 Likes

Are you using GLUT?

We currently cannot recognize the call to glutSwapBuffers() or GLUT's call to the actual SwapBuffers function. This prevents us from recognizing that the application is actually using OpenGL. We have this captured a bug and hope to address it soon.

If you are not using GLUT, then please let me know how you are creating your OpenGL context.

0 Likes

Nope, I'm not using GLUT, but your answer pointed me in the right direction!

I was using

  wglSwapLayerBuffers(hDC, WGL_SWAP_MAIN_PLANE);

to swap, but after switching to

  ::SwapBuffers(hDC);

PerfStudio can detect my app.

 

Thanks for the aid!

0 Likes