I met an odd problem with creating multiple full screen windows (on multiple displays).
This works for me OK with single Nvidia card and multiple displays, it has also worked with two older Nvidia cards with old drivers (and old Windows?). But now it failed with two current generation Nvidia cards (3070) and latest Windows + Driver version. Tested with GLFW 3.3.2 and shortly with 3.3.3.
The error code I am receiving is:
GLFW(65543)(WGL: Failed to create OpenGL context)
The failure happens when creating the second full screen window. The two screens in question are connected to the same card. Some tests which placed the windows on screens from different graphics cards actually seemed to work. I did experiment with adding delay between creating windows, but that didn’t seem to help.
I am currently not able to really debug this issue, because I have only seen it on customer site, where I have been testing using remote access.
After searching other full-screen related threads on this site, I seem to have found some kind of solution for this problem. The program works if I first create normal windows on the target displays and then later change them to full screen mode.