LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 11-18-2003, 12:58 AM   #1
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Rep: Reputation: 15
Smile nVidia Dual Monitors > Multiple Desktops


I don't know if anyone here has tried to setup dual monitors with multiple desktops using the nVidia driver in Fedora yet, but I kinda got it working, here's what I did:

Setup the monitors using the Display option in system settings.
Restarted X
Only one monitor would work (the main one).
Opened up /etc/X11/XF86Config
and in the device section, added Screen 1
and changed nv to nvidia in both device sections (see XF86Config below for full details)
I still have a few bugs but it works
If anyone has found a better way to make it work, let me know, Thanx

<XF86Config File>
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
Option "Xinerama" "off"
Option "Clone" "on"
EndSection

Section "Files"
# RgbPath is 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 "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
# 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"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
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"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "KDS XFlat XF-9b/XF-9c/XF-9e/XF-9p"
HorizSync 30.0 - 98.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Sony CPD-200GS"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard Vendor"
BoardName "NVIDIA GeForce 4 (generic)"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 11-18-2003, 07:05 PM   #2
c0uchm0nster
Member
 
Registered: Nov 2003
Distribution: gentoo, fedora
Posts: 60

Rep: Reputation: 15
I just got it working too, with the help of a few people on these forums. The display configuration in X did a pretty good job, only missing the BusID of one of the display devices, and not putting the Screen value in either device definition (I'm thinking it might have been because I'm running 1 dual-head card (gf4 ti4400)).
But anyways it looks like the BusID value isn't important with the nvidia drivers (from looking at BlandoCal's config)
 
Old 11-18-2003, 10:50 PM   #3
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Original Poster
Rep: Reputation: 15
yea, it seems you only need the BusId on one of the second device section when you're using the same video card for both monitors (I used VGA port and DVI port (with adapter)). One thing I noticed is that when I click log off from the main menu, it doesn't bring up the choices (i.e. Log Off, Restart, or Shutdown) instead it brings me straight to the login screen, have you noticed this..???
 
Old 11-19-2003, 09:49 AM   #4
c0uchm0nster
Member
 
Registered: Nov 2003
Distribution: gentoo, fedora
Posts: 60

Rep: Reputation: 15
Yeah, it does that for me too - however i think this is a Fedora thing, as it didn't do it for me with the same hardware, x window, gnome, etc etc when i was running redhat 8
 
Old 11-19-2003, 12:14 PM   #5
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Original Poster
Rep: Reputation: 15
I was running Redhat9 before and i didn't do it for me either.
 
Old 01-10-2004, 12:54 AM   #6
mcason
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally posted by BlandoCal
One thing I noticed is that when I click log off from the main menu, it doesn't bring up the choices (i.e. Log Off, Restart, or Shutdown) instead it brings me straight to the login screen, have you noticed this..???
I have a similar setup for my system,

Compaq Presario S4020
384MB ram
Redhat9 with some Fedora core1 updates
Gnome 2.2
GeForce FX 5200
NVIDIA-Linux-x86-1.0-5328-pkg1.run
Primary Monitor = Monitor0
Secondary Monitor = Monitor1

I am not using it in twinview mode, I have X set up to run as two seperate desktops and each desktop has their own panels and launchers.

This makes it a little harder, as I cannot move windows between the different monitors, but, it makes non multi-monitor aware programs work correctly.

One thing I noticed, is that if I shut down the system using the Primary monitor, X gives me the dialog box for Logging out, Shutting down, or Restarting. If I shut down with the secondary monitor, X automatically logs out with no dialog box.

Also I have noticed that some properties boxes do not show up correctly on the secondary monitor. More specifically, some check boxes are invisible, However, if you click on the location that the check box is supposed to be, it toggles correctly. you just won't see the results.

I am not planning to upgrade my system until Fedora Core 2 comes out in April, so I don't know if this is fixed in Gnome 2.4 (or going to be fixed in 2.6??)

Below is the relevent sections of my XF86Config file. I used the standard defaults that were in the NVIDIA documents.

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" rightof "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri" # Changed for NVidia Driver
# Load "GLcore" # Changed for NVidia Driver
EndSection

# NVIDIA Dual Display setup
Section "Monitor"
Identifier "Monitor0"
VendorName "COMPAQ"
ModelName "COMPAQ 7500"
DisplaySize 320 240
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 140.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "IBM"
ModelName "IBM G70"
DisplaySize 320 240
HorizSync 31.0 - 64.0
VertRefresh 50.0 - 105.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "PNY"
BoardName "GeForce FX (Custom NVIDIA Driver)"
VideoRam 131072
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "PNY"
BoardName "GeForce FX (Custom NVIDIA Driver)"
VideoRam 131072
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
Old 01-16-2004, 03:52 AM   #7
jimmy2002
Newbie
 
Registered: Jan 2004
Location: Turkey
Posts: 6

Rep: Reputation: 0
Unhappy i can not

hi,
my computer hp,
nVidia Ge Force FX
my monitors Samsung end Nec
i can not work dual monitor,
and my XF86config:

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
Option "Xinerama" "off"
Option "Clone" "on"
EndSection

Section "Files"
# RgbPath is 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 "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
# 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"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
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"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "SyncMaster"
DisplaySize 300 230
HorizSync 30.0 - 61.0
VertRefresh 56.0 - 75.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync LCD1810"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nv"
VendorName "Videocard Vendor"
BoardName "NVIDIA GeForce FX (generic)"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 05-24-2004, 02:52 AM   #8
Kalecomm
LQ Newbie
 
Registered: May 2004
Location: Texas
Distribution: Fedora Core 2/Redhat 9/Windows 98SE system.
Posts: 1

Rep: Reputation: 0
2 Nvidia GeForce MX 400 cards and FC2

I'm glad that you got it to work....maybe you can help me!

I have a tri-boot system (it boots Fedora Core 2, RedHat 9 and Windows 98SE all via grub) with 2 video cards that are EXACTLY the same: Nvidia GeForce MX 400. One is an AGP card and the other is a PCI card (the new one!). I've tried everything that I can think of to get these to work (I can get the PCI card to work, but not the AGP with the PCI. If I take out the PCI card, then the AGP will work). My motherboard is a Syntax (generic) motherboard and the AGP/PCI selection I don't think works in the bios. That's the first problem. I want the AGP card to be the primary display and it isn't. Still, I can live with this if I can get both monitors to work.

OK. The monitors are: A maxnavox CM1400 attached to the PCI card. Then I have a KDS VS-190 attached to the AGP card.

I've installed the new nvidia drivers and that hasn't helped. I've also modified my xorg.conf file with no luck and I'm including it here:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0" 0 0
Screen "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "on"
EndSection

Section "Files"

# RgbPath is 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 "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection

Section "InputDevice"

# 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"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Philips Magnavox"
ModelName "Philips 104B(14inch/CM1300)"
DisplaySize 250 190
HorizSync 30.0 - 54.0
VertRefresh 50.0 - 110.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Korean Data Systems VS-190"
DisplaySize 350 265
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "EVGA.com"
BoardName "NVIDIA GeForce 2 MX (generic)"
BusID "PCI:0:13:0"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard Vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Any help that anyone could give me would be GREATLY appreciated!

Best Regards,

Kalecomm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Multiple Monitors with a Nvidia Geforce 52000 djgerbavore Linux - Hardware 4 08-11-2005 10:21 AM
Between sessions: cut/paste, multiple on one screen, dual monitors Z505 Linux - General 0 04-03-2005 02:42 PM
Dual Monitors, Xinerama, multiple desktops and the like... del914 Linux - Hardware 1 12-09-2003 11:53 PM
Dual monitors and tv-out on one nvidia FX card Enok Linux - Hardware 0 08-08-2003 05:01 PM
dual monitors with nvidia card... php_rocks Linux - Hardware 0 05-23-2003 02:23 PM


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

Main Menu
Advertisement
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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration