LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-19-2007, 04:49 PM   #1
ZeroDaHero
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware 13.1, Slackware64 13.1
Posts: 26

Rep: Reputation: Disabled
Two Monitors


I've been using sabayon for a little bit now, and I'm trying to get two monitors working off the same card. I've added the TwinView option to xorg.conf, but my monitors are different sizes (a 15" that can't handle 1024x768 and a 17" that likes 1152x864). I was wondering a) if I can set them up with different resolutions, b) how to do that.
Thanks!
 
Old 06-20-2007, 10:35 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Try using my file below as a template for your settings, the real important parts to have are the Screen ? in the device sections and the server layout along with the Load "xtrap" so you will be able to move between the separate screens.

Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/local/share/fonts/truetype"
        FontPath        "/usr/share/fonts/truetype"
#       FontPath        "/var/lib/deforma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/share/fonts/X11/misc"
#       FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
        Load    "xtrap"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

#Logitech LX7 Cordless Optical
Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "Name"                  "Logitech USB RECEIVER"
        Option          "Emulate3Buttons"       "true"
        Option          "Resolution"            "1200"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Identifier  "Card0"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "3"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
#       Option      "DPI" "100x100"
        Option      "Coolbits"    "1"
#       Option      "IgnoreEDID"  "on"
        Option      "IgnoreDisplayDevices"  "TV"
#       Option      "NoBandWidthTest" "1"
#       Option      "AllowGLXWithComposite" "true"
        Screen       0
        VendorName  "EVGA"
        BoardName   "e-Geforce 7900 GS KO"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"                     # [<bool>]
        #Option     "crt_display"               # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "linear"                    # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "panel_display"             # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card1"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "3"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
        Option      "DPI" "100x100"
        Option      "Coolbits"    "1"
#       Option      "IgnoreEDID" "on"
#       Option      "NoBandWidthTest" "1"
#       Option      "AllowGLXWithComposite" "true"
        Screen      1
        Option      "IgnoreDisplayDevices"  "TV"
        VendorName  "EVGA"
        BoardName   "e-Geforce 7900 GS KO"
        BusID       "PCI:1:0:0"
EndSection

# Dell 2007WFP
Section "Monitor"
       DisplaySize      431   272     # mm
       Identifier   "Monitor0"
       VendorName   "Dell"
       ModelName    "2007WFP"
       HorizSync    30-81
       VertRefresh  56-76
       Option       "UseDisplayDevice" "DFP-0"
       Option       "AllowDDCCI" "on"
       Option       "DPMS" "true"
       Option       "BackingStore" "On"
EndSection

# NEC P1250 +
Section "Monitor"
       DisplaySize      406   305     # mm
       Identifier   "Monitor1"
       VendorName   "NEC"
       ModelName    "P1250 +"
       HorizSync    31-110 # DDC-probed
       VertRefresh  55-160 # DDC-probed
       Option      "UseDisplayDevice" "CRT-1"
       Option       "DPMS"  "true"
       Option       "BackingStore" "On"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth  24
        SubSection "Display"
                Depth     24
                Modes     "1680x1050"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultDepth 24
        SubSection "Display"
                Depth     24
                Modes     "1280x960"
        EndSubSection
EndSection



Section "ServerLayout"
        Identifier      "DualHead"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
 
Old 06-20-2007, 07:53 PM   #3
tnrooster
Member
 
Registered: Apr 2007
Location: bell buckle tn
Distribution: F13-F14
Posts: 88

Rep: Reputation: 15
On my workbench machine, fc6 , I'm using the nvidia driver on an old 5200. Twin view works fine though it requires reloading the driver with every x-update.

Within the nvidia conf menu it gives options for each screens res.
 
  


Reply



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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitors imaniman Linux - Hardware 2 04-10-2007 10:45 AM
monitors? white-gold-wiel Linux - Hardware 1 01-04-2005 07:33 AM
2 monitors, nvidia, problem with window-size (maximize uses both monitors) meximex Linux - Hardware 1 05-19-2004 04:37 AM
Two monitors JROCK1980 Slackware 1 02-04-2004 07:45 AM
TV's, CRT Monitors, LCD Monitors... refresh rates and other questions MasterC General 13 05-12-2003 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:37 PM.

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