Nvidia Drivers Crashing Cinnamon

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Shadowhunter123
Level 1
Level 1
Posts: 21
Joined: Thu Dec 29, 2016 4:50 pm

Re: Nvidia Drivers Crashing Cinnamon

Post by Shadowhunter123 »

Hello folks,

I am looking for a solution to this problem too after having installed Linux Mint 18.1 on my new Asus K401UQ with nVidia 940MX built in.
Unfortunately I cannot confirm the conclusion to which @Gerlex in the above post came, at least not for my graphics card (note that @Gerlex seems to use a 920MX). After installing 18.1 and selecting the nVidia-367 recommended driver there is a message after reboot stating that cinnamon has just crashed. Attempts to restart the service fail. I have not tried the nVidia-PPA drivers yet, just wanted to post this here. If anyone has a 940MX and is indeed using nvidia-367 on 18.1 without any flaws, feel free to tell us how you did it. :)
groverj3

Re: Nvidia Drivers Crashing Cinnamon

Post by groverj3 »

Strangely, I have now been using Cinnamon without issue for a couple weeks. I forgot to update this thread though. I don't know exactly why it is now working for me, but I'm using 370.28 in case anyone else wants to try those too.
daniel49a

Re: Nvidia Drivers Crashing Cinnamon

Post by daniel49a »

Your not alone . I had mint 17 running and my Nividia card worked fine,. With Mint 18.1 Cinnamon crashes as soon as the desktop loads.
Nvidia Geoforce 6200 A-LE
Recommended 304 driver and native driver only choices.
User avatar
Pjotr
Level 23
Level 23
Posts: 19888
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Nvidia Drivers Crashing Cinnamon

Post by Pjotr »

Try Mint 18 Xfce.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Kstein_8551

Re: Nvidia Drivers Crashing Cinnamon

Post by Kstein_8551 »

Your using the wrong driver for that version of card. The driver you should be using is 375.26 from nvidia driver downloads.

The page you want is:

www.nvidia.com/download/driverResults.aspx/112992/en-us

This driver was released on 14 Dec 2016 so is new.
User avatar
Pjotr
Level 23
Level 23
Posts: 19888
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Nvidia Drivers Crashing Cinnamon

Post by Pjotr »

Kstein_8551 wrote:Your using the wrong driver for that version of card. The driver you should be using is 375.26 from nvidia driver downloads.

The page you want is:

http://www.nvidia.com/download/driverRe ... 2992/en-us

This driver was released on 14 Dec 2016 so is new.
The OP definitely does *not* want that driver. Because it doesn't support his video card model.

For the old GeForce 6200 you need the nvidia-304 (or the nvidia-173, which is only available and suitable for the graphics stack of Mint 17 and 17.1).

Furthermore: never download any driver straight from Nvidia, because it hasn't been adapted to work well in Ubuntu/Mint. Always use the safe and reliable graphics-drivers PPA for that (if you need a newer Nvidia driver than the one that Driver Manager offers you): https://launchpad.net/~graphics-drivers ... ubuntu/ppa
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Apary

Re: Nvidia Drivers Crashing Cinnamon

Post by Apary »

I share the seemingly exact same problem with groverj3, on a 950M.

I tried everything I found online, including :

-The 3 drivers in official PPA (357.57 ; 370.28 ; 375.26)
-Solutions here by hellguy (No dice)
-Checking BIOS (Nothing about graphics - Mobo: Acer model: Usopp_SLS v: V1.12 Bios: Insyde v: V1.12)
-Installing bumblebee (ppa incompaptible with xenial)
-Link here by uberdorf : #5 - No dice ; #7 - No dice, tried to revert but seems to have broken nouveau drivers)

Now writing from MATE, Cinnamon can only run in software rendering (nouveau - broken?) or crash (nvidia).

I'm getting no black screens but boot is slow.

Specs :

Code: Select all

System:    Host: XXX-Aspire Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.16.1 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 18.1 Serena
Machine:   Mobo: Acer model: Usopp_SLS v: V1.12 Bios: Insyde v: V1.12 date: 05/16/2016
CPU:       Quad core Intel Core i7-6700HQ (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20736
           clock speeds: max: 3500 MHz 1: 802 MHz 2: 805 MHz 3: 801 MHz 4: 841 MHz 5: 811 MHz 6: 898 MHz
           7: 800 MHz 8: 800 MHz
Graphics:  Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA GM107M [GeForce GTX 950M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia,fbdev,intel,nouveau (unloaded: vesa)
           Resolution: 1920x1080@77.00hz
           GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
glxinfo :

Code: Select all

name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
lspci :

Code: Select all

01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
cinnamon --replace

Code: Select all

(cinnamon:4077): Clutter-CRITICAL **: Unable to initialize Clutter: Unable to initialize the Clutter backend
Window manager error: Unable to initialize Clutter.
I'm reaching desperation after reinstalling drivers, cinnamon, and everything I could think of numerous times.

Thanks to everyone for the help you already gave us.

Addendum : Output of lshw -c video

Code: Select all

  *-display               
       description: 3D controller
       product: GM107M [GeForce GTX 950M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:93000000-93ffffff memory:80000000-8fffffff memory:90000000-91ffffff ioport:4000(size=128)
  *-display UNCLAIMED
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:92000000-92ffffff memory:a0000000-afffffff ioport:5000(size=64)
Apary

Re: Nvidia Drivers Crashing Cinnamon

Post by Apary »

Update : I appear to have rekt xserver by reinstalling it. Got "no screen" errors and segmenting faults. Ended up reinstalling mint from scratch.

Problem persists, so reinstalling Mint will probably not fix it, if anyone wanted to try.

Also, I strongly advise anyone to refrain from trying to force the driver to work by deactivating/reinstalling/purging/blacklisting the nouveau drivers, unless someone with better knowledge than me tells you to. It seems that it can completely frak up X, and reinstalling xorg/nvidia will not work. I followed instructions that worked for other people in similar (but different) situations, so it might be due to this specific issue, although me being an incompetent is not completely out of the question.
Apary

Re: Nvidia Drivers Crashing Cinnamon

Post by Apary »

Update : So I rebooted with 367.57 (recommended), and looked in Xorg.log. Here's the whole log split into sections,

Probably inconsequential start (Documentary purposes):

Code: Select all

[     4.745] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[     4.745] X Protocol Version 11, Revision 0
[     4.745] Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
[     4.745] Current Operating System: Linux Mihaela-Aspire 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64
[     4.745] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-53-generic root=UUID=b2d39e1a-ae54-4f20-b8ad-c37c0e84553b ro quiet splash
[     4.745] Build Date: 02 November 2016  10:06:10PM
[     4.745] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support) 
[     4.745] Current version of pixman: 0.33.6
[     4.745] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     4.745] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     4.745] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  7 14:31:03 2017
[     4.747] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     4.749] (==) No Layout section.  Using the first Screen section.
[     4.749] (==) No screen section available. Using defaults.
[     4.749] (**) |-->Screen "Default Screen Section" (0)
[     4.749] (**) |   |-->Monitor "<default monitor>"
[     4.749] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     4.749] (==) Automatically adding devices
[     4.749] (==) Automatically enabling devices
[     4.749] (==) Automatically adding GPU devices
[     4.750] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     4.752] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     4.752] 	Entry deleted from font path.
[     4.752] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     4.752] 	Entry deleted from font path.
[     4.752] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     4.752] 	Entry deleted from font path.
[     4.753] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[     4.753] 	Entry deleted from font path.
[     4.753] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[     4.753] 	Entry deleted from font path.
[     4.753] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[     4.753] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[     4.753] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     4.753] (II) Loader magic: 0x5603db207dc0
[     4.753] (II) Module ABI versions:
[     4.753] 	X.Org ANSI C Emulation: 0.4
[     4.753] 	X.Org Video Driver: 20.0
[     4.753] 	X.Org XInput driver : 22.1
[     4.753] 	X.Org Server Extension : 9.0
[     4.754] (++) using VT number 7

[     4.754] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     4.754] (II) xfree86: Adding drm device (/dev/dri/card1)
[     4.754] (II) xfree86: Adding drm device (/dev/dri/card0)
[     4.756] (--) PCI:*(0:0:2:0) 8086:191b:1025:1033 rev 6, Mem @ 0x92000000/16777216, 0xa0000000/268435456, I/O @ 0x00005000/64
[     4.756] (--) PCI: (0:1:0:0) 10de:139a:1025:1033 rev 162, Mem @ 0x93000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00004000/128
[     4.756] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.

Loading GLX :

Code: Select all

[     4.756] (II) "glx" will be loaded by default.
[     4.756] (II) LoadModule: "glx"
[     4.757] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[     4.811] (II) Module glx: vendor="NVIDIA Corporation"
[     4.811] 	compiled for 4.0.2, module version = 1.0.0
[     4.811] 	Module class: X.Org Server Extension
[     4.811] (II) NVIDIA GLX Module  367.57  Mon Oct  3 20:28:17 PDT 2016
[     4.812] (==) Matched intel as autoconfigured driver 0
[     4.812] (==) Matched nvidia as autoconfigured driver 1
[     4.812] (==) Matched nouveau as autoconfigured driver 2
[     4.812] (==) Matched intel as autoconfigured driver 3
[     4.812] (==) Matched modesetting as autoconfigured driver 4
[     4.812] (==) Matched fbdev as autoconfigured driver 5
[     4.812] (==) Matched vesa as autoconfigured driver 6
[     4.812] (==) Assigned the driver to the xf86ConfigLayout
All 6 modules are then loaded without apparent error :

Code: Select all

[     4.812] (II) LoadModule: "intel"
[     4.813] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     4.816] (II) Module intel: vendor="X.Org Foundation"
[     4.816] 	compiled for 1.18.4, module version = 2.99.917
[     4.816] 	Module class: X.Org Video Driver
[     4.816] 	ABI class: X.Org Video Driver, version 20.0
[     4.816] (II) LoadModule: "nvidia"
[     4.816] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[     4.822] (II) Module nvidia: vendor="NVIDIA Corporation"
[     4.822] 	compiled for 4.0.2, module version = 1.0.0
[     4.822] 	Module class: X.Org Video Driver
[     4.823] (II) LoadModule: "nouveau"
[     4.823] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[     4.825] (II) Module nouveau: vendor="X.Org Foundation"
[     4.825] 	compiled for 1.18.1, module version = 1.0.12
[     4.825] 	Module class: X.Org Video Driver
[     4.825] 	ABI class: X.Org Video Driver, version 20.0
[     4.825] (II) LoadModule: "modesetting"
[     4.825] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     4.826] (II) Module modesetting: vendor="X.Org Foundation"
[     4.826] 	compiled for 1.18.4, module version = 1.18.4
[     4.826] 	Module class: X.Org Video Driver
[     4.826] 	ABI class: X.Org Video Driver, version 20.0
[     4.826] (II) LoadModule: "fbdev"
[     4.826] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[     4.827] (II) Module fbdev: vendor="X.Org Foundation"
[     4.827] 	compiled for 1.18.1, module version = 0.4.4
[     4.827] 	Module class: X.Org Video Driver
[     4.827] 	ABI class: X.Org Video Driver, version 20.0
[     4.827] (II) LoadModule: "vesa"
[     4.827] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     4.827] (II) Module vesa: vendor="X.Org Foundation"
[     4.827] 	compiled for 1.18.1, module version = 2.3.4
[     4.827] 	Module class: X.Org Video Driver
[     4.827] 	ABI class: X.Org Video Driver, version 20.0
Details are given :

Code: Select all

[     4.827] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[     4.828] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[     4.828] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[     4.828] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[     4.828] (II) NVIDIA dlloader X Driver  367.57  Mon Oct  3 20:03:48 PDT 2016
[     4.828] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     4.828] (II) NOUVEAU driver Date:   Tue Dec 8 15:52:25 2015 +1000
[     4.828] (II) NOUVEAU driver for NVIDIA chipset families :
[     4.828] 	RIVA TNT        (NV04)
[     4.828] 	RIVA TNT2       (NV05)
[     4.828] 	GeForce 256     (NV10)
[     4.828] 	GeForce 2       (NV11, NV15)
[     4.828] 	GeForce 4MX     (NV17, NV18)
[     4.828] 	GeForce 3       (NV20)
[     4.828] 	GeForce 4Ti     (NV25, NV28)
[     4.828] 	GeForce FX      (NV3x)
[     4.828] 	GeForce 6       (NV4x)
[     4.828] 	GeForce 7       (G7x)
[     4.828] 	GeForce 8       (G8x)
[     4.828] 	GeForce GTX 200 (NVA0)
[     4.828] 	GeForce GTX 400 (NVC0)

modesetting stuff :

Code: Select all

[     4.828] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     4.828] (II) FBDEV: driver for framebuffer: fbdev
[     4.829] (II) VESA: driver for VESA chipsets: vesa
[     4.833] (II) intel(0): Using Kernel Mode Setting driver: i915_bpo, version 1.6.0 20160425
[     4.833] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <tjaalton@debian.org>)
[     4.833] (II) intel(0): SNA compiled for use with valgrind
Then an error :

Code: Select all

[     4.834] (EE) [drm] Failed to open DRM device for (null): -22
[     4.834] (WW) Falling back to old probe method for modesetting
[     4.835] (WW) Falling back to old probe method for fbdev
[     4.835] (II) Loading sub module "fbdevhw"
[     4.835] (II) LoadModule: "fbdevhw"
[     4.835] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     4.835] (II) Module fbdevhw: vendor="X.Org Foundation"
[     4.835] 	compiled for 1.18.4, module version = 0.0.2
[     4.835] 	ABI class: X.Org Video Driver, version 20.0
[     4.835] (WW) Falling back to old probe method for vesa

Stuff regarding display :

Code: Select all

[     4.836] (--) intel(0): gen9 engineering sample
[     4.836] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[     4.836] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     4.836] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[     4.836] (==) intel(0): RGB weight 888
[     4.836] (==) intel(0): Default visual is TrueColor
[     4.836] (II) intel(0): Output eDP1 has no monitor section
[     4.848] (--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[     4.848] (II) intel(0): Enabled output eDP1
[     4.848] (II) intel(0): Output HDMI1 has no monitor section
[     4.848] (II) intel(0): Enabled output HDMI1
[     4.848] (II) intel(0): Output DP1 has no monitor section
[     4.848] (II) intel(0): Enabled output DP1
[     4.848] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[     4.848] (II) intel(0): Output VIRTUAL1 has no monitor section
[     4.848] (II) intel(0): Enabled output VIRTUAL1
[     4.848] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[     4.848] (==) intel(0): TearFree disabled
[     4.848] (==) intel(0): DPI set to (96, 96)
[     4.848] (II) Loading sub module "dri2"
[     4.848] (II) LoadModule: "dri2"
[     4.848] (II) Module "dri2" already built-in
[     4.848] (II) Loading sub module "present"
[     4.848] (II) LoadModule: "present"
[     4.848] (II) Module "present" already built-in
[     4.848] (II) UnloadModule: "fbdev"
[     4.848] (II) Unloading fbdev
[     4.848] (II) UnloadSubModule: "fbdevhw"
[     4.848] (II) Unloading fbdevhw
[     4.848] (II) UnloadModule: "vesa"
[     4.848] (II) Unloading vesa
[     4.848] (==) Depth 24 pixmap format is 32 bpp
[     4.853] (II) intel(0): SNA initialized with Skylake (gen9) backend
[     4.853] (==) intel(0): Backing store enabled
[     4.853] (==) intel(0): Silken mouse enabled
[     4.853] (II) intel(0): HW Cursor enabled
[     4.853] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     4.854] (==) intel(0): DPMS enabled
[     4.854] (==) intel(0): Display hotplug detection enabled
[     4.854] (II) intel(0): [DRI2] Setup complete
[     4.854] (II) intel(0): [DRI2]   DRI driver: i965
[     4.854] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[     4.854] (II) intel(0): direct rendering: DRI2 enabled
[     4.854] (II) intel(0): hardware support for Present enabled
[     4.854] (--) RandR disabled
[     4.858] (II) SELinux: Disabled on system

Then GLX error due to problems with drivers :

Code: Select all

[     4.859] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[     4.861] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[     4.862] (II) intel(0): Setting screen physical size to 508 x 285
Rest seems inconsequential and seems to be mostly about peripherals, writing it down if needed :

Code: Select all

[     4.897] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[     4.897] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     4.897] (II) LoadModule: "evdev"
[     4.897] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[     4.899] (II) Module evdev: vendor="X.Org Foundation"
[     4.899] 	compiled for 1.18.1, module version = 2.10.1
[     4.899] 	Module class: X.Org XInput Driver
[     4.899] 	ABI class: X.Org XInput driver, version 22.1
[     4.899] (II) Using input driver 'evdev' for 'Power Button'
[     4.899] (**) Power Button: always reports core events
[     4.899] (**) evdev: Power Button: Device: "/dev/input/event3"
[     4.899] (--) evdev: Power Button: Vendor 0 Product 0x1
[     4.899] (--) evdev: Power Button: Found keys
[     4.899] (II) evdev: Power Button: Configuring as keyboard
[     4.899] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[     4.899] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     4.899] (**) Option "xkb_rules" "evdev"
[     4.899] (**) Option "xkb_model" "pc105"
[     4.899] (**) Option "xkb_layout" "us"
[     4.900] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[     4.900] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[     4.900] (II) Using input driver 'evdev' for 'Video Bus'
[     4.900] (**) Video Bus: always reports core events
[     4.900] (**) evdev: Video Bus: Device: "/dev/input/event6"
[     4.900] (--) evdev: Video Bus: Vendor 0 Product 0x6
[     4.900] (--) evdev: Video Bus: Found keys
[     4.900] (II) evdev: Video Bus: Configuring as keyboard
[     4.900] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input8/event6"
[     4.900] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     4.900] (**) Option "xkb_rules" "evdev"
[     4.900] (**) Option "xkb_model" "pc105"
[     4.900] (**) Option "xkb_layout" "us"
[     4.900] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[     4.900] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[     4.900] (II) Using input driver 'evdev' for 'Video Bus'
[     4.900] (**) Video Bus: always reports core events
[     4.900] (**) evdev: Video Bus: Device: "/dev/input/event5"
[     4.900] (--) evdev: Video Bus: Vendor 0 Product 0x6
[     4.900] (--) evdev: Video Bus: Found keys
[     4.900] (II) evdev: Video Bus: Configuring as keyboard
[     4.900] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input7/event5"
[     4.900] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[     4.900] (**) Option "xkb_rules" "evdev"
[     4.900] (**) Option "xkb_model" "pc105"
[     4.900] (**) Option "xkb_layout" "us"
[     4.901] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[     4.901] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     4.901] (II) Using input driver 'evdev' for 'Power Button'
[     4.901] (**) Power Button: always reports core events
[     4.901] (**) evdev: Power Button: Device: "/dev/input/event0"
[     4.901] (--) evdev: Power Button: Vendor 0 Product 0x1
[     4.901] (--) evdev: Power Button: Found keys
[     4.901] (II) evdev: Power Button: Configuring as keyboard
[     4.901] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[     4.901] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[     4.901] (**) Option "xkb_rules" "evdev"
[     4.901] (**) Option "xkb_model" "pc105"
[     4.901] (**) Option "xkb_layout" "us"
[     4.901] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[     4.901] (II) No input driver specified, ignoring this device.
[     4.901] (II) This device may have been added with another device file.
[     4.902] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[     4.902] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[     4.902] (II) Using input driver 'evdev' for 'Sleep Button'
[     4.902] (**) Sleep Button: always reports core events
[     4.902] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[     4.902] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[     4.902] (--) evdev: Sleep Button: Found keys
[     4.902] (II) evdev: Sleep Button: Configuring as keyboard
[     4.902] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[     4.902] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[     4.902] (**) Option "xkb_rules" "evdev"
[     4.902] (**) Option "xkb_model" "pc105"
[     4.902] (**) Option "xkb_layout" "us"
[     4.902] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event7)
[     4.902] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[     4.902] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[     4.902] (**) USB Optical Mouse: always reports core events
[     4.902] (**) evdev: USB Optical Mouse: Device: "/dev/input/event7"
[     4.956] (--) evdev: USB Optical Mouse: Vendor 0x461 Product 0x4d65
[     4.956] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[     4.956] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[     4.956] (--) evdev: USB Optical Mouse: Found relative axes
[     4.956] (--) evdev: USB Optical Mouse: Found x and y relative axes
[     4.956] (II) evdev: USB Optical Mouse: Configuring as mouse
[     4.956] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[     4.956] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[     4.956] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     4.956] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0461:4D65.0001/input/input9/event7"
[     4.956] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 11)
[     4.956] (II) evdev: USB Optical Mouse: initialized for relative axes.
[     4.956] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[     4.956] (**) USB Optical Mouse: (accel) acceleration profile 0
[     4.956] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[     4.956] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[     4.956] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[     4.956] (II) No input driver specified, ignoring this device.
[     4.956] (II) This device may have been added with another device file.
[     4.956] (II) config/udev: Adding input device HD WebCam (/dev/input/event9)
[     4.956] (**) HD WebCam: Applying InputClass "evdev keyboard catchall"
[     4.956] (II) Using input driver 'evdev' for 'HD WebCam'
[     4.956] (**) HD WebCam: always reports core events
[     4.956] (**) evdev: HD WebCam: Device: "/dev/input/event9"
[     4.956] (--) evdev: HD WebCam: Vendor 0x4f2 Product 0xb520
[     4.956] (--) evdev: HD WebCam: Found keys
[     4.956] (II) evdev: HD WebCam: Configuring as keyboard
[     4.956] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/input/input10/event9"
[     4.956] (II) XINPUT: Adding extended input device "HD WebCam" (type: KEYBOARD, id 12)
[     4.956] (**) Option "xkb_rules" "evdev"
[     4.956] (**) Option "xkb_model" "pc105"
[     4.956] (**) Option "xkb_layout" "us"
[     4.957] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[     4.957] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[     4.957] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[     4.957] (**) AT Translated Set 2 keyboard: always reports core events
[     4.957] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[     4.957] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[     4.957] (--) evdev: AT Translated Set 2 keyboard: Found keys
[     4.957] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[     4.957] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[     4.957] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[     4.957] (**) Option "xkb_rules" "evdev"
[     4.957] (**) Option "xkb_model" "pc105"
[     4.957] (**) Option "xkb_layout" "us"
[     4.957] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event8)
[     4.957] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[     4.957] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchscreen catchall"
[     4.957] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[     4.957] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
[     4.957] (II) LoadModule: "synaptics"
[     4.957] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[     4.958] (II) Module synaptics: vendor="X.Org Foundation"
[     4.958] 	compiled for 1.18.1, module version = 1.8.2
[     4.958] 	Module class: X.Org XInput Driver
[     4.958] 	ABI class: X.Org XInput driver, version 22.1
[     4.958] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
[     4.958] (**) ETPS/2 Elantech Touchpad: always reports core events
[     4.958] (**) Option "Device" "/dev/input/event8"
[     5.028] (II) synaptics: ETPS/2 Elantech Touchpad: found clickpad property
[     5.028] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 3240 (res 31)
[     5.028] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 2348 (res 31)
[     5.028] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
[     5.028] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
[     5.028] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left double triple
[     5.028] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[     5.028] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[     5.028] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[     5.028] (**) ETPS/2 Elantech Touchpad: always reports core events
[     5.068] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event8"
[     5.068] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 14)
[     5.068] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[     5.068] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
[     5.068] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.050
[     5.068] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[     5.068] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
[     5.068] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[     5.068] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[     5.068] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[     5.068] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse1)
[     5.068] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[     5.069] (II) config/udev: Adding input device Acer WMI hotkeys (/dev/input/event10)
[     5.069] (**) Acer WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[     5.069] (II) Using input driver 'evdev' for 'Acer WMI hotkeys'
[     5.069] (**) Acer WMI hotkeys: always reports core events
[     5.069] (**) evdev: Acer WMI hotkeys: Device: "/dev/input/event10"
[     5.069] (--) evdev: Acer WMI hotkeys: Vendor 0 Product 0
[     5.069] (--) evdev: Acer WMI hotkeys: Found keys
[     5.069] (II) evdev: Acer WMI hotkeys: Configuring as keyboard
[     5.069] (**) Option "config_info" "udev:/sys/devices/virtual/input/input11/event10"
[     5.069] (II) XINPUT: Adding extended input device "Acer WMI hotkeys" (type: KEYBOARD, id 15)
[     5.069] (**) Option "xkb_rules" "evdev"
[     5.069] (**) Option "xkb_model" "pc105"
[     5.069] (**) Option "xkb_layout" "us"
[     5.069] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/event11)
[     5.069] (II) No input driver specified, ignoring this device.
[     5.069] (II) This device may have been added with another device file.
[     5.069] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/js0)
[     5.069] (II) No input driver specified, ignoring this device.
[     5.069] (II) This device may have been added with another device file.
[     5.083] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event14)
[     5.083] (II) No input driver specified, ignoring this device.
[     5.083] (II) This device may have been added with another device file.
[     5.083] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event15)
[     5.083] (II) No input driver specified, ignoring this device.
[     5.083] (II) This device may have been added with another device file.
[     5.083] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event12)
[     5.083] (II) No input driver specified, ignoring this device.
[     5.083] (II) This device may have been added with another device file.
[     5.083] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event13)
[     5.083] (II) No input driver specified, ignoring this device.
[     5.083] (II) This device may have been added with another device file.
[     6.849] (II) intel(0): EDID vendor "BOE", prod id 1552
[     6.849] (II) intel(0): Printing DDC gathered Modelines:
[     6.849] (II) intel(0): Modeline "1920x1080"x0.0  141.40  1920 1968 2000 2142  1080 1083 1089 1100 +hsync -vsync (66.0 kHz eP)
Apary

Re: Nvidia Drivers Crashing Cinnamon

Post by Apary »

Last findings for whomever it may help later. I'm trying another distro myself to avoid headaches.

No 20-nvidia.conf :

Code: Select all

cd /etc/X11/xorg.conf.d
bash: cd: /etc/X11/xorg.conf.d: No such file or directory

Code: Select all

cd /usr/share/X11/xorg.conf.d ; ls
10-amdgpu.conf        11-evdev-trackpoint.conf        50-wacom.conf
10-evdev.conf         50-nvidia-drm-outputclass.conf  51-synaptics-quirks.conf
10-quirks.conf        50-synaptics.conf               glamoregl.conf
11-evdev-quirks.conf  50-vmmouse.conf
____________


NVIDIDA-Settings issue [SOLVED]

Code: Select all

$ nvidia-settings
** Message: PRIME: No offloading required. Abort
** Message: PRIME: is it supported? no

ERROR: nvidia-settings could not find the registry key file. This file should
       have been installed along with this driver at
       /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
       application profiles will continue to work, but values cannot be
       prepopulated or validated, and will not be listed in the help text.
       Please see the README for possible values and descriptions.
To solve, go to /usr/share/nvidia-XXX (XXX = version installed), find nvidia-application-profiles-XXX.XX-key-documentation, copy it, rename the copy appropriately (without -XXX.XX), and place it in /usr/share/nvidia (You'll need to open the window as root or use terminal).


Hope this short investigation will eventually be of some help to someone. If you have this same issue, I wish you luck. I myself am in way over my head. Cheers!
Detection

Re: Nvidia Drivers Crashing Cinnamon

Post by Detection »

Things like this are why linux will never become a mainstream home OS

I just clean installed 18.1, enabled the NVIDIA drivers, rebooted, Cinnamon crashes immediately on boot

Fail OS
expaddy
Level 1
Level 1
Posts: 8
Joined: Fri Aug 24, 2012 9:19 am

Re: Nvidia Drivers Crashing Cinnamon

Post by expaddy »

Hi Folks,

SO this is happening to me again but strangely on one PC it works great and on the other cinnamon refuses to load normally, however when MDM fails to load I use alt f2 to open a terminal and issue startx which gets everything up and going.

On a PC reboot I get the ubiquitous Failed to start Xserver message.
I then choose to look at the message and it states, "Xserver now disabled restart MDM when it is configured correctly".

Code: Select all

$ inxi -Fxz
System:    Host: phantom Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.1)
           Distro: Linux Mint 18.1 Serena
Machine:   Mobo: ASUSTeK model: Z10PE-D8 WS v: Rev 1.xx
           Bios: American Megatrends v: 3304 date: 06/22/2016
CPU(s):    2 Deca core Intel Xeon E5-2660 v3s (-HT-MCP-SMP-) cache: 51200 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 103778
           clock speeds: max: 3300 MHz 1: 1210 MHz 2: 1200 MHz 3: 1199 MHz
           4: 1200 MHz 5: 1289 MHz 6: 1262 MHz 7: 1243 MHz 8: 1245 MHz
           9: 1300 MHz 10: 1209 MHz 11: 1200 MHz 12: 1200 MHz 13: 1199 MHz
           14: 1200 MHz 15: 1289 MHz 16: 1200 MHz 17: 1240 MHz 18: 1227 MHz
           19: 1200 MHz 20: 1200 MHz 21: 1239 MHz 22: 1200 MHz 23: 1220 MHz
           24: 1200 MHz 25: 1213 MHz 26: 1232 MHz 27: 1332 MHz 28: 1212 MHz
           29: 1225 MHz 30: 1201 MHz 31: 1258 MHz 32: 1200 MHz 33: 1397 MHz
           34: 1200 MHz 35: 1202 MHz 36: 1200 MHz 37: 1259 MHz 38: 1284 MHz
           39: 1200 MHz 40: 1256 MHz
Graphics:  Card-1: NVIDIA GM206 [GeForce GTX 950] bus-ID: 03:00.0
           Card-2: ASPEED ASPEED Graphics Family bus-ID: 09:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia FAILED: fbdev,vesa,nouveau
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 950/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 367.57 Direct Rendering: Yes
Audio:     Card-1 NVIDIA Device 0fba driver: snd_hda_intel bus-ID: 03:00.1
           Card-2 Intel C610/X99 series HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card-1: Intel I210 Gigabit Network Connection
           driver: igb v: 5.3.0-k port: 5000 bus-ID: 05:00.0
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Intel I210 Gigabit Network Connection
           driver: igb v: 5.3.0-k port: 4000 bus-ID: 06:00.0
           IF: enp6s0 state: down mac: <filter>
Drives:    HDD Total Size: 3750.8GB (18.4% used)
           ID-1: /dev/sda model: Samsung_SSD_840 size: 250.1GB
           ID-2: /dev/sdb model: ST2000DM001 size: 2000.4GB
           ID-3: /dev/sdc model: ST1000DM003 size: 1000.2GB
           ID-4: /dev/sdd model: Crucial_CT500MX2 size: 500.1GB
Partition: ID-1: / size: 228G used: 6.9G (4%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 2.05GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 33.0C mobo: N/A gpu: 0.0:38C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 533 Uptime: 2 min Memory: 1165.8/257847.4MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35 


The only thing that I can see that is different is the fact that I have 2 graphics cards on this box, one being nvidia and the other being ASPEED.
I know I could load mate and be done with it but I really think with the amount of times I've seen this issue raised about cinnamon it's maybe about time somebody actually did something about it.

There is no xorg,conf:

Code: Select all

$ ls -al /etc/X11/
app-defaults/            rgb.txt                  Xreset                   Xsession                 xsm/
default-display-manager  xinit/                   Xreset.d/                Xsession.d/              
fonts/                   xkb/                     Xresources/              Xsession.options   
From dmesg:

Code: Select all

$ dmesg | grep -i nvidia
[    4.727554] nvidia: module license 'NVIDIA' taints kernel.
[    4.732013] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    4.737396] nvidia-nvlink: Nvlink Core is being initialized, major device number 243
[    4.737475] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  367.57  Mon Oct  3 20:37:01 PDT 2016
[    4.760397] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  367.57  Mon Oct  3 20:32:57 PDT 2016
[    4.763260] [drm] [nvidia-drm] [GPU ID 0x00000300] Loading driver
[    4.933969] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 242
[    5.274086] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:03:00.1/sound/card1/input18
[    5.274151] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0000:03:00.1/sound/card1/input19
[    5.274209] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0000:03:00.1/sound/card1/input20
[    5.274247] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0000:03:00.1/sound/card1/input21
[    5.815473] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[   14.283687] nvidia-modeset: Allocated GPU:0 (GPU-0523a685-3c41-54c4-b406-ca6c6c2d0c4d) @ PCI:0000:03:00.0
[   15.043538] nvidia-modeset: Freed GPU:0 (GPU-0523a685-3c41-54c4-b406-ca6c6c2d0c4d) @ PCI:0000:03:00.0
[   18.843325] nvidia-modeset: Allocated GPU:0 (GPU-0523a685-3c41-54c4-b406-ca6c6c2d0c4d) @ PCI:0000:03:00.0
[   19.422643] nvidia-modeset: Freed GPU:0 (GPU-0523a685-3c41-54c4-b406-ca6c6c2d0c4d) @ PCI:0000:03:00.0
[   23.239867] nvidia-modeset: Allocated GPU:0 (GPU-0523a685-3c41-54c4-b406-ca6c6c2d0c4d) @ PCI:0000:03:00.0
[   23.819284] nvidia-modeset: Freed GPU:0 (GPU-0523a685-3c41-54c4-b406-ca6c6c2d0c4d) @ PCI:0000:03:00.0
[  112.719426] nvidia-modeset: Allocated GPU:0 (GPU-0523a685-3c41-54c4-b406-ca6c6c2d0c4d) @ PCI:0000:03:00.0

[ 4.727554] nvidia: module license 'NVIDIA' taints kernel.
[ 4.732013] nvidia: module verification failed: signature and/or required key missing - tainting kernel



I'm a bit concerned about the highlighted portion but then again it could be one of those cryptic dmesg entries.
I don't reboot my PC that often so it's not having a massive effect however I would like to solve this correctly and have tried all of the suggestions about purging and reloading and moving etc etc etc unfortunately for me nothing has worked.
I'm starting to wonder if the onboard graphics is somehow interfering with the nvidia driver allocation.

Anyhoos any help or insight will be greatly appreciated,

/D
To be or not to be, is that a question?
daniel49a

Re: Nvidia Drivers Crashing Cinnamon

Post by daniel49a »

updated driver 304 tonight from repository. cinnamon no longer crashing with nivida driver Thank you
User avatar
Pjotr
Level 23
Level 23
Posts: 19888
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Nvidia Drivers Crashing Cinnamon

Post by Pjotr »

This thread has been hijacked so many times, it's almost unbelievable. :shock:

Please, people, don't do that and start your own threads. For the sake of preventing complete confusion.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
BabboDemonio
Level 1
Level 1
Posts: 5
Joined: Thu Jul 07, 2016 11:44 am

Re: Nvidia Drivers Crashing Cinnamon

Post by BabboDemonio »

Gerlex wrote:As I'm a newbie with Linux, I'm not sure if what I've done is a real solution for this problem of Mint 18.1 Cinnamon crashing when Nvidia drivers are chosen.

I'll describe what I tried (and DIDN'T work):
1)Tried the available versions of Nvidia drivers; the one included with the fresh installation of Mint 18.1 Cinnamon and those available from the PPA (370, 375).
2)The complete method described on this post about compile again the installed driver.
3)As part of number 2, I installed Mate, having no problem with the drivers, even the newest 375. It just worked. But as I feel more comfortable with the customization of Cinnamon then tried with a fresh install of Mint 18 Sarah (I've used it before without any driver related problem in other laptop). The Nvidia drivers worked too but had problems with Wi-Fi and the Update Manager, saying I had to fix first some broken packages, which I did by upgrading everything from terminal.

With all this, my observation would be that the problem is specifically related with Mint version 18.1; no with the kernels, Nvidia drivers or Cinnamon in general, but as have said, I'm not really sure about it.

Not happy with these issues, my last try was to upgrade to Mint 18.1 Cinnamon Serena from Sarah. At this moment the drivers nvidia-367 and intel-microcode are activated without error codes or crashes on Mint 18.1 Cinnamon Serena, kernel 4.4.0-53 (the one included with the installation and marked as recommended by its stability). This is a dual-boot installation with Windows 10 on a laptop of 1 week of use where everything works correctly until now.

I hope this information can help other experienced users to find the solution for this issue. Any reply is welcomed. Thanks for reading.

Code: Select all

System:    Host: gerlex-X556UV Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.6 (Gtk 3.18.9-1ubuntu3.1) dm: mdm Distro: Linux Mint 18.1 Serena
Machine:   System: ASUSTeK (portable) product: X556UV v: 1.0
           Mobo: ASUSTeK model: X556UV v: 1.0 Bios: American Megatrends v: X556UV.305 date: 07/06/2016
CPU:       Dual core Intel Core i5-6200U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9599
           clock speeds: min/max: 400/2800 MHz 1: 2706 MHz 2: 2706 MHz 3: 2699 MHz 4: 2727 MHz
Graphics:  Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0 chip-ID: 8086:1916
           Card-2: NVIDIA Device 134f bus-ID: 01:00.0 chip-ID: 10de:134f
           Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1366x768@59.97hz
           GLX Renderer: GeForce 920MX/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 367.57 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:9d70
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168
           IF: enp2s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
           driver: ath9k bus-ID: 03:00.0 chip-ID: 168c:0036
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 1000.2GB (1.9% used)
           ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB serial: S32XJ9GH311320
Partition: ID-1: / size: 50G used: 5.7G (13%) fs: ext4 dev: /dev/sda4
           ID-2: /home size: 172G used: 171M (1%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 12.88GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A gpu: 0.0:40C
           Fan Speeds (in rpm): cpu: 2300
Repos:     Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http: //packages.linuxmint.com serena main upstream import backport #id:linuxmint_main
           deb http: //archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http: //security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http: //archive.canonical.com/ubuntu/ xenial partner
Info:      Processes: 206 Uptime: 3 min Memory: 697.2/7848.1MB
           Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
Client: Unknown python2.7 client inxi: 2.2.35
I also had this problem and I solved it as you said in your post. I installed Mint 18 and Nvidia drivers, then I did the upgrade to 18.1. With a clean install of 18.1 Cinnamon keeps crashing.
ibolski

Re: Nvidia Drivers Crashing Cinnamon

Post by ibolski »

I was experiencing an "Aw Snap!" from Chrome quite a lot lately when in Cinnamon, but with the latest Firmware updates that came down this past week, the issue appears to have gone away, along with the latest kernel updates. I didn't experience the issue under MATE or XFCE nor when using Cinnamon with software rendering.

Can anyone confirm if that would indeed have solved the issue?
ColdBoot

Re: Nvidia Drivers Crashing Cinnamon

Post by ColdBoot »

^It might be the newest firmware but if the problem reappears try also with passing the nomodeset parameter to the kernel. I had black screens every other time before and this fixed it on my machine.
ctrlfreakna
Level 1
Level 1
Posts: 1
Joined: Tue Mar 07, 2017 4:39 pm

Re: Nvidia Drivers Crashing Cinnamon

Post by ctrlfreakna »

I just had the same problem.
My Asus laptop has both Intel and Nvidia (and I assume Optimus or something).

What I was doing wrong was checking both Nvidia recommended driver and also intel-microcode (even though it was saying that "This device is not working").

As soon as I chose "Do not use the device "for intel-microcode" everything was fine.

I use Linux Mint 18.1 Serena Cinnamon 64-bit.

I hope this helps others.
Cheers
Rolle

Re: Nvidia Drivers Crashing Cinnamon

Post by Rolle »

Sorry for bumping an older thread, but I solved this issue on my laptop with Nvidia Optimus (intel HD 4600 + GTX765M) with fresh install of Mint 18.1 x64.
I simply purged the intel-microcode package with

Code: Select all

sudo apt-get purge intel-microcode && sudo autoremove -y
After a reboot Cinnamon stopped crashing and everything works fine. I assume though that the laptop will not go into power saving mode now by using iGPU on desktop and dedicated Nvidia GPU in games etc which will undoubtedly affect power drain.
mdillenk

Re: Nvidia Drivers Crashing Cinnamon

Post by mdillenk »

I tried hellguy's guide and had no luck, I followed about 10 other guides before this too with no luck. BUT what i noticed was that for some reason my distro of Mint 18.3 had lightdm running and not mdm. I did a sudo apt-get purge lightdm and then a sudo apt-get install mdm and then after selecting the "recommended" nvidia driver which was 384.111 I was able to successfully reboot without Cinnamon crashing also running 4.13 kernel with the latest available update.


So for me the very simple solution was to just uninstall lightdm and run mdm instead.

HTH
Locked

Return to “Graphics Cards & Monitors”