SFML community forums
Help => Window => Topic started by: fnoord on March 14, 2012, 11:40:15 pm
-
Hey,
I am trying to use SFML (latest 2.0 snapshot) on Gentoo Linux.
As I have to use the nvidia binary driver I can not use XRandR.
(xrandr just stats: RandR extension missing).
Now when I try to run sf::RenderWindow App(sf::VideoMode(100, 100), "window") I get the error
"Failed to use the XRandR extension while trying to get the desktop video modes"
printed to my stderr (twice). The window just flickers once and the application terminates immediately.
Any idea why this is happening? As many people still can not use XRandR (binary drivers from nvidia) I guess this is not the only thing going wrong.
There currently is only one monitor connected, so nothing too fancy...
-
As I have to use the nvidia binary driver I can not use XRandR
Why?
Sorry to ask such a stupid question, but have you installed xrandr?
-
XRandR (xrandr and libXrandr) is installed, but there is no or only insufficient support for it by the nvidia binary driver, so the module is not loaded/extension is turned off.
-
Seems that just turning on XRandR and disabling Xinerama which was loaded for some unknown reason in xorg.conf does fix the problem for me.