Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: OpenGL error report in console window  (Read 4821 times)

0 Members and 2 Guests are viewing this topic.

Mad Engineer

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
OpenGL error report in console window
« 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.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: OpenGL error report in console window
« Reply #1 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, ...)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Mad Engineer

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Re: OpenGL error report in console window
« Reply #2 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 .


BaneTrapper

  • Full Member
  • ***
  • Posts: 213
  • Do you even see this, i dont need it.
    • View Profile
    • Email
Re: OpenGL error report in console window
« Reply #3 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.
BaneTrapperDev@hotmail.com Programing, Coding
Projects: Not in development(unfinished/playable):
http://en.sfml-dev.org/forums/index.php?topic=11073.msg76266#msg76266
UP and in Development: The Wanderer - Lost in time
http://en.sfml-dev.org/forums/index.php?topic=14563.0

Mad Engineer

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Re: OpenGL error report in console window
« Reply #4 on: January 13, 2014, 07:54:27 pm »
Its says:

OpenGL version 1.1

Mad Engineer

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Re: OpenGL error report in console window
« Reply #5 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.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: OpenGL error report in console window
« Reply #6 on: January 13, 2014, 08:46:05 pm »
The one for Windows 8.0 doesn't work? Are there such huge changes since then?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

BaneTrapper

  • Full Member
  • ***
  • Posts: 213
  • Do you even see this, i dont need it.
    • View Profile
    • Email
Re: OpenGL error report in console window
« Reply #7 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.
BaneTrapperDev@hotmail.com Programing, Coding
Projects: Not in development(unfinished/playable):
http://en.sfml-dev.org/forums/index.php?topic=11073.msg76266#msg76266
UP and in Development: The Wanderer - Lost in time
http://en.sfml-dev.org/forums/index.php?topic=14563.0

Mad Engineer

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Re: OpenGL error report in console window
« Reply #8 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

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
AW: Re: OpenGL error report in console window
« Reply #9 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
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Mad Engineer

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Re: OpenGL error report in console window
« Reply #10 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 :( .