LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 11-30-2002, 02:05 PM   #1
vhg119
LQ Newbie
 
Registered: Nov 2002
Posts: 9
Thanked: 0
calling all people with dual head setups


[Log in to get rid of this advertisement]
i just got a geforce 4 ti4200
and two lcd's
i've read the nvidia help files and followed what people have told me to do.
basically, i've edited the screen section with the information given in the help file.
I've installed the nvidia drivers.

i use redhat 8.0 w/ gnome

the problem i'm having is that as soon as X starts, my second monitor just goes black. in CLI it is just an exact mirror of my first monitor.

did anyone else have this problem?

can everybody who has this setup post their XF86config file and tell me the steps they took to get their system working?

thankyou thankyou thankyou
vince
vhg119 is offline     Reply With Quote
Old 11-30-2002, 02:14 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,243
Thanked: 171
my one comes in quite handy for people who ask...

http://thirtythreeandathird.net/dualhead

you need to set up the server layout properly, i would assume that's what's mising from your system, right at the very bottom....
acid_kewpie is offline     Reply With Quote
Old 11-30-2002, 02:59 PM   #3
vhg119
LQ Newbie
 
Registered: Nov 2002
Posts: 9
Thanked: 0

Original Poster
darnit.... its not working.

can you take a look at my config?
tell me what i'm doing wrong.
pleeease...

# File generated by anaconda.

Section "ServerLayout"
Identifier "Both"
Screen "Screen0"
Screen "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "Second"
Screen "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "First"
Screen "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 "GLcore"
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" "IMPS/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"
HorizSync 31.5 - 60.0
VertRefresh 56.0 - 75.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
HorizSync 31.5 - 60.0
VertRefresh 56.0 - 75.0
Option "dpms"
EndSection

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

Section "Screen"
Identifier "Screen0"
Device "NVIDIA 0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA 1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection


Section "DRI"
Mode 0666
EndSection
vhg119 is offline     Reply With Quote
Old 11-30-2002, 03:10 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,243
Thanked: 171
well you've not told me what's actaully wrong, or any errors or warnings from /var/log/xfree86.0.log for example, but it'd start by wondering why you've put a server layout at that start of the config file, i.e. when it's using parameters that don't even exist yet...
acid_kewpie is offline     Reply With Quote
Old 11-30-2002, 03:30 PM   #5
vhg119
LQ Newbie
 
Registered: Nov 2002
Posts: 9
Thanked: 0

Original Poster
i didnt put it there...
it was already there, i just added some extra sections
vhg119 is offline     Reply With Quote
Old 11-30-2002, 03:35 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,243
Thanked: 171
well still without any errors or warnings....
acid_kewpie is offline     Reply With Quote
Old 11-30-2002, 05:35 PM   #7
vhg119
LQ Newbie
 
Registered: Nov 2002
Posts: 9
Thanked: 0

Original Poster
ok ... i'm sorry. anyways.. it works now.
heres my new config file

the only problem i have now is that stuff pops up in the middle of the screen. such as the exit dialog. (gnome).
another problem i'm having is that i think that the second lcd monitor's refresh rate is not correct cuz when the screen dims when gnome asks me if i'm sure i want to log off, there are alot of horizontal flickering going on.. but.... heres my config if anyone else has my same setup.

redhat 8.0
gnome
geforce 4 ti4200
two 15" lcd monitors.

oooh... something i forgot.. give credit where credit is due.
i modified someone else's config to get mine to work..
i forgot where i got it from so.. whoever you are, i thank you.

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.

RgbPath "/usr/X11R6/lib/X11/rgb"

# 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.

FontPath "unix/:7100"

EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "dri"
Load "glx"
Load "GLcore"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/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 "Dell2000FP"
VendorName "Dell"
ModelName "2000FP"
HorizSync 31.5-60
VertRefresh 56-75
EndSection

Section "Device"
Identifier "NV AGP TwinView"
VendorName "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NvAGP" "1"
Option "TwinView" "true"
# Option "NoLogo"
Option "SecondMonitorHorizSync" "30.0 - 60.0"
Option "SecondMonitorVertRefresh" "50.0 - 75.0"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1024x768,1024x768"
Option "Xinerama" "on"
Option "ConnectedMonitor" "DFP"
EndSection

#
# screen section for an nvidia AGP TwinView card
# (look at the appropriate Device section)
#
Section "Screen"
Identifier "Screen AGP TwinView"
Device "NV AGP TwinView"
Monitor "Dell2000FP"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "ServerLayout"
Identifier "AGPTwinView"
Screen "Screen AGP TwinView"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Last edited by vhg119; 11-30-2002 at 05:36 PM..
vhg119 is offline     Reply With Quote
Old 11-30-2002, 05:47 PM   #8
vhg119
LQ Newbie
 
Registered: Nov 2002
Posts: 9
Thanked: 0

Original Poster
however, how do i make it so that each monitor is a separate workspace, each having its own tasklist and everything (gnome).

vince
vhg119 is offline     Reply With Quote
Old 11-30-2002, 05:58 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,243
Thanked: 171
well the issue you're havnig is with Xinerama, which i don't like. it is more resource intensive to load gnome twice of course, but if you want two seperate desktops, which i vastly prefer, then you want to remove the xinerama reference. i don't know how well gnome reacts to being loaded twice. personally i use black box, and unless you tell it otherwise it will load a seperate session on both screens instantly. You can't drag windows between them then, but that's a small price for the benefits i think.
acid_kewpie is offline     Reply With Quote
Old 11-30-2002, 08:24 PM   #10
vhg119
LQ Newbie
 
Registered: Nov 2002
Posts: 9
Thanked: 0

Original Poster
hmmm... thanks for the tip.. i disabled xinerama.. now .. if only i could get the two desktop thing.
vhg119 is offline     Reply With Quote
Old 11-30-2002, 09:33 PM   #11
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Thanked: 0
Unlike Kewp I'm a big fan of Xinerama, now if they could only get DRI to work with it again. He's going to call me a wanker for posting this, I just know it.

I also like KDE, more lately just because I know Kewp hates it ;p

Here's some of my XF's, some X configured, then cut to suit, some configured by mgapdesk, which use stuff I've never seen before.

www.clockwatching.org/xf86s

Cheers,

Finegan
finegan is offline     Reply With Quote
Old 11-30-2002, 10:23 PM   #12
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Thanked: 0
The last time I tried Gnome (2.something), it didn't support true dual
heads (just Xinerama). Neither did KDE (early 3.x). The only ones
I've seen have been OpenWindows (old, but good) and Blackbox. I'm
sure there are others (I'd bet WindowMaker and Enlightenment do).
You can probably fake out Gnome or KDE by starting up a second X
session, and then a second WM, but that's not the same as supporting
two heads via the windowmanager, and it'll use a LOT more resources
than is already consumed by those bloated WMs.
moses is offline     Reply With Quote
Old 12-01-2002, 05:35 AM   #13
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Thanked: 0
I didnt quite understand, do you have two cards, or a dualhead card. In case you have a dualhead card, and nvidia drivers installed why not setup TwinView. It will enable you to do everything Xinerama does, and plus you will still have DRI enabled so you can play games on dualhead!
You can find my config file at
http://www.geocities.com/nskl86/XF-TwinView.txt
and more info on Nvidia's REaDME, in the "TwinView" section
HTH
-NSKL
NSKL is offline     Reply With Quote
Old 12-01-2002, 04:03 PM   #14
vhg119
LQ Newbie
 
Registered: Nov 2002
Posts: 9
Thanked: 0

Original Poster
i have a dual head nvidia gf4ti4200 card.
one card.. two lcd panels.

the problem is that i dont like the xinerama effect.
i'd rather have two desktops.

i hate right clicking on a hyperlink or something on the edge of one monitor and have half the menu popup on the other screen.

vince
vhg119 is offline     Reply With Quote
Old 01-08-2003, 11:52 AM   #15
cdennett
LQ Newbie
 
Registered: Jan 2003
Posts: 2
Thanked: 0
I found this thread while hunting around on the internet to solve a similar problem. I've got a RedHat 8.0 box with a Matrox G550 and two 21" monitors. I want to be able to have two separate desktops on each monitor, not one big desktop (ie. using Xinerama). If I use KDE, it works fine. Unfortunately, KDE does not support some of my applications very well. If I load up Gnome, I get one desktop on my primary monitor, but the other desktop doesn't have a window manager running on it. I can move the mouse over to the second monitor fine (an 'X' appears for the cursor) and even the screen saver kicks in on the second monitor, so obviously X has no issues.

Anyone try to do this and no how to get the second window manager to load? Please e-mail me if you do. Thanks for your help.

-Chris Dennett
chris@texmemsys.com
cdennett is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual head qmdm Linux - Hardware 1 03-02-2005 09:01 AM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-05-2004 12:23 AM
getting dual head going sockknitter Fedora 0 01-06-2004 04:27 AM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 01:39 PM
Dual Head Config Linux - General 0 04-28-2002 06:41 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration