after i had to learn that intel-drivers might produce problems, i’ve now a new notebook with intel 630 (on-bord) and nvidia gtx1060.
After installing the latest (as i hope) versions of MingW and the libraries i use for my application (wxWidgets 3.1.2 and basic-OpenGL-libraries) and after removing some bugs detected by the new libraries, my application compiles and renders. There are still bugs in, but output is there.
Hardware: Razer RZ06 14" UHD, i7-7700HQ, Intel HD Graphics 630, NVIDIA GeForce GTX 1060
System: Win10, CodeBlocks 17.12, MingW32 8.2.0, freeglut 3.0, glfw 3.2.1, wxWidgets 3.1.2
My application needs at leat two displays. One - mostly the main-desktop is used to control and to preview the output on the others. The output is rendered on wxGLCanvas-controls (a window, only to render on). Starting the program, the UI appears on the main display and the output on the second - if there is one.
Unfortunately after starting the rendering-process, there are several issues occuring, that seem to be driver-problems:
- The output-window (2nd display) stays blank but the previews on the UI are work.
- Moving the output-window so that more then 50% of it are on the main -display, it starts working, when moving ends.
- If i move the UI-window to the second display before starting the rendering-process, nothing works unless minimize and restore the UI-window.
- After doing this, both windows work, as long they are not moved.
Concerning the drivers i found out, that the second external display uses the nvisia GPU, while the main-display uses the on-board-intel (even if the external monitor is smaller). I can configure the prefered GPU for OpenGL-rendering in the nvidia-driver, but this does not semm to make a difference (but in fact, there are - multiplied the upper four - existing so many combinations, that i did not test all of them).
As my program runs stable so far, this this seems to be a problem in how the GPUs (probably the drivers) work together.
I wonder if someone has more experience is programming OpenGL on a 2-GPU-Notebook then me and who maybe can help me to run my application on the nvidia?
Thanks for taking tim to read this…