Mint 19 Cinnamon keeps crashing after installing (nvidia) drivers

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Jango

Mint 19 Cinnamon keeps crashing after installing (nvidia) drivers

Post by Jango »

Hey guys,

After installing Mint 19 Cinnamon (+Updates), the system informed me that the software rendering mode is active and therefore no video hardware acceleration is used, possibly due to drivers.
Therefore I selected the Nvidia driver in the driver manager instead of the nouveau driver, but after a restart the message "Cinnamon just crashed" came up.

The driver I selected was called nvidia-driver-390 (the version 390.48-0ubuntu3)
I have already checked if nvidia prime is installed (yes, it is)

inxi -Fz command:

Code: Select all

System:    Host: JL-XPS Kernel: 4.15.0-29-generic x86_64 bits: 64
           Desktop: Cinnamon 3.8.8  Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Dell product: XPS 15 9560 serial: N/A
           Mobo: Dell model: 05FFDN v: A00 serial: N/A
           UEFI: Dell v: 1.10.1 date: 07/05/2018
Battery    BAT0: charge: 53.1 Wh 60.7% condition: 87.4/97.0 Wh (90%)
CPU:       Quad core Intel Core i7-7700HQ (-MT-MCP-) cache: 6144 KB
           clock speeds: max: 3800 MHz 1: 832 MHz 2: 900 MHz 3: 886 MHz
           4: 883 MHz 5: 899 MHz 6: 883 MHz 7: 900 MHz 8: 900 MHz
Graphics:  Card-1: Intel Device 591b
           Card-2: NVIDIA GP107M [GeForce GTX 1050 Mobile]
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nvidia,fbdev,nouveau (unloaded: modesetting,vesa)
           Resolution: 1920x1080@77.00hz
           OpenGL: renderer: N/A version: N/A
Audio:     Card Intel CM238 HD Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-29-generic
Network:   Card-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Atheros
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 512.1GB (1.9% used)
           ID-1: /dev/nvme0n1 model: PC401_NVMe_SK_hynix_512GB size: 512.1GB
Partition: ID-1: / size: 220G used: 8.9G (5%) fs: ext4 dev: /dev/nvme0n1p5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 46.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 233 Uptime: 15 min Memory: 826.6/15892.1MB
           Client: Shell (bash) inxi: 2.3.56 
I assume the crash occurs because of the graphics driver, but I don't really know.

Thanks in advance,
Jango
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
greerd
Level 6
Level 6
Posts: 1060
Joined: Sat Jul 31, 2010 10:58 am
Location: Nova Scotia, Canada

Re: Mint 19 Cinnamon keeps crashing after installing (nvidia) drivers

Post by greerd »

Hi Jango, welcome to the forums!

You have a shiny new laptop which might need a newer kernel than 4.15 to run at full potential, but first I expect you're correct about the nvidia drivers or more precisely, nouveau not getting out of the way.

Take a look at the Installation Guide for more info on that.

Cheers
Jango

Re: Mint 19 Cinnamon keeps crashing after installing (nvidia) drivers

Post by Jango »

Using "nouveau.noaccel=1" instead of "nomodeset" worked, no errors left, thank you :D

But I should update the kernel-version, right? I've already updated things like the kernel in the update management, so how can I get a newer version?
User avatar
Pjotr
Level 24
Level 24
Posts: 20124
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Mint 19 Cinnamon keeps crashing after installing (nvidia) drivers

Post by Pjotr »

You might try the nvidia-396 driver, by means of the reliable graphics-drivers PPA:
https://sites.google.com/site/easylinux ... rivers-PPA
(item 1, left column)
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.
User avatar
greerd
Level 6
Level 6
Posts: 1060
Joined: Sat Jul 31, 2010 10:58 am
Location: Nova Scotia, Canada

Re: Mint 19 Cinnamon keeps crashing after installing (nvidia) drivers

Post by greerd »

I'd say, if it works don't fix it! On second look at your inxi output, you're using an i7 7700HQ cpu so it's not as 'bleeding edge' as I originally thought.

What I mean is, keep your kernel updated to the latest 4.15.x series like you've been doing, but I don't think there's a need to jump up to an unsupported 4.17 or newer kernel series.

Cheers

P.S. Following Pjotr's advice is never a bad thing!
Jango

Re: Mint 19 Cinnamon keeps crashing after installing (nvidia) drivers

Post by Jango »

Alright, I'll keep it in mind :)
Locked

Return to “Graphics Cards & Monitors”