Wednesday, March 20, 2019

NVIDIA GeForce drivers break Unity in Ubuntu 13.04


I've just installed a fresh copy of Ubuntu 13.04, and tried installing the NVIDIA drivers for my GeForce GT540M. This just completely broke my Unity. After rebooting I can login, but it just shows my desktop without the Launcher and top Panel. Also the resolution was 640x480 (instead of 1920x1080) and I was not able to change it via command line (no modes found, etc.).


I've tried a lot of solutions already:



  • Using the mainline kernel instead of the default one

  • Using CCSM to re-enable Unity plugin, problem here was that it didn't show Unity

  • Removing Compiz config files

  • Starting Unity in 2D mode, but I wasn't able to do this because I could not find the option on the login screen

  • Delete .Xauthority in the home folder

  • Remove and install Unity again


The problem is none of these possible solutions work. I've seen others with the same problem and these solutions worked for some of them, but it doesn't for me.


EDIT: In the meantime I’ve found an even better solution than using primus.
Since one of the later driver versions, Optimus is support (although just basic) by the package nvidia-prime which is part of the proprietary drivers.
Install the drivers like so:


sudo apt-get install nvidia-331 nvidia-settings-331 nvidia-prime

Afterwards restart your computer. Now the driver will only be enabled when needed, just like it does on Windows.



As I know GT540M is optimus graphical card. Next time install Bumblebee.


sudo add-apt-repository ppa:bumblebee/stable


sudo apt-get update


sudo apt-get install bumblebee bumblebee-nvidia


to run some app with GT540M:


optirun executable_app


To solve you problem: remove drivers that you installed.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...