The X server crashes down with following error in xorg log file :
cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
=>
(EE) Failed to load module “nv” (module does not exist, 0)
(EE) [drm] Failed to open DRM device for pci:0000:01:00:0: -19
(EE) open /dev/dri/card0: No such file or directory
…
This is very surprising to see it trying to load old module “nv” (replaced by “nouveau” as default free driver) instead of “nvidia” !
==========
My check
The driver “nouveau” is blacklisted in grub
The driver “nouveau”’ is not loaded (nothing in “lsmod | grep nouveau”)
It works !
After so many time spent to try identifying the root cause, it was only that i was using the wrong driver !!! Thanks man, you saved my day !
In fact i thought it was nvidia-340xx because my card is a 960 GTX and it though it was a Series 9 => 340xx. But Series 9 was probably for older series like 9600.
:-)
Just in case somehow has the same issue has me and google leads him to here:
I had the same problem as Ghorin and had installed nvidia-340xx instead of akmod-nvidia.
When uninstalling nvidia-340xx and installing akmod-nvidia, the issue was not solved.
This was caused by a bumblebee package (remainder of installation on different hardware). When uninstalling bumblebee, I worked like a charm.