2

its been a few years since I used Linux last, so bear with me.

I have a Lenovo Ideapad 700 with a Nvidia GTX950M graphicscard, but after changing the display driver I'm unable to log in to the GUI.

I had a functioning Ubuntu up and running, but suddenly I started getting a lot of "nouveau E[PFIFO][0000:01:00.0] SCHED_ERROR[UNK06]" errors during booting. Google told me this was a problem with the graphics driver. I used a workaround by adding 'nomodeset' in grub, and managed to log in. Then I used the Software Updater thingy in Ubuntu to change from the Nouveau driver to one from Nvidia. I don't recall exactly what version number it had, but it said (proprietary, tested).

Now, when I boot I end up at the login screen (previously it autologged in). When I try to log in it plays a sad drum-sound, and falls back to the login screen.

I've tried CTRL-ALT-2 to go to terminal, and from there I've tried calling 'sudo startx'. It fails after a couple of seconds.

If I then run

cat /var/log/Xorg.1.log | grep "(EE)"

it says

open /dev/dri/card0: No such file or directory
Screen 0 deleted because of no matching config section
FBDEV(0): FBIOBLANK: Invalid argument
Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

I've tried booting into safemode via grub, but have not been able to get access to the GUI.

When I run

lshw -class video

I get two entries. Both says UNCLAIMED. One is from NVIDIA, and one is from Intel.

What can I do to fix this? What other checks should I do?

1 Answers1

0

Step 1 : Remove nomodeset from the grub file.

Step 2 : Update GRUB - run sudo update-grub

Step 3 : Remove all NVIDIA software installed.

Highlight the Ubuntu menu entry and press the E key.
Add nouveau.modeset=0 to the end of the linux line.
Press the F10 key to boot into the Ubuntu system.

When the login screen appears press Ctrl+Alt+F1.
Enter user name and password, then execute :

sudo apt-get purge nvidia*
sudo reboot

Step 4 : Install the NVIDIA drivers and Optimus.

Highlight the Ubuntu menu entry and press the E key.
Add nouveau.modeset=0 to the end of the linux line.
Press the F10 key to boot into the Ubuntu system.

When the login screen appears press Ctrl+Alt+F1.
Enter user name and password, then execute :

sudo apt-get update
sudo apt-get install nvidia-352 nvidia-prime
sudo reboot
cl-netbox
  • 31,491