Saturday, February 6, 2016

nvidia - ubuntu gnome 15.10 error with using bumblebee optirun: KMS not enabled



I have a fresh installation of ubuntu gnome 15.10 and I cannot get bumblebee optirun to work. My laptop has the optimus setup with Intel and Nvidia graphics cards. I get the following error trying to use optirun:



~$optirun firefox
[ 4580.965189] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) [drm] KMS not enabled

[ 4580.965358] [ERROR]Aborting because fallback start is disabled.



I thought KMS was enabled by default with newer kernels but I'm not certain of this. Do I need to use bbswitch first?



Remove bumblebee and use nvidia-prime to switch between the two graphics solutions instead.



First identify your NVIDIA graphics hardware - open a terminal and execute:



lspci -k | grep -EA2 'VGA|3D'  


Search for available drivers on the NVIDIA Drivers website.




Update :



Uninstall every NVIDIA related software ...



When the GRUB boot menu appears : Highlight the Ubuntu menu entry and press the E key.
Add the nouveau.modeset=0 parameter to the end of the linux line ... Then press F10 to boot.



When the login screen appears press Ctrl+Alt+F1.



Enter user name and password - then execute :




sudo apt-get purge nvidia* bumblebee  
sudo reboot


Update :



Install the latest stable NVIDIA drivers ...



When the GRUB boot menu appears : Highlight the Ubuntu menu entry and press the E key.
Add the nouveau.modeset=0 parameter to the end of the linux line ... Then press F10 to boot.




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



Use the NVIDIA X Server Settings application (Prime Profiles) to switch between the two GPU's.


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 (...