Find the answer to your Linux question:
Results 1 to 8 of 8
For months, I could not get Dual Screen / Extended desktop to work on Linux CentOS with laptop T60. At the moment my monitor displays same thing as laptop screen. ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14

    CentOS 5, Lenovo T60, Intel, Extended desktop not working

    For months, I could not get Dual Screen / Extended desktop to work on Linux CentOS with laptop T60. At the moment my monitor displays same thing as laptop screen. I would like extended desktop.

    My machine is: IBM / Lenovo T60

    My Monitor: V7 Videoseven (basic 17inc TFT monitor)

    My laptop graphics card: "00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)"

    My OS is: CentOS 5.3 (32 bit)

    I have tried many setting inc. from following site: www labri.fr/perso/fleury/hacks/p7120/p7120.xorg

    No luck.

    My /etc/X11/xorg.conf currently has (and working):

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Synaptics" "CorePointer"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "gb"
    EndSection

    Section "InputDevice"
    Identifier "Synaptics"
    Driver "synaptics"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "auto-dev"
    Option "Emulate3Buttons" "yes"
    EndSection

    Section "Monitor"

    ### Comment all HorizSync and VertSync values to use DDC:
    Identifier "Monitor0"
    ModelName "LCD Panel 1280x1024"
    ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync 31.5 - 64.0
    VertRefresh 56.0 - 65.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "intel"
    EndSection

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


    Please kindly help, if you know of the fix.
    Thank you

    -
    Last edited by sape007; 06-17-2009 at 09:02 AM. Reason: Add thanks

  2. #2
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    This feature would be a video driver feature, so look into the documentation for the driver. To find more information about the display and what it is doing, take a look at the Xorg .log, usually found in the /var/log folder.

    You most likely are using the intel video driver. You will need to set up the xorg.conf file for dual monitors. For information on how to do this, read the intel manual.
    Code:
    man intel
    Scroll down to the section titled "MULTIHEAD CONFIGURATIONS". It gives some examples of what to put in the xorg.conf file. Each monitor will need to have a separate section.
    Code:
           Section "Monitor"
             Identifier "Laptop FooBar Internal Display"
             Option "Position" "0 0"
           EndSection
    
           Section "Monitor"
             Identifier "Some Random CRT"
             Option "Position" "1024 0"
             Option "RightOf" "Laptop FoodBar Internal Display"
           EndSection
    
           Section "Device"
             Driver "intel"
             Option "monitor-LVDS" "Laptop FooBar Internal Display"
             Option "monitor-VGA" "Some Random CRT"
           EndSection
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14
    Many thanks for your reply.

    But man intel shows blank page. Tried google'ing but nothing suitable found aswell.

  4. #4
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    I found two online versions that show the options that can be used. But they don't show the example, which I already posted.

    intel.4(intel.4.gz) manual page
    i810(4): Intel 8xx integrated graphics chipsets - Linux man page

    I do hope that you are using the intel driver.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  5. #5
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    I'll post the Multihead section from my Ubuntu Intel man pages. It may have some useful info.

    ================================================== ===============
    MULTIHEAD CONFIGURATIONS
    The number of independent outputs is dictated by the number of CRTCs (in X parlance) a given chip supports. Most
    recent Intel chips have two CRTCs, meaning that two separate framebuffers can be displayed simultaneously, in an
    extended desktop configuration. If a chip supports more outputs than it has CRTCs (say local flat panel, VGA and
    TV in the case of many outputs), two of the outputs will have to be "cloned", meaning that they display the same
    framebuffer contents (or one displays a subset of another’s framebuffer if the modes aren’t equal).

    You can use the "xrandr" tool, or various desktop utilities, to change your output configuration at runtime. To
    statically configure your outputs, you can use the "Monitor-<type>" options along with additional monitor sections
    in your xorg.conf to create your screen topology. The example below puts the VGA output to the right of the
    builtin laptop screen, both running at 1024x768.

    Section "Monitor"
    Identifier "Laptop FooBar Internal Display"
    Option "Position" "0 0"
    EndSection

    Section "Monitor"
    Identifier "Some Random CRT"
    Option "Position" "1024 0"
    Option "RightOf" "Laptop FoodBar Internal Display"
    EndSection

    Section "Device"
    Driver "intel"
    Option "monitor-LVDS" "Laptop FooBar Internal Display"
    Option "monitor-VGA" "Some Random CRT"
    EndSection
    ================================================== ===============

    You may also want to read the xorg.conf manual.
    Code:
    man xorg.conf
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  6. #6
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14

    Wink

    Many thanks Paul.

    With your suggestion and sample from "www . ubuntuforums.org/archive/index.php/t-32580 . html" helped me configure dual / extended desktop on CenOS 5. (thanks for the person who put the sample on above site, I hope my below example helps someone).

    Below works fine for me on: CentOS 5, 32bit, Lenovo T60, Intel, A basic 17inc TFT called V7. These settings are basic, I am sure further tuning can be done to suit your needs.

    My configs are now:
    Code:
    Section "ServerLayout"
            Identifier "Default Layout"
            Screen 0 "Default Screen"
            Screen 1 "Default Screen 2" LeftOf "Default Screen"
            InputDevice    "Keyboard0" "CoreKeyboard"
            InputDevice    "Synaptics" "CorePointer"
    EndSection
    
    
    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "kbd"
            Option      "XkbModel" "pc105"
            Option      "XkbLayout" "gb"
    EndSection
    
    Section "InputDevice"
            Identifier  "Synaptics"
            Driver      "synaptics"
            Option      "Device" "/dev/input/mice"
            Option      "Protocol" "auto-dev"
            Option      "Emulate3Buttons" "yes"
    EndSection
    
    Section "Device"
            Identifier "My Intel Device 1"
            Driver "i810"
            BusID "PCI:0:2:0"
            Option "MonitorLayout" "CRT,LFP"
            Option "FlipPrimary" "false"
            Option "DevicePresence" "true"
            Screen 0
    EndSection
    
    Section "Device"
            Identifier "My Intel Device 2"
            Driver "i810"
            BusID "PCI:0:2:0"
            Option "MonitorLayout" "CRT,LFP"
            Option "DevicePresence" "true"
            Screen 1
    EndSection
    
    Section "Monitor"
            Identifier "Generic Monitor"
            Option "DPMS"
            HorizSync 28-49
            VertRefresh 43-72
    EndSection
    Section "Monitor"
            Identifier "Generic Monitor 2"
            Option "DPMS"
            HorizSync 28-49
            VertRefresh 43-72
    EndSection
    
    Section "Screen"
            Identifier "Default Screen 2"
            Device "My Intel Device 2"
            Monitor "Generic Monitor 2"
            DefaultDepth 24
            SubSection "Display"
                    Depth 24
                    Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1024x768" "800x600" "640x480"
            EndSubSection
    EndSection
    
    Section "Screen"
            Identifier "Default Screen"
            Device "My Intel Device 1"
            Monitor "Generic Monitor"
            DefaultDepth 24
            SubSection "Display"
                    Depth 24
                    Modes "1024x768"
            EndSubSection
    EndSection
    
    Section "DRI"
            Mode 0666 #Disable by Xinerama
    EndSection

  7. #7
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    Nice!

    Thanks for posting back with the working xorg.conf file. It can help others with the same problem.

    I'll post that link for you. Just a few more posts and you will be able to posts links too.

    Trying to configure extended desktop [Archive] - Ubuntu Forums

    Thanks Again!
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  8. #8
    Just Joined!
    Join Date
    Apr 2009
    Posts
    59
    I just copied the code (sample xorg.conf) which is provided by sape007 and restarted the machine. But unfortunately this didn't work.
    Mine is Dell vostro 1510 laptop with Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller and Dell 2208WFP(Analog) as second monitor.
    Could you please help me to fine tune the xorg.conf for me.

    Thanks in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...