https://bugs.winehq.org/show_bug.cgi?id=50864
--- Comment #7 from bastian.beischer@rwth-aachen.de --- This bug is triggered by a new error (GLXBadFBConfig) which is emitted in Mesa 21 (maybe only in certain cases, specific HW, supported GL version, ...).
If you read https://gitlab.freedesktop.org/mesa/mesa/-/issues/3969 you will understand the details. The mesa developer suggested to wrap the call to
pglXCreateContextAttribsARB
in dlls/winex11.drv/opengl.c (create_context function)
in X11DRV_expect_error in order to turn the error into a warning. I think this is a fine solution. However, X11DRV_expect_error only works if a X server request is made, which does not happen in this case (see the mesa gitlab ticket).
In any case I don't think mesa developers will change anything so it should be fixed here.