Plugging a docking station w/ two monitors into a Quadro M1000M laptop crashes/hangs the whole machine

I have a new laptop with an nVidia Quadro M1000M Optimus graphics card. I have installed the latest nVidia driver package (version 378.09) on Linux Mint 18.1 MATE (kernel version 4.4.0-59-generic). I have a USB-C docking station with two external monitors (one connected via DisplayPort and the other via HDMI).

I can unplug the docking station and return to using just the laptop screen with no issue. However, when I plug the docking station back in, frequently the system just hangs (the laptop screen hangs or goes blank, the external monitors receive no signal) and I’m forced to reboot.

Relevant lspci devices:

00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)

This just happened again less than an hour ago. The following is the kernel log from that instance. Is this a kernel bug or a problem with the nVidia driver?

Jan 23 13:53:56 hostname kernel: [248828.966003] [drm:intel_dp_start_link_train [i915_bpo]] *ERROR* failed to train DP, aborting
Jan 23 13:53:56 hostname kernel: [248828.977614] [drm:intel_dp_set_idle_link_train [i915_bpo]] *ERROR* Timed out waiting for DP idle patterns
Jan 23 13:53:57 hostname kernel: [248829.506497] [drm:intel_dp_start_link_train [i915_bpo]] *ERROR* failed to train DP, aborting
Jan 23 13:53:57 hostname kernel: [248829.516472] [drm:intel_dp_set_idle_link_train [i915_bpo]] *ERROR* Timed out waiting for DP idle patterns
[ snip, there are many more of these same messages ]
Jan 23 13:54:19 hostname kernel: [248851.203793] [drm:intel_dp_start_link_train [i915_bpo]] *ERROR* failed to train DP, aborting
Jan 23 13:54:19 hostname kernel: [248851.214197] [drm:intel_dp_set_idle_link_train [i915_bpo]] *ERROR* Timed out waiting for DP idle patterns
Jan 23 13:54:19 hostname kernel: [248851.224815] [drm:drm_framebuffer_remove [drm]] *ERROR* failed to reset crtc ffff8804a3b77000 when fb was deleted
Jan 23 13:54:19 hostname kernel: [248851.536299] ------------[ cut here ]------------
Jan 23 13:54:19 hostname kernel: [248851.536341] WARNING: CPU: 1 PID: 1481 at /build/linux-EO9xOi/linux-4.4.0/ubuntu/i915/intel_display.c:12923 intel_atomic_commit+0x1337/0x14a0 [i915_bpo]()
Jan 23 13:54:19 hostname kernel: [248851.536343] encoder's enabled state mismatch (expected 1, found 0)
Jan 23 13:54:19 hostname kernel: [248851.536345] Modules linked in: snd_seq_dummy ctr ccm snd_hda_codec_hdmi cdc_ether usbnet bnep binfmt_misc nvidia_uvm(POE) arc4 i2c_designware_platform i2c_designware_core r8152 mii dell_rbtn dell_wmi nvidia_drm(POE) dell_laptop nvidia_modeset(POE) mxm_wmi dcdbas dell_smm_hwmon nvidia(POE) snd_usb_audio dell_led snd_usbmidi_lib snd_hda_codec_realtek snd_hda_codec_generic iwlmvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_intel snd_hda_codec irqbypass snd_hda_core snd_hwdep iwlwifi snd_pcm cfg80211 rtsx_pci_ms snd_seq_midi memstick snd_seq_midi_event uvcvideo snd_rawmidi videobuf2_vmalloc videobuf2_memops snd_seq videobuf2_v4l2 videobuf2_core v4l2_common snd_seq_device snd_timer videodev input_leds joydev serio_raw hid_multitouch media btusb snd btrtl soundcore mei_me idma64 mei virt_dma shpchp processor_thermal_device intel_lpss_pci intel_soc_dts_iosf hci_uart btbcm btqca btintel bluetooth dell_smo8800 int3403_thermal intel_lpss_acpi intel_lpss wmi intel_hid int3400_thermal acpi_thermal_rel acpi_als int3402_thermal acpi_pad int340x_thermal_zone kfifo_buf sparse_keymap mac_hid industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic dm_mirror dm_region_hash dm_log usbhid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915_bpo aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd intel_ips i2c_algo_bit psmouse drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm nvme rtsx_pci libahci i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel fjes
Jan 23 13:54:19 hostname kernel: [248851.536448] CPU: 1 PID: 1481 Comm: Xorg Tainted: P        W  OE   4.4.0-59-generic #80-Ubuntu
Jan 23 13:54:19 hostname kernel: [248851.536450] Hardware name: Dell Inc. Precision 5510/0N8J4R, BIOS 1.2.18 12/01/2016
Jan 23 13:54:19 hostname kernel: [248851.536452]  0000000000000286 00000000fb0a3f29 ffff8804a901fb40 ffffffff813f7583
Jan 23 13:54:19 hostname kernel: [248851.536455]  ffff8804a901fb88 ffffffffc048f760 ffff8804a901fb78 ffffffff810812d2
Jan 23 13:54:19 hostname kernel: [248851.536458]  ffff8804a3012b18 ffff8804a315e400 ffff8804a3012b30 ffff8804a3012b48
Jan 23 13:54:19 hostname kernel: [248851.536461] Call Trace:
Jan 23 13:54:19 hostname kernel: [248851.536467]  [<ffffffff813f7583>] dump_stack+0x63/0x90
Jan 23 13:54:19 hostname kernel: [248851.536472]  [<ffffffff810812d2>] warn_slowpath_common+0x82/0xc0
Jan 23 13:54:19 hostname kernel: [248851.536475]  [<ffffffff8108136c>] warn_slowpath_fmt+0x5c/0x80
Jan 23 13:54:19 hostname kernel: [248851.536506]  [<ffffffffc04172e7>] intel_atomic_commit+0x1337/0x14a0 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.536529]  [<ffffffffc00c9bde>] ? drm_atomic_check_only+0x18e/0x590 [drm]
Jan 23 13:54:19 hostname kernel: [248851.536547]  [<ffffffffc00ca017>] drm_atomic_commit+0x37/0x60 [drm]
Jan 23 13:54:19 hostname kernel: [248851.536557]  [<ffffffffc014451d>] drm_atomic_helper_connector_dpms+0xed/0x1a0 [drm_kms_helper]
Jan 23 13:54:19 hostname kernel: [248851.536574]  [<ffffffffc00be55c>] drm_mode_obj_set_property_ioctl+0x25c/0x270 [drm]
Jan 23 13:54:19 hostname kernel: [248851.536590]  [<ffffffffc00be5af>] drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
Jan 23 13:54:19 hostname kernel: [248851.536602]  [<ffffffffc00ae752>] drm_ioctl+0x152/0x540 [drm]
Jan 23 13:54:19 hostname kernel: [248851.536616]  [<ffffffffc00be570>] ? drm_mode_obj_set_property_ioctl+0x270/0x270 [drm]
Jan 23 13:54:19 hostname kernel: [248851.536717]  [<ffffffffc0b73142>] ? nvidia_ioctl+0x182/0x4d0 [nvidia]
Jan 23 13:54:19 hostname kernel: [248851.536721]  [<ffffffff8122272f>] do_vfs_ioctl+0x29f/0x490
Jan 23 13:54:19 hostname kernel: [248851.536725]  [<ffffffff8108e5c1>] ? __set_task_blocked+0x41/0xa0
Jan 23 13:54:19 hostname kernel: [248851.536729]  [<ffffffff81090f56>] ? __set_current_blocked+0x36/0x60
Jan 23 13:54:19 hostname kernel: [248851.536731]  [<ffffffff81222999>] SyS_ioctl+0x79/0x90
Jan 23 13:54:19 hostname kernel: [248851.536735]  [<ffffffff810911f4>] ? SyS_rt_sigprocmask+0x74/0xc0
Jan 23 13:54:19 hostname kernel: [248851.536739]  [<ffffffff818384f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Jan 23 13:54:19 hostname kernel: [248851.536746] ---[ end trace 02c375aef153caf6 ]---
Jan 23 13:54:19 hostname kernel: [248851.603225] ------------[ cut here ]------------
Jan 23 13:54:19 hostname kernel: [248851.603245] WARNING: CPU: 1 PID: 1481 at /build/linux-EO9xOi/linux-4.4.0/ubuntu/i915/intel_display.c:570 intel_pipe_will_have_type.isra.48+0x75/0x80 [i915_bpo]()
Jan 23 13:54:19 hostname kernel: [248851.603246] WARN_ON(num_connectors == 0)
Jan 23 13:54:19 hostname kernel: [248851.603247] Modules linked in: snd_seq_dummy ctr ccm snd_hda_codec_hdmi cdc_ether usbnet bnep binfmt_misc nvidia_uvm(POE) arc4 i2c_designware_platform i2c_designware_core r8152 mii dell_rbtn dell_wmi nvidia_drm(POE) dell_laptop nvidia_modeset(POE) mxm_wmi dcdbas dell_smm_hwmon nvidia(POE) snd_usb_audio dell_led snd_usbmidi_lib snd_hda_codec_realtek snd_hda_codec_generic iwlmvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_intel snd_hda_codec irqbypass snd_hda_core snd_hwdep iwlwifi snd_pcm cfg80211 rtsx_pci_ms snd_seq_midi memstick snd_seq_midi_event uvcvideo snd_rawmidi videobuf2_vmalloc videobuf2_memops snd_seq videobuf2_v4l2 videobuf2_core v4l2_common snd_seq_device snd_timer videodev input_leds joydev serio_raw hid_multitouch media btusb snd btrtl soundcore mei_me idma64 mei virt_dma shpchp processor_thermal_device intel_lpss_pci intel_soc_dts_iosf hci_uart btbcm btqca btintel bluetooth dell_smo8800 int3403_thermal intel_lpss_acpi intel_lpss wmi intel_hid int3400_thermal acpi_thermal_rel acpi_als int3402_thermal acpi_pad int340x_thermal_zone kfifo_buf sparse_keymap mac_hid industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic dm_mirror dm_region_hash dm_log usbhid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915_bpo aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd intel_ips i2c_algo_bit psmouse drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm nvme rtsx_pci libahci i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel fjes
Jan 23 13:54:19 hostname kernel: [248851.603297] CPU: 1 PID: 1481 Comm: Xorg Tainted: P        W  OE   4.4.0-59-generic #80-Ubuntu
Jan 23 13:54:19 hostname kernel: [248851.603298] Hardware name: Dell Inc. Precision 5510/0N8J4R, BIOS 1.2.18 12/01/2016
Jan 23 13:54:19 hostname kernel: [248851.603299]  0000000000000286 00000000fb0a3f29 ffff8804a901fac0 ffffffff813f7583
Jan 23 13:54:19 hostname kernel: [248851.603301]  ffff8804a901fb08 ffffffffc048f760 ffff8804a901faf8 ffffffff810812d2
Jan 23 13:54:19 hostname kernel: [248851.603302]  ffff8804a3b77000 ffff8804a3012800 ffff8804298d8800 00000000ffffffea
Jan 23 13:54:19 hostname kernel: [248851.603303] Call Trace:
Jan 23 13:54:19 hostname kernel: [248851.603307]  [<ffffffff813f7583>] dump_stack+0x63/0x90
Jan 23 13:54:19 hostname kernel: [248851.603309]  [<ffffffff810812d2>] warn_slowpath_common+0x82/0xc0
Jan 23 13:54:19 hostname kernel: [248851.603310]  [<ffffffff8108136c>] warn_slowpath_fmt+0x5c/0x80
Jan 23 13:54:19 hostname kernel: [248851.603323]  [<ffffffffc0406da5>] intel_pipe_will_have_type.isra.48+0x75/0x80 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603336]  [<ffffffffc04180d0>] intel_modeset_pipe_config+0x1e0/0x980 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603347]  [<ffffffffc00c989d>] ? drm_atomic_get_connector_state+0x4d/0x110 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603355]  [<ffffffffc00c867e>] ? drm_modeset_lock+0x4e/0xd0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603369]  [<ffffffffc04188ef>] intel_atomic_check+0x7f/0x800 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603377]  [<ffffffffc00c867e>] ? drm_modeset_lock+0x4e/0xd0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603379]  [<ffffffff818361df>] ? __ww_mutex_lock+0x5f/0xa0
Jan 23 13:54:19 hostname kernel: [248851.603387]  [<ffffffffc00c9bde>] drm_atomic_check_only+0x18e/0x590 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603394]  [<ffffffffc00c900f>] ? drm_atomic_set_crtc_for_connector+0x6f/0xe0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603401]  [<ffffffffc00c9ff7>] drm_atomic_commit+0x17/0x60 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603406]  [<ffffffffc0145dc6>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
Jan 23 13:54:19 hostname kernel: [248851.603413]  [<ffffffffc00b8e42>] drm_mode_set_config_internal+0x62/0x100 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603420]  [<ffffffffc00bd49c>] drm_mode_setcrtc+0x3cc/0x4f0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603425]  [<ffffffffc00ae752>] drm_ioctl+0x152/0x540 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603432]  [<ffffffffc00bd0d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603434]  [<ffffffff8122272f>] do_vfs_ioctl+0x29f/0x490
Jan 23 13:54:19 hostname kernel: [248851.603436]  [<ffffffff8108e5c1>] ? __set_task_blocked+0x41/0xa0
Jan 23 13:54:19 hostname kernel: [248851.603438]  [<ffffffff81090f56>] ? __set_current_blocked+0x36/0x60
Jan 23 13:54:19 hostname kernel: [248851.603439]  [<ffffffff81222999>] SyS_ioctl+0x79/0x90
Jan 23 13:54:19 hostname kernel: [248851.603440]  [<ffffffff810911f4>] ? SyS_rt_sigprocmask+0x74/0xc0
Jan 23 13:54:19 hostname kernel: [248851.603442]  [<ffffffff818384f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Jan 23 13:54:19 hostname kernel: [248851.603443] ---[ end trace 02c375aef153caf7 ]---
Jan 23 13:54:19 hostname kernel: [248851.603447] ------------[ cut here ]------------
Jan 23 13:54:19 hostname kernel: [248851.603462] WARNING: CPU: 1 PID: 1481 at /build/linux-EO9xOi/linux-4.4.0/ubuntu/i915/intel_ddi.c:728 intel_ddi_get_crtc_new_encoder+0x8d/0xa0 [i915_bpo]()
Jan 23 13:54:19 hostname kernel: [248851.603462] 0 encoders on crtc for pipe C
Jan 23 13:54:19 hostname kernel: [248851.603463] Modules linked in: snd_seq_dummy ctr ccm snd_hda_codec_hdmi cdc_ether usbnet bnep binfmt_misc nvidia_uvm(POE) arc4 i2c_designware_platform i2c_designware_core r8152 mii dell_rbtn dell_wmi nvidia_drm(POE) dell_laptop nvidia_modeset(POE) mxm_wmi dcdbas dell_smm_hwmon nvidia(POE) snd_usb_audio dell_led snd_usbmidi_lib snd_hda_codec_realtek snd_hda_codec_generic iwlmvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_intel snd_hda_codec irqbypass snd_hda_core snd_hwdep iwlwifi snd_pcm cfg80211 rtsx_pci_ms snd_seq_midi memstick snd_seq_midi_event uvcvideo snd_rawmidi videobuf2_vmalloc videobuf2_memops snd_seq videobuf2_v4l2 videobuf2_core v4l2_common snd_seq_device snd_timer videodev input_leds joydev serio_raw hid_multitouch media btusb snd btrtl soundcore mei_me idma64 mei virt_dma shpchp processor_thermal_device intel_lpss_pci intel_soc_dts_iosf hci_uart btbcm btqca btintel bluetooth dell_smo8800 int3403_thermal intel_lpss_acpi intel_lpss wmi intel_hid int3400_thermal acpi_thermal_rel acpi_als int3402_thermal acpi_pad int340x_thermal_zone kfifo_buf sparse_keymap mac_hid industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic dm_mirror dm_region_hash dm_log usbhid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915_bpo aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd intel_ips i2c_algo_bit psmouse drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm nvme rtsx_pci libahci i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel fjes
Jan 23 13:54:19 hostname kernel: [248851.603496] CPU: 1 PID: 1481 Comm: Xorg Tainted: P        W  OE   4.4.0-59-generic #80-Ubuntu
Jan 23 13:54:19 hostname kernel: [248851.603497] Hardware name: Dell Inc. Precision 5510/0N8J4R, BIOS 1.2.18 12/01/2016
Jan 23 13:54:19 hostname kernel: [248851.603497]  0000000000000286 00000000fb0a3f29 ffff8804a901fa78 ffffffff813f7583
Jan 23 13:54:19 hostname kernel: [248851.603499]  ffff8804a901fac0 ffffffffc04977d8 ffff8804a901fab0 ffffffff810812d2
Jan 23 13:54:19 hostname kernel: [248851.603500]  ffff8804298d8800 ffff8804a3b77000 ffff88000991dc00 ffff8804a2c00000
Jan 23 13:54:19 hostname kernel: [248851.603501] Call Trace:
Jan 23 13:54:19 hostname kernel: [248851.603502]  [<ffffffff813f7583>] dump_stack+0x63/0x90
Jan 23 13:54:19 hostname kernel: [248851.603504]  [<ffffffff810812d2>] warn_slowpath_common+0x82/0xc0
Jan 23 13:54:19 hostname kernel: [248851.603505]  [<ffffffff8108136c>] warn_slowpath_fmt+0x5c/0x80
Jan 23 13:54:19 hostname kernel: [248851.603518]  [<ffffffffc0424b6f>] ? intel_get_shared_dpll+0x1f/0x50 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603531]  [<ffffffffc043796d>] intel_ddi_get_crtc_new_encoder+0x8d/0xa0 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603543]  [<ffffffffc040539a>] haswell_crtc_compute_clock+0x1a/0x50 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603555]  [<ffffffffc04154f2>] intel_crtc_atomic_check+0x232/0x320 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603559]  [<ffffffffc0143efb>] drm_atomic_helper_check_planes+0x14b/0x1c0 [drm_kms_helper]
Jan 23 13:54:19 hostname kernel: [248851.603572]  [<ffffffffc04189dd>] intel_atomic_check+0x16d/0x800 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.603581]  [<ffffffffc00c9bde>] drm_atomic_check_only+0x18e/0x590 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603588]  [<ffffffffc00c900f>] ? drm_atomic_set_crtc_for_connector+0x6f/0xe0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603595]  [<ffffffffc00c9ff7>] drm_atomic_commit+0x17/0x60 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603599]  [<ffffffffc0145dc6>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
Jan 23 13:54:19 hostname kernel: [248851.603606]  [<ffffffffc00b8e42>] drm_mode_set_config_internal+0x62/0x100 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603614]  [<ffffffffc00bd49c>] drm_mode_setcrtc+0x3cc/0x4f0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603619]  [<ffffffffc00ae752>] drm_ioctl+0x152/0x540 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603625]  [<ffffffffc00bd0d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.603627]  [<ffffffff8122272f>] do_vfs_ioctl+0x29f/0x490
Jan 23 13:54:19 hostname kernel: [248851.603628]  [<ffffffff8108e5c1>] ? __set_task_blocked+0x41/0xa0
Jan 23 13:54:19 hostname kernel: [248851.603630]  [<ffffffff81090f56>] ? __set_current_blocked+0x36/0x60
Jan 23 13:54:19 hostname kernel: [248851.603631]  [<ffffffff81222999>] SyS_ioctl+0x79/0x90
Jan 23 13:54:19 hostname kernel: [248851.603632]  [<ffffffff810911f4>] ? SyS_rt_sigprocmask+0x74/0xc0
Jan 23 13:54:19 hostname kernel: [248851.603634]  [<ffffffff818384f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Jan 23 13:54:19 hostname kernel: [248851.603635] ---[ end trace 02c375aef153caf8 ]---
Jan 23 13:54:19 hostname kernel: [248851.603646] ------------[ cut here ]------------
Jan 23 13:54:19 hostname kernel: [248851.603659] kernel BUG at /build/linux-EO9xOi/linux-4.4.0/ubuntu/i915/intel_ddi.c:730!
Jan 23 13:54:19 hostname kernel: [248851.603676] invalid opcode: 0000 [#1] SMP 
Jan 23 13:54:19 hostname kernel: [248851.603686] Modules linked in: snd_seq_dummy ctr ccm snd_hda_codec_hdmi cdc_ether usbnet bnep binfmt_misc nvidia_uvm(POE) arc4 i2c_designware_platform i2c_designware_core r8152 mii dell_rbtn dell_wmi nvidia_drm(POE) dell_laptop nvidia_modeset(POE) mxm_wmi dcdbas dell_smm_hwmon nvidia(POE) snd_usb_audio dell_led snd_usbmidi_lib snd_hda_codec_realtek snd_hda_codec_generic iwlmvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_intel snd_hda_codec irqbypass snd_hda_core snd_hwdep iwlwifi snd_pcm cfg80211 rtsx_pci_ms snd_seq_midi memstick snd_seq_midi_event uvcvideo snd_rawmidi videobuf2_vmalloc videobuf2_memops snd_seq videobuf2_v4l2 videobuf2_core v4l2_common snd_seq_device snd_timer videodev input_leds joydev serio_raw hid_multitouch media btusb snd btrtl soundcore mei_me idma64 mei virt_dma shpchp processor_thermal_device intel_lpss_pci intel_soc_dts_iosf hci_uart btbcm btqca btintel bluetooth dell_smo8800 int3403_thermal intel_lpss_acpi intel_lpss wmi intel_hid int3400_thermal acpi_thermal_rel acpi_als int3402_thermal acpi_pad int340x_thermal_zone kfifo_buf sparse_keymap mac_hid industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic dm_mirror dm_region_hash dm_log usbhid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915_bpo aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd intel_ips i2c_algo_bit psmouse drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm nvme rtsx_pci libahci i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel fjes
Jan 23 13:54:19 hostname kernel: [248851.604075] CPU: 1 PID: 1481 Comm: Xorg Tainted: P        W  OE   4.4.0-59-generic #80-Ubuntu
Jan 23 13:54:19 hostname kernel: [248851.604093] Hardware name: Dell Inc. Precision 5510/0N8J4R, BIOS 1.2.18 12/01/2016
Jan 23 13:54:19 hostname kernel: [248851.604109] task: ffff88002088cb00 ti: ffff8804a901c000 task.ti: ffff8804a901c000
Jan 23 13:54:19 hostname kernel: [248851.604124] RIP: 0010:[<ffffffffc0437976>]  [<ffffffffc0437976>] intel_ddi_get_crtc_new_encoder+0x96/0xa0 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.604160] RSP: 0018:ffff8804a901fb28  EFLAGS: 00010246
Jan 23 13:54:19 hostname kernel: [248851.604171] RAX: 0000000000000000 RBX: ffff8804298d8800 RCX: 0000000000000006
Jan 23 13:54:19 hostname kernel: [248851.604186] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009
Jan 23 13:54:19 hostname kernel: [248851.604200] RBP: ffff8804a901fb30 R08: 000000000000000a R09: 0000000000001764
Jan 23 13:54:19 hostname kernel: [248851.604215] R10: 000000000001142c R11: 0000000000001764 R12: ffff8804a3b77000
Jan 23 13:54:19 hostname kernel: [248851.604230] R13: ffff88000991dc00 R14: ffff8804a2c00000 R15: 0000000000000000
Jan 23 13:54:19 hostname kernel: [248851.604245] FS:  00007f7fd862aa00(0000) GS:ffff8804bdc40000(0000) knlGS:0000000000000000
Jan 23 13:54:19 hostname kernel: [248851.604262] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 23 13:54:19 hostname kernel: [248851.604274] CR2: 0000313c6c1e2000 CR3: 00000004a40fd000 CR4: 00000000003406e0
Jan 23 13:54:19 hostname kernel: [248851.604289] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 23 13:54:19 hostname kernel: [248851.604304] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jan 23 13:54:19 hostname kernel: [248851.604318] Stack:
Jan 23 13:54:19 hostname kernel: [248851.604323]  0000000000000000 ffff8804a901fb50 ffffffffc040539a ffff8804a3b77000
Jan 23 13:54:19 hostname kernel: [248851.604342]  ffff8804298d8800 ffff8804a901fb98 ffffffffc04154f2 0000000000000000
Jan 23 13:54:19 hostname kernel: [248851.604360]  ffff8804a3012800 ffff88000991dc00 0000000000000002 ffff8804a3b77000
Jan 23 13:54:19 hostname kernel: [248851.604378] Call Trace:
Jan 23 13:54:19 hostname kernel: [248851.604396]  [<ffffffffc040539a>] haswell_crtc_compute_clock+0x1a/0x50 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.604424]  [<ffffffffc04154f2>] intel_crtc_atomic_check+0x232/0x320 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.604443]  [<ffffffffc0143efb>] drm_atomic_helper_check_planes+0x14b/0x1c0 [drm_kms_helper]
Jan 23 13:54:19 hostname kernel: [248851.604472]  [<ffffffffc04189dd>] intel_atomic_check+0x16d/0x800 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.604495]  [<ffffffffc00c9bde>] drm_atomic_check_only+0x18e/0x590 [drm]
Jan 23 13:54:19 hostname kernel: [248851.604516]  [<ffffffffc00c900f>] ? drm_atomic_set_crtc_for_connector+0x6f/0xe0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.604539]  [<ffffffffc00c9ff7>] drm_atomic_commit+0x17/0x60 [drm]
Jan 23 13:54:19 hostname kernel: [248851.604556]  [<ffffffffc0145dc6>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
Jan 23 13:54:19 hostname kernel: [248851.604579]  [<ffffffffc00b8e42>] drm_mode_set_config_internal+0x62/0x100 [drm]
Jan 23 13:54:19 hostname kernel: [248851.604601]  [<ffffffffc00bd49c>] drm_mode_setcrtc+0x3cc/0x4f0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.604619]  [<ffffffffc00ae752>] drm_ioctl+0x152/0x540 [drm]
Jan 23 13:54:19 hostname kernel: [248851.604637]  [<ffffffffc00bd0d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
Jan 23 13:54:19 hostname kernel: [248851.604651]  [<ffffffff8122272f>] do_vfs_ioctl+0x29f/0x490
Jan 23 13:54:19 hostname kernel: [248851.604664]  [<ffffffff8108e5c1>] ? __set_task_blocked+0x41/0xa0
Jan 23 13:54:19 hostname kernel: [248851.604677]  [<ffffffff81090f56>] ? __set_current_blocked+0x36/0x60
Jan 23 13:54:19 hostname kernel: [248851.604691]  [<ffffffff81222999>] SyS_ioctl+0x79/0x90
Jan 23 13:54:19 hostname kernel: [248851.604702]  [<ffffffff810911f4>] ? SyS_rt_sigprocmask+0x74/0xc0
Jan 23 13:54:19 hostname kernel: [248851.604716]  [<ffffffff818384f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Jan 23 13:54:19 hostname kernel: [248851.604729] Code: 00 00 48 c7 c2 18 79 49 c0 be d8 02 00 00 48 c7 c7 d8 77 49 c0 48 89 45 f8 41 83 c0 41 e8 a3 99 c4 c0 48 8b 45 f8 48 85 c0 75 ca <0f> 0b 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 56 
Jan 23 13:54:19 hostname kernel: [248851.604815] RIP  [<ffffffffc0437976>] intel_ddi_get_crtc_new_encoder+0x96/0xa0 [i915_bpo]
Jan 23 13:54:19 hostname kernel: [248851.604846]  RSP <ffff8804a901fb28>
Jan 23 13:54:19 hostname kernel: [248851.629498] ---[ end trace 02c375aef153caf9 ]---
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: mintMenu.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 23 13:54:19 hostname org.mate.panel.applet.MateWeatherAppletFactory[1802]: mateweather-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 23 13:54:19 hostname org.mate.panel.applet.ClockAppletFactory[1802]: clock-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Desktop Settings = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Input method = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Languages = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Main Menu = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Popup Notifications = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Screensaver = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Welcome Screen = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Windows = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Desktop Sharing = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> About Me = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Assistive Technologies = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> File Management = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Preferred Applications = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.MintMenuAppletFactory[1802]: =======>>> Startup Applications = Preferences
Jan 23 13:54:19 hostname org.mate.panel.applet.WnckletFactory[1802]: wnck-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 23 13:54:19 hostname mate-session[1725]: Gdk-WARNING: mate-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 23 13:54:19 hostname org.a11y.atspi.Registry[1824]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 23 13:54:19 hostname org.a11y.atspi.Registry[1824]:       after 26902 requests (26902 known processed) with 0 events remaining.
Jan 23 13:54:19 hostname org.mate.panel.applet.NotificationAreaAppletFactory[1802]: notification-area-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 23 13:54:19 hostname org.gtk.vfs.Daemon[1802]: PTP: reading event an error 0x02ff occurredA connection to the bus can't be made
Jan 23 13:54:19 hostname org.gtk.vfs.Daemon[1802]: A connection to the bus can't be made
Jan 23 13:54:19 hostname org.gtk.vfs.Daemon[1802]: A connection to the bus can't be made
Jan 23 13:54:19 hostname kernel: [248851.861540] [drm:intel_dp_start_link_train [i915_bpo]] *ERROR* failed to train DP, aborting
Jan 23 13:54:19 hostname kernel: [248851.871732] [drm:intel_dp_set_idle_link_train [i915_bpo]] *ERROR* Timed out waiting for DP idle patterns
Jan 23 13:54:19 hostname kernel: [248851.959145] [drm:intel_wait_ddi_buf_idle [i915_bpo]] *ERROR* Timeout waiting for DDI BUF B idle bit
Jan 23 13:54:19 hostname kernel: [248852.043397] [drm:intel_wait_ddi_buf_idle [i915_bpo]] *ERROR* Timeout waiting for DDI BUF B idle bit
Jan 23 13:54:19 hostname kernel: [248852.127612] [drm:intel_wait_ddi_buf_idle [i915_bpo]] *ERROR* Timeout waiting for DDI BUF B idle bit
Jan 23 13:54:20 hostname kernel: [248852.211878] [drm:intel_wait_ddi_buf_idle [i915_bpo]] *ERROR* Timeout waiting for DDI BUF B idle bit
Jan 23 13:54:20 hostname kernel: [248852.296146] [drm:intel_wait_ddi_buf_idle [i915_bpo]] *ERROR* Timeout waiting for DDI BUF B idle bit
Jan 23 13:54:20 hostname kernel: [248852.380396] [drm:intel_wait_ddi_buf_idle [i915_bpo]] *ERROR* Timeout waiting for DDI BUF B idle bit
Jan 23 13:54:20 hostname kernel: [248852.400170] [drm:intel_dp_start_link_train [i915_bpo]] *ERROR* failed to train DP, aborting
Jan 23 13:54:20 hostname kernel: [248852.409888] [drm:intel_dp_set_idle_link_train [i915_bpo]] *ERROR* Timed out waiting for DP idle patterns
Jan 23 13:54:42 hostname acpid: client 1481[0:0] has disconnected

edit I have the log file generated from the nvidia bug report script (after I rebooted), but the forum cuts it off I try to paste it all here.