LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dual Display (xorg.conf Settings) (https://www.linuxquestions.org/questions/linux-software-2/dual-display-xorg-conf-settings-415588/)

slash587 02-15-2006 02:30 AM

Dual Display (xorg.conf Settings)
 
Hello,
I'm having trouble configuring the xorg.conf settings to give me Dual head properties. The closest I can get is both my monitors mirroring the same image when I try various settings like changing the Device Section Fedora core 3 can't go into graphical. I'm using a NVIDIA GeForce FX I believe it is the generic it has to video outs one is more complex and a s-video. As with my monitors one is a NEC AccuSync 120 the other a flat screen acer AL1715. My xorg.conf is as follows:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
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 "kbd"
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 "Monitor Vendor"
ModelName "AL1715"
DisplaySize 340 270
HorizSync 30.0 - 83.0
VertRefresh 55.0 - 75.0
Option "dpms"
EndSection

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

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

Section "DRI"
Group 0
Mode 0666
EndSection


Thanks for your help

accessrichard 02-15-2006 07:12 PM

You are using the generic nv driver. To use dual head get the livna repo (see fedorafaq.org) and install the nvidia driver if it is not already installed. Instructions here
http://www.fedorafaq.org/#nvidia

Then make your driver section to be similar to this
Code:

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia" #<--------
        VendorName  "Videocard vendor"
        BoardName  "nvidia"
        Option      "TwinView" "yes"
        Option      "MetaModes" "1024x768,1024x768;800x600,800x600" #<-- use your modes
        Option      "ConnectedMonitor" "CRT-0, CRT-1"
        Option      "TwinViewOrientation" "CRT-0 LeftOf CRT-1"
EndSection

tip: Nvidia uses something called twinview to configure dual display instead of Xinerama

There are also a bunch of good forums on LQ about configuring dual head with nvidia. Dont forget #cp xorg.conf xorg.conf.backup.datetime

dive 02-15-2006 07:57 PM

Twinview is definitely worth looking at (using it now for my tv out)

nvidia drivers: http://www.nvidia.com/object/unix.html
nvidia linux forum: http://www.nvnews.net/vbulletin/forumdisplay.php?f=14
readme: ftp://download.nvidia.com/XFree86/Li...676/README.txt

slash587 02-20-2006 11:25 PM

I executed the following:


[root@static ~]# yum install nvidia-glx kernel-module-nvidia-$root -r
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 354 kB 00:02
MD Read : ################################################## 934/934
updates-re: ################################################## 934/934
No Match for argument nvidia-glx
No Match for argument kernel-module-nvidia-
No Match for argument -r
Nothing to do
[root@static ~]# yum install nvidia-glx kernel-module-nvidia-$root
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 342 kB 00:01
MD Read : ################################################## 910/910
updates-re: ################################################## 910/910
No Match for argument nvidia-glx
No Match for argument kernel-module-nvidia-
Nothing to do
[root@static ~]#



then inserted the Device code and it hung up starting the kernel i had this same problem before, so i fixed it with a rescue disk. Looking forward for more help.


All times are GMT -5. The time now is 08:06 AM.