I can confirm that the patch in #5 works. I've tested it on the same system (updated to 16.04.1 with all current updates), same video cards, same monitors, as described in the original bug description section above.
(long version:) Re #5, thanks for trying this and updating with your result! You've now emboldened me to try this too, but you just say "I compiled the driver", you don't specifically say how :-( So I've got the source folders with the apt source command you mentioned, applied the patch, and from the (patched) xserver-xorg-video- nouveau-1.0.12 folder, I've run .configure but I get the following: [lots of "checking... yes" lines] ... Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-macros' found ... Package xorg-server was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-server.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-server' found checking if RANDR is defined... no Package xorg-server was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-server.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-server' found checking if RENDER is defined... no Package xorg-server was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-server.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-server' found checking if XV is defined... no Package xorg-server was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-server.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-server' found checking if DPMSExtension is defined... no Package xorg-server was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-server.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-server' found checking if DRI2 is defined... no checking for LIBDRM... yes checking for LIBDRM_NOUVEAU... yes checking for XORG... no configure: error: Package requirements (xorg-server >= 1.8 xproto fontsproto libdrm ) were not met: No package 'xorg-server' found No package 'fontsproto' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XORG_CFLAGS and XORG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Do you recall which -dev packages you had to install for this to work? Okay google-answering my own question (for other readers)... apt-get install xserver-xorg-dev x11proto-core-dev x11proto-fonts-dev After this, ./configure and make worked, I moved the new src/.libs/nouveau_drv.so to replace the one in /usr/lib/xorg/modules/drivers/ as you said, and upon reboot, the 4th monitor works. Thanks! I've been sitting with it dark for months!!! One concern though, is why is the new version 10x bigger than the old? Is the default ./configure settings set to leave debug flags on or something? and should I have done this differently? $ ls -la nouveau_drv.so* -rw-r--r-- 1 root root 2332552 Jan 13 12:34 nouveau_drv.so -rw-r--r-- 1 root root 214960 Mar 3 2016 nouveau_drv.so.orig But besides that, I'm thrilled. Please, developers, package managers, etc., help get this out to the less techy users out there. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-nouveau 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 : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

