PDA

View Full Version : video card affinity


andreionutz
09-01-2015, 04:40 AM
Hi,
i have following problem: i am using a computer that has an external ATI graphic card and a onboard/i5 one. i have one monitor connected to each graphic card.
- if i have the monitor connected on the i5 as main monitor, Vizard will always run on the onboard graphic card, regardless of the position of the visualization/Vizard window -> low frame rate.
- if i have the monitor connected external graphic card as the main display and try to start visualization on the other monitor it will just crash.

is is possible to set the graphic card where the winviz should run? i'm not interested in running it on multiple graphic cards, just on the right one. something like affinity?

thank you,
andrei

andreionutz
09-08-2015, 10:33 AM
I'm not an OpenGL expert, but after some research i think that I found a potential solution for my use case: wgl_gpu_association (https://www.opengl.org/registry/specs/AMD/wgl_gpu_association.txt). or am i wrong?
Is there a way to tell Vizard to call this function before initializing the graphic context?