You are not logged in.

#1 2005-08-09 19:39:25

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Configuring X to use external monitor with laptop

I am trying to setup xorg so that I'll be able to use a regular  LCD monitor instead of my laptop monitor.  The external monitor is detected but there is a part of the screen that is missing. I can't seen the rightmost 1" of the screen. I assume (I can be wrong) that it's a resolution problem as my laptop has 1024x768 and the monitor has 1280x1024.  Google told me to use 2 screen section in xorg.conf but it doesn't work. With Ctrl+Alt++, I can switch from 1024x768 to 800x600 but I can't get the 1280x1024 resolution. Here's my xorg.conf. Any help is appreciated.

Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics Touchpad"
        InputDevice    "USB Mouse" "CorePointer"
     Option "MonitorLayout" "LFP,LCD"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
EndSection

Section "Files"
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    ModulePath   "/usr/X11R6/lib/modules"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath     "/usr/X11R6/lib/X11/fonts/TTF"
    FontPath     "/usr/X11R6/lib/X11/fonts/artwiz-fonts"
    FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
        Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "AutoRepeat" "500 30"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
EndSection

Section "InputDevice"
    Identifier  "Synaptics Touchpad"
    Driver      "synaptics"
    Option      "Protocol" "auto-dev"
    Option      "ZAxisMapping" "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents" "true"
     Option      "LeftEdge"      "1700"
    Option      "RightEdge"     "5400"
    Option      "TopEdge"       "1700"
    Option      "BottomEdge"    "4200"
    Option      "FingerLow"     "25"
    Option      "FingerHigh"    "30"
    Option      "MaxTapTime"    "180"
    Option      "MaxTapMove"    "220"
    Option      "VertScrollDelta" "50"
    Option      "MinSpeed"      "0.06"
    Option      "MaxSpeed"      "0.12"
    Option      "AccelFactor" "0.0010"
    Option      "SHMConfig"     "on"
EndSection

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

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    # 800x600 @ 56Hz (VESA) hsync: 35.2kHz
    ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
    # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
    ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
    # 800x600 @ 72Hz (VESA) hsync: 48.1kHz
    ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
    # 800x600 @ 75Hz (VESA) hsync: 46.9kHz
    ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
    # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
    ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
    # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
    ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
    # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
    ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
    # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
    ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
    # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
    ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
    ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
    # 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
    ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
    # Extended modelines with GTF timings
    # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
    ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
    # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
    ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
    # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
    ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
EndSection

Section "Monitor"
    Identifier "Monitor1"
        Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    # 800x600 @ 56Hz (VESA) hsync: 35.2kHz
    ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
    # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
    ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
    # 800x600 @ 72Hz (VESA) hsync: 48.1kHz
    ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
    # 800x600 @ 75Hz (VESA) hsync: 46.9kHz
    ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
    # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
    ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
    # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
    ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
    # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
    ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
    # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
    ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
    # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
    ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
    ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
    # 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
    ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
    # Extended modelines with GTF timings
    # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
    ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
    # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
    ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
    # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
    ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "All"
    BoardName   "All"
        VideoRam    65536
    Option "MonitorLayout" "LFP,LCD"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     4
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card0"
    Monitor    "Monitor1"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     4
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes  "1024x768" "1280x1024" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1024x768" "1280x1024" "800x600"
    EndSubSection
EndSection


Section "DRI"
    Mode 0666
EndSection

#Section "Extensions"
#    Option "Composite" "Enable"
#    Option "RENDER"    "Enable"
#EndSection

Offline

#2 2005-08-09 19:52:27

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Configuring X to use external monitor with laptop

Hmmm I'm finding nothing... except this guy's which might help:
http://filebox.vt.edu/users/jlido/linux/xorg.conf.fancy

Other than that, you may want to try removing the DDC module and setting Option "DDC" "False" for your i810 driver section - you specified the modelines, so it shouldn't be an issue.

Offline

#3 2005-08-10 03:17:01

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Configuring X to use external monitor with laptop

Thanks for the tips even if they didn't work.

According to this thread http://bbs.archlinux.org/viewtopic.php?t=12829 , it seems that you need the intel drivers for dual head display. What is dual head display? Is it what i'm trying to do (1 video card, 2 monitors) or is it with 2 video cards?

I tried playing with the monitor's settings (buttons under it). By  changing the horizontal offset to the right, I can see the missing portion of the screen but the problem is now with the leftmost part of the screen.

Is it possible to use only the external monitor? In Win XP, I can have 1280x1024 for the external monitor OR 1024x768 for the laptop but not both at the same time.  I don't know if it's an issue with the GUI or hardware.

Offline

#4 2005-08-10 03:51:22

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Configuring X to use external monitor with laptop

a) dual head display is two monitors at once - what you're trying to do technicaly should be some sort of hot swappable monitor thing... problem is I'm assuming your laptop screen will actuall still display - so I'd vote dual head
b) my laptop actually has a hardware switch to alternate between laptop, external monitor, and both - but it seems it's all done in hardware.... do you have something similar?

Offline

#5 2005-08-10 21:32:38

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Configuring X to use external monitor with laptop

phrakture wrote:

a) dual head display is two monitors at once - what you're trying to do technicaly should be some sort of hot swappable monitor thing... problem is I'm assuming your laptop screen will actuall still display - so I'd vote dual head

OK, I'll try the intel drivers then.

phrakture wrote:

b) my laptop actually has a hardware switch to alternate between laptop, external monitor, and both - but it seems it's all done in hardware.... do you have something similar?

Yes, but it doesn't work.  I also tried using the "FlipPrimary" and "DevicePresence" options but they don't work.

Offline

Board footer

Powered by FluxBB