How to set up multiple GPUs (12.04)?
Solution 1
Unfortunately the correct answer doesn't solve your problem.
Currently X.org is not able to split graphics to two different video cards. A long time ago there used to be a way to do this using Xinerama, however only the proprietary drivers still support Xinerama. IOW, you can't do this if one of the GPUs is Intel Graphics.
Now, you can get this to work if you use two NVIDIA cards using -nvidia and Xinerama (or perhaps TwinView). And maybe two AMD cards using -fglrx.
However, my recommendation would be to buy a new NVIDIA card that has two outputs on it, and connect your two monitors to that. Then you can run either -nvidia or -nouveau and it should give good performance and be stable.
Of course, it would be nice if the configuration you're attempting worked. There are some efforts upstream to rearchitect X to allow it, but this is still in the development stages and may be a year or two. But if you are looking for something to spend some time on as a hobby and aren't afraid of breaking your system, you could experiment with the upstream codebases and supply them with feedback.
Solution 2
You have two options to set the displays:
- From the Nvidia settings
- From the system
1. Open NVIDIA X Server Settings, then this allows you to configure both monitors.
Here you can configure the screens step by step.
2. Go to System --> Preferences --> Display then you will see something like this:
NOTE: If you see only one monitor then click on Detect Monitor
which should detect all the monitors connected to the system.
Any problems that you have can be solved changing the resolution of the monitor to be compatible.
Related videos on Youtube
Brother Erryn
Updated on September 18, 2022Comments
-
Brother Erryn over 1 year
I have two GPUs: one Intel i915 integrated, and one NVIDIA 560 Ti. This is NOT a hybrid setup, nor a laptop. In Windows 7, each card is connected to a different monitor, with the NVIDIA doing any "heavy lifting". For the life of me I cannot get Ubuntu to recognize the i915, but when logging off or rebooting, the shutdown actually appears on the i915. lshw lists both. I'm running the "current" NVIDIA drivers (not the experimental), but Displays calls its monitor a "Laptop".
Is this even possible under Ubuntu? The only things that even looked like potential solutions were for laptop hybrid setups and used Bumblebee, but that doesn't seem to apply here.
-
illya almost 12 yearsYou can also try to kick it old-school and use Xinerama. Here's a howto: tldp.org/HOWTO/Xinerama-HOWTO/index.html
-
-
Lucio almost 12 yearsRun NVIDIA X settings and go to X Server Configuration, click on Detect Displays. Then you should see both displays. If it not work try unplugging and plugging again the monitor.
-
Brother Erryn almost 12 yearsIt does not detect the second monitor. Is it expected to detect the second monitor plugged into the second (i915) GPU as I described?
-
Bryce almost 12 yearsNo, the OP is asking how to set up two cards not two monitors. The above advice is correct but not answering the right question.
-
Lucio about 11 years@Bryce You're right. I'll leave the answer, because it could be useful for someone else..