Login  Register

Re: JSR 231 is using default MS driver, not card driver

Posted by Sven Gothel on Jul 04, 2011; 2:10am
URL: https://forum.jogamp.org/JSR-231-is-using-default-MS-driver-not-card-driver-tp3128722p3136302.html

On Monday, July 04, 2011 03:13:02 AM Wade Walker [via jogamp] wrote:
>
> Since the JOGL gears test runs, it's probably just using one of those
> non-hardware-accelerated surfaces that test.bat reported. So the question
> then would be "Why doesn't JOGL see any hardware-accelerated surfaces?"
>
> Sven, is there anything else we can do to figure this out? There may be more
> information in the debug version of the log that Kitfox posted, but I can't
> decipher the output

His debug output of test.bat says:

GLCaps[2 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2]]
..
GLCaps[6 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2]]
GLCaps[31 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 32/8/0, one, mono  , sw, GLProfile[GL2/GL2]]
..

WGLGLCapabilities.setValuesByGDI() determined GLCaps's getHardwareAccelerated() [ hw / sw ]
      setHardwareAccelerated((pfd.getDwFlags() & GDI.PFD_GENERIC_FORMAT) == 0
                          || (pfd.getDwFlags() & GDI.PFD_GENERIC_ACCELERATED) != 0);

 requested GLCaps[on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2]],
 chosen    GLCaps[2 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2]]]

so it worked out well.

Hence I would love to see your not working application using JOGL2
with the debug flags enabled.

Or have I missed this information .. i.e. have you already provided this info here ?

~Sven