Login  Register

Re: GDI.SwapBuffers is crashing after Windows Update

Posted by Sven Gothel on Sep 02, 2019; 6:32pm
URL: https://forum.jogamp.org/GDI-SwapBuffers-is-crashing-after-Windows-Update-tp4040010p4040018.html

Updated Windows machine.

Windows 10
- 1903 Update

NVidia GeForce GTX-460
- Driver 391.35
    - Display Server 23.21.13.9135
- Driver 388.13
    - Display Server 23.21.13.8813

I have tested 2 unit tests ad-hoc and no issues whatsoever

Platform: WINDOWS / Windows 10 10.0 (10.0.0), amd64 (X86_64, GENERIC_ABI), 6
cores, littleEndian true
MachineDataInfo: runtimeValidated true, 32Bit false, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    4 / 4
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 16 / 16
  pointer 8 / 8, page    4096
Platform: Java Version: 11.0.4 (11.0.4u0), VM: OpenJDK 64-Bit Server VM,
Runtime: OpenJDK Runtime Environment
Platform: Java Vendor: AdoptOpenJDK, https://adoptopenjdk.net/, JavaSE: true,
Java9: true, Java6: true, dynamicLib: true, AWT enabled: true

GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.6 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO,
hardware) - 4.6.0 NVIDIA 391.35 [GL 4.6.0, vendor 391.35.0 (NVIDIA 391.35)]
Quirks         [NoDoubleBufferedBitmap, NoSurfacelessCtx]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_RENDERER    GeForce GTX 460/PCIe/SSE2
GL_VERSION     4.6.0 NVIDIA 391.35
GLSL           true, has-compiler-func: true, version: 4.60 NVIDIA / 4.60.0
GL FBO: basic true, full true
GL_EXTENSIONS  325
GLX_EXTENSIONS 30

~Sven

On 9/2/19 3:19 PM, Sven Gothel [via jogamp] wrote:

> On 8/30/19 1:24 PM, gouessej [via jogamp] wrote:
>> Hello
>>
>> Actually, it crashes on this call but the problem is probably elsewhere in the
>> driver. Please provide much more information:
>> https://jogamp.org/wiki/index.php?title=Jogl_FAQ#Bugreports_.26_Testing
>
> I posted the my latest Windows unit tests, but indeed the machine wasn't
> updated to this Windows 10 update 1903 (May 2019).
>
> Doing this errand today, maybe you are "lucky" and I reproduce the issue :)
>
>>
>> What you're looking for is impossible, you must call swapBuffers(). Either use
>> another graphics card with a driver still working reliably with Microsoft
>> Windows 10 update 1903 or try to use another version of the current driver or
>> report this bug against the GPU designer (Nvidia, AMD, Intel, ...) or *use
>> another operating system with a working OpenGL driver for your current
>> hardware (any GNU Linux distribution)* or maybe use Mesa:
>> https://fdossena.com/?p=mesa/index.frag
>
> It is a PIA, Julien - yes.
> However, I have to say one good thing about the API stability.
> Our Windows regression tests on latest Java11 tip showed the least
> regressions. *duck and hide*
>
> Maybe Windows just wanted to catch up with the regression count,
> pre this Windows update we only had 4 unit failures :)
>
> More on Mesa3D hardware driver (in)stability later,
> I could only use the software driver.
>
> ~Sven
>
>