Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Dual monitor with nvidia and with Unity 3d

  1. #1
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Dual monitor with nvidia and with Unity 3d

    FIXED, working xorg.conf here

    Opening post:
    How can i be able to enable dynamically my second monitor and use Unity at the same time?

    Summary system:
    HP Compaq 8710p laptop, Nvidia Quadra 320M, Natty 64bit, with attached 2nd 19" monitor

    Description steps taken this far:
    By default ubuntu ships with the following xorg.conf conform the new minimalist trend:
    Code:
    Section "Device"
        Identifier    "Default Device"
        Option    "NoLogo"    "True"
    EndSection
    I use the nvidia-current binary drivers.

    In this configuration:

    • Unity works
    • Xrandr sees 1 screen (so no configuration of second screen possible)
    • Standard monitor configuration tool in Ubuntu shows 1 screen

    With http://willem.engen.nl/projects/disper/
    Code:
    disper -d auto -e
    my second monitor comes alive. My laptopscreen becomes dark (with moving mouse cursor). Unity / Ubuntu classic (no effects) go into scrambled mode. Mouse is moving, objects are not clickable.

    Because the above (dynamic) steps did not work, i turned to the NVidia configuration UI:

    • Twinview scrambles my screen like disper for Ubuntu classic (no effects). Unity did not show.
    • 2 seperate screen resulted in application errors.
    • With Xinerama unity does not show, but at least i can be productive at work

    With Xinerama my xorg.conf is:
    Code:
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" RightOf "Screen1"
        Screen      1  "Screen1" 0 0
        Option         "Xinerama" "1"
    EndSection
    
    Section "ServerFlags"
        # Not working with Xinerama anyways.
        Option    "RandR" "on"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Monitor"
    
        # HorizSync source: edid, VertRefresh source: edid
        Identifier     "Monitor1"
        VendorName     "Unknown"
        ModelName      "LPL"
        HorizSync       30.0 - 75.0
        VertRefresh     60.0
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
    
        # HorizSync source: edid, VertRefresh source: edid
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Acer AL1916W"
        HorizSync       31.0 - 84.0
        VertRefresh     56.0 - 76.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device1"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "Quadro NVS 320M"
        BusID          "PCI:1:0:0"
        Screen          1
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "Quadro NVS 320M"
        BusID          "PCI:1:0:0"
        Screen          0
    EndSection
    
    Section "Screen"
        Identifier     "Screen1"
        Device         "Device1"
        Monitor        "Monitor1"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "TwinViewXineramaInfoOrder" "DFP-0"
        Option         "metamodes" "DFP: 1680x1050 +0+0; DFP: nvidia-auto-select +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    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
    Last edited by nathema; May 11th, 2011 at 10:45 AM. Reason: Solved

  2. #2
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Dual monitor with nvidia and with Unity 3d

    Is ATI/Intel dualscreen working out of the box and dynamically under Ubuntu 11.04 and even with unity?

  3. #3
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Dual monitor with nvidia and with Unity 3d

    I read statements that this is because a bug in the NVidia driver, not able to work properly with X server 1.10.

    Can somebody confirm this? Do other distributions encounter the same problem?

  4. #4
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Dual monitor with nvidia and with Unity 3d


  5. #5
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Dual monitor with nvidia and with Unity 3d

    nvidia-current is the newest stable NVidia driver and NVidia says it works for X server 1.10.

    So is this afterall an ubuntu thing?

  6. #6
    Join Date
    May 2011
    Location
    Netherlands
    Beans
    1
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Dual monitor with nvidia and with Unity 3d

    I got it working following this manual, http://www.ubuntugeek.com/dual-monit...th-nvidia.html. Just install nvidia-glx-185 and don't bother looking for the modules section where you need to replace nv with glx. It isn't there anymore.

    Working like a charm now.

    If you like i'll post my xorg.conf.

  7. #7
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Dual monitor with nvidia and with Unity 3d

    Quote Originally Posted by MarcelSt View Post
    I got it working following this manual, http://www.ubuntugeek.com/dual-monit...th-nvidia.html. Just install nvidia-glx-185 and don't bother looking for the modules section where you need to replace nv with glx. It isn't there anymore.

    Working like a charm now.

    If you like i'll post my xorg.conf.
    I'm quite interested in your xorg.conf!

    Does it:
    - provide unity 3d support on dualscreen
    - and/or provide dynamically disabling the second screen. I have a laptop and sometimes switch location and disconnect the screen.

    Postscript: nvidia-glx-185 is an transitional package and used for distro upgrades. It installs nvidia-current (which i use) and nvidia-settings.

  8. #8
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Dual monitor with nvidia and with Unity 3d

    Quite interesting blog entry about dynamic switching.

    I'll also give this one a shot, but if my memory serves me correctly, in Twinview mode xrandr shows only 1 head. To be testen tomorrow @ work.

    :EDIT:
    Xinerama: 2 screen definition
    Twinview: 1 screen definition
    2 XServers: 2 devices with each 1 screen

    Thinking of this maybe it's obvious xrandr shows only 1 screen. Checking tomorrow.

    Point about Unity remains unaltered. Unity 3d still not working in Twinview/Xinerama resulting in an non-responsive/scrambled screen. 2 Xservers running, one for each head is a possibility, but the errors I got were alarming. Checking tomorrow also.

    PS. Most of this thread is an monologue, but I'm not giving up. Lot of gossip, lots of posts with people with equal resolution screens in fixed setup, not much working till now.
    It was working under 10.04 tho.
    Last edited by nathema; May 9th, 2011 at 08:37 PM. Reason: Doubt

  9. #9
    Join Date
    May 2011
    Beans
    37
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Dual monitor with nvidia and with Unity 3d

    Using the NVidia Twinview documentation i created the following untested xorg.conf with twinview:
    Code:
    Section "ServerFlags"
        Option    "RandR" "on"
    EndSection
    
    Section "Device"
        Identifier     "quadra"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "Quadro NVS 320M"
        BusID          "PCI:1:0:0"
    EndSection
    
    Section "Screen"
        Identifier     "screen"
        Device         "quadra"
        DefaultDepth    24
        Option         "TwinView"
        Option         "MetaModes" "DFP-0: 1680x1050, CRT-0: 1400x900 @1400x1050"
        Option       "TwinViewOrientation" "CRT-0 RightOf DFP-0"
        Option         "HorizSync"   "CRT-0: 31 - 84; DFP-0: 30 - 75"
        Option         "VertRefresh" "CRT-0: 56-76; DFP-0: 60"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    Have to wait till wednesday to be able to test it at work.
    Last edited by nathema; May 10th, 2011 at 07:38 PM. Reason: Layout

  10. #10
    Join Date
    Mar 2009
    Location
    Boston
    Beans
    8
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Dual monitor with nvidia and with Unity 3d

    I have been struggling with a similar issue on a Dell Precision M65 with NVIDIA Quadro FX 350M. I found the GUI editor to be inconsistent with what is updated when I "save" a change. I have resorted to manually modifying the file.

    I am just getting back into Linux after many years. I had never used X in my Red Hat days, so I am unfamiliar with all the xorg.conf nuances. I find it interesting that similar to what you have posted myh xorg.conf seemed to have two entries for "metamodes". Although yours are listed for the laptop (DFP) whereas mine are listed for the CRT (aka DFP but what does X know?) I presume that this indicates your laptop is secondary/Monitor 1?

    Also, despite my having got Separate X and Xinerama "working" (to the extent that the second monitor displays unique content and I can drag windows to it), windows on my second display tend to hang if I try to interact with them: Eclipse actions freeze before completed; interaction with browser controls has no effect; the mouse pointer can be hidden. All I can seem to do is activate the window menu from the keyboard to get a handle on the window to "move" it back to the primary monitor!

    I am thinking I have to run Windows under Ubuntu so that Windows can control the displays :-O

Page 1 of 3 123 LastLast

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
  •