Results 1 to 8 of 8

Thread: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

  1. #1
    Join Date
    May 2009
    Beans
    28

    xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    Hey guys,

    So, I got a displaylink device and the latest version of Kubuntu installed on a MacBookPro 6,2. When I plug in the displaylink device, I get the green screen, which is great. At this point, every guide out there says to update xorg.conf. However, xorg.conf completely ignores all display link related entries. This was happening in Natty, as well as 11.10 now.

    Is there some other file I need to change other than xorg.conf in order to get DisplayLink to work? I searched around and this seems to be happening repeatedly to many people with no resolution. Thanks for your time.

  2. #2
    Join Date
    Dec 2004
    Location
    Atlanta, GA USA
    Beans
    7,257
    Distro
    Ubuntu Development Release

    Re: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    Try installing the displaylink driver
    Code:
    sudo apt-get install xserver-xorg-video-displaylink
    reboot.

  3. #3
    Join Date
    May 2009
    Beans
    28

    Re: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    Thanks for the response, but it says it is "already the newest version." Would more information be helpful? Here is my xorg.conf:

    Code:
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 285.05.09  (buildmeister@swio-display-x86-rhel47-02.nvidia.com)  Fri Sep 23 17:55:42 PDT 2011
    
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 285.05.09  (buildmeister@swio-display-x86-rhel47-02.nvidia.com)  Fri Sep 23 17:55:57 PDT 2011
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      1  "Screen0" 0 1050
        Screen      2  "Screen1" 1440 0
        Screen      0  "DisplayLinkScreen" 2880 0
    # commented out by update-manager, HAL is now used and auto-detects devices
    # Keyboard settings are now read from /etc/default/console-setup
    #    InputDevice    "Keyboard0" "CoreKeyboard"
    # commented out by update-manager, HAL is now used and auto-detects devices
    # Keyboard settings are now read from /etc/default/console-setup
    #    InputDevice    "Mouse0" "CorePointer"
        Option         "Xinerama" "1"
    EndSection
    
    Section "Files"
        ModulePath      "/usr/lib/xorg/modules"
        ModulePath    "/usr/lib/xorg/modules/drivers"
    EndSection
    
    # commented out by update-manager, HAL is now used and auto-detects devices
    # Keyboard settings are now read from /etc/default/console-setup
    #Section "InputDevice"
    #
    #    # generated from default
    #    Identifier     "Mouse0"
    #    Driver         "mouse"
    #    Option         "Protocol" "auto"
    #    Option         "Device" "/dev/psaux"
    #    Option         "Emulate3Buttons" "no"
    #    Option         "ZAxisMapping" "4 5"
    #EndSection
    
    # commented out by update-manager, HAL is now used and auto-detects devices
    # Keyboard settings are now read from /etc/default/console-setup
    #Section "InputDevice"
    #
    #    # generated from default
    #    Identifier     "Keyboard0"
    #    Driver         "kbd"
    #EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Apple Color LCD"
        HorizSync       30.0 - 75.0
        VertRefresh     60.0
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor1"
        VendorName     "Unknown"
        ModelName      "NEC PA271W"
        HorizSync       31.0 - 94.0
        VertRefresh     50.0 - 87.0
    EndSection
    
    Section "Monitor"
       Identifier      "DisplayLinkMonitor"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GT 330M"
        BusID          "PCI:1:0:0"
        Screen          0
        Option  "Coolbits" "1"
        Option  "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefaultAC=0x3"
    EndSection
    
    Section "Device"
        Identifier     "Device1"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GT 330M"
        BusID          "PCI:1:0:0"
        Screen          1
        Option "Rotate" "Left"
        Option  "Coolbits" "1"
        Option  "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefaultAC=0x3"
    EndSection
    
    Section "Device"
        Identifier     "DisplayLinkDevice"
        driver         "displaylink"
        Option "fbdev" "/dev/fb1"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Screen"
        Identifier     "Screen1"
        Device         "Device1"
        Monitor        "Monitor1"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "DFP-2: nvidia-auto-select +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Screen"
        Identifier     "DisplayLinkScreen"
        Device         "DisplayLinkDevice"
        Monitor        "DisplayLinkMonitor"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "DFP-4: 1920x1080 +0+0"
        SubSection "Display"
            Depth 24
            #Modes "1920x1080"
        EndSubSection
    EndSection
    
    Section "Extensions"
        Option         "Composite" "Disable"
    EndSection

  4. #4
    Join Date
    May 2009
    Beans
    28

    Re: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    I haven't gotten it to work yet, but was wondering if it could be something wrong with changes to X11 not working with display link stuff properly. As I understand it, X11 has switched over to autodetecting a lot of things, so maybe this is somehow conflicting with the displaylink sections in the xorg.conf.

    Otherwise, would the best course of action be switching back to 10.10? I'd be willing to take on security vulnerabilities and some operating system inefficiencies for more functionality, although, that's naturally not a tradeoff I'd prefer to make. Is it pretty simple to downgrade as it is to upgrade (I've never done so before)?

  5. #5
    Join Date
    May 2009
    Beans
    28

    Re: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    After bashing my head against my desk for almost a month on this, I stumbled across a thing by Pluggable itself mentioning that the Linux drivers are not expected to work, neither at all nor completely. The fact that some people have managed to get it to work under specific circumstances and with certain caveats is more of a grand exception to the rule than anything else.

    In other words, like other things involving Linux and multiple monitors, it simply doesn't work.

    But now that I know this is a dead end, I can move on and try and find alternative solutions to my situation.

  6. #6
    Join Date
    Feb 2006
    Location
    Keswick, Ontario, Canada
    Beans
    94
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    Hello,

    If you would and could be so kind as to use this thread to update when you find a solution.

    I cannot get 3 monitors to work in any distro, but Win7 it works just fine.

    If you can come up with a solution, I can finally allow this dent in the middle of my forehead to heal and maybe I can resurface my desk.

    Thanks,
    RAR
    My first Ubuntu Experience: IBM Thinkpad, Pentium III, 800 MHz, 256MB RAM, Ubuntu 6.06
    My current Ubuntu Experience : AMD64 Athlon, Dual Core 4200+, 2GB RAM, Ubuntu 9.10

  7. #7
    Join Date
    Feb 2007
    Location
    Amsterdam
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    I've asked Canonical Paid support for help with this and they came up with this config that partially works

    Warning the DisplayLink driver is dependent on reading the EDID (Extended display identification data) from the Monitor. If the monitor does not supply this, then (as in my case) everything you try will fail.


    This a partial workaround works for a single display:

    1. make sure the displaylink driver is installed

    Code:
    sudo apt-get install xserver-xorg-video-displaylink
    2. Put the following into the file /usr/share/X11/xorg.conf.d/52-displaylink.conf (please have a look at the Notes below as well)

    Code:
    Section "Device"
    Identifier "DisplayLinkDevice"
    driver "displaylink"
    Option "fbdev" "/dev/fb0" # or /dev/fb1 depending on the results of dmesg | grep DisplayLink
    EndSection
    
    ###
    Section "Monitor"
    Identifier "DisplayLinkMonitor"
    EndSection
    
    Section "Screen"
    Identifier "DisplayLinkScreen"
    Device "DisplayLinkDevice"
    Monitor "DisplayLinkMonitor"
    SubSection "Display"
    Depth 16
    Modes "1024x768"
    EndSubSection
    EndSection
    3. Add the following to /etc/gdm/Init/Default above the "exit 0" at the end of the file:

    ### set display for attached USB devices

    Code:
    XRANDR=`gdmwhich xrandr`
    if [ "x$XRANDR" != "x" ] ; then
    $XRANDR -o 0
    fi
    4. stop X

    Code:
    sudo stop gdm
    5. Test out before restarting gdm:

    Code:
    sudo startx
    At this point, you should see at least a mouse cursor that you can move around, and possibly the Unity 2D fallback interface, in case you're using Natty.

    6. If the desktop apepars and is usable, you should be able to now start gdm and have a login screen:

    Code:
    sudo start gdm
    Thanks to Eric Willams of Canonical for this partial solution.

    this thread also helped quite a bit

    http://ubuntuforums.org/showthread.php?t=1551966
    Last edited by kat_ams; November 19th, 2011 at 04:55 PM. Reason: added an extra url with more info
    Experiences flowing into dreams, into experiences.

  8. #8
    Join Date
    Feb 2007
    Location
    Amsterdam
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: xorg.conf ignoring DisplayLink monitors in Ubuntu 11.xx

    Please click on Also Affects me in Bug 812594 to help Canonical get an idea of how many people are dealing with this issue

    https://bugs.launchpad.net/ubuntu/+s...nk/+bug/812594
    Experiences flowing into dreams, into experiences.

Tags for this Thread

Bookmarks

Posting Permissions

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