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

Author Topic: The created OpenGL context does not fully meet the settings that were requested  (Read 2442 times)

0 Members and 1 Guest are viewing this topic.

NoxFly

  • Newbie
  • *
  • Posts: 5
  • JS & C++ dev / student
    • View Profile
    • Email
Hello,
I know there is a lot of topics with the same question, but I can't find something that can help me.

I'm on Win10, and I installed Debian from MS.
I installed make, cmake, gcc, (clang to test some things), SDL2, SFML (2.5.1), glm, OpenGL (freeglut etc...).

I clone this repo: https://github.com/Hopson97/MineCraft-One-Week-Challenge
with git ssh. Then I followed what's written in the README.md:
- sh scripts/build.sh release
- sh scripts/run.sh release

All is compiling, and when I execute, the program is saying to me to press Enter, ok, but when it must load the game (create window etc...) I get this:

Code: [Select]
============Press enter to begin ============

Loading game...
Failed to enable udev monitor, joystick connections and disconnections won't be notified: -22
Warning: The created OpenGL context does not fully meet the settings that were requested
Requested: version = 3.3 ; depth bits = 24 ; stencil bits = 8 ; AA level = 0 ; core = false ; debug = false ; sRGB = false
Created: version = 0.0 ; depth bits = 24 ; stencil bits = 8 ; AA level = 0 ; core = false ; debug = false ; sRGB = false
Setting vertical sync failed
Segmentation fault (core dumped)

What must I do ?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
I'm on Win10, and I installed Debian from MS.
Do you mean, you're using the subsystem (WSL)?
No idea if this supports proper GPU access and it's also not really a setup that SFML supports.

The error basically indicates, that you don't have a proper GPU driver installed.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

NoxFly

  • Newbie
  • *
  • Posts: 5
  • JS & C++ dev / student
    • View Profile
    • Email
Ok thanks, now I undertand (yes it's WSL). Is there a way to resolve it ?

 

anything