1

I've been running Ubuntu 14.04 for about a year on my Razorblade 14", starting with 14.04.3 and lately I was on 14.04.5. Yesterday morning there was an update saying something about my hardware stack expiring and I needed to update. I complied and now I can't log into my account. For the past two days I have tried a ton of stuff and still stuck. I've even wiped the disk and installed ubuntu 14.04.5 from scratch, did an upgrade and still same problem. Before I wipe and reinstall 14.04.4 from scratch and do not upgrade, I wanted to check if there is anything else to try.

In summary I have two problems:

  1. Using graphics ppa nvidia drivers I get a black screen instead of login screen. I've been using nvidia-352-updates without any problems for months (I use CUDA and OpenCL so I prefer the proprietary drivers), this problem started yesterday after the software update. Just today I have tried nvidia-340, nvidia-352, nvidia-352-updates, nvidia-355, nvidia-361, nvidia-364, nvidia-370 and they all give me a black screen instead of login. (I purge nvidia* inbetween each attempt).

  2. if I restart in failsafeX mode, purge all nvidia drivers and switch to Nouveau drivers, I get a login screen but cannot login in Unity. I just get a blank background. However I can login in gnome, gnome-classic, and xubuntu.

Actually I'm not too bothered about #2, I'm ok to use Gnome instead of Unity. But #1 is a deal breaker. I really need Nvidia drivers!

Details

I restarted in failsafe mode, purged all nvidia drivers, switched to nouveau drivers and restarted. Now I get the login screen, however:

  • I get to the login page, when I choose my own account and enter my password, the login screen goes away, the default ubuntu background comes (not my background) and then the rest of the UI (unity) does not come up. No launcher, no topbar, CTRL+ALT+T does not open terminal, pressing the SUPER key does nothing etc.
  • I have teamviewer installed (and have always had it), and I can see the teamviewer window come up and log me in. From a different computer I can log in to my laptop via teamviewer. So it is responding.
  • I can log into my laptop as a guest, but not my user. So I'm guessing it's something to do with my user.
  • I can do CTRL+ALT+F1 to drop to TTY where I can log in as my user.
  • I have tried installing gnome-desktop. and xubuntu-desktop. I can log in with gnome, gnome-classic and xubuntu. I just can't log in with unity.

There are a ton of posts around regarding 'login loops' and black screens on login. I've tried all of the below, none of which made any difference:

(e.g. ubuntu 14.04 login loop problem, Ubuntu gets stuck in a login loop)

  • reinstall ubuntu-desktop
  • set permissions and owner of .Xauthority and /tmp (also removing completely so they are recreated)
  • installed and tried gdm instead of lightdm
  • checked my .profile for errors (was clean)
  • nomodeset in /etc/default/grub

My .xsession-errors says (trying to login with unity with nouveau drivers):

openConnection: connect: No such file or directory
cannot connect to brltty at :0
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd respawning too fast, stopped
init: Disconnected from notified D-Bus bus
init: gnome-settings-daemon main process (1966) terminated with status 1
init: gnome-session (GNOME) main process (1983) terminated with status 1

Edit: this is what I have installed (in case there's known conflicts or something) https://www.dropbox.com/s/cg0n4rl9d49ih0p/install_apps.sh?dl=0 https://www.dropbox.com/s/wns62gjw2002m3v/install_python_stuff.sh?dl=0

memo
  • 341

3 Answers3

0
  1. delete your .config directory, it will regenerate on relogin.

  2. to use nvidia, you should upgrade to 16.04.1, and you will have no problems after that. you can beat yourself to death and nvidia will not work well with 14.04

0

After 3 days of trying everything I could find online, I could not fix the NVidia black screen issue. So I've unwilling upgraded (installed from scratch) to 16.04.1LTS as @tony.234234234 suggested.

Unfortunately there is a known issue with the Razorblade 14" (Geforce 970M) and 15.04 and above - crazy flickering of the screen. I've had this before while I was trying out 15.04, 15.10 and 16.04. I think it's a vsync issue and none of the compiz settings or other suggestions I found online could fix it.

Luckily Kernel 4.7.2 does seem to fix it though! I also managed to install CUDA 7.5 as well so hopefully all good for now.

memo
  • 341
0

For the black screen issue with nvidia, it might help to set the driver for the intel card in your /etc/X11/xorg.conf to modesetting. And then chattr +i /etc/X11/xorg.conf.

As already found out here, Ubuntu's gpu-manager rewrites /etc/X11/xorg.conf with the wrong (intel) driver, causing the black screen.

Corben
  • 241