I met with the same bug in Ubuntu 16.04.1 (amd64): 2 NVIDIA adapters with DVI and HDMI connectors on each of them, 4 identical Samsung monitors, 4th monitor is dead, 3rd is sometimes garbled, sometimes is OK. All the error messages described by Martin are the same. Luckily in #2 he provided the method which cures the bug with ATI cards in Fedora. I decided to try it with Nouveau driver in Ubuntu and it worked! I downloaded the sources using 'apt-get source xserver-xorg-video-nouveau', found the string in drmmode_display.c which checks whether HAS_DIRTYTRACKING2 is defined and fixed it. Then I compiled the driver and replaced '/usr/lib/xorg/modules/drivers/nouveau_drv.so' with the fixed version. After reboot all 4 monitors were working on login screen, '~/.config/monitors.xml' was created properly and all monitors were present when I logged in. I'm attaching the patch. Maybe the developers will notice it and fix the Nouveau driver? (BTW, ATI driver in Ubuntu 16.04 seems already fixed - I checked its sources and the mentioned string is already in place in drmmode_display.c)
** Patch added: "Fixes improper handling of 3rd and 4th monitors" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1597437/+attachment/4802770/+files/nouveau_drv.patch ** Package changed: xorg-server (Ubuntu) => xserver-xorg-video-nouveau (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1597437 Title: X with nouveau driver, 2 nvidia cards, 4 monitors, does not use all monitors Status in xserver-xorg-video-nouveau package in Ubuntu: Confirmed Bug description: Ubuntu 16.04 with two identical nvidia cards and four identical LG monitors. At the graphical login screen only the first 3 monitors appear alive (i.e. have backgrounds and the mouse can move to them). A pop-up appears: "Could not switch the monitor configuration" (bold text with do-not-enter icon) "could not set the configuration for CRTC 64" (normal text) After logging in (gnome flashback Metacity session) the same 3 monitors are alive and the same pop-up appears. Using Applications > System Tools > System Settings > Displays, the 4th monitor is shown in grey and when clicking it, it shows that the slider is off. When turning it to On (leaving default resolution and rotation) and clicking Apply "The selected configuration for displays could not be applied" (bold text with do-not-enter icon) "could not set the configuration for CRTC 64" (normal text) a few seconds later (if the first one is not closed) another pop up with do-not-enter icon: "Failed to apply configuration: %s" "Timeout was reached" or trying again, if the first pop-up is closed within a few seconds, the second one is "Failed to apply configuration: %s" "GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gsd_2drr_2derror_2dquark.Code2: could not set the configuration for CRTC 64" ...and the Displays GUI makes it look like the 4th monitor is enabled but it is still blank. At the time of doing this, /var/log/Xorg.0.log shows: [ 96283.251] resize called 7680 1080 [ 96283.299] Cannot do multiple crtcs without X server dirty tracking 2 interface [ 96283.299] randr: failed to set shadow slave pixmap [ 96283.300] (EE) NOUVEAU(G0): failed to set mode: No space left on device I have also tried this with xrandr command line: $ xrandr --output DVI-I-1-4 --right-of DVI-I-1-3 --auto xrandr: Configure crtc 3 failed ...and the Xorg.0.log at this time is almost the same as above, plus the (I guess) fall back resizing to 3 monitors (5760x1080): [ 96645.224] Cannot do multiple crtcs without X server dirty tracking 2 interface [ 96645.224] randr: failed to set shadow slave pixmap [ 96645.224] (EE) NOUVEAU(G0): failed to set mode: No space left on device [ 96645.227] resize called 0 0 [ 96645.227] -22 [ 96645.228] resize called 0 0 [ 96645.228] -22 [ 96645.229] resize called 7680 1080 [ 96645.281] resize called 5760 1080 I have previously tried to get around this with /etc/X11/xorg.conf with various Xinerama or ZaphodHeads settings but at the moment (of starting this "ubuntu-bug xserver-xorg-core" report) I have no xorg.conf and no ~/.config/monitors.xml. Obviously monitors.xml has been re-created as I test the Displays GUI to describe the pop-ups above, but it was not there at login. The 2-connector video cards to all four monitors are connected with DVI cables. The monitors are LG E2240TI, the video cards are (lspci): 01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1) 02:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xserver-xorg-core 2:1.18.3-1ubuntu2.2 ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13 Uname: Linux 4.4.0-28-generic x86_64 .tmp.unity_support_test.0: ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: None CurrentDesktop: GNOME-Flashback:Unity Date: Wed Jun 29 12:21:13 2016 DistUpgraded: 2016-06-23 10:16:50,641 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py' DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: virtualbox, 5.0.18, 4.4.0-24-generic, x86_64: installed virtualbox, 5.0.18, 4.4.0-28-generic, x86_64: installed ExtraDebuggingInterest: Yes, including running git bisection searches GraphicsCard: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ZOTAC International (MCO) Ltd. GF114 [GeForce GTX 560 Ti] [19da:1665] NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ZOTAC International (MCO) Ltd. GF114 [GeForce GTX 560 Ti] [19da:1665] InstallationDate: Installed on 2015-11-12 (229 days ago) InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021) MachineType: System manufacturer System Product Name ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-28-generic root=UUID=1887ea54-959f-479e-9f3f-d1e5da317805 ro nomdmonddf nomdmonisw SourcePackage: xorg-server UpgradeStatus: Upgraded to xenial on 2016-06-23 (6 days ago) dmi.bios.date: 02/11/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1305 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: SABERTOOTH P67 dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1305:bd02/11/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnSABERTOOTHP67:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer version.compiz: compiz 1:0.9.12.2+16.04.20160526-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2 version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2.2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2 xserver.bootTime: Tue Jun 28 09:54:28 2016 xserver.configfile: default xserver.logfile: /var/log/Xorg.0.log xserver.version: 2:1.18.3-1ubuntu2.2 xserver.video_driver: nouveau To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/1597437/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp