I had a similar issue on my Dell Precision M3800. (Black screen with nvidia drivers enabled, fine with Intel drivers, and the workaround of closing the lid worked.)
Turns out, it was caused by a buggy version of xserver-xorg-video-intel, which came from the xorg-edgers PPA repository. When I downgraded to the official Ubuntu version, everything worked fine.
To downgrade to the official Ubuntu version, you need to find its version string. For me, on trusty, the latest official version string was "2:2.99.910-0ubuntu1.6", but you can find it for yourself with "apt-cache showpkg xserver-xorg-video-intel". Once you have the version string, do "apt-get install xserver-xorg-video-intel=VERSIONSTRINGHERE".
You'll also want to "pin" the package to prevent upgrades from automatically installing the PPA's version in the future. To do that, create a file called /etc/apt/preferences.d/no-intel-ppa with the following contents:
I had a similar issue on my Dell Precision M3800. (Black screen with nvidia drivers enabled, fine with Intel drivers, and the workaround of closing the lid worked.)
Turns out, it was caused by a buggy version of xserver- xorg-video- intel, which came from the xorg-edgers PPA repository. When I downgraded to the official Ubuntu version, everything worked fine.
To downgrade to the official Ubuntu version, you need to find its version string. For me, on trusty, the latest official version string was "2:2.99. 910-0ubuntu1. 6", but you can find it for yourself with "apt-cache showpkg xserver- xorg-video- intel". Once you have the version string, do "apt-get install xserver- xorg-video- intel=VERSIONST RINGHERE" .
You'll also want to "pin" the package to prevent upgrades from automatically installing the PPA's version in the future. To do that, create a file called /etc/apt/ preferences. d/no-intel- ppa with the following contents:
Package: xserver- xorg-video- intel xorg-edgers
Pin: release o=LP-PPA-
Pin-Priority: -1