LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   dual monitors on dual vido cards (http://www.linuxquestions.org/questions/linux-hardware-18/dual-monitors-on-dual-vido-cards-130080/)

Spaz17 12-30-2003 11:32 AM

dual monitors on dual vido cards
 
trying to set up a dual monitor setup with two identical envision monitors, a geforce3, and some form of the voodo banshee
ive done it in windows (dual boot) and it works fine there
but i have absolutely no idea where to start to get it to work with linux
btw:
im runnin rh9 now
within a few days after i get this working, im going to give this box a much needed format and put on gentoo

help?

robbage 12-30-2003 10:14 PM

Now would be a good time to 'man XF86Config'

You will need to edit XF86Config. Specificall you need to enter another section for each of monitor, device and screen then in serverlayout use 'screen' to lay out the monitors, and the Xinerama option to enable the whole kit.

You will need to know the details of your secondary card as well. I googled 'xinerama' to get the info I needed to get mine working.

Here's what the relevant sections of my config look like.

#Start of stuff
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
Option "Xinerama" "True"
#blaah blaah details for kb, mouse etc
EndSection

Section "Monitor"
Identifier "Monitor0"
#blaah blaah details for 1st monitor
EndSection

Section "Monitor"
Identifier "Monitor1"
#blaah blaah details for 2nd monitor
EndSection

Section "Device"
Identifier "Card0"
Screen 0
#blaah blaah details for 1st VGA
EndSection

Section "Device"
Identifier "Card1"
Screen 1
#blaah blaah details for 2nd VGA
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
#blaah blaah details for 1st screen
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
#blaah blaah details for 2nd screen
EndSection

#End of stuff

Hope that gives you something to get you going. There's plenty of help available if you have any specific problems.

Spaz17 01-02-2004 02:35 PM

well i found a good manual
http://www.tldp.org/HOWTO/Xinerama-HOWTO/

and im to the point where i have to scan my pci bus
Code:

root#> XFree86 -scanpci
the program finishes, but i get no output
i did this in init 3

ideas?

Spaz17 01-02-2004 04:28 PM

well i just booted with knoppix to try this in another os, just in case i did somethin to this one

it doesnt create any output with knoppix either

help??

susumo 04-17-2006 08:53 AM

not trivial to get dual monitor on dual video
 
Here is a puzzler for the Linux Questions community.

I am using Mandriva 2006.0 with two nvidia 6600LEs running in non-sli mode and the closed source "nv" drivers. The following xorg.conf does not work when I invoke startx just after logging in the first time! However, if I use a config file for single display first, exit, and restart with the below xorg.conf, everything works great. The error log isn't very useful in diagnosing the problem.

Do you see anything that needs fixing?

Thanks for your help!
-susumo

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1280x1024"
HorizSync 31.5-67
VertRefresh 50-75
ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630
ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
Identifier "monitor2"
VendorName "Generic"
ModelName "Flat Panel 1280x1024"
HorizSync 31.5-67
VertRefresh 50-75
ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630
ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
BoardName "NVIDIA GeForce 256 (generic)"
Driver "nv"
Screen 0
Option "DPMS"
EndSection

Section "Device"
Identifier "device2"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce 256 (generic)"
Driver "nv"
Screen 0
BusID "PCI:130:0:0"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection

Section "Screen"
Identifier "screen2"
Device "device2"
Monitor "monitor2"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
Screen "screen2" RightOf "screen1"
Option "Xinerama"
EndSection

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)

# allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
Option "allowmouseopenfail"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

susumo 05-03-2006 09:12 AM

update - going from bad to worse
 
Sorry for the delay in reposting to this thread. I was trying to fix the xorg.conf and update to the x86_64-1.0-8756 driver version.

The driver update seemed to break xorg when used with nvidia drivers (nv works fine, but not in dual head anymore) and rolling back the nvidia driver to the previous version doesn't seem to help.

Xorg -scanpci picks up both 6600 LE cards

The last messages for the backtrace in the Xorg.0.log files are
(II) Loading /usr/X11R6/lib64/modules/extensions/libglx.so

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Backtrace:
0: Xorg(xf86SigHandler+0x8e) [0x44977e]
1: /lib64/tls/libc.so.6 [0x2aaaab373b60]
2: /lib64/ld-linux-x86-64.so.2 [0x2aaaaaab38f5]
3: /lib64/tls/libc.so.6 [0x2aaaab43fdf7]
4: /lib64/ld-linux-x86-64.so.2 [0x2aaaaaab5f51]
5: /lib64/tls/libc.so.6(_dl_open+0xab) [0x2aaaab44029b]
6: /lib64/libdl.so.2 [0x2aaaab03a0d5]
7: /lib64/ld-linux-x86-64.so.2 [0x2aaaaaab5f51]
8: /lib64/libdl.so.2 [0x2aaaab03a62a]
9: /lib64/libdl.so.2(dlopen+0x32) [0x2aaaab03a112]
10: Xorg(DLLoadModule+0x43) [0x46f2d3]
11: Xorg(LoaderOpen+0x150) [0x46a300]
12: Xorg(LoadModule+0x584) [0x46bdf4]
13: Xorg(xf86LoadModules+0x79) [0x431bc9]
14: Xorg(InitOutput+0x304) [0x431f24]
15: Xorg(main+0x23f) [0x496bdf]
16: /lib64/tls/libc.so.6(__libc_start_main+0xda) [0x2aaaab3614fa]
17: Xorg [0x430d9a]

Fatal server error:
Caught signal 11. Server aborting

In case I didn't say it before, the hardware is
Two generic 17" LCD 1240x1024, one on DVI, one on VGA
On separate PCI-X 6600 LE
Motherboard is populated with nvidia chipsets (Foxconn NFPIK8AA)
Mandriva 2006.0

Thanks!
susumo

Theta13579 05-03-2006 01:59 PM

sorry if i wasnt clear.

What I would like to know is when you have the two monitors set up are you able to view two diffrent software-desktops?

clarify: 1-user 1-login:
log into kde with desktops 1 to 4 on menu-bar could this set up allow you to place monitor-1 on desktop-1 and monitor-2 on desktop-2?
if you place desktop-1 on monitor-[1&2] would it show identical-twin-images on each monitor?


-------------------------------------------------------------------
2-users 2-logins 2-input 2-output 1-comp+1cpu.
My goal is to have in the case of a desk top, use simaltanious use of primary and secondarry, monitors, mouse and keyboards, at two login prompts, two X-sessions using one desktop or laptop.
(I found info on who was working on this 3 hours after inital post.)

susumo 05-04-2006 08:59 AM

Theta,

Having independent monitors has not been my goal. I would prefer to have a desktop to span the two monitors.

There are others who have implemented the multiple-monitor multiple-user scenario. You might take a look at the thread "dual monitors, dual video cards, 1 X, 1 text"

susumo


All times are GMT -5. The time now is 09:09 PM.