SFML community forums

Help => Graphics => Topic started by: Mad Engineer on January 11, 2014, 08:30:37 pm

Title: OpenGL error report in console window
Post by: Mad Engineer on January 11, 2014, 08:30:37 pm
So program works fine but i get this weird error message in console window, anyone knows what might be the problem. I never got this kind of error in 2.0 , but now in 2.1 i get it. There is screen shot i hope its big enough to read.

Also, when i set release build i get no error in console window, when debug build is set i get error as shown in screen shot.
Title: Re: OpenGL error report in console window
Post by: Nexus on January 12, 2014, 02:54:05 pm
Does it occur when closing the window? If so, replace window.close(); with return 0;.

Make also sure you're linking everything correctly and not mixing configurations (Release/Debug, compiler versions, ...)
Title: Re: OpenGL error report in console window
Post by: Mad Engineer on January 13, 2014, 06:26:35 pm
It occurs when i try to load texture with texture.LoadFromFile.

I don't know what it is, its driving me crazy i even reinstalled my computer i got everything fresh i linked all dll-s for debug with -d and for release without it. I get no errors in release mode but in debug i get them :S :S :S .

Title: Re: OpenGL error report in console window
Post by: BaneTrapper on January 13, 2014, 07:41:12 pm
Please do a test and tell us what is displayed.
Code: [Select]
sf::ContextSettings settings = Window.getSettings();
std::cout << settings.majorVersion << "." << settings.minorVersion << std::endl;
You may be upgrading old drivers, you need new drivers.
Title: Re: OpenGL error report in console window
Post by: Mad Engineer on January 13, 2014, 07:54:27 pm
Its says:

OpenGL version 1.1
Title: Re: OpenGL error report in console window
Post by: Mad Engineer on January 13, 2014, 08:13:27 pm
Just found out that my Radeon HD 4000 series is no longer supported and i cant find appropriate driver for windows 8.1 there is only driver for windows 8.0 and before. Guess i'll go back to Windows 7 and hopefully solve this.
Title: Re: OpenGL error report in console window
Post by: Nexus on January 13, 2014, 08:46:05 pm
The one for Windows 8.0 doesn't work? Are there such huge changes since then?
Title: Re: OpenGL error report in console window
Post by: BaneTrapper on January 13, 2014, 08:58:05 pm
The one for Windows 8.0 doesn't work? Are there such huge changes since then?
I believe the one for win8 is the one that has 1.1 OpenGL witch will produce error.
I was looking it up and the error that he experienced is no longer visible in +1.1 versions or to say it better it is caused with 1.1- versions.
Title: Re: OpenGL error report in console window
Post by: Mad Engineer on January 14, 2014, 08:03:08 am
Just finished installing Windows 7 and setting up all my stuff for SFML. And not only it is working now, but also i get like 1500 fps and before was only like 150 with few draw calls and unplayable with 10+ draw calls. So thank you all who replayed and make me realize that it was the driver problem :D
Title: AW: Re: OpenGL error report in console window
Post by: eXpl0it3r on January 14, 2014, 08:07:35 am
Just found out that my Radeon HD 4000 series is no longer supported and i cant find appropriate driver for windows 8.1 there is only driver for windows 8.0 and before. Guess i'll go back to Windows 7 and hopefully solve this.
Many drivers are not marked explicitly for Win 8.1 but the Win 7/8 will still flawlessly work on Win 8.1, similar as to how you can still play games that are "just" for Vista. ;)
But you already downgraded so... :D
Title: Re: OpenGL error report in console window
Post by: Mad Engineer on January 14, 2014, 08:16:46 am
Just found out that my Radeon HD 4000 series is no longer supported and i cant find appropriate driver for windows 8.1 there is only driver for windows 8.0 and before. Guess i'll go back to Windows 7 and hopefully solve this.
Many drivers are not marked explicitly for Win 8.1 but the Win 7/8 will still flawlessly work on Win 8.1, similar as to how you can still play games that are "just" for Vista. ;)
But you already downgraded so... :D

Trust me, i installed everything that i found on the interwebz but with no luck , sfml was still reporting that OpenGL 1.1 was in use :( .