Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Monitor/Box | 1 card | separate screens [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Dec 23, 2005 11:02 am    Post subject: Dual Monitor/Box | 1 card | separate screens [SOLVED] Reply with quote

Hi!
Todays question:
2 monitors in one single video card box

My hardware :
Code:

0000:00:00.0 Host bridge: Intel Corporation 925X/XE Memory Controller Hub (rev 0e)
0000:00:01.0 PCI bridge: Intel Corporation 925X/XE PCI Express Root Port (rev 0e)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
0000:00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
0000:00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d4)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 04)
0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
0000:00:1f.2 SATA controller: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 04)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
0000:01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88W8310 and 88W8000G [Libertas] 802.11g client chipset (rev 07)
0000:01:03.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller (rev 01)
0000:01:04.0 Mass storage controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to be IT8212, embedded seems (rev 13)
0000:01:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
0000:01:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:0b.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
0000:01:0b.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
0000:01:0b.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)
0000:03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)
0000:05:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)

Plus 2 monitors.
1 viewsonic 19" LCD using DVI and a 14" Acer Analog CRT


The video card is as posted above nVidia Corporation NV43 [GeForce 6600] (rev a2) and it has a DVI output and an Analog output.
My current drivers are media-video/nvidia-kernel Latest version available: 1.0.8174-r1

I have tried the monitors at the same after rebooting the box and they both work until i get to the login manager. This leads me to belive that some extra xorg confs will fix the issue.

Now my question starts dividing itself into a couple more .

1: Having both monitors working after the login manager i want 1 to be used by me while using my desktop and the second one as a system monitor.
the ideia is having the second monitor working with an independent screen where i will just open system monitor applications; ie : top, iptraf, apachetop, and other like these.

some doubts here : can i do this and use the same keyboard and mouse for both monitors and i will just be switching them whenever i want or its best to use an extra keyboard and mouse ?

2: if things work for phase one and i am able to have to independend screens in the same box, i am now wanting to have it working for 2 independent users.
in other words: 1 box, 1 video card with 2 outputs, 2 keyboards, 2 mice for 2 idependent users.
The second keyboard and mouse would be usb

i was given this HowTO http://www.c3sl.ufpr.br/multiterminal/howtos/howto-faketty-en.htm which seem to give some help about it, but its not a gentoo howto and looks like to be made for more than 1 video card.

I never played around with xorg before, so this is new ground for me.

I also would like to hear from gentoo users about this idea. Maybe some of you have achived this kind of configuration.
Ideas, tips, suggestions are all welcome.

Thank you
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244


Last edited by HeXiLeD on Sun Dec 17, 2006 2:04 pm; edited 2 times in total
Back to top
View user's profile Send private message
robnotts
Guru
Guru


Joined: 15 Mar 2004
Posts: 405
Location: Nottingham, UK

PostPosted: Fri Dec 23, 2005 2:19 pm    Post subject: Reply with quote

Here is a starting point...

Code:

# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
# This loads the DBE extension module.
    Load        "dbe"     # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load       "glx"
EndSection

Section "Extensions"
    Option "Composite" "True"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

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 (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

# The module search path.  The default path is shown here.
    ModulePath "/usr/X11R6/lib/modules"

    FontPath    "/usr/share/fonts/misc:unscaled"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/corefonts"
    FontPath   "/usr/share/fonts/freefont"
    FontPath   "/usr/share/fonts/sharefonts"
    FontPath   "/usr/share/fonts/terminus"
    FontPath   "/usr/share/fonts/ttf-bitstream-vera"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/freefont"
    FontPath   "/usr/share/fonts/artwiz"
    FontPath   "/usr/share/fonts/ukr"
    FontPath   "/usr/share/fonts/urw-fonts"
    FontPath    "/usr/local/share/fonts"
    FontPath    "/usr/share/fonts"
    FontPath    "/usr/X11R6/lib/X11/fonts"
    FontPath   "/usr/share/fonts/ukr"
    FontPath   "/usr/share/fonts/urw-fonts"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"

    Option "AutoRepeat" "500 30"

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "microsoftpro"
    Option "XkbLayout"   "gb"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

# Wired Mouse Connected To PS/2 Socket
Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option    "Protocol"    "IMPS/2"
    Option    "Device"      "/dev/input/mouse0"
    Option   "ZAxisMapping" "4 5"
    Option   "CorePointer"
EndSection

# Wireless Mouse Connected To USB
Section "InputDevice"
    Identifier   "Mouse2"
    Driver   "mouse"
    Option    "Protocol"    "IMPS/2"
    Option    "Device"      "/dev/input/mouse1"
    Option   "ZAxisMapping" "4 5"
    Option   "CorePointer"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   30-96
    VertRefresh 50-75
EndSection

Section "Monitor"
    Identifier  "TV"
    HorizSync   31.4 - 61
    VertRefresh 56 - 75
    DisplaySize 160 90
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Standard VGA Device:
Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"

    Driver     "vga"
EndSection

# Device configured by xorgconfig:
Section "Device"
        Option     "SWcursor"          "False"
        Option     "HWcursor"          "True"
        Option     "NvAGP"                 "3"
        Option     "IgnoreEDID"            "False"
        Option     "NoDDC"                 "False"
        Option     "ConnectedMonitor"      "CRT"
        Option     "TVStandard"            "PAL-I"
        Option     "TVOutFormat"           "SVIDEO"
        Option     "RenderAccel"           "True"
        Option     "CursorShadow"          "True"
        Option     "UseEdidFreqs"          "True"
        Option     "UseEdidDpi"         "False"
   Option     "DPI"         "96 x 96"
        Option     "XvMCUsesTextures"      "False"
        Option     "AllowGLXWithComposite"    "True"

   Identifier  "Nvidia Geforce FX 6600 LCD"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "GeForce FX 6600"
   BusID       "PCI:5:0:0"
   Screen       0
EndSection

# Device configured by xorgconfig for TV Output:
Section "Device"
        Option     "SWcursor"          "False"
        Option     "HWcursor"          "True"
        Option     "NvAGP"                 "3"
        Option     "IgnoreEDID"            "False"
        Option     "NoDDC"                 "False"
        Option     "ConnectedMonitor"      "TV"
        Option     "TVStandard"            "PAL-I"
        Option     "TVOutFormat"           "SVIDEO"
        Option     "RenderAccel"           "True"
        Option     "CursorShadow"          "True"
#        Option     "UseEdidFreqs"          "True"
#        Option     "UseEdidDpi"         "False"
#   Option     "DPI"         "96 x 96"
        Option     "XvMCUsesTextures"      "False"
        Option     "AllowGLXWithComposite"    "True"

   Identifier  "Nvidia Geforce FX 6600 TV"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "GeForce FX 6600"
   BusID       "PCI:5:0:0"
   Screen       1
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 0"
    Device      "Nvidia Geforce FX 6600 LCD"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Nvidia Geforce FX 6600 TV"
    Monitor     "TV"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

    Screen "Screen 1"
    InputDevice "Mouse2" "CorePointer"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

EndSection

# Section "DRI"
#    Mode 0666
# EndSection


This is a config for two independent screens... the 2nd one (tv) is used for myth tv and mplayer outputs onto the tv rather than the computer monitor.

I have two keyboards, a wireless one to use remotely, and two mice, but the 2nd mouse can be tempremental. I did read somewhere that having two independent keyboards in linux was a problem, due to how the kernel keyboard drivers are set up.

Rob.
_________________
---

Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop)
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Dec 23, 2005 3:14 pm    Post subject: Reply with quote

I have a couple questions as i have started re-doing my xorg from what i am seeing here.

Option "CorePointer"
When this is set, the input device is installed as the core (primary) pointer device. There must be exactly one core pointer. If this option is not set here, or in the ServerLayout section, or from the -pointer command line option, then the first input device that is capable of being used as a core pointer will be selected as the core pointer. This option is implicitly set when the obsolete Pointer section is used.

I never had Option "CorePointer" before. will i need it now ?

and ...
Code:
Option    "Protocol"    "IMPS/2"

Mine is auto. should i change it?

also
Code:
Option      "Device"      "/dev/input/mice"

Should i change it to /dev/input/mice1" and the other mice2 ?
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244


Last edited by HeXiLeD on Fri Dec 23, 2005 3:41 pm; edited 3 times in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Dec 23, 2005 3:24 pm    Post subject: Reply with quote

Moved from Multimedia
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Sun Dec 25, 2005 7:08 am    Post subject: Reply with quote

There are Gentoo guides for setting up nvidia graphics cards. You should look their as a starter. You should problably also look into the possibility of using twinview which is the dual monitor support built into the vnidia driver. It is a little different then normal dual monitor setup in X but once you figure it out it is very flexible and easy to understand.
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Dec 15, 2006 4:24 pm    Post subject: Reply with quote

As i am now trying to setup this i have 1 first problem that i need to solve before everything else.


note: 2 monitors | 1 video card with 2 outputs ( VGA + DVI )
after connecting the second monitor ( the crt into the analog output/vga ) and restarting X; i get xorg to use the CRT insted or the LCD.

In other words, the one that should be the default monitor ( the LCD on the DVI output ) is not acting like like being default.
Insted It starts the CRT on the vga output.

How can i set xorg to use the LCD as the default monitor and not the crt ?

Bellow my current xorg:

Code:
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
 
Section "Module"
 
# This loads the DBE extension module.
 
    Load        "dbe"     # Double buffer extension
 
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
 
# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
 
# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"
 
EndSection
 
 
 
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************
 
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/share/X11/rgb"
 
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
 
    FontPath   "/usr/share/fonts/misc/"
#    FontPath   "/usr/share/fonts/TTF/"
#    FontPath   "/usr/share/fonts/OTF"
    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/local/"
    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"
 
# The module search path.  The default path is shown here.
 
#    ModulePath "/usr/lib/modules"
 
EndSection
 
 
 
 
 
# **********************************************************************
# Server flags section.
# **********************************************************************
 
Section "ServerFlags"
 
# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
 
#    Option "NoTrapSignals"
 
# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.
 
#    Option "DontVTSwitch"
 
# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
 
#    Option "DontZap"
 
# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.
 
#    Option "Dont Zoom"
 
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
 
#    Option "DisableVidModeExtension"
 
# Uncomment this to enable the use of a non-local xvidtune client.
 
#    Option "AllowNonLocalXvidtune"
 
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
 
#    Option "DisableModInDev"
 
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
 
#    Option "AllowNonLocalModInDev"
 
EndSection
 
 
 
 
# **********************************************************************
# Input devices
# **********************************************************************
 
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
 
Section "InputDevice"
 
    Identifier   "Keyboard1"
    Driver   "kbd"
 
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
 
#    Option     "Protocol"      "Xqueue"
 
    Option "AutoRepeat" "500 30"
 
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option   "Xleds"      "1 2 3"
 
#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
 
# 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"    "pc105"
# 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"
 
# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""
 
#    Option "XkbDisable"
 
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "cymotionlinux"
    Option "XkbLayout"   "us"
 
EndSection
 
 
 
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
 
Section "InputDevice"
 
# Identifier and driver
 
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "Auto"   # Auto detect
    Option "Device"      "/dev/input/mice"
 
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
 
#    Option "Protocol"   "Xqueue"
 
# Mouse-speed setting for PS/2 mouse.
 
     Option "Resolution"   "256"
 
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
 
#    Option "BaudRate"   "9600"
#    Option "SampleRate"   "150"
 
# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.
 
    Option "ZAxisMapping"   "4 5 6 7"
 
# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
 
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
 
# ChordMiddle is an option for some 3-button Logitech mice
 
#    Option "ChordMiddle"
 
EndSection
 
 
 
 
# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
 
 
 
 
# **********************************************************************
# Monitor section
# **********************************************************************
 
# Any number of monitor sections may be present
 
############################
#                          #
# FIRST MONITOR SETTINGS   #
#                          #
############################
 
 
Section "Monitor"
 
    Identifier  "viewsonic"
 
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
 
    HorizSync   31.5 - 82.0
 
#    HorizSync   30-64         # multisync
#    HorizSync   31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync   15-25, 30-50  # multiple ranges of sync frequencies
 
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
 
    VertRefresh 40-150
 
EndSection
 
############################
#                          #
# SECOND MONITOR SETTINGS  #
#                          #
############################
 
Section "Monitor"
    Identifier  "nec"
    HorizSync   31.4 - 61
    VertRefresh 40 - 75
    DisplaySize 100 60
EndSection
 
 
 
# **********************************************************************
# Graphics device section
# **********************************************************************
 
# Any number of graphics device sections may be present
 
# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.
 
#    Chipset    "generic"
 
# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
# Driver     "nvidia"
 
 
############################
#                          #
# FIRST MONITOR SETTINGS   #
#                          #
############################
 
 
# Standard VGA Device:
 
Section "Device"
    Identifier  "nVidia GeForce GT 6600"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "GeForce GT 6600"
    VideoRam     262144
    Screen       0
    Option      "NVagp" "1"
    Option      "RenderAccel" "on"
    Option      "DigitalVibrance" "35"
    Option      "NoFlip" "on"
 
 
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.
 
    BusID      "PCI:5:0:0"
 
 
#   Clocks   25.2 28.3
 
EndSection
 
 
############################
#                          #
# SECOND MONITOR SETTINGS  #
#                          #
############################
 
Section "Device"
    Identifier  "nVidia GeForce GT 6600"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "GeForce GT 6600"
    VideoRam     262144
    BusID       "PCI:5:0:0"
    Screen       1
EndSection   
 
# **********************************************************************
# Screen sections
# **********************************************************************
 
# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
 
############################
#                          #
# FIRST MONITOR SETTINGS   #
#                          #
############################
 
 
Section "Screen"
    Identifier  "screen 0"
    Device      "nVidia GeForce GT 6600"
    Monitor     "viewsonic"
    DefaultDepth 24
 
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
 
 
############################
#                          #
# SECOND MONITOR SETTINGS  #
#                          #
############################
 
Section "Screen"
   Identifier  "screen 1"
    Device      "nVidia GeForce GT 6600"
    Monitor     "nec"
    DefaultDepth 16
 
    Subsection "Display"
        Depth       8
        Modes       
        ViewPort    0 0
   EndSubsection
    Subsection "Display"
        Depth       16
       Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600"
       ViewPort    0 0
   EndSubsection
EndSection
 
 
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
 
# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
 
############################
#                          #
# FIRST MONITOR SETTINGS   #
#                          #
############################
 
Section "ServerLayout"
 
# The Identifier line must be present
 
    Identifier  "nVidia GeForce GT 6600"
 
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.
 
    Screen "Screen 0"
 
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
 
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
 
EndSection
 
 
############################
#                          #
# SECOND MONITOR SETTINGS  #
#                          #
############################
 
 
    Section "ServerLayout"
    Identifier  "nVidia GeForce GT 6600"
    Screen "Screen 1"
 
    EndSection
 
 
 
# Section "DRI"
#    Mode 0666
# EndSection

_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Dec 15, 2006 7:09 pm    Post subject: Reply with quote

#emerge nvidia-settings ; nvidia-settings

Set it the way you want and save.
Restart X

my current and working xorg.conf for 2 monitors 1 video card with DVI and VGA outputs, 1 mouse + keyboard.

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@gentrix)  Sat Nov 11 03:26:28 EST 2006
 
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 1024 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
 
Section "Files"
#    RgbPath         "/usr/lib64/X11/rgb"
 
    FontPath   "/usr/share/fonts/misc/"
#    FontPath   "/usr/share/fonts/TTF/"
#    FontPath   "/usr/share/fonts/OTF"
    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/local/"
    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"
 
 
EndSection
 
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection
 
Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection
 
Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
 
Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection
 
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ViewSonic VG191"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection
 
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "NEC E500"
    HorizSync       31.0 - 69.0
    VertRefresh     55.0 - 120.0
    Option         "DPMS"
EndSection
 
Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600"
    BusID          "PCI:5:0:0"
    Screen          0
EndSection
 
Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600"
    BusID          "PCI:5:0:0"
    Screen          1
EndSection
 
Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "DFP: 1280x1024 +0+0; DFP: 1024x768 +0+0; DFP: 800x600 +0+0; DFP: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
 
Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "CRT: 1024x768 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


SOLVED
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Mehlano
n00b
n00b


Joined: 08 Dec 2006
Posts: 29

PostPosted: Fri Dec 15, 2006 7:33 pm    Post subject: Reply with quote

Blue-Steel wrote:
#emerge nvidia-settings ; nvidia-settings

Set it the way you want and save.
Restart X


hm...

Code:

eike@gentie ~ $ nvidia-settings -g

ERROR: NV-CONTROL extension not found on this Display.

ERROR: Unable to determine number of NVIDIA GPUs on ':0.0'.

ERROR: Unable to determine number of NVIDIA Frame Lock Devices on ':0.0'.

ERROR: Unable to determine number of NVIDIA VCSCs on ':0.0'.


..running nvidia-drivers, beryl and XGL with AIGLX

xorg.conf

Code:

Section "DRI"
        Group 0
        Mode 0666
EndSection


Section "Files"
    RgbPath     "/usr/share/X11/rgb"
    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/CID"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/100dpi"
#    ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
    Load        "dbe"
    Load        "glx"
    Load        "dri"
    SubSection  "extmod"
    Option      "omit xfree86-dga"
    EndSubSection
    Load        "type1"
    Load        "freetype"
EndSection


Section "ServerFlags"
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 5"
    Option      "XkbLayout"     "de"
    Option      "XkbVariant"    "nodeadkeys"
EndSection

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

Section "Monitor"
    Identifier  "Monitor[0]"
    VertRefresh 75
EndSection

Section "Monitor"
    Identifier "Monitor[1]"
    ModelName "PAL TV"
    VendorName "ORION"
    VertRefresh 60
    HorizSync 30-50
EndSection

Section "Device"
    Identifier  "Device[0]"
    Driver      "nvidia"
    BoardName   "nVidia GeForce 6660"
    Option      "RenderAccel" "1"
    Option      "AllowGLXWithComposite" "true"
    Option      "AddARGBGLXVisuals" "true"
    Option      "XAANoOffscreenPixmaps" "true"
    Option      "DRI"     "true"
    Option      "ConnectedMonitor" "DVI"
    Option      "IgnoreDisplayDevices" "DFP"
    Screen 0
    BusID       "PCI:04:00:00"
EndSection

Section "Screen"
    Identifier          "Screen[0]"
    Device              "Device[0]"
    Monitor             "Monitor[0]"
    DefaultDepth        24
    SubSection "Display"
        Depth           24
        Modes           "1280x1024"
        Viewport        0 0
    EndSubSection
EndSection

Section "Screen"
    DefaultDepth 24
    SubSection "Display"
      Depth 24
      Modes "1024x768"
    EndSubSection
    Device "Device[1]"
    Identifier "Screen[1]"
    Monitor "Monitor[1]"
EndSection

Section "Device"
    BoardName   "GeForce-6"
    Driver      "nvidia"
    Identifier  "Device[1]"
    VendorName  "Nvidia"
    Option      "AllowGLXWithComposite" "true"
    Option      "NoLogo" "on"
    Option      "CursorShadow" "on"
    Option      "CursorShadowAlpha" "32"
    Option      "CursorShadowXOffset" "2"
    Option      "CursorShadowYOffset" "2"
    Option      "TVOutFormat" "Composite"
    Option      "TVStandard" "PAL-G"
    Option      "ConnectedMonitor" "DFI,TV"
    Option      "IgnoreDisplayDevices" "DFP"
    BusID       "PCI:04:00:00"
    Screen 1
EndSection

Section "ServerLayout"

    Identifier  "Main Layout"
    Screen      0       "Screen[0]"
    Screen      1       "Screen[1]"     RightOf "Screen[0]"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option      "AIGLX" "true"
EndSection

Section "Extensions"
    Option         "Composite"   "Enable"
EndSection



Any hints ? :-)
_________________
myWorkstation::
1x Intel Pentium Core 2 Duo E6600 @ 2.4 GHz, 2048 MB RAM, 640 MB XFX 8800 GTS, Gnome w/ Beryl 0.1.4, Kernel: 2.6.19-r5
Registered Linux User #437626
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Sat Dec 16, 2006 12:31 am    Post subject: Reply with quote

What is it that you are planning to do ? the same kind of setup as me ? give me details.

Show me :
Code:
# lspci -v | grep VGA
# emerge -pv nvidia-drivers
# emerge -pv nvidia-settings


and to run nvidia-settings u must do it as root. I also dont understand why you did " nvidia-settings -g" why the -g ?

note: backup your current xorg.conf
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Mehlano
n00b
n00b


Joined: 08 Dec 2006
Posts: 29

PostPosted: Sat Dec 16, 2006 11:12 am    Post subject: Reply with quote

Blue-Steel wrote:
What is it that you are planning to do ? the same kind of setup as me ? give me details.

Show me :
Code:
# lspci -v | grep VGA
# emerge -pv nvidia-drivers
# emerge -pv nvidia-settings


and to run nvidia-settings u must do it as root. I also dont understand why you did " nvidia-settings -g" why the -g ?

note: backup your current xorg.conf


Backup'ed my xorg.conf :-)

..wanted to bring up TwinView: CRT-1 (my TFT-Screen) and TV-0 (results from Xorg.log which detected these devices)

But with this xorg.conf I got on my CRT-1 a big screen and a blank one on TV.


Code:

gentie ~ # lspci -v | grep VGA
04:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2) (prog-if 00 [VGA])


Code:

gentie ~ # emerge -pv nvidia-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-drivers/nvidia-drivers-1.0.9631  USE="dlloader" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Code:

gentie ~ # emerge -pv nvidia-settings

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/nvidia-settings-1.0.20061102  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


And here is my xorg.conf from todays morning after reading nvidia-docs and XCONFIG example :)

Code:

 
Section "DRI"
        Group 0
        Mode 0666
EndSection


Section "Files"
    RgbPath     "/usr/share/X11/rgb"
    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/CID"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/100dpi"
#    ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
    Load        "dbe"
    Load        "glx"
#    Load        "dri"
    SubSection  "extmod"
    Option      "omit xfree86-dga"
    EndSubSection
    Load        "type1"
    Load        "freetype"
EndSection


Section "ServerFlags"
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 5"
    Option      "XkbLayout"     "de"
    Option      "XkbVariant"    "nodeadkeys"
EndSection

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

Section "Monitor"
    Identifier  "Monitor[0]"
    VertRefresh 75
EndSection

Section "Device"
    Identifier  "Device[0]"
    Driver      "nvidia"
    BoardName   "nVidia GeForce 6660"
    Option      "RenderAccel" "1"
    Option      "AllowGLXWithComposite" "true"
    Option      "AddARGBGLXVisuals" "true"
    Option      "XAANoOffscreenPixmaps" "true"
    BusID       "PCI:04:00:00"
    Option      "TwinView"
    Option      "SecondMonitorHorizSync"   "31-82"
    Option      "SecondMonitorVertRefresh" "55-120"
    Option      "TwinViewOrientation"      "RightOf"
    Option      "MetaModes"                "1280x1024,1280x1024; 1024x768,1024x768"
    Option      "ConnectedMonitor"         "CRT-1, TV-0"
    Option      "TVStandard"               "PAL-G"
    Option      "TVOutFormat"           "COMPOSITE"
EndSection

Section "Screen"
    Identifier          "Screen[0]"
    Device              "Device[0]"
    Monitor             "Monitor[0]"
    DefaultDepth        24
    SubSection "Display"
        Depth           24
        Modes           "1280x1024" "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"

    Identifier  "Main Layout"
    Screen      "Screen[0]"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option      "AIGLX" "true"
EndSection

Section "Extensions"
    Option         "Composite"   "Enable"
EndSection

_________________
myWorkstation::
1x Intel Pentium Core 2 Duo E6600 @ 2.4 GHz, 2048 MB RAM, 640 MB XFX 8800 GTS, Gnome w/ Beryl 0.1.4, Kernel: 2.6.19-r5
Registered Linux User #437626
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Dec 18, 2006 12:57 pm    Post subject: Reply with quote

Well my current setup is not for TV out. TV out ill be added later as the 3rd screen.
And currently i am not using twinview but "separate screens"

As for the nvidia-settings application; try running it like this # nvidia-settings ( without the -g )

Bellow is my current and working config:
(some parts were edited manually later)

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@gentrix)  Sat Nov 11 03:26:28 EST 2006
 
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# *********************************************************************
 
Section "Module"
 
# This loads the DBE extension module.
 
    Load        "dbe"   # Double buffer extension
 
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
 
# This loads the font modules
     Load        "type1"
#    Load        "speedo"
     Load        "freetype"
#    Load        "xtt"
     Load        "extmod"
     Load        "freetype"
 
# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"
 
EndSection
 
 
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************
 
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/share/X11/rgb"
 
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#   
 
     FontPath   "/usr/share/fonts/misc/"
#    FontPath   "/usr/share/fonts/TTF/"
#    FontPath   "/usr/share/fonts/OTF"
     FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
     FontPath   "/usr/share/fonts/100dpi/"
     FontPath   "/usr/share/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/local/"
     FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"
 
# The module search path.  The default path is shown here.
 
#    ModulePath "/usr/lib/modules"
 
EndSection
 
 
# **********************************************************************
# Server flags section.
# **********************************************************************
 
Section "ServerFlags"
 
    Option         "Xinerama" "0"
 
# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
 
#    Option "NoTrapSignals"
 
# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.
 
#    Option "DontVTSwitch"
 
# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
 
#    Option "DontZap"
 
# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.
 
#    Option "Dont Zoom"
 
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
 
#    Option "DisableVidModeExtension"
 
# Uncomment this to enable the use of a non-local xvidtune client.
 
#    Option "AllowNonLocalXvidtune"
 
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
 
#    Option "DisableModInDev"
 
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
 
#    Option "AllowNonLocalModInDev"
 
EndSection
 
# **********************************************************************
# Input devices
# **********************************************************************
 
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
 
Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "cymotionlinux"
    Option "XkbLayout"  "us"
 
EndSection
 
 
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
 
 
Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5 6 7"
    Option         "Resolution"   "256
EndSection
 
 
 
# **********************************************************************
# Monitor section
# **********************************************************************
 
 
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ViewSonic VG191"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection
 
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "NEC E500"
    HorizSync       31.0 - 69.0
    VertRefresh     55.0 - 120.0
    Option         "DPMS"
EndSection
 
 
# **********************************************************************
# Graphics device section
# **********************************************************************
 
Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600"
    BusID          "PCI:5:0:0"
    Screen          0
    VideoRam        262144
    Option         "DPMS" "TRUE"
    Option         "NVagp" "1"
    Option         "RenderAccel" "on"
    Option         "DigitalVibrance" "35"
    Option         "NoFlip" "on
EndSection
 
Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600"
    BusID          "PCI:5:0:0"
    VideoRam        262144
    Option         "DPMS" "TRUE"
    Option         "NVagp" "1"
    Option         "RenderAccel" "on"
    Option         "DigitalVibrance" "35"
    Option         "NoFlip" "on
    Screen          1
EndSection
 
 
# **********************************************************************
# Screen sections
# **********************************************************************
 
 
Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "DFP: 1280x1024 +0+0; DFP: 1024x768 +0+0; DFP: 800x600 +0+0; DFP: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
 
Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "CRT: 1024x768 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
 
 
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
 
 
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 1024 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "OffTime" "15
EndSection


_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum