I've been going around this for ages and can't seem to get it working under Ubuntu.
I have a Dell Latitude E6420 with integrated Intel/Nvidia graphics. I can use each monitor independently or connect two monitors (via dock) to the Nvidia chip. But whenever I want to use Nvidia + Intel together (either in 1+1 or 2+1 combination) I get the weird artifact as shown below.
The 3D-accelerated part of the desktop (the Unity shell) shows up properly but everything else is double-stretched. Only the display itself is stretched, if I want to click the button with a mouse I need to click on the original position where the button would be.
This has been happening since 14.04 onward.
Any help would be greatly appreciated.
lspci .... 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) .... 01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [NVS 4200M] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1) .... aptitude search nvidia | grep ^i iB nvidia-346 - NVIDIA binary driver - version 346.59 i A nvidia-opencl-icd-346 - NVIDIA OpenCL ICD i nvidia-prime - Tools to enable NVIDIA's Prime i A nvidia-settings - Tool for configuring the NVIDIA graphics d lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.04 Release: 15.04 Codename: vivid