LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Dual Monitors (https://www.linuxquestions.org/questions/linux-hardware-18/dual-monitors-324086/)

linus321 05-16-2005 01:36 PM

Dual Monitors
 
I'm trying to use dual monitors with Red Hat 8.0. They're both flat screen ThinkVisions. I have no problem with one, but can't get both up, it always loses it at the login screen. I've tried fooling around with the XF86Config file, but this hasn't helped. Any suggestions??

mmf144 05-16-2005 02:02 PM

Try using something like this in the device section of your XF86Config file:

Section "Device"
# no known options
#BusID
Identifier "NVIDIA GeForce 4 (generic)"
Driver "nvidia"
VendorName "NVIDIA GeForce 4 (generic)"
BoardName "Quadro4 900XGL"
Option "TwinView" "on"
Option "SecondMonitorHorizSync" "30-130"
Option "SecondMonitorVertRefresh" "48-160"
#Option "UseEdidFreqs" "on"
Option "MetaModes" "1152X864,1152X864"
Option "TwinViewOrientation" "LeftOf"
EndSection

Assuming you are using an NVIDIA card, that is. You will need to change the SecondMonitorHorizSync and SecondMonitorVertRefresh
to correspond to your monitors. Or you could try commenting out that part and uncomment "UseEdidFreqs" so that the video card figures it out.

Good luck,

Matt

P.S. If stuck, try Googling "Configure Twinview"

linus321 05-17-2005 09:51 AM

I'm still not having any success. Here's my current XF86Config file. I'm using an IBM intellistation with an NVIDIA video card. I get one monitor working just fine (I haven't screwed it up yet), and the second monitor drops out at the log-in screen - it's working up until then. Thanks,

# File generated by anaconda.

Section "ServerLayout"
# Identifier "Anaconda Configured"
Identifier "Dual Monitor Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 40.0 - 80.0
VertRefresh 56.0 - 60.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 40.0 - 80.0
VertRefresh 56.0 - 60.0
Option "dpms"
EndSection

Section "Device"
# no known options
#BusID
Identifier "Quadro FX"
Driver "nvidia"
VendorName "Nvidia"
BoardName "Quadro FX 3000"
Option "TwinView" "on"
Option "SecondMonitorHorizSync" "30-130"
Option "SecondMonitorVertRefresh" "48-160"
Option "MetaModes" "1152X864,1152X864"
Option "TwinViewOrientation" "LeftOf"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Quadro FX"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Quadro FX"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1024x768"
EndSubSection
EndSection

#Section "DRI"
# Mode 0666
#EndSection

mmf144 05-17-2005 03:32 PM

Are you trying to share one large desktop between two monitors? Or use two different desktops, one per monitor? If you are doing the former, you don't need two different screen and monitor sections in your XF86Config file, just one. Also, you didn't change the vertical refresh or horizontal sync values in the device section to match your second monitor. That's probably why the screen drops out at the login prompt. Try using the same values you have in your monitor section (since they are the same kind of monitor).

M.


All times are GMT -5. The time now is 04:02 AM.