Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to use opengl version 3.3+ #100

Open
lyfncf opened this issue Dec 30, 2022 · 6 comments
Open

Failed to use opengl version 3.3+ #100

lyfncf opened this issue Dec 30, 2022 · 6 comments
Labels
4.0 bug Something isn't working

Comments

@lyfncf
Copy link

lyfncf commented Dec 30, 2022

The glwpfcontrol showed nothing when I set the opengl version of GLWpfControlSettings as 3.3 or plus on my computer. In fact, the same program worked on another computer. I am sure the computer support opengl 4.6 and the learningopengl examples works on it when using opengl 4.6. It is strange that even though I set the opengl version as major version = 1 and minor version = 1, the advanced opengl api still worked. what's more, the program showed something that I expected when I used "GL.Finished()" after the rendering code. So what happened when I changed the major version and minior version of GLWpfControlSettings?

  1. displayed nothing but worked on another computer
    image
  2. worked
    image
  3. worked
    image
  4. worked but strange
    image
@sby-yuui-hashimoto
Copy link

sby-yuui-hashimoto commented Feb 6, 2023

i am also facing the same issue. Even though the OpenGL version on my computer is 4.6, I set the major version to 4 and the minor version to 6, and when I use the "GL Finish" command, it doesn't render

@NogginBops
Copy link
Member

What GPU are you using @lyfncf and @london0225 ? And what driver version?
Can you guys make sure that you have the wgl_nv_dx_interop2 available in your driver?

@sby-yuui-hashimoto
Copy link

Thank you for answering.
The GPU uses Intel(R) UHD Graphics 770. The driver version is 30.0.101.2079, so wgl_nv_dx_interop2 should be available.
You can check it on the following page.
https://www.geeks3d.com/20190118/intel-graphics-driver-25-20-100-6519-released-vulkan-1-1-95-and-new-opengl-extensions-added/

@MikaelStalvik
Copy link

I also face the same problem. I cannot set version to more than 3.1.
I have some C++ code using GLFW that can properly use OpenGL4.6.
Renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2

@softwareantics
Copy link
Contributor

I have the same issue running a Intel UHD.

@blair-ahlquist
Copy link

Same issue with Intel(R) Iris(R) Xe Graphics. I can run OpenGL 4.6 (and other versions) if I call GL.Finish().

@NogginBops NogginBops added bug Something isn't working 4.0 labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants