GLWpfControl icon indicating copy to clipboard operation
GLWpfControl copied to clipboard

Failed to use opengl version 3.3+

Open lyfncf opened this issue 3 years ago • 6 comments

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

lyfncf avatar Dec 30 '22 02:12 lyfncf

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

sby-yuui-hashimoto avatar Feb 06 '23 08:02 sby-yuui-hashimoto

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?

NogginBops avatar Feb 06 '23 15:02 NogginBops

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/

sby-yuui-hashimoto avatar Feb 07 '23 00:02 sby-yuui-hashimoto

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

MikaelStalvik avatar Feb 19 '23 19:02 MikaelStalvik

I have the same issue running a Intel UHD.

mathew-odwyer avatar Mar 25 '23 05:03 mathew-odwyer

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

blair-ahlquist avatar Sep 01 '23 21:09 blair-ahlquist