LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help with Dual Monitor (so close!) (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-dual-monitor-so-close-115511/)

thebeen 11-13-2003 04:41 AM

Need help with Dual Monitor (so close!)
 
Ok guys, I know this is probably something really minor and stupid but here we go

I have a GeForce 4 Ti4600 with nvidia drivers and mandrake 9.1 installed.

My monitor is connected thru DVI
properties are
1280x1024 @ 60 Hz refresh rate

I have edited my config file (both manually and with yanc)

Code:


Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    HorizSync 60.0-70.0
    VertRefresh 55.0-70.0

    # Custom Line -- from internet.
    ModeLine "1280x1024"    110 1280 1328 1512 1712 1024 1025 1028 1054 -hsync -vsync
#    ModeLine "800x600_s"  38.22 800 832 912 1024 600 601 604 622 -hsync +vsync
#    ModeLine "1280x1024_6"  108.88 1280 1360 1496 1712 1024 1025 1028 1060 -hsync -vsync
#    ModeLine "800x600_v"  68.18 800 848 936 1072 600 601 604 636 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    #  ModeLine "768x576"    50.00  768  832  846 1000  576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    # ModeLine "768x576"    63.07  768  800  960 1024  576  578  590  616
    Option "DPMS"
EndSection

Section "Device"
    Identifier "TwinViewTV"
    VendorName "nvidia"
    Driver "nvidia"
    BusID  "PCI:1:0:0"
    Option "DPMS"
    Option "TwinView" "1"
    Option "IgnoreEDID"              "1"
    Option "UseEdidFreqs"            "0"
    Option "HWCursor"                "0"
    Option "NvAGP" "3"
    Option "SecondMonitorHorizSync" "30-50"
    Option "SecondMonitorVertRefresh" "60"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1280x1024@1280x1024,800x600@800x600"
    Option "TVOutFormat"              "COMPOSITE"
    Option "TVStandard" "NTSC-M"
    Option "ConnectedMonitor"        "DFP, TV"
    Option "IgnoreDisplayDevices"    "CRT"
    Option "DigitalVibrance" "78"
EndSection

Section "Screen"
    Identifier  "TwinViewTV"
    Device      "TwinViewTV"
    Monitor    "monitor1"
    DefaultDepth 24
    Subsection "Display"
        Depth      24
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "TwinViewTV"
    Screen        "TwinViewTV"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "blank time"    "10"
    Option "off time"      "20"
EndSection
############################## NVTV ... ####################
#Section "Device"
#    Identifier "NVTV"
#    VendorName "NVidia
#    Driver "nvidia"
#    BusID "PCI:1:0:0"
#    Option "DMPS"
#    Option "IgnoreEDID"    "1"
#    Option "UseEdidFreqs"  "0"
#    Option "HWCursor"      "0"
#    Option "NvAGP"        "2"
#    Option "ConnectedMonitor" "DFP, TV"
#EndSection

#Section "Screen"
#    Identifier "NVTV"
#    Device "NVTV"
#    Monitor "monitor1"
#    DefaultDepth 24
#    Subsection "Display"
#        Depth 24
#        Modes "1280x1024_v"
#    EndSubsection
#Endsection

#Section "ServerLayout"
#    Identifier "NVTV"
#    Screen "NVTV"
#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Keyboard1" "CoreKeyboard"
#Endsection
############################################# NO TV OUT #######################
#Section "Device"
#    Identifier "device1"
#    VendorName "NVidia"
#    BoardName "NVIDIA GeForce4 (generic)"
#    Driver "nvidia"
#    Option "DPMS"
#EndSection

#Section "Screen"
#    Identifier "screen1"
#    Device "device1"
#    Monitor "monitor1"
#    DefaultColorDepth 24
#
#    Subsection "Display"
#        Depth 8
#      Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
#    EndSubsection
#   
#    Subsection "Display"
#        Depth 15
#        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
#    EndSubsection
#
#    Subsection "Display"
#        Depth 16
#        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
#    EndSubsection
#
#    Subsection "Display"
#        Depth 24
#        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
#    EndSubsection
#EndSection
#
#Section "ServerLayout"
#    Identifier "layout1"
#    InputDevice "Keyboard1" "CoreKeyboard"
#    InputDevice "Mouse1" "CorePointer"
#    Screen "screen1"
#EndSection


The commented out lines are different ways of trying to get this thing set up!


Alright so here is the deal:

I start up linux on a runlevel of 3. after login i run
startx

My monitor turns on at a resolution of 800x600.
TV gets no picture/signal (although I see it flicker 2 times when linux is booting)

So obviously something weird is going on. What is weirder is that if I logout from the KDE to go back to the text-base linux -- my monitor is still on but just a blank screen.

I am guessing my MODELINE is messed up. -- but the only counter to that is that I can get 1280x1024 resolution if I disconnect my svideo cable from my video card and use the NO TV OUTPUT layout (the third set in my code). Then the monitor runs perfectly, even if I logout.
(this is with that same MODELINE)


Here is a copy of my log file, you can see where the MODE messes up, but I simply don't understand:

Code:

II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) NVIDIA(0): Primary V_BIOS segment is: 0xc000
(II) NVIDIA(0): monitor1: Using hsync range of 60.00-70.00 kHz
(II) NVIDIA(0): monitor1: Using vrefresh range of 55.00-70.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 350.00 MHz
(II) NVIDIA(0): Not using default mode "640x350" (hsync out of range)
(II) NVIDIA(0): Not using default mode "320x175" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x400" (hsync out of range)
(II) NVIDIA(0): Not using default mode "320x200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "720x400" (hsync out of range)
(II) NVIDIA(0): Not using default mode "360x200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "320x240" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "320x240" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "320x240" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "320x240" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "400x300" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "400x300" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "400x300" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "400x300" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "400x300" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "512x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "512x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1152x864" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "576x432" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "832x624" (hsync out of range)
(II) NVIDIA(0): Not using default mode "416x312" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1152x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "576x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "700x525" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (width too large for virtual size)
(WW) NVIDIA(0): Not using mode "1280x1024" (not a valid TV mode)
(WW) NVIDIA(0): Not using mode "1280x960" (not a valid TV mode)
(WW) NVIDIA(0): Not using mode "700x525" (not a valid TV mode)
(WW) NVIDIA(0): Not using mode "640x512" (not a valid TV mode)
(**) NVIDIA(0): Validated modes for display device TV-0:
(**) NVIDIA(0):      Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(II) NVIDIA(0): monitor1: Using hsync range of 30.00-50.00 kHz
(II) NVIDIA(0): monitor1: Using vrefresh value of 60.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 350.00 MHz
(II) NVIDIA(0): Not using mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x350" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x175" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "720x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "360x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "400x300" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1152x864" (hsync out of range)
(II) NVIDIA(0): Not using default mode "576x432" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "832x624" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "416x312" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1152x768" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "576x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "700x525" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "700x525" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (width too large for virtual size)
(**) NVIDIA(0): Validated modes for display device DFP-0:
(**) NVIDIA(0):      Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) NVIDIA(0):      Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(WW) NVIDIA(0): Unable to find mode "1280x1024" for display device 0 in
(WW) NVIDIA(0):      MetaMode "1280x1024@1280x1024,800x600@800x600"
(II) NVIDIA(0): Virtual screen size determined to be 800 x 600

(==) NVIDIA(0): DPI set to (75, 75)


And finally this is what I am trying to do:

I want to run seperate desktops on my monitor and tv so that I can play video/etc on my tv while still working on my primary device (my monitor).

I used to do this in Windows XP by using the "extended desktop" feature with OVERLAY enabled.


ANY HELP ON THIS WILL BE MUCH APPRECIATED!!!!!!!!!!!

kasperhans 11-13-2003 10:06 AM

here is a basic 2 monitor config example change the specific details for your system as well as driver and options and it should work fine

# XF86Config-4 example for Dual Head Mode

# ---------------- This stuff needs to be adapted for your machine -----------

Section "Files"
FontPath"unix/:7110"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
#FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
#Option "AllowMouseOpenFail"
#Option "noPM"
Option "BlankTime" "99999"
Option "StandbyTime" "99999"
Option "SuspendTime" "99999"
Option "OffTime" "99999"
EndSection

Section "Module"
Load"GLcore"
Load"dbe"
#Load"dri" - no longer needed, driver loads it automatically
Load"extmod"
Load"glx"
Load"record"
Load"bitmap"
Load"freetype"
Load"speedo"
Load"type1"
# For XFree86 4.1, add the following here:
# Load "int10"
# Load "vbe"
EndSection

Section "InputDevice"
Identifier"Generic Keyboard"
Driver"keyboard"
Option"CoreKeyboard"
Option"XkbRules""xfree86"
Option"XkbModel""pc104"
Option"XkbLayout""de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier"Configured Mouse"
Driver"mouse"
Option"CorePointer"
Option"Device""/dev/psaux"
Option"Protocol""PS/2"
Option"Emulate3Buttons""true"
Option"ZAxisMapping""4 5"
EndSection

Section "InputDevice"
Identifier"USB Mouse"
Driver"mouse"
Option"SendCoreEvents""true"
Option"Device""/dev/input/mice"
Option"Protocol""ImPS/2"
Option"Emulate3Buttons""true"
Option"ZAxisMapping""4 5"
EndSection

# --------------- End of machine specific stuff ------------------------------

# ----------------------------------------------------------
# MONITOR section
# ----------------------------------------------------------
# This section contains data for monitor configuration.

# Monitor section for CRT2 (master head)

Section "Monitor"

Identifier "CRT2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"

# VertRefresh & HorizSync:
# Despite this section describing CRT2, you should set some values here
# anyway to keep XFree86 from deleting the mode from the mode list.
# The values don't matter in any way as long as the upper limits are high
# enough to allow the resolution to be used on CRT2.
VertRefresh 60-75
HorizSync 30-90

EndSection

# Monitor section for CRT1 (slave head)

Section "Monitor"
Identifier "CRT1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# These values are actually used to determine the resolution/refresh rates
# to be used on CRT1!
VertRefresh 60-75
HorizSync 30-90
EndSection

# ----------------------------------------------------------
# DEVICE sections
# ----------------------------------------------------------
# This section contains configuration data of the video card.

# Device section for CRT2 (master head)

Section "Device"

Driver "sis"
Identifier "SiS 630-1"
VendorName "SiS"
BoardName "630"

# Option "ForceCRT2Type":
# This option selects the CRT2 output device type and is only useful
# on systems containing a video bridge (such as most laptops).
# Available options are:
# "TV" (if TV connector present),
# "LCD" alias "DVI-D" (if LCD panel present),
# "VGA" alias "DVI-A" (don't use this unless your machine has a
# secondary VGA connector or a DVI-I connector.
# The VGA connector on your laptop is CRT1!),
# "NONE" (this will switch off CRT2). You might want to use "NONE" for
# using higher resolutions than your LCD panel supports when
# connected to an external VGA.
# "SVIDEO" to force the TV output type to be S-VIDEO (SiS video bridges only)
# "COMPOSITE" like SVIDEO, but using COMPOSITE output (SiS video bridges only).
#Option "ForceCRT2Type" "TV"

# Since this is the driver section for CRT2, options for adjusting the TV
# image (such as TVStandard, CHTVOverscan, etc) should be placed in this
# section (and not the Device section for CRT1 below)

# Generally: Set as many options as possible in this device section,
# not the one for CRT1. CRT2 is initialized first (thus the term
# "master head") and its settings rule in many cases over the one
# given in the slave device's (CRT1) section. The only exceptions for
# this rule are all gamma correction and Xv related options, see below.

# For dual head mode, BusID has to be specified! Check this using lspci!
BusID"PCI:1:00:0"

# "Screen" selects the screen number for this device in dual head mode
# Screen 0 is master (always CRT2)
Screen0

EndSection

# Device section for CRT1 (Slave head)

Section "Device"
Driver "sis"
Identifier "SiS 630-2"

# For dual head mode, BusID must be specified!
BusID"PCI:1:00:0"

# Generally: Set all the options you need in the master
# section, not here. See above. The only exeptions to this
# rule are all Xv and gamma correction related options, such as
#Option"CRT1Gamma" "false"
#Option "StoredGammaBrightness" "1.1 1.1 1.1"
#Option"StoredGammaPreBrightness" "1.2 1.2 1.2"
#Option"XvGamma" "1.0 1.2 0.8"
#Option "XvDefault..."

# "Screen" selects the screen number for this device in dual head mode
# Screen 1 is slave (always CRT1 = external VGA)
Screen 1

EndSection

# ----------------------------------------------------------
# SCREEN section(s)
# ----------------------------------------------------------
# This section defines the available resulutions and depths.

# Screen section for CRT2 (LCD/DVI-D, TV, VGA2/DVI-A)

Section "Screen"
Identifier "Screen1"
Device "SiS 630-1"
Monitor "CRT2"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

# Screen section for CRT1 (VGA)

# DefaultDepth must be identical to master screen if using Xinerama.
# Otherwise, depths can be different.
# A depth of 8 is not supported in dual head mode.
# Resolutions can be different.

Section "Screen"
Identifier "Screen2"
Device "SiS 630-2"
Monitor "CRT1"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection


Section "ServerLayout"
Identifier"Default Layout"

# To enable dual head mode:
Screen"Screen1"
Screen"Screen2" RightOf "Screen1"

# This enables Xinerama. If you don't set this to "on", startx will spawn
# two indepentent X screens. In Xinerama mode, both screens are virtually
# one screen.
Option"Xinerama" "on"

InputDevice"Generic Keyboard"
InputDevice"Configured Mouse"
InputDevice"USB Mouse"
EndSection

Section "DRI"
Mode0666
EndSection

# end of XF86Config

thebeen 11-13-2003 12:20 PM

Does that mean that twinview will not work with my system? Is dualhead a better method, but isnn't xinerama an older version with older nvidia drivers?

I was thinking there is a simple error in my metamodes sections, according to the log file created.

thebeen 11-13-2003 05:23 PM

due to request, here is my entire xf86 file and my log:

Code:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbCompat" ""
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/usbmouse"
    Option "ZAxisMapping" "6 7"
EndSection
####################################################LAYOUT1######################3
Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    HorizSync 60.0-70.0
    VertRefresh 55.0-70.0
   
    # Custom Line -- from internet.
    ModeLine "1280x1024"    110 1280 1328 1512 1712 1024 1025 1028 1054 -hsync -vsync
#    ModeLine "800x600_s"  38.22 800 832 912 1024 600 601 604 622 -hsync +vsync
#    ModeLine "1280x1024_6"  108.88 1280 1360 1496 1712 1024 1025 1028 1060 -hsync -vsync
#    ModeLine "800x600_v"  68.18 800 848 936 1072 600 601 604 636 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
#    ModeLine "768x576"    50.00  768  832  846 1000  576  590  595  630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
#    ModeLine "768x576"    63.07  768  800  960 1024  576  578  590  616
    Option "DPMS"
EndSection

#Section "Device"
#    Identifier "TwinViewTV"
#    VendorName "nvidia"
#    Driver "nvidia"
#    BusID  "PCI:1:0:0"
#    Option "DPMS"
#    Option "TwinView" "1"
#    Option "IgnoreEDID"              "1"
#    Option "UseEdidFreqs"            "0"
#    Option "HWCursor"                "0"
#    Option "NvAGP" "3"
#    Option "SecondMonitorHorizSync" "30-67"
#    Option "SecondMonitorVertRefresh" "60"
#    Option "TwinViewOrientation" "RightOf"
#    Option "MetaModes" "1280x1024@800x600,800x600@800x600"
#    Option "TVOutFormat"              "COMPOSITE"
#    Option "TVStandard" "NTSC-M"
#    Option "ConnectedMonitor"        "DFP, TV"
#    Option "IgnoreDisplayDevices"    "CRT"
#    Option "DigitalVibrance" "78"
#EndSection

#Section "Screen"
#    Identifier  "screen1"
#    Device      "TwinViewTV"
#    Monitor    "monitor1"
#    DefaultDepth 24
#    Subsection "Display"
#        Depth      24
#        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
#        EndSubsection
#EndSection

#Section "ServerLayout"
#    Identifier  "TwinViewTV"
#    Screen        "screen1"
#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Keyboard1" "CoreKeyboard"
#    Option "blank time"    "10"
#    Option "off time"      "20"
#EndSection
###############################################LAYOUT2###########################
#Section "Device"
#    Identifier "NVTV"
#    VendorName "NVidia
#    Driver "nvidia"
#    BusID "PCI:1:0:0"
#    Option "DMPS"
#    Option "IgnoreEDID"    "1"
#    Option "UseEdidFreqs"  "0"
#    Option "HWCursor"      "0"
#    Option "NvAGP"        "2"
#    Option "ConnectedMonitor" "DFP, TV"
#EndSection

#Section "Screen"
#    Identifier "NVTV"
#    Device "NVTV"
#    Monitor "monitor1"
#    DefaultDepth 24
#    Subsection "Display"
#        Depth 24
#        Modes "1280x1024_v"
#    EndSubsection
#Endsection

#Section "ServerLayout"
#    Identifier "NVTV"
#    Screen "NVTV"
#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Keyboard1" "CoreKeyboard"
#Endsection

#######################################LAYOUT3#################################
Section "Device"
    Identifier "device1"
    VendorName "NVidia"
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"
    Option "DPMS"
    Option "ConnectedMonitor" "DFP"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth 8
      Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection

    Subsection "Display"
        Depth 15
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection

    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection


for clarification, i am on layout3 right now -- which allows my monitor to run at 1280x1024 with no problems. TV is not on and twinview is not enabled.


Layout #1 is what I would like to get working.


this is the log that is created with layout 3... you can compare to what I have posted in the original first post .. with twinview enabled.

I hope this does not confuse people


All times are GMT -5. The time now is 06:56 PM.