X Error of failed request: GLXBadFBConfig

Solution 1:

export MESA_GL_VERSION_OVERRIDE=4.5

fixed this bug for me. It's mentioned in https://bugs.winehq.org/show_bug.cgi?id=50859

Solution 2:

I found this https://bugs.winehq.org/show_bug.cgi?id=50859 - it works for me. Seems to be a bug in "mesa" that has not been fixed for a while.