SFML community forums

Help => Graphics => Topic started by: R0mai on August 08, 2012, 10:34:05 pm

Title: "no valid domains remain!" output on stderr when using sf::RenderTexture
Post by: R0mai on August 08, 2012, 10:34:05 pm

Hi guys!

I've run into a mysterious problem.
Compiling this following code under linux, with gcc 4.6.3 using SFML 2.0 produces strange output to stderr and doesn't draw the texture:

Code:
#include <SFML/Graphics.hpp>

int main() {
   sf::RenderWindow window(sf::VideoMode(800,600,32), "test");

   sf::RenderTexture texture;

   texture.create(40, 50);
   texture.clear(sf::Color::Blue);

   texture.display();
   window.draw(sf::Sprite(texture.getTexture()));

}


Output (on stderr):
no valid domains remain!
no valid domains remain!
no valid domains remain!


What makes it hard to track down where the output comes from is that if I comment out any of the lines :
the strange output disappears.

Compiling this on windows works as expected.

Does anyone has any idea where do I start to look for the solution?

If you need any more info about my environment, let me know.

Thanks,
R0mai
Title: Re: "no valid domains remain!" output on stderr when using sf::RenderTexture
Post by: Laurent on August 08, 2012, 10:40:40 pm
You can try another graphics driver.
Title: Re: "no valid domains remain!" output on stderr when using sf::RenderTexture
Post by: R0mai on August 11, 2012, 05:04:52 pm
I replaced the nouveau driver with new NVIDIA driver, and now everything is good.

Thanks :)