View Full Version : 2x GPUs on Linux
11-03-2010, 02:06 AM
I have a machine with 2 GPUs. How do I choose which GPU to
create my GL context on? What kind of X server config do I
How do I choose which GPU to
create my GL context on?
Using the right display string
What kind of X server config do I
XOrg works find. Don't enable Xinerama.
More info: http://www.equalizergraphics.com/documentation/parallelOpenGLFAQ.html#multigpu
11-03-2010, 05:58 AM
I have a machine with 2 GPUs. How do I choose which GPU to create my GL context on? What kind of X server config do I need? Thanks!
It's going to depend on your vendor and how you want the two GPUs to behave. There are several options, at least on NVidia. The traditional way is to just set them up so each GPU has its own screen. If NVidia, just run this once you get their driver's installed:
For more details, search for multi-gpu and multiple gpus in:
Then in your app, just create create your X connection (XOpenDisplay) to :0.0 or :0.1, depending on which GPU you want.
11-03-2010, 07:45 AM
Thanks for the great help, guys!
It's really useful to me and now
I know where to look/start.
11-03-2010, 07:47 AM
And for those who are in similiar situations, here's something
I found that shows the utilisation % of both the GPUs:
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.