Hello,
I just switched from the open source
nouveau drivers to nVidia's official
nvidia drivers. I tried launching an SFML app, and I get this:
Failed to use the XRandR extension while trying to get the desktop video modes
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 151 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x1c00001
Serial number of failed request: 48
Current serial number in output stream: 48
The reason for this is clear;
XRandR is failing. It's failing because I use the
nvidia driver, which disables
XRandR in favor of the more flexible
Xinerama, since I have a rather complicated GPU/display setup.
I understand the fix: "Use the open-source drivers!!!" This, I might consider, but not everyone will. I can't just tell all of my Linux users "Oh yeah, if you happen to use the faster, more complete nvidia drivers, you can't run my software!". I don't think anyone wants to do that.
I'd make this a feature request, but for now I want to know if there's a workaround, or if it's something that needs to be fixed.