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

Author Topic: "Failed to retrieve pixel format information" console message  (Read 6752 times)

0 Members and 1 Guest are viewing this topic.

Paul

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
After update to actual Radeon drivers (21.4.1) I have this message when running any SFML program with console.

It's also described by someone on Reddit https://www.reddit.com/r/sfml/comments/lowcus/error_message_on_window_creation/

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11038
    • View Profile
    • development blog
    • Email
Re: "Failed to retrieve pixel format information" console message
« Reply #1 on: May 04, 2021, 09:44:34 am »
This has already been fixed on the master branch.

Build SFML from source of grab a snapshot build
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Paul

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: "Failed to retrieve pixel format information" console message
« Reply #2 on: May 04, 2021, 10:58:21 pm »
Ok, thanks.

Zombieschannel

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: "Failed to retrieve pixel format information" console message
« Reply #3 on: July 27, 2022, 11:46:47 pm »
I had some similar issues in my program recently with some AMD specific GPUs where it said "Failed to retrieve pixel formation information" in the console.
Then I saw this post.
Since the new SFML 2.6 has been changed in many ways (things like removal of quads and removal of sf::Thread), I decided to build SFML with the fix.
And well, after testing, the pop up in the console did go away, however, sadly, textures are still broken as before.
It may be like 2 different problems (one of them being the textures broken and the other one message in the console), but I have no idea.

Here is an image:
https://cdn.discordapp.com/attachments/858417400918835230/1001966924017709106/unknown.png

(hopefully you can see it, this is my first time uploading images to this forum)

AMD tested GPUs:
HD 5770 - works, no problems
RX 550 - doesn't work
Also it seems to not work on AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx

I guess it is because of drivers? Maybe?

Zombieschannel

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: "Failed to retrieve pixel format information" console message
« Reply #4 on: September 13, 2022, 10:06:16 pm »
Fixed the issue (still not sure what it was) by updating to unreleased SFML 2.6. I guess it has been fixed at some point during the development of 2.6  :)

PS: I also figured out that I was probably on the master branch so I thought that many things changed, but when in reality almost nothing was changed. Feel like an idiot now lol
« Last Edit: September 13, 2022, 10:09:00 pm by Zombieschannel »

 

anything