I'm having similar issues with the workstation dock, so I figured I'd add my details as well, in case it helps with debugging.
First of all, my setup: OS: Ubuntu Gnome 16.04 LTS NVIDIA driver version: 375.39 BIOS version: N1EET64W (1.37) BIOS display setting: Discrete Video card: 01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2) Kernel version: 4.8.0-41-generic Display manager version: gdm3 3.20.1 GNOME shell version: GNOME Shell 3.20.4 If I plug my external monitor directly into the laptop, I have no issues whatsoever. As soon as I try running with one plugged into the dock, the display just constantly switches back and forth between the laptop screen by itself and both screens. Sometimes, I can boot fine with a display plugged into the dock, but as soon as anything changes, like the displays idling or changing a display setting, it starts flickering again. I've attached my /var/log/Xorg.0.log, which confirms this behavior. For this log dump, I did the following: 1. Powered on the laptop in the dock, with a single monitor plugged into the dock via HDMI. 2. Everything comes up fine and both monitors are working. 3. In this case, I just locked the screen, which causes the monitors to dim and turn off. 4. As soon as that happened, the flickering started up again 5. Unplugged the monitor from the dock, so I could use the computer again The log file shows that, for some reason, the module is constantly "Setting mode" between the two different configurations. ** Attachment added: "Xorg.0.log" https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361/+bug/1615734/+attachment/4845018/+files/Xorg.0.log -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers-361 in Ubuntu. https://bugs.launchpad.net/bugs/1615734 Title: Multiple monitors broken Status in nvidia-graphics-drivers-361 package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-367 package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-375 package in Ubuntu: Confirmed Bug description: I have a Lenovo P50 with Nvidia Optimus (Quadro M1000M), installed with Ubuntu 16.04 and the recommended Nvidia drivers (361.42). I added two external monitors connected to DP sockets in the docking station. I would like to have display shift to those two monitors when the laptop is docked. One monitor has native resolution of 1680x1050 and the other is 1920x1080. The laptop native resolution is 1920x1080. Expected result: laptop monitor shut off, two external monitors running in native resolution, display shared on both monitors (not mirrored). Process: I configured the display using the "Displays" applet in the unity control center. However, pressing "Apply" when changing a specific display setting (such as resolution, location of screen relative to others, turning on/off), results in a long period of darkness, usually followed by display falling back to mirroring of all 3 monitors, using a similar-size screen (either low on all or high on all with the low-res monitor using panning). The applet remains frozen for some time, with the dialog "Is the display ok" open but unresponsive. Later I realized this is because there is another dialog of "Cannot set screen CRTCXXX" hidden under the two above windows, which needs to by ok-ed first. Extra: I also tried setting the display manually with 'xrandr', which lead to a similar result as above - with the "cannot set screen" dialog, and falling back to mirroring. This convinced me that the problem is probably with the nvidia driver and not the higher plumbing. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: nvidia-361 361.42-0ubuntu2 ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15 Uname: Linux 4.4.0-34-generic x86_64 NonfreeKernelModules: symap_custom_dkms_x86_64 nvidia_uvm nvidia_modeset nvidia ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: Unity Date: Mon Aug 22 19:14:55 2016 InstallationDate: Installed on 2016-07-17 (36 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) SourcePackage: nvidia-graphics-drivers-361 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361/+bug/1615734/+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

