{"id":249,"date":"2014-01-02T12:37:31","date_gmt":"2014-01-02T11:37:31","guid":{"rendered":"http:\/\/www.ingby.com\/?p=249"},"modified":"2015-03-09T18:57:00","modified_gmt":"2015-03-09T17:57:00","slug":"nvidia-driver-on-ubuntu-13-10","status":"publish","type":"post","link":"https:\/\/www.ingby.com\/?p=249","title":{"rendered":"Nvidia driver on Ubuntu 13.10"},"content":{"rendered":"<p>I made the mistake to try to switch from the Nvidia driver to use the hybrid Bumblebee driver on Ubuntu 13.10 for my Lenovo T420s laptop with NVIDIA GPU NVS 4200M (GF119). I ended up with a situation where I couldn&#8217;t get the Nvidia driver working again. I had to switch back to the default Nouveau driver. I don&#8217;t remember the exact steps, but I did roughly the following:<\/p>\n<p>sudo apt-get remove bumblebee nvidia-319-updates<br \/>\nsudo apt-get install xserver-xorg-video-nouveau<br \/>\nsudo dpkg-reconfigure xserver-xorg<\/p>\n<p>This got me back to the Nouveau driver, but that didn&#8217;t support my external display on the Displayport, so I was eager to get the Nvidia driver working again.<\/p>\n<p><code><br \/>\nsudo apt-get remove xserver-xorg-video-nouveau<br \/>\nsudo apt-get install nvidia-319<br \/>\nsudo dpkg-reconfigure xserver-xorg<br \/>\n<\/code><\/p>\n<p>But when I reboot it looked like the X server would start up, but it crashed and dropped to a shell before the login screen. Checking the logs I found that there was an issue loading the Nvidia kernel module. To make a long story short, I did the following the get the Nvidia driver working again. I&#8217;m not sure which step that actually made the difference.<\/p>\n<p><code><br \/>\nsudo vi \/etc\/modprobe.d\/blacklist.conf<br \/>\n<\/code><br \/>\nadd<br \/>\n<code><br \/>\n#Problem getting Nvidia to work<br \/>\nblacklist nouveau<br \/>\n<\/code><\/p>\n<p>I found some remnants of Bumblebee, which possible caused some issues with kernel modules, since it blacklists Nvidia:<\/p>\n<p><code><br \/>\nless \/etc\/modprobe.d\/bumblebee.conf<br \/>\n<\/code><\/p>\n<p>So to get rid of it I did the following:<br \/>\n<code>sudo apt-get purge bumblebee<\/code><br \/>\nPurge will delete configuration files, including bumblebee.conf.<\/p>\n<p>I got to the login screen after a reboot, which was a step forward. However, trying to login failed and I got back to the login screen. Turns out that .Xauthority had incorrect permissions. Fix the ownership or just delete it.<\/p>\n<p><code><br \/>\ncd<br \/>\nsudo rm .Xauthority<br \/>\n<\/code><\/p>\n<p>Finally running with Nvidia driver again!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made the mistake to try to switch from the Nvidia driver to use the hybrid Bumblebee driver on Ubuntu 13.10 for my Lenovo T420s laptop with NVIDIA GPU NVS 4200M (GF119). I ended up with a situation where I couldn&#8217;t get the Nvidia driver working again. I had to switch back to the default &hellip; <a href=\"https:\/\/www.ingby.com\/?p=249\" class=\"more-link\">Forts\u00e4tt l\u00e4sa <span class=\"screen-reader-text\">Nvidia driver on Ubuntu 13.10<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[32],"tags":[40,38,37,39],"_links":{"self":[{"href":"https:\/\/www.ingby.com\/index.php?rest_route=\/wp\/v2\/posts\/249"}],"collection":[{"href":"https:\/\/www.ingby.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ingby.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ingby.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ingby.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249"}],"version-history":[{"count":3,"href":"https:\/\/www.ingby.com\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":274,"href":"https:\/\/www.ingby.com\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions\/274"}],"wp:attachment":[{"href":"https:\/\/www.ingby.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ingby.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ingby.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}