Cinnamon crashes with Nvidia drivers

Questions about hardware and drivers
Forum rules
Before you post please read how to get help
Post Reply
Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Sun Jul 07, 2019 5:43 pm

Hello !
I'm a long time user of Linux Mint Debian. Most things run fine, and the OS is the fastest and simplest I've been using.

There's one thing that I'd like to get right : I'd like to have Nvidia drivers working, so that I can have better performance watching 60 fps videos on youtube in full HD, possibility to use ultra-HD from time to time (it lags even with the Nvidia GPU), and the possibility to run Deep Learning Neural Network software on the GPU.

My problem is that as soon as I install nvidia drivers and reboot, I get a message saying that Cinnamon has crashed and is running in safe mode (the exact message is in french).
It works in safe mode, but that's not fun.

I also tried the software that enables to render the Nvidia pictures through the intel driver (Bumblebee or Optimus or something like that). It works but it is of no use for Youtube video : as the final rendering is done through Intel's display hardware, it lags while displaying full HD videos in 60 fps.

I'm currently in safe mode with the latest nvidia driver installed and reconfigured (I've got a backup of my system at hand if no solution can be found).

What information should I post ?

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Sun Jul 07, 2019 5:56 pm

Oh ! I've clicked on the "how to get help" link and saw the command line to type.

Here are my system information :

Code: Select all

System:
  Host: msi Kernel: 4.9.0-9-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
  Desktop: Cinnamon 4.0.10 Distro: LMDE 3 Cindy base: Debian 9.3 stretch 
Machine:
  Type: Desktop System: Micro-Star product: GS60 2PC Ghost v: REV:1.0 
  serial: <filter> 
  Mobo: Micro-Star model: MS-16H2 v: REV:0.B serial: <filter> 
  BIOS: American Megatrends v: E16H2IMS.106 date: 05/13/2014 
CPU:
  Topology: Quad Core model: Intel Core i7-4710HQ bits: 64 type: MT MCP 
  arch: Haswell rev: 3 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 39907 
  Speed: 2500 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 2500 2: 2583 
  3: 2500 4: 2500 5: 3039 6: 2501 7: 2500 8: 2501 
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics 
  vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GK104M [GeForce GTX 860M] vendor: Micro-Star MSI 
  driver: nvidia v: 390.116 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau 
  FAILED: nvidia unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series/C220 Series High Definition Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.9.0-9-amd64 
Network:
  Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet 
  vendor: Micro-Star MSI driver: alx v: kernel port: c000 bus ID: 04:00.0 
  IF: eth0 state: down mac: <filter> 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: c000 
  bus ID: 05:00.0 
  IF: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 1.03 TiB used: 439.42 GiB (41.8%) 
  ID-1: /dev/sda vendor: SK Hynix model: HFS128G38MNB-2200A size: 119.24 GiB 
  ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 107.86 GiB used: 16.04 GiB (14.9%) fs: ext4 dev: /dev/sda1 
  ID-2: /home size: 916.77 GiB used: 423.39 GiB (46.2%) fs: ext4 
  dev: /dev/sdb1 
  ID-3: swap-1 size: 9.54 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 61.0 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 242 Uptime: 28m Memory: 7.72 GiB used: 1.52 GiB (19.7%) 
  Init: systemd runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 
  inxi: 3.0.32 

Dr. Octagon
Level 2
Level 2
Posts: 79
Joined: Mon Sep 16, 2013 4:43 pm
Location: Osnabrooklyn

Re: Cinnamon crashes with Nvidia drivers

Post by Dr. Octagon » Tue Jul 09, 2019 12:46 pm

Try first to deinstall xserver-xorg-video-nouveau AFTER(!) nvidia-driver installation (this is the dafault open source driver for nvidia which might be still interacting).

And a hint "for" stuttering videos (even if nvidia-driver is running correctly): Open Firefox, write about:config in the url-bar and then search for layers.acceleration.force-enabled -> set it toTRUE.


Cu
Dr. Octagon
A good stumbler doesn't fall...

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Tue Jul 09, 2019 2:11 pm

Thank you for the hints.

I restarted from the system backup of yesterday, without the nvidia drivers.

I have looked at the Firefox config panel, and before even activating the option, I noticed that layers.acceleration.disabled was manually set to FALSE.
I set it back to TRUE, and it helps !
This video became perfectly fluid in 1920x1080 : https://www.youtube.com/watch?v=Jyg6KUoptcM
However, that one is not : https://www.youtube.com/watch?v=Yj_gy73JbyM

Then, I installed nvidia-driver again.
I uninstalled Xserver-xorg-video-nouveau
I rebooted.
The problem is the same : "Cinnamon has just crashed (the actual message is in french).

Cinnamon is running in recovery mode or whatever it is called in English.
The second video is now fluid, but with a lot of tearing. I suppose that overlay is not active when Cinnamon runs in recovery mode.

Dr. Octagon
Level 2
Level 2
Posts: 79
Joined: Mon Sep 16, 2013 4:43 pm
Location: Osnabrooklyn

Re: Cinnamon crashes with Nvidia drivers

Post by Dr. Octagon » Tue Jul 09, 2019 5:15 pm

Pio2001 wrote:
Tue Jul 09, 2019 2:11 pm

The problem is the same : "Cinnamon has just crashed (the actual message is in french).
OK, how about www.deepl.com - so you can speak perfect German, English or whatever you want - so tell us which error message is displayed. ;)

Cu
Dr. Octagon
A good stumbler doesn't fall...

User avatar
farkas
Level 4
Level 4
Posts: 248
Joined: Mon Sep 21, 2015 6:10 pm
Location: Oregon

Re: Cinnamon crashes with Nvidia drivers

Post by farkas » Tue Jul 09, 2019 9:09 pm

Disable Secure Boot in BIOS. if you haven't already. It worked for me.
If your query has been resolved, edit your first post and add [SOLVED] to the subject line.
If you found a solution on your own please post it.

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Wed Jul 10, 2019 5:26 pm

Thanks for the hint. I don't have a secure boot option in my motherboard setup.
I have a fast boot option, though, and also an UEFI / Legacy boot option, but my Linux won't boot in UEFI, only in Legacy.

I'll try to mess with these options next time I install the drivers (currently, I have again restored the system partition to remove the drivers).

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Sun Aug 11, 2019 3:54 am

Hi,
I have reinstalled the Nvidia-driver package after the new version of Cinnamon was installed. The problem is still here.
I disabled the Fast Boot option in the motherboard setup, still KO.
I uninstalled the xserver-xorg-video-nouveau package with the application manager, still KO.
I switched the mobo boot mode to UEFI / Fast boot enabled -> the computer doesn't boot, it goes directly in the mobo setup.
UEFI, fast boot disabled -> same as above
UEFI with CSM, fast boot -> same as above
UEFI with CSM, no fast boot -> same as above

The error message is
Cinnamon vient de planter, vous utilisez actuellement le mode de secours. Voulez-vous redémarrer Cinnamon ? Oui / Non

In English :
Cinnamon has just crashed, you are currently using the rescue mode. Do you want to restart Cinnamon ? Yes / No.

If I click yes, the message is displayed again immediately. If I click no, Cinnamon runs in rescue mode.

Here are the current system information :

Code: Select all

System:
  Host: msi Kernel: 4.9.0-9-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
  Desktop: Cinnamon 4.2.3 Distro: LMDE 3 Cindy base: Debian 9.3 stretch 
Machine:
  Type: Desktop System: Micro-Star product: GS60 2PC Ghost v: REV:1.0 
  serial: <filter> 
  Mobo: Micro-Star model: MS-16H2 v: REV:0.B serial: <filter> 
  BIOS: American Megatrends v: E16H2IMS.106 date: 05/13/2014 
CPU:
  Topology: Quad Core model: Intel Core i7-4710HQ bits: 64 type: MT MCP 
  arch: Haswell rev: 3 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 39909 
  Speed: 3407 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 3407 2: 2703 
  3: 2500 4: 2500 5: 2905 6: 2501 7: 2502 8: 2195 
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics 
  vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GK104M [GeForce GTX 860M] vendor: Micro-Star MSI 
  driver: nvidia v: 390.116 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.2 driver: modesetting FAILED: nvidia 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series/C220 Series High Definition Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.9.0-9-amd64 
Network:
  Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet 
  vendor: Micro-Star MSI driver: alx v: kernel port: c000 bus ID: 04:00.0 
  IF: eth0 state: down mac: <filter> 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: c000 
  bus ID: 05:00.0 
  IF: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 1.03 TiB used: 440.85 GiB (42.0%) 
  ID-1: /dev/sda vendor: SK Hynix model: HFS128G38MNB-2200A size: 119.24 GiB 
  ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 107.86 GiB used: 16.39 GiB (15.2%) fs: ext4 dev: /dev/sda1 
  ID-2: /home size: 916.77 GiB used: 424.46 GiB (46.3%) fs: ext4 
  dev: /dev/sdb1 
  ID-3: swap-1 size: 9.54 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 57.0 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 250 Uptime: 2m Memory: 7.72 GiB used: 1.16 GiB (15.0%) 
  Init: systemd runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 
  inxi: 3.0.32 

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Sun Aug 11, 2019 4:11 am

By the way, the system information says that it is a desktop, but this is wrong. It is a laptop. :)

Tenebris_Umbra
Level 1
Level 1
Posts: 6
Joined: Thu May 23, 2019 9:23 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Tenebris_Umbra » Sun Aug 11, 2019 6:49 pm

Did you follow the Debian Nvidia Wiki?; https://wiki.debian.org/NvidiaGraphicsD ... Stretch.22

Worked for me with both the main 4.9 and the backport 4.19 kernel, no problems

User avatar
trytip
Level 11
Level 11
Posts: 3570
Joined: Tue Jul 05, 2016 1:20 pm

Re: Cinnamon crashes with Nvidia drivers

Post by trytip » Sun Aug 11, 2019 6:57 pm

what is your dpkg -l nvidia* output in Terminal ?
also dkms status
Image

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Mon Aug 12, 2019 4:59 am

Tenebris_Umbra wrote:
Sun Aug 11, 2019 6:49 pm
Did you follow the Debian Nvidia Wiki?; https://wiki.debian.org/NvidiaGraphicsD ... Stretch.22
I think that I did, in the past. I the sutiation above, I have installed the nvidia-driver from the application manager.

But there are some news.

In order to give it a try, I restored the system without any nvidia driver, and followed the instructions on the Debian Nvidia Wiki.
I added the Stretch backports in the /etc/apt/sources.list file (it was empty)
I type the command apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
-> Among the answers was the message "linux-headers-amd64 is already the newest version (4.9+80+deb9u7)"
Then ran
apt-get update
apt-get install -t stretch-backports nvidia-driver

Then I rebooted the system in order to enable the blacklist of "nouveau".

New behaviour : Cinnamon doesn't crash anymore !
The new thing : the nvidia driver is no more version 390, but version 418.

Code: Select all

System:
  Host: msi Kernel: 4.9.0-9-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
  Desktop: Cinnamon 4.2.3 Distro: LMDE 3 Cindy base: Debian 9.3 stretch 
Machine:
  Type: Desktop System: Micro-Star product: GS60 2PC Ghost v: REV:1.0 
  serial: <filter> 
  Mobo: Micro-Star model: MS-16H2 v: REV:0.B serial: <filter> 
  BIOS: American Megatrends v: E16H2IMS.106 date: 05/13/2014 
CPU:
  Topology: Quad Core model: Intel Core i7-4710HQ bits: 64 type: MT MCP 
  arch: Haswell rev: 3 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 39909 
  Speed: 2501 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 2501 2: 2500 
  3: 2500 4: 2500 5: 2500 6: 2226 7: 2532 8: 2500 
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics 
  vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GK104M [GeForce GTX 860M] vendor: Micro-Star MSI 
  driver: nvidia v: 418.74 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau,nvidia 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 3.3 Mesa 13.0.6 
  direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series/C220 Series High Definition Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.9.0-9-amd64 
Network:
  Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet 
  vendor: Micro-Star MSI driver: alx v: kernel port: c000 bus ID: 04:00.0 
  IF: eth0 state: down mac: <filter> 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: c000 
  bus ID: 05:00.0 
  IF: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 1.03 TiB used: 439.21 GiB (41.8%) 
  ID-1: /dev/sda vendor: SK Hynix model: HFS128G38MNB-2200A size: 119.24 GiB 
  ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 107.86 GiB used: 16.39 GiB (15.2%) fs: ext4 dev: /dev/sda1 
  ID-2: /home size: 916.77 GiB used: 422.83 GiB (46.1%) fs: ext4 
  dev: /dev/sdb1 
  ID-3: swap-1 size: 9.54 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 59.0 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 239 Uptime: 7m Memory: 7.72 GiB used: 1.22 GiB (15.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 
  inxi: 3.0.32 
BUT... the graphics performances are no better. They are even worse, now there is some tearing in addition to judder.
I went to Firefox and set the layers.aceleration.force-enabled to True.

No more tearing, but still judder. Is the Nvidia driver activated at all ? Everything looks the same as without the driver.

In the above we can see that there is no more the part Display: x11 server: X.Org 1.19.2 driver: modesetting FAILED: nvidia unloaded: fbdev,vesa resolution: 1920x1080~60Hz
Now it is
Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau,nvidia unloaded: fbdev,vesa resolution: 1920x1080~60Hz

Indeed, the driver is inactive.
I then followed the instructions for the 340 driver and created an Xorg server configuration file. There was none ! I ran
apt-get install -t stretch-backports nvidia-xconfig

It created a new file /etc/X11/xorg.conf
I restarted the system and...

After the grub and the Linux logo, all I got was a black screen with a blinking cursor ! (same behaviour as old LMDE 2, by the way).
I pressed ctrl-alt-F2 and got a console. I typed sudo init 5 in order to start the Linux GUI. And I went back to the black screen with the blinking cursor.

I used a USB key to boot a Linux live session and I deleted all the text in the file xorg.conf, I resterted.
Now I'm back in Linux, with drivers 418 installed, but inactive.

Trytip, here are the results of the commands :

dpkg -l nvidia*

Code: Select all

Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                          Version             Architecture        Description
+++-============================-===================-===================-==============================================================
ii  nvidia-alternative           418.74-1~bpo9+1     amd64               allows the selection of NVIDIA as GLX provider
un  nvidia-alternative--kmod-ali <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-alternative-legacy-17 <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-alternative-legacy-71 <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-alternative-legacy-96 <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-current               <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-current-updates       <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-detect                390.116-1           amd64               NVIDIA GPU detection utility
ii  nvidia-driver                418.74-1~bpo9+1     amd64               NVIDIA metapackage
ii  nvidia-driver-bin            418.74-1~bpo9+1     amd64               NVIDIA driver support binaries
un  nvidia-driver-bin-418.74     <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-driver-binary         <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-driver-libs:amd64     418.74-1~bpo9+1     amd64               NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
un  nvidia-driver-libs-i386      <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-driver-libs-nonglvnd  <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-egl-common            418.74-1~bpo9+1     amd64               NVIDIA binary EGL driver - common files
ii  nvidia-egl-icd:amd64         418.74-1~bpo9+1     amd64               NVIDIA EGL installable client driver (ICD)
un  nvidia-glx                   <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-glx-any               <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-installer-cleanup     20151021+4          amd64               cleanup after driver installation with the nvidia-installer
un  nvidia-kernel-418.74         <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-kernel-common         20151021+4          amd64               NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms           418.74-1~bpo9+1     amd64               NVIDIA binary kernel module DKMS source
un  nvidia-kernel-source         <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-kernel-support        418.74-1~bpo9+1     amd64               NVIDIA binary kernel module support files
un  nvidia-kernel-support--v1    <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-kernel-support-any    <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-legacy-304xx-alternat <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-legacy-340xx-alternat <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-legacy-390xx-opencl-i <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-legacy-check          390.116-1           amd64               check for NVIDIA GPUs requiring a legacy driver
rc  nvidia-libopencl1:amd64      340.101-1           amd64               NVIDIA OpenCL ICD Loader library
un  nvidia-libopencl1-dev        <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-libopencl1-ia32       <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-libvdpau1             <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-modprobe              418.56-1~bpo9+1     amd64               utility to load NVIDIA kernel modules and create device nodes
un  nvidia-nonglvnd-vulkan-icd   <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-opencl-common         390.116-1           amd64               NVIDIA OpenCL driver - common files
un  nvidia-opencl-dev            <aucune>            <aucune>            (aucune description n'est disponible)
rc  nvidia-opencl-icd:amd64      340.101-1           amd64               NVIDIA OpenCL installable client driver (ICD)
un  nvidia-opencl-icd-ia32       <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-persistenced          <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-settings              <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-smi                   <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-support               20151021+4          amd64               NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64    418.74-1~bpo9+1     amd64               Video Decode and Presentation API for Unix - NVIDIA driver
un  nvidia-vulkan-icd            <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-xconfig               418.56-1~bpo9+1     amd64               deprecated X configuration tool for non-free NVIDIA drivers
dkms status

Code: Select all

ndiswrapper, 1.60, 4.9.0-8-amd64, x86_64: installed
ndiswrapper, 1.60, 4.9.0-9-amd64, x86_64: installed
nvidia-current, 418.74, 4.9.0-9-amd64, x86_64: installed

User avatar
trytip
Level 11
Level 11
Posts: 3570
Joined: Tue Jul 05, 2016 1:20 pm

Re: Cinnamon crashes with Nvidia drivers

Post by trytip » Mon Aug 12, 2019 9:12 am

Pio2001 wrote:
Mon Aug 12, 2019 4:59 am
Trytip, here are the results of the commands :
dpkg -l nvidia*
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-============================-===================-===================-==============================================================
ii nvidia-alternative 418.74-1~bpo9+1 amd64 allows the selection of NVIDIA as GLX provider
un nvidia-alternative--kmod-ali <aucune> <aucune> (aucune description n'est disponible)
un nvidia-alternative-legacy-17 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-alternative-legacy-71 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-alternative-legacy-96 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-current <aucune> <aucune> (aucune description n'est disponible)
un nvidia-current-updates <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-detect 390.116-1 amd64 NVIDIA GPU detection utility
ii nvidia-driver 418.74-1~bpo9+1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 418.74-1~bpo9+1 amd64 NVIDIA driver support binaries

un nvidia-driver-bin-418.74 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-driver-binary <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-driver-libs:amd64 418.74-1~bpo9+1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
un nvidia-driver-libs-i386 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-driver-libs-nonglvnd <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-egl-common 418.74-1~bpo9+1 amd64 NVIDIA binary EGL driver - common files
ii nvidia-egl-icd:amd64 418.74-1~bpo9+1 amd64 NVIDIA EGL installable client driver (ICD)

un nvidia-glx <aucune> <aucune> (aucune description n'est disponible)
un nvidia-glx-any <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-installer-cleanup 20151021+4 amd64 cleanup after driver installation with the nvidia-installer
un nvidia-kernel-418.74 <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-kernel-common 20151021+4 amd64 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 418.74-1~bpo9+1 amd64 NVIDIA binary kernel module DKMS source
un nvidia-kernel-source <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-kernel-support 418.74-1~bpo9+1 amd64 NVIDIA binary kernel module support files
un nvidia-kernel-support--v1 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-kernel-support-any <aucune> <aucune> (aucune description n'est disponible)
un nvidia-legacy-304xx-alternat <aucune> <aucune> (aucune description n'est disponible)
un nvidia-legacy-340xx-alternat <aucune> <aucune> (aucune description n'est disponible)
un nvidia-legacy-390xx-opencl-i <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-legacy-check 390.116-1 amd64 check for NVIDIA GPUs requiring a legacy driver
rc nvidia-libopencl1:amd64 340.101-1 amd64 NVIDIA OpenCL ICD Loader library
un nvidia-libopencl1-dev <aucune> <aucune> (aucune description n'est disponible)
un nvidia-libopencl1-ia32 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-libvdpau1 <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-modprobe 418.56-1~bpo9+1 amd64 utility to load NVIDIA kernel modules and create device nodes
un nvidia-nonglvnd-vulkan-icd <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-opencl-common 390.116-1 amd64 NVIDIA OpenCL driver - common files
un nvidia-opencl-dev <aucune> <aucune> (aucune description n'est disponible)
rc nvidia-opencl-icd:amd64 340.101-1 amd64 NVIDIA OpenCL installable client driver (ICD)
un nvidia-opencl-icd-ia32 <aucune> <aucune> (aucune description n'est disponible)
un nvidia-persistenced <aucune> <aucune> (aucune description n'est disponible)
un nvidia-settings <aucune> <aucune> (aucune description n'est disponible)
un nvidia-smi <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-support 20151021+4 amd64 NVIDIA binary graphics driver support files
ii nvidia-vdpau-driver:amd64 418.74-1~bpo9+1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver

un nvidia-vulkan-icd <aucune> <aucune> (aucune description n'est disponible)
ii nvidia-xconfig 418.56-1~bpo9+1 amd64 deprecated X configuration tool for non-free NVIDIA drivers
dkms status

Code: Select all

ndiswrapper, 1.60, 4.9.0-8-amd64, x86_64: installed
ndiswrapper, 1.60, 4.9.0-9-amd64, x86_64: installed
nvidia-current, 418.74, 4.9.0-9-amd64, x86_64: installed
you'll need to purge nvidia completely, you have mixed drivers from 390-480 also nvidia-xconfig is deprecated there is no more nvidia-xconfig but if you uninstalled the nouveau drivers you'll need to install it again then start the install process again. or maybe you can just completely remove the 390 parts with synaptic, and delete your /etc/x11/xorg.conf
Image

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Mon Aug 12, 2019 4:46 pm

Hi,
I restarted from a system backup without the nvidia drivers.
I unistalled all the nvidia packages that I could find using both the software manager and the synaptic manager.
Then I installed the nvidia-driver v 418 from the backports repository.

The result is the same as before : the installation was successful, but the OS looks like it is still running the Intel integrated graphics GPU instead of the Nvidia GTX860. At leas that's what is written in the system information window :
temp.png
The system information says (the information about the GPU used is not present in this output) :

Code: Select all

System:    Host: msi Kernel: 4.9.0-9-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Cinnamon 4.2.3 wm: muffin dm: LightDM Distro: LMDE 3 Cindy 
           base: Debian 9.3 stretch 
Machine:   Type: Desktop System: Micro-Star product: GS60 2PC Ghost v: REV:1.0 serial: <filter> 
           Mobo: Micro-Star model: MS-16H2 v: REV:0.B serial: <filter> BIOS: American Megatrends 
           v: E16H2IMS.106 date: 05/13/2014 
CPU:       Topology: Quad Core model: Intel Core i7-4710HQ bits: 64 type: MT MCP arch: Haswell 
           rev: 3 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 39910 
           Speed: 2500 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 2500 2: 2500 3: 2541 
           4: 2785 5: 2500 6: 2500 7: 2520 8: 2500 
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Micro-Star MSI 
           driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416 
           Device-2: NVIDIA GK104M [GeForce GTX 860M] vendor: Micro-Star MSI driver: nvidia 
           v: 418.74 bus ID: 01:00.0 chip ID: 10de:119a 
           Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau,nvidia 
           unloaded: fbdev,vesa alternate: nv resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 3.3 Mesa 13.0.6 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Micro-Star MSI 
           driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:0c0c 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Micro-Star MSI 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 
           Sound Server: ALSA v: k4.9.0-9-amd64 
Network:   Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet vendor: Micro-Star MSI 
           driver: alx v: kernel port: c000 bus ID: 04:00.0 chip ID: 1969:e091 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: c000 bus ID: 05:00.0 
           chip ID: 8086:08b1 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.03 TiB used: 439.24 GiB (41.8%) 
           ID-1: /dev/sda vendor: SK Hynix model: HFS128G38MNB-2200A size: 119.24 GiB 
           speed: 6.0 Gb/s serial: <filter> 
           ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630 size: 931.51 GiB 
           speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 107.86 GiB used: 16.40 GiB (15.2%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 916.77 GiB used: 422.84 GiB (46.1%) fs: ext4 dev: /dev/sdb1 
           ID-3: swap-1 size: 9.54 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 
Sensors:   System Temperatures: cpu: 60.0 C mobo: 27.8 C 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb http: //httpredir.debian.org/debian stretch-backports main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //mint.remi.lu cindy main upstream import backport
           2: deb http: //debian.mirror.ate.info/ stretch main contrib non-free
           3: deb http: //debian.mirror.ate.info/ stretch-updates main contrib non-free
           4: deb http: //security.debian.org/ stretch/updates main contrib non-free
           5: deb http: //www.deb-multimedia.org stretch main non-free
Info:      Processes: 249 Uptime: 17m Memory: 7.72 GiB used: 5.07 GiB (65.6%) Init: systemd v: 232 
           runlevel: 5 default: 2 Compilers: gcc: 6.3.0 alt: 6 Client: Unknown python3.5 client 
           inxi: 3.0.32 
dpkg -l nvidia* says :

Code: Select all

pio@msi:~$ dpkg -l nvidia*
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                          Version             Architecture        Description
+++-============================-===================-===================-==============================================================
ii  nvidia-alternative           418.74-1~bpo9+1     amd64               allows the selection of NVIDIA as GLX provider
un  nvidia-alternative--kmod-ali <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-alternative-legacy-17 <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-alternative-legacy-71 <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-alternative-legacy-96 <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-current               <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-current-updates       <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-driver                418.74-1~bpo9+1     amd64               NVIDIA metapackage
ii  nvidia-driver-bin            418.74-1~bpo9+1     amd64               NVIDIA driver support binaries
un  nvidia-driver-bin-418.74     <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-driver-binary         <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-driver-libs:amd64     418.74-1~bpo9+1     amd64               NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
un  nvidia-driver-libs-i386      <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-driver-libs-nonglvnd  <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-egl-common            418.74-1~bpo9+1     amd64               NVIDIA binary EGL driver - common files
ii  nvidia-egl-icd:amd64         418.74-1~bpo9+1     amd64               NVIDIA EGL installable client driver (ICD)
un  nvidia-glx                   <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-glx-any               <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-installer-cleanup     20151021+4          amd64               cleanup after driver installation with the nvidia-installer
un  nvidia-kernel-418.74         <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-kernel-common         20151021+4          amd64               NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms           418.74-1~bpo9+1     amd64               NVIDIA binary kernel module DKMS source
un  nvidia-kernel-source         <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-kernel-support        418.74-1~bpo9+1     amd64               NVIDIA binary kernel module support files
un  nvidia-kernel-support--v1    <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-kernel-support-any    <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-legacy-304xx-alternat <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-legacy-340xx-alternat <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-legacy-390xx-opencl-i <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-legacy-check          418.74-1~bpo9+1     amd64               check for NVIDIA GPUs requiring a legacy driver
rc  nvidia-libopencl1:amd64      340.101-1           amd64               NVIDIA OpenCL ICD Loader library
un  nvidia-libopencl1-dev        <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-libopencl1-ia32       <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-libvdpau1             <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-modprobe              418.56-1~bpo9+1     amd64               utility to load NVIDIA kernel modules and create device nodes
un  nvidia-nonglvnd-vulkan-icd   <aucune>            <aucune>            (aucune description n'est disponible)
rc  nvidia-opencl-common         390.116-1           amd64               NVIDIA OpenCL driver - common files
un  nvidia-opencl-dev            <aucune>            <aucune>            (aucune description n'est disponible)
rc  nvidia-opencl-icd:amd64      340.101-1           amd64               NVIDIA OpenCL installable client driver (ICD)
un  nvidia-opencl-icd-ia32       <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-persistenced          <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-settings              <aucune>            <aucune>            (aucune description n'est disponible)
un  nvidia-smi                   <aucune>            <aucune>            (aucune description n'est disponible)
ii  nvidia-support               20151021+4          amd64               NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64    418.74-1~bpo9+1     amd64               Video Decode and Presentation API for Unix - NVIDIA driver
un  nvidia-vulkan-icd            <aucune>            <aucune>            (aucune description n'est disponible)
And dkms status says

Code: Select all

ndiswrapper, 1.60, 4.9.0-8-amd64, x86_64: installed
ndiswrapper, 1.60, 4.9.0-9-amd64, x86_64: installed
nvidia-current, 418.74, 4.9.0-9-amd64, x86_64: installed
Since you say that there is no more nvidia-xconfig, I didn't get further.

Tenebris_Umbra
Level 1
Level 1
Posts: 6
Joined: Thu May 23, 2019 9:23 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Tenebris_Umbra » Mon Aug 12, 2019 5:47 pm

maybe do a apt-get purge nvidia*

then on step 3; try apt-get install -t stretch-backports nvidia-driver 390*

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Mon Aug 12, 2019 5:50 pm

EDIT : I wrote the below message before reading yours, Tenebris_Umbra, I'll try your suggestion in the next days if I have the time.

I was planning to pause my trials at installing the nvidia drivers for a while.

I don't know if the last trial was successful or not, but since there was no improvement (the judder was worse, while the computer was hotter, with the fans running wild), it doesn't seem to work.

Here's the history of my trials so far :

LMDE 1 : the nvidia-detect utility pretends that there is no Nvidia hardware in the computer.
LMDE 2 : the nvidia-detect utility recognizes the hardware, but both the 304 and 340 drivers lead to a black screen with blinking cursor when Linux starts. All the solutions avalable on the web fail.
LMDE 3 : same thing (as far as I remember).
LMDE 3 with Cinnamon 4.0.10 : with both v340 (AFAIR) and v390 drivers, Linux starts, but Cinnamon crashes. Then, the Nvidia GPU works, but with Cinnamon running in rescue mode.
LMDE 3 with Cinnamon 4.2.3 with drivers v390 : same thing
LMDE 3 with Cinnamon 4.2.3 with drivers v418 : installs and runs smoothly, but bad video performances, system information pretending that Intel Integrated graphics is running.
LMDE 3 with Cinnamon 4.2.3 with drivers v418 with tweaked xorg.conf file (nonsense according to Trytip) : black screen with blinking cursor when Linux starts.

Thanks to everyone for trying to help. I need to pause the experimentation for some time. :)

Tenebris_Umbra
Level 1
Level 1
Posts: 6
Joined: Thu May 23, 2019 9:23 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Tenebris_Umbra » Mon Aug 12, 2019 6:37 pm

Just noticed you have a dual gpu, once you install nvidia-setting, under profile or prime profiles is an option to switch between Intel and NVIDIA

ex. https://www.linuxdashen.com/wp-content/ ... gs_014.png , https://www.belajarlinux.org/wp-content ... ptimus.jpg

Pio2001
Level 1
Level 1
Posts: 25
Joined: Sun Aug 30, 2015 1:16 pm

Re: Cinnamon crashes with Nvidia drivers

Post by Pio2001 » Tue Aug 13, 2019 3:53 pm

Hi,
I have purged all the Nvidia packages thanks to your tip.
Then I installed the 418 driver again. I rebooted.

Then I installed Nvidia-settings. But when I run it, I get the following message :
temp.png
If I click on Valider, I only have the two items that you can see in the menu.
So I installed nvidia-xconfig and ran it. Then I rebooted (I don't know how to restart the X server)... and I got the black screen with the blinking cursor. I had to restore the system once again.

I'm giving up. Nvidia drivers are not meant to work with my system.

Post Reply

Return to “Hardware Support”