Ubuntu – Nvidia 840m Boots to Blank Screen Ubuntu 14.04

14.04driversgraphicsnvidiaxorg

I am new to Ubuntu but I have been trying to get my Nvidia 840m graphics drivers working correctly for months. My set up –

HP Envy 15 – i7 – 8GB –
Nvidia 840m graphics

I have installed the Nvidia 340 drivers using xorg edgers and the system boots into a blank screen instead of log in. The sound plays indicating that the system cannot output to my laptop display.

I have managed to get the drivers working once off first install where they worked for around 2 weeks before reverting to the blank screen.

I also managed to get the drivers working off a recent vanilla install but they froze the system and then the blank screen at log in resumed on reboot.

I get the feeling something needs adding to the xorg config file to make the screen detectable but would have no idea if this is correct or what to add.

Any help would be appreciated and thanks in advance!

I have also tried –

The bumblebee route – the drivers through and error and would not switch.

The drivers off Nvidia website – this was a disaster of biblical proportions and let me to reinstall the OS.

Doing all the above in 14.10

************************ update ********************

It looks like the driver works fine if the lid is closed after the blank screen has appeared and the system is resumed. Very strange. It seems to load fine from resume but not from a regular boot

Best Answer

OK, I think I have found a solution and it would be good if others with the same problem could test.

  • Install the Nvidia 340 drivers from the Xorg edgers PPA.

  • Once the install is complete, do not reboot. Head into Prime and set the profile to Intel graphics.

-Add the following line to your Xorg.conf, under the Nvidia Screen header - Option "UseDisplayDevice" "DFP"

  • Reboot.

  • You should now have the drivers installed but be running in Intel graphics mode. This should be checked in Prime.

  • In order to use the Nvidia, set the profile in Prime and the LOG OUT. Do not reboot.

  • Important to remember, you should not reboot or shut down the machine when in Nvidia graphics profile. Intel should be reset before each shutdown / reboot.

Related Question