Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.10.1, 5.11.1
Description
When creating a OpenGL based surface in a system with multple GPUs it will use the GPU attached to the primary screen when creating the QOpenGLContext attached to the surface. Even if it is set to use the other screen via QOpenGLContext::setScreen().
This ends up creating an OpenGL context that might not be valid for the one GPU being used to actually render the surface as a result. If it is created for the right screen first then it is working fine.
Attachments
Issue Links
- relates to
-
QTBUG-50371 Windows: OpenGL crash on start on Intel + AMD GPU (Multi-adapter) systems
-
- Closed
-
-
QTBUG-64303 Add WGL_NV_gpu_affinity to QOpenGLExtension
-
- Closed
-