Many people are having problems after updating their dist to Linux MInt 18 or their kernel, which includes:OBS:Issue seems to be gone in linux mint 18.1.
- Cinnamon won't load/ Crashes/ goes into fallback mode
- Monitor will be listed as unkown device or you can't get output to external monitors
- WHen you open Nvidia Server X the options will be empty
- etc
Source: viewtopic.php?f=49&t=226769hellguy wrote:I might be a little late, but I've found some fixes and a temporary one if the others don't work.
OBS: Log out of cinnamon session anytime by pressing CTRL+ALT+BACKSPACE
-1 Recompile Nvidia drivers
Updated kernel requires Nvidia drivers to be recompiled and installed with the new kernel headers, to do that follow these instructions:
-Download and install latest Nvidia driver trough driver manager
-Type this in terminal to get your nvidia's package name:Example output:Code: Select all
dpkg --get-selections | grep nvidia
Our packge in my example is nvidia-361, please use the first one that is followed by the word "ïnstall" in your output.nvidia-361 install
nvidia-opencl-icd-361 install
nvidia-prime install
nvidia-settings install
Then type this in terminal, replacing nvidia-361 by the name showed in your output(This will take some time):Then do the same for mdm package(display manager)Code: Select all
sudo dpkg-reconfigure nvidia-361
Then try this (this works straight away if your cinnamon isn't in fallback mode anymore but will only load wallpaper and mouse):Code: Select all
sudo dpkg-reconfigure mdm
Reboot, if cinnamon still crashes type the following in terminal(if you can't open terminal try pressing ctrl+alt+f2), this will delete and reinstall cinnamon:Code: Select all
gsettings reset-recursively org.cinnamon
Then :Code: Select all
sudo apt-get remove --purge cinnamon*;sudo apt-get autoclean; sudo apt-get update; sudo apt-get install mint-meta-cinnamon
Reboot and you are done!Code: Select all
sudo nvidia-xconfig; sudo dpkg-reconfigure cinnamon; gsettings reset-recursively org.cinnamon
If that didn't work keep reading..
-2 Recompile driver from apt get
Run this in terminal:-3 Select the older Nvidia driver available(240 for me), this fixed all issues for me, also avoid using graphic drivers from any repository than the default ones. If this fail proceed to the last option.Code: Select all
sudo apt-get purge nvidia*; sudo apt-get install nvidia-current; sudo dpkg-reconfigure nvidia-current
-4 If 1,2 and 3 didn't work you can use Mate to make your cinnamon interface work again(until you find a compatible driver).
Install one of the proprietary Nvidia graphic driver available at Driver Manager
Install mate if you havn't yet by running this in terminal:Login using Mate session(there's a button in login screen to change that), open terminal and type:Code: Select all
apt-get update && apt-get install mint-meta-mate
This will replace your current session with cinnamon (and it will be working) but that's not everything.Code: Select all
cinnamon --replace
Go over to settings > Nvidia X Server Settings and under Nvidia Optimus select Intel HD as your primary graphic device and save settings, now you should be able to login and use cinnamon's session normally.
I've managed to successfully test this steps in two different notebooks (Dell Vostro 5470 and an Alienware 15 R2), I did some extensive research and I've compiled the best solution list I could make.
I hope this helps, cheers.