Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.0, 6.5.3, 6.8.3, 6.9.0
-
None
-
NVIDIA graphics card with latest drivers (572.xx) required
Description
The issue can be reproduced with a simple QOpenGLWidget-based app (see the attached main.cpp file).
In the example, the GL_DEPTH_WRITEMASK mask is queried in every paint event. Starting with Qt 6.4.0, the value of the mask unexpectedly switches from GL_TRUE (initial value in OpenGL) to GL_FALSE.
Qt 6.3.2 and older versions are not affected.
If main.cpp is compiled and the program executed, the following output is reported to the terminal:
Qt 6.3.2 (and older) |
---|
GOOD! GOOD! GOOD! |
Qt 6.4.0 (and newer) |
GOOD! GOOD! GL state went bad! |
The issue manifests with the latest NVIDIA drivers (e.g. 572.60), but it does not with older versions (e.g. 560.76).