Ubuntu – Nvidia: Xorg crashes on 15.04: “drmSetMaster failed: Invalid argument”

15.04nvidiaxorg

Nvidia: Xorg crashes on 15.04: "drmSetMaster failed: Invalid argument"

On a clean install of Ubuntu GNOME 15.04, I get the following screen after installing the Nvidia proprietary driver:

starting version 219
[  OK  ] Started ACPI event daemon.
                    Starting ACPI event daemon...
_

The last few lines from Xorg.0.log:

<snip>
[     3.660] (II) intel(G0): [DRI2] Setup complete
[     3.660] (II) intel(G0): [DRI2]   DRI driver: i965
[     3.660] (II) intel(G0): [DRI2]   VDPAU driver: i965
[     3.660] (II) intel(G0): direct rendering: DRI2 enabled
[     3.660] (II) intel(G0): hardware support for Present enabled   
[     3.660] (EE) modeset(G1): drmSetMaster failed: Invalid argument
[     3.660] (EE) 
Fatal server error:
[     3.660] (EE) AddScreen/ScreenInit failed for gpu driver 1 -1
<snip>
[     3.661] (EE) Server terminated with error (1). Closing log file.

(complete log here)

I tried all available proprietary Nvidia drivers.

System specifications:

  • OS: Ubuntu GNOME 15.04
  • CPU: Intel i5-3570K
  • GPU: NVIDIA GeForce GTX 660

How can this error be resolved?

Best Answer

First I switched to a console (CTRL-ALT-F1). Then I removed all nvidia stuff with

sudo apt-get autoremove --purge nvidia-*

and reinstalled the nouveau driver using

sudo apt-get install --reinstall xserver-xorg-video-nouveu

then

sudo reboot

I know this is probably not what both of us want but it is still better than no desktop at all...

My Setup (for completeness):

  • OS: Ubuntu 15.04
  • CPU: Intel i5-4570S
  • GPU: Nvidia GeForce GT 610