LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   Trouble configuring 3 monitors (2 graphics cards) (http://www.linuxquestions.org/questions/showthread.php?t=4175496614)

frrad 02-28-2014 08:39 PM

Trouble configuring 3 monitors (2 graphics cards)
 
Hello! This is my first post to these forums, so please correct me if Iíve posted in the wrong section.

Iíve been running two monitors on my Debian (testing) computer with itís integrated (intel) graphics for some times. I recently got it into my head to add a third monitor. I bought a graphics card (nvidia geforce) and another monitor. Iíve been really struggling with setup though.

After a bit of initial frustration I had a breakthrough when I read that xrandr doesnít support multiple graphics cards. I switched to trying to use xinerama, but still havenít quite licked it. I had two of the monitors connected to my nvidia card, and the third connected to the integrated intel, but it didnít allow me to rotate (either of) the nvidia monitors.

Since I only want to rotate two of my monitors I figured I could solve this by connecting two to the intel card and rotating them, leaving the one connected to the nvidia unrotated. Unfortunately, when I tried this, though I was able to rotate the montors like I wanted, they are now mirroring one another, and nothing I do seems to be able to change this.

Any help you can give me would be greatly appreciated.

Here is the contents of my /var/log/Xorg.0.log
http://pastebin.com/6AAb82WU

Here is /etc/X11/xorg.conf
http://pastebin.com/NGg5D6n1

This is the output of lspci
http://pastebin.com/c2yxnEZ2

Please tell me if I can provide anything else that would be helpful

lleb 03-02-2014 12:36 PM

if you are using the gnomeshell, you are basically fubar unless you run it in classic mode, then you MIGHT be able to get a 3rd monitor up and running. try some of the GUI shells out there. Ive not used KDE in a very long time so I have no clue how easy it is to get a 3rd monitor up and running on it again. It used to be rather simple back in the day.

frrad 03-02-2014 03:00 PM

I discovered the gnome thing, and decided that now is as good a time as any to make the switch to i3 that I've been planning. i3 seems to have no trouble with my monitors, aside from the cloning thing I mention. Maybe I'm being too optimistic, but I feel like if I tweak my xorg.conf in just the right way everything will be fine. I've been experimenting for a while though and no luck.

frrad 03-10-2014 01:55 PM

Okay, I figured out how to do this. Posting here for posterity. I went back to 2 monitors on the nvidia card, and one on the intel. Then, the trick was rotating one of the nvidia monitors requires the use of nvidia specific "metamode"

Quote:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 1080 840
Screen 2 "Screen2" 3000 0
Option "Xinerama" "1"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection

Section "Monitor"
Identifier "skinny"
VendorName "Acer"
ModelName "S230HL"
EndSection

Section "Monitor"
Identifier "mid"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Monitor"
Identifier "HDMI1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "Rotate" "right"
EndSection


################
####DEVICE######
################

Section "Device"
Identifier "GeForce1"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "GeForce2"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Device"
Identifier "Sandybridge"
Driver "intel"
BusID "PCI:0:2:0"
EndSection


###############
###SCREEN######
###############

Section "Screen"
Identifier "Screen0"
Device "GeForce1"
Monitor "skinny"
Option "metamodes" "DFP-1: nvidia-auto-select +0+0 {rotation=90}"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "GeForce2"
Monitor "mid"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Sandybridge"
Monitor "HDMI1"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


All times are GMT -5. The time now is 05:20 AM.