A GTX 980Ti is a Maxwell board which is supported by OptiX 6.0.0.
You need at least 418.81 to support OptiX 6.0.0 under Windows 10.
The error “WGL: The driver does not appear to support OpenGL” should not happen if you run on a local system with a properly installed NVIDIA display driver.
Do you connect via remote desktop?
That won’t support hardware OpenGL on a GeForce board. Run the executable locally on the system or use VNC.
Mind that the OptiX Advanced Samples are written against OptiX 5.1.0 and do not use the GeometryTriangles added in OptiX 6.0.0 to make use of the hardware triangle intersection of the RT cores on RTX boards.
Means once they run on your GTX 2080Ti, they could get even faster after some changes.
Thanks for the reply!
I’m using 418.96 and CUDA 10.0, on my Windows 10. No I’m not connecting via remote desktop…
So the thing is I use a 980Ti at home, so I haven’t tested on my working desktop with 2080Ti but I think that shouldn’t make a difference since Optix support Maxwell architecture.
EDIT
I just found my OpenGL version dropped to 1.1, and I think this is the reason. I suppose this is caused by my reinstalling the driver…
My concerns are:
When I generate solution files using CMake, some of the entries related with GLFW and CUDA seems to be not checked and I don’t know if that is important. Here’s a screenshot
I installed different versions of display driver and CUDA many times before, due to other applications, and I don’t know if this would cause some problems.
Since your main problem is that GLFW can’t initialize OpenGL on your system, OptiX isn’t even involved at that point.
If you say OpenGL and GLFW applications are otherwise running fine on your system, have you used the same GLFW version for the OptiX examples?
Can you build the everything including GLFW as debug version and simply step into glfwInit() to see what exactly it complains about and then repeat the same thing in another GLFW program?
It’s straightforward to remove any OptiX usage from the first of my OptiX Introduction samples and make it an empty GLFW shell with just init and terminate calls.
Just comment out everything from g_app = new Application(); to delete g_app;
If that doesn’t work then I don’t know. You’re either not using the correct GLFW 64-bit libraries or have a screwed up system installation.
I’m unable to reproduce such OpenGL error on my system and don’t know why that could happen on yours. I’m currently running 419.17 display drivers on a Quadro RTX 6000 though.
Maybe try to deinstall your current display driver via “Add or Remove Programs”, reboot, then install the 419.17 by using the “Custom” path in the NVIDIA installer and select “Clean Install”. (That’s what I’m always doing.)