Results 1 to 8 of 8

Thread: Getting Dual Monitor support working in Unity with NVIDIA

  1. #1
    Join Date
    Jun 2011
    Beans
    27

    Getting Dual Monitor support working in Unity with NVIDIA

    Hi,

    I have an NVIDIA 9800 GTX. I have 2 DELL monitors connect to this card, one is a 24" and the other is 21".

    I am unable to use Xinerama mode with Unity, because for some reason after logging in, I get no desktop interface, only background wallpaper, and I have to force reboot.

    How can I setup dual monitors in Ubuntu using Unity properly? Note that I do NOT want to use TwinView, since this results in dead space around the smaller monitor.

    Thanks. If you need more information please let me know.

  2. #2
    Join Date
    Nov 2009
    Beans
    3,225

    Re: Getting Dual Monitor support working in Unity with NVIDIA

    If you could just let us know that the Nvidia driver is installed and working first of all

    Check

    Nvidia-Settings .... and see what information it gives you back as regards the driver you are currently using ...

    This is my set up - done initially through adding additional hardware drivers.

    __________________________________________________ _

    This is mine and the information that mine shows .....

    It may be useful to others if you can add screenshots similar to this ...... or the driver you are currently using ....

    I am using xorg-edgers latest display driver though .... so yours may be different .....








    I realise that you want to use xinerama .... so all I will do is show you what information may be useful to others to solve the problem

    ( as screen resolutions and your current drivers will be important here ).

  3. #3
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,659
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Getting Dual Monitor support working in Unity with NVIDIA

    AFAICT Xinerama does not work properly & it has been forgotten.

    There is a big change coming to Xorg & its possible replacement so there will not be any effort wasted on xinerama.

    So you have Twinview (supported works well) or separate X screens (works well).

    Separate X screens allows full video & openGL performance, independent video modes.
    But it does NOT allow dragging between screens, no icons/launches on 2nd screen.
    You can force apps to launch on either with export DISPLAY:=0.1 && app

    I'm not planning to use 11.04 unity with 2 monitors any time soon..

    So you need (2) monitors with the same native resolution..then twinview should work fine.

  4. #4
    Join Date
    Nov 2009
    Beans
    3,225

    Re: Getting Dual Monitor support working in Unity with NVIDIA

    I just had another quick look around too ..... good thread to look at for making decisions
    its old but shows a poll of the usage and a lot of results from USERS too .....

    http://ubuntuforums.org/showthread.php?t=221174

    link from that to Xinerama information

    A possible future .....
    Plus what the Wayland Architecture is set up .... if this is the future .....

    http://wayland.freedesktop.org/architecture.html

    ____________________________________________

    Not sure if this is the way that UBUNTU is going for future releases though ... or how
    long it will take to implement if they do .......

    Some more recent interesting Information - the future is explained down at the bottom of this article

    clutter
    wayland

    Quote taken from above article and link ...
    Development

    Canonical Ltd., owner of Ubuntu, hired Sam Spilsbury,[27] primary Compiz developer. He has been moving Compiz dependencies on X into a plugin. This will make it easier to enable Compiz to become a Wayland display server.[28] Canonical is planning to help port Compiz to OpenGL ES, currently a requirement for Wayland display servers.[29]
    KWin, the KDE window manager, added support for OpenGL ES output.[30] It will ship with KDE SC 4.7. [31] So far KWin has recieved it's initial port to Wayland.[32]
    Kristian Hogsberg
    http://hoegsberg.blogspot.com/
    Last edited by 23dornot23d; June 22nd, 2011 at 02:59 AM.

  5. #5
    Join Date
    Jun 2011
    Beans
    27

    Re: Getting Dual Monitor support working in Unity with NVIDIA

    So when is this big change to Xorg supposed to come? I don't really know what Xorg is, but if it gives me better options than TwinView on Unity that's great.

  6. #6
    Join Date
    Nov 2009
    Beans
    3,225

    Re: Getting Dual Monitor support working in Unity with NVIDIA

    Well the next release is in October .... we wait and see ....

    or we join the development team and do some testing ..... always got its ups and downs
    but it does keep us in touch with some of the new changes ....

    Search on Oneiric .... but its 11.10 and as I say the development version.
    Last edited by 23dornot23d; June 22nd, 2011 at 04:54 AM.

  7. #7
    Join Date
    Jan 2011
    Beans
    15

    Re: Getting Dual Monitor support working in Unity with NVIDIA

    I finally got a dualhead setup going. not seprate or twin. xinerama is turned on in the config though.. 2 1440x900 pannels 1 normal the other verticle. it took a little putzing around to get it to work. when I upgraded to 11 it worked for a bit but I now get issues with opengl turned on in compiz. If I turn compiz off screens back to 10.4 quality. My left screen is normal for video and regular usage. and when I need to read an article etc it goes to the right screen which is set like a leagel sheet.


    Code:
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Asus"
        ModelName      "ACI ASUS VW193T"
        HorizSync       30.0 - 83.0
        VertRefresh     55.0 - 75.0
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor1"
        VendorName     "Viewsonic"
        ModelName      "ViewSonic VA1912wSERIES"
        HorizSync       30.0 - 82.0
        VertRefresh     50.0 - 85.0
        Option         "DPMS"
        # HorizSync source: edid, VertRefresh source: edid
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "TwinViewXineramaInfoOrder" "CRT-0"
        Option         "metamodes" "CRT: 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: nvidia-auto-select +0+0"
        Option         "rotate" "ccw"
        Option         "RandRRotation" "on"
        SubSection "Display"
            Depth       24
        EndSubSection
    EndSection
    and the server code

    Code:
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        Option         "Xinerama" "1"
        Option         "Composite" "Enable"
        Option         "RANDR" "Enable"
        # Removed Option "Xinerama" "0"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 7900 GS"
        BusID          "PCI:7:0:0"
        Screen          0
        Option    "NoLogo"    "True"
    EndSection
    
    Section "Device"
        Identifier     "Device1"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 7900 GS"
        BusID          "PCI:7:0:0"
        Screen          1
        Option    "NoLogo"    "True"
        #Driver    "nouveau"
    EndSection

  8. #8
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,659
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Getting Dual Monitor support working in Unity with NVIDIA

    From the 275 driver readme..

    Chapter 17. Using the XRandR Extension

    Workstation RGB or CI overlay visuals will function at lower performance and the video overlay will not be available when RandRRotation is enabled.

    TwinView and rotation can be used together, but rotation affects the entire desktop.
    Chapter 23. Using the X Composite Extension

    The Composite extension is currently incompatible with Xinerama, due to limitations in the X.Org X server. Composite will be automatically disabled when Xinerama is enabled.
    So no composite effects with xinerama..
    To have independent rotated screens (with adequate performance), you have to use separate X screens.

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
  •