GL exception on ATI multi screen configuration

Hi all, hi Ken

I get a GLException (Unable to set pixel format 3 for device context) in my app, apparently only on ATI video cards (tested on mobility radeon 9000), and in dual display mode (single display works fine).
Seems like a driver issue to me, but upgrading the drivers did not solve anything. I was also expecting that jogl beta 3 could make a difference, but the problem remains.

Do you concur it’s on ATI’s OpenGl side or is there a workaround I could try ? (I’ve tried some command line properties such as ati workaround etc)

PS : the exception —>

Exception in thread “AWT-EventQueue-0” javax.media.opengl.GLException:
Unable to set pixel format 3 for device context 0xffffffffde010cf1:
error code 0
at
com.sun.opengl.impl.windows.WindowsGLDrawable.choosePixelFormat(WindowsGLDrawable.java:281)
at
com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(WindowsOnscreenGLDrawable.java:197)
at
com.sun.opengl.impl.windows.WindowsOnscreenGLContext.makeCurrentImpl(WindowsOnscreenGLContext.java:58)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:87)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:117)
at
javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:239)

We haven’t done a lot of multi-screen testing due to a lack of hardware. Have you been able to try on another multi-screen setup using say NVidia hardware? If so, does it work?

My first inclination would be to file a bug with ATI. Having the Windows SetPixelFormat call fail with a zero error code looks bogus to me.

Sorry, I forgot to mention that it does work on Nvidia boards, in single and dual display…

And by the way, it don’t try to stretch my app on both displays. I use it on my primary one, it is just that my windows desktop spans over 2 displays.

Thanks for your time anyway.

Erwan

Thanks for the info. Please file a bug with ATI.