Cinnamon 2 crashes with nVidia drivers

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

Cinnamon 2 crashes with nVidia drivers

Post by darkixion »

Hi all.

I've just installed Linux Mint 16 Cinnamon RC (64-bit) and all was fine. However, it was rendering in software mode, so I went to the device drivers option in the System Settings and changed it from the nouveau driver to the nVidia 319 driver which was highlighted as recommended. I then clicked apply. After a short while this finished. I logged out, but when trying to log back in again, I get the message:
Do you want to restart Cinnamon?

Cinnamon just crashed. You are currently running in Fallback Mode.

No / Yes
If I select Yes, this repeats.

The syslog shows:

Code: Select all

Nov 16 14:09:29 pigeon acpid: 1 client rule loaded
Nov 16 14:09:29 pigeon kernel: [  149.838763] nvidia: module license 'NVIDIA' taints kernel.
Nov 16 14:09:29 pigeon kernel: [  149.838767] Disabling lock debugging due to kernel taint
Nov 16 14:09:29 pigeon kernel: [  149.848599] NVRM: The NVIDIA probe routine was not called for 1 device(s).
Nov 16 14:09:29 pigeon kernel: [  149.848603] NVRM: This can occur when a driver such as nouveau, rivafb,
Nov 16 14:09:29 pigeon kernel: [  149.848603] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
Nov 16 14:09:29 pigeon kernel: [  149.848603] NVRM: the NVIDIA device(s).
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: Try unloading the conflicting kernel module (and/or
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: reconfigure your kernel without the conflicting
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: driver(s)), then try loading the NVIDIA kernel module
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: again.
Nov 16 14:09:29 pigeon kernel: [  149.848608] NVRM: No NVIDIA graphics adapter probed!
Nov 16 14:09:29 pigeon kernel: [  149.848609] [drm] Module unloaded
Nov 16 14:09:30 pigeon kernel: [  149.976367] NVRM: The NVIDIA probe routine was not called for 1 device(s).
Nov 16 14:09:30 pigeon kernel: [  149.976370] NVRM: This can occur when a driver such as nouveau, rivafb,
Nov 16 14:09:30 pigeon kernel: [  149.976370] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
Nov 16 14:09:30 pigeon kernel: [  149.976370] NVRM: the NVIDIA device(s).
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: Try unloading the conflicting kernel module (and/or
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: reconfigure your kernel without the conflicting
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: driver(s)), then try loading the NVIDIA kernel module
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: again.
Nov 16 14:09:30 pigeon kernel: [  149.976375] NVRM: No NVIDIA graphics adapter probed!
Nov 16 14:09:30 pigeon kernel: [  149.976376] [drm] Module unloaded
Nov 16 14:09:34 pigeon kernel: [  154.783234] nouveau W[  PGRAPH][0000:01:00.0] disabled, PGRAPH=1 to enable
Nov 16 14:09:38 pigeon mdm[1310]: WARNING: failed to get file info for accountService pic file: Error when getting information for file '/var/lib/AccountsService/icons/thom': No such file or directory
Nov 16 14:09:38 pigeon mdm[1310]: WARNING: failed to get file info for accountService pic file: Error when getting information for file '/home/thom/.face': No such file or directory
Nov 16 14:09:38 pigeon mdm[1310]: GLib-GIO-CRITICAL: g_file_info_get_attribute_uint64: assertion 'G_IS_FILE_INFO (info)' failed
Nov 16 14:09:38 pigeon mdm[1310]: GLib-GIO-CRITICAL: g_file_info_get_attribute_uint64: assertion 'G_IS_FILE_INFO (info)' failed
Nov 16 14:09:54 pigeon dbus[609]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Nov 16 14:09:54 pigeon dbus[609]: [system] Successfully activated service 'org.freedesktop.systemd1'
Nov 16 14:09:57 pigeon pulseaudio[1736]: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
Nov 16 14:10:13 pigeon cinnamon-session[13387]: WARNING: Application 'cinnamon.desktop' killed by signal 15
Nov 16 14:10:18 pigeon cinnamon-session[13387]: WARNING: App 'cinnamon.desktop' respawning too quickly
Nov 16 14:10:18 pigeon cinnamon-session[13387]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Nov 16 14:14:01 pigeon AptDaemon: INFO: Quitting due to inactivity
Nov 16 14:14:01 pigeon AptDaemon: INFO: Quitting was requested
Here is my lspci output:

Code: Select all

Nov 16 14:09:29 pigeon acpid: 1 client rule loaded
Nov 16 14:09:29 pigeon kernel: [  149.838763] nvidia: module license 'NVIDIA' taints kernel.
Nov 16 14:09:29 pigeon kernel: [  149.838767] Disabling lock debugging due to kernel taint
Nov 16 14:09:29 pigeon kernel: [  149.848599] NVRM: The NVIDIA probe routine was not called for 1 device(s).
Nov 16 14:09:29 pigeon kernel: [  149.848603] NVRM: This can occur when a driver such as nouveau, rivafb,
Nov 16 14:09:29 pigeon kernel: [  149.848603] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
Nov 16 14:09:29 pigeon kernel: [  149.848603] NVRM: the NVIDIA device(s).
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: Try unloading the conflicting kernel module (and/or
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: reconfigure your kernel without the conflicting
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: driver(s)), then try loading the NVIDIA kernel module
Nov 16 14:09:29 pigeon kernel: [  149.848605] NVRM: again.
Nov 16 14:09:29 pigeon kernel: [  149.848608] NVRM: No NVIDIA graphics adapter probed!
Nov 16 14:09:29 pigeon kernel: [  149.848609] [drm] Module unloaded
Nov 16 14:09:30 pigeon kernel: [  149.976367] NVRM: The NVIDIA probe routine was not called for 1 device(s).
Nov 16 14:09:30 pigeon kernel: [  149.976370] NVRM: This can occur when a driver such as nouveau, rivafb,
Nov 16 14:09:30 pigeon kernel: [  149.976370] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
Nov 16 14:09:30 pigeon kernel: [  149.976370] NVRM: the NVIDIA device(s).
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: Try unloading the conflicting kernel module (and/or
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: reconfigure your kernel without the conflicting
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: driver(s)), then try loading the NVIDIA kernel module
Nov 16 14:09:30 pigeon kernel: [  149.976373] NVRM: again.
Nov 16 14:09:30 pigeon kernel: [  149.976375] NVRM: No NVIDIA graphics adapter probed!
Nov 16 14:09:30 pigeon kernel: [  149.976376] [drm] Module unloaded
Nov 16 14:09:34 pigeon kernel: [  154.783234] nouveau W[  PGRAPH][0000:01:00.0] disabled, PGRAPH=1 to enable
Nov 16 14:09:38 pigeon mdm[1310]: WARNING: failed to get file info for accountService pic file: Error when getting information for file '/var/lib/AccountsService/icons/thom': No such file or directory
Nov 16 14:09:38 pigeon mdm[1310]: WARNING: failed to get file info for accountService pic file: Error when getting information for file '/home/thom/.face': No such file or directory
Nov 16 14:09:38 pigeon mdm[1310]: GLib-GIO-CRITICAL: g_file_info_get_attribute_uint64: assertion 'G_IS_FILE_INFO (info)' failed
Nov 16 14:09:38 pigeon mdm[1310]: GLib-GIO-CRITICAL: g_file_info_get_attribute_uint64: assertion 'G_IS_FILE_INFO (info)' failed
Nov 16 14:09:54 pigeon dbus[609]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Nov 16 14:09:54 pigeon dbus[609]: [system] Successfully activated service 'org.freedesktop.systemd1'
Nov 16 14:09:57 pigeon pulseaudio[1736]: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
Nov 16 14:10:13 pigeon cinnamon-session[13387]: WARNING: Application 'cinnamon.desktop' killed by signal 15
Nov 16 14:10:18 pigeon cinnamon-session[13387]: WARNING: App 'cinnamon.desktop' respawning too quickly
Nov 16 14:10:18 pigeon cinnamon-session[13387]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Nov 16 14:14:01 pigeon AptDaemon: INFO: Quitting due to inactivity
Nov 16 14:14:01 pigeon AptDaemon: INFO: Quitting was requested
Other system info:

CPU: AMD FX-9590
RAM: 16GB DDR3
GPU: nVidia Titan SC

Could anyone advise as to what I can do to resolve this? If there's additional output needed to diagnose, let me know and I'll provide it.

Thanks

Thom
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.
Captain Enchilada

Re: Cinnamon 2 crashes with nVidia drivers

Post by Captain Enchilada »

I have the same issue on a GTX 650 with the recommended 319 drivers. I had this issue in the beta of cinnamon 2 a week or so ago, even on other OS's. The problem definitely is in cinnamon, which is a good start at solving this issue at least. So far, my only resolution was to revert back the drivers, but I'll look around and see what I can do.

EDIT: Tried apt-get install nvidia-current and it's downloading 304 now. I'll report back and see if this fixes it.
EDIT2: Nope, I'll use another DE for now, but I might go back to nouveau if I need to use cinnnamon.
darkixion

Re: Cinnamon 2 crashes with nVidia drivers

Post by darkixion »

I've just realised by lspci paste wasn't really lspci, just a copy of the log. Here is a 2nd attempt:

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B) (rev 02)
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port B)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port D)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port E)
00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port H)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx1 port A)
00:0b.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (NB-SB link)
00:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx1 port B)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 2)
00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX Titan] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK110 HDMI Audio (rev a1)
02:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
03:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
0b:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
0c:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
darkixion

Re: Cinnamon 2 crashes with nVidia drivers

Post by darkixion »

I should perhaps also mention that it I reboot, shortly after selecting Linux Mint 16 from GRUB, harddisk activity stops altogether and I have a black screen. At this point switching to any of the ttys doesn't work. When rebooting again and going into recovery mode, the boot messages come up but then stop permanently.

Also, when I reinstalled it and didn't change the driver to the nVidia one, I tried a system update. The system froze while trying to update GRUB and eventually I had to reboot... then an empty GRUB prompt came up. I've since retried this, although this time it wanted to update mintsystem first. Installed all further updates, rebooted and it rebooted fine.

So I retried the "recommended" nvidia driver, just in case the mintsystem update had fixed things, logged out, logged back in again, and it comes up with the original "Do you want to restart Cinnamon" message after it crashed. After rebooting, I'm back to the same black screen after GRUB without access to any terminal window.

The last lines of the boot messages read:

Code: Select all

[    3.224652] Switched to clocksource tsc
[    3.229538] usb 13-2: New USB device found, idVendor=1b1c, idProduct=0c04
[    3.230339] usb 13-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.231013] usb 13-2: Product: Integrated USB Bridge
[    3.231645] usb 13-2: Manufacturer: Corsair Memory, Inc
[    3.239801] hid-generic 0003:1B1C:0C04.0004: hiddev0,hidraw3: USB HID v1.11 Device [Corsair Memory, Inc. Integrated USB Bridge] on usb-0000:00:16.0-2/input0
I don't see any mention of a graphics device.

Here's the output of inxi -Fx

Code: Select all

System:    Host: pigeon Kernel: 3.11.0-12-generic x86_64 (64 bit, gcc: 4.8.1) Desktop: Gnome Distro: Linux Mint 16 Petra
Machine:   Mobo: ASUSTeK model: SABERTOOTH 990FX R2.0 version: Rev 1.xx
           Bios: American Megatrends version: 2005 date: 09/16/2013
CPU:       Octa core AMD FX-9590 Eight-Core (-MCP-) cache: 16384 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 75450.3 
           Clock Speeds: 1: 4715.646 MHz 2: 4715.646 MHz 3: 4715.646 MHz 4: 4715.646 MHz 5: 4715.646 MHz 6: 4715.646 MHz 7: 4715.646 MHz 8: 4715.646 MHz
Graphics:  Card: NVIDIA GK110 [GeForce GTX Titan] bus-ID: 01:00.0 
           X.Org: 1.14.3 drivers: (unloaded: fbdev,vesa) FAILED: nvidia,nouveau Resolution: 1680x1050@59.9hz, 1680x1050@60.0hz 
           GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
Audio:     Card-1: NVIDIA GK110 HDMI Audio driver: snd_hda_intel bus-ID: 01:00.1 Sound: ALSA ver: k3.11.0-12-generic
           Card-2: Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
           driver: r8169 ver: 2.3LK-NAPI port: b000 bus-ID: 0a:00.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: ac:22:0b:4f:e5:32
Drives:    HDD Total Size: 5507.1GB (0.1% used) 1: id: /dev/sda model: WDC_WD15EADS size: 1500.3GB 
           2: id: /dev/sdb model: WDC_WD20EADS size: 2000.4GB 3: id: /dev/sdc model: ST3750640AS size: 750.2GB 
           4: id: /dev/sdd model: Samsung_SSD_840 size: 256.1GB 5: id: /dev/sde model: ST31000528AS size: 1000.2GB 
Partition: ID: / size: 235G used: 4.2G (2%) fs: ext4 ID: swap-1 size: 12.89GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 19.9C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 210 Uptime: 5 min Memory: 581.8/32076.9MB Runlevel: 2 Gcc sys: 4.8.1 Client: Shell inxi: 1.8.4
I have 2 screens attached. 1 by DisplayPort which is 2560x1080 and the other by DVI which is 1680x1050.

The grub line for linux shows:

Code: Select all

linux        /boot/vmlinuz-3.11.0-12-generic root=UUID=c62874e0-bda-9-4f7b-b8eb-3d8f8a092625 ro quiet splash $vt_handoff
If I remove $vt_handoff and replace it with "nomodeset" the situation doesn't seem to change.
darkixion

Re: Cinnamon 2 crashes with nVidia drivers

Post by darkixion »

I've now tried the latest and final release ISOs, and the problem persists.
clfarron4

Re: Cinnamon 2 crashes with nVidia drivers

Post by clfarron4 »

Would you be open to using even newer drivers from Xedgers?
darkixion

Re: Cinnamon 2 crashes with nVidia drivers

Post by darkixion »

clfarron4 wrote:Would you be open to using even newer drivers from Xedgers?
Well, I could try that, but the question is, why do I need to resort to an external PPA for something that's supposedly supported out of the box? I haven't had any trouble with bundled nVidia drivers up until this release, and I'm a tad concerned that the release has passed with flying colours given that I can't even get basic nVidia binary support working. I suspect there's some element unique to my set up that's causing the issue, but I'm not sure where to start diagnosing it.
clfarron4

Re: Cinnamon 2 crashes with nVidia drivers

Post by clfarron4 »

darkixion wrote:
clfarron4 wrote:Would you be open to using even newer drivers from Xedgers?
Well, I could try that, but the question is, why do I need to resort to an external PPA for something that's supposedly supported out of the box? I haven't had any trouble with bundled nVidia drivers up until this release, and I'm a tad concerned that the release has passed with flying colours given that I can't even get basic nVidia binary support working. I suspect there's some element unique to my set up that's causing the issue, but I'm not sure where to start diagnosing it.
Looking [url=http://www.nvidia.com/object/linux-display-amd64-319.23-driver.html]here[/url], I don't think the GTX Titan is supported by the nVidia 319 driver (the latest version provided by Ubuntu), but [url=http://www.nvidia.com/Download/driverResults.aspx/69372/]it is supported by the nVidia 331 driver[/url] (which you will find in Xedgers).

So it's not a case of they didn't test for it because they didn't want to, but they couldn't based on the default provided packages.
CamelCase

Re: Cinnamon 2 crashes with nVidia drivers

Post by CamelCase »

I experience exactly the same problems with my Notebook that has a GT 540M built in. officially supported by version 331.20. But I can't get it to work,i get that crash on the first reboot and black screens after that. Tried with ubuntu 13.10 too, same result. seems to be a more fundamental issue :-(
So even with the right version....crash
darkixion

Re: Cinnamon 2 crashes with nVidia drivers

Post by darkixion »

clfarron4 wrote:Looking [url=http://www.nvidia.com/object/linux-display-amd64-319.23-driver.html]here[/url], I don't think the GTX Titan is supported by the nVidia 319 driver (the latest version provided by Ubuntu), but [url=http://www.nvidia.com/Download/driverResults.aspx/69372/]it is supported by the nVidia 331 driver[/url] (which you will find in Xedgers).

So it's not a case of they didn't test for it because they didn't want to, but they couldn't based on the default provided packages.
I've now tried using xorg-edgers, and installed the latest nVidia drivers. When logging out and back in again, Cinnamon continues to crash. Rebooting also has the same issue where the screen remains black after selecting Linux Mint 16 from GRUB.

I'm wondering whether it's anything to do with UEFI, or something I need to change in the UEFI settings. I've changed various things, but nothing is fixing the issue. Legacy settings actually make things worse believe it or not.
CamelCase

Re: Cinnamon 2 crashes with nVidia drivers

Post by CamelCase »

I can assure you IF we got the same issue, and it does look that way, it has nothing to do with UEFI since my machine doesnt even have uefi yet. Have you tried with std Ubuntu yet? I experience the same issue there with unity.
Besides is it possible you have a optimus setup ? Even with the new drivers there seem to be quite a few issues with that, so for now bumblebee might be our best option (if you have a optimus system that is)
Liberatee

Re: Cinnamon 2 crashes with nVidia drivers

Post by Liberatee »

I hope this doesn't constitute necro-posting.

I'm having similar--though not as severe problems, and also want to update my drivers for my nvidia (GeForce GTX 650 ti --no optimus), which, according to Nvidia's handy guide should be version 331.20, kindly available in a Linux 64-bit version. ---THE CRUX:

Synaptic Package Manager or other official sources don't seem to offer this driver installation option, and Petra's recommended driver [319] in Driver Manager isn't working for me--in fact, I think it is worse than Nouveau.

So then some folks recommend using this rather sketchy Xedgers thing, while others say it's way too risky to use that service, perhaps especially for a newbie who might not be able to confront breakage that could arise from implementation.

So then others suggest downloading the driver and installing it manually in what seems like a logical procedure, like this one described in Ubuntu Handbook.

And yet I have also encountered advice NOT to download the .run package from Nvidia directly, without saying why not.

So why not? What's wrong with it? Why would it be better to do it the Xedgers way?

Perhaps all that is necessary is to make sure Nouveau is blacklisted so that it doesn't try to interfere with the proprietary driver... I am tempted to try a manual install of the 331.20 driver, but--as an admittedly absolute n00b--the conflicting advice makes it difficult to decide which method would be a better starting place to avoid effing up the ol' system.

For now, I guess I will try using the "recommended" driver and blacklisting, and report back if it works. But still, I would like to get a clearer idea of the thinking behind all this, instead of continuing to crash my system like a bull in a china shop: So for those of us with new and inquiring linux minds--can you please explain the reasoning behind these various strains of nvidia driver upgrade/installation advice?

EDIT: An update -------------------------


None of the graphics card offerings that came pre-packaged in Driver Manager, including the Nouveau, have been working for me. I keep getting blocky colors all over my monitor and such. So, I went ahead and ended up following the procedures in this thread pinned at the top of this forum, and it seems to have worked for me. I only just managed to install it without much testing, though, so we'll see...

I should add that it didn't all work smoothly and perfectly for me, even following those steps very carefully. I got the WARNING about the modprobe config file and that I should refer to a README on how to correctly disable the Nouveau kernel driver, but I followed the additional recommended steps [sudo apt-get purge xserver-xorg-video-nouvea libdrm-nouveau1a nvidia*] and then I was able to install the nvidia driver (read through the above-mentioned thread for clarification, including responses from other forum members).

BUT after installing the driver, upon rebooting, I kept looping in fallback mode with crazy huge resolution (about 1/4 of my normal desktop filling my monitor)... Restarting again availed nothing. So then I booted into Safe mode and ran chkdsk, just to see if it would find anything wonky. It didn't. So I booted normally, and, magically, I was back to my normal desktop with crystalline resolution, and Driver Manager tells me its using my manually installed driver.

Hopefully this is the end this particular saga for me.

So if you have a very recent nVidia driver that's not supported by the drivers in Driver Manager, and Nouveau isn't working for you, and Optimus isn't your issue (you need Bumblebee for that), give manual installation a try, as outlined in the above thread. It seems to have worked for me. *fingers remain crossed*
rramey

Re: Cinnamon 2 crashes with nVidia drivers

Post by rramey »

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
sudo apt-get install linux-source
sudo apt-get install nvidia-current
sudo apt-get install nvidia-settings
sudo nvidia-xconfig
This should create a /etc/X11/xorg.conf
Also make sure etc/modprobe.d/nvidia-graphics-drivers.conf blacklist's that pesky nouveau

Reboot

You might want to update initrd file and add nomodset to your /etc/defaults/grub if it's not already there. Not sure just habit,

sudo update-initramfs -u

sudo vi /etc/defaults/grub
Add or edit line:
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"


This worked on a Mint 16 clean install on Dell E6530
Nvidia NVS 5200M (mobile) and Intel HD graphis 4000


cheers,
rramey

"The future masters of technology will have to be lighthearted and intelligent. The machine easily masters the grim and the dumb." -- Marshall McLuhan, 1969
ravioactive

Re: Cinnamon 2 crashes with nVidia drivers

Post by ravioactive »

Hi rramey,

I am facing a similar issue: http://forum.linuxmint.com/viewtopic.php?f=59&t=155780

I've been advised on the thread to install Bumblebee AND a power management for the card. Do you know anything about that? If it is necessary - Why is it required and how to do that?
orentago

Re: Cinnamon 2 crashes with nVidia drivers

Post by orentago »

I have exactly the same problem with my laptop with the nVidia GeForce 540M card and optimus. I'm stuck in fallback mode when I try and log in. The problem first manifested today when I updated my LMDE install to UP8. My logs look the same as the OPs. Has this been reported as a bug?
darkixion

Re: Cinnamon 2 crashes with nVidia drivers

Post by darkixion »

I've just installed Linux Mint Debian Edition, did a full update to pack 8, rebooted, installed the nVidia drivers, and I'm *still* getting this issue.
jason1s

Re: Cinnamon 2 crashes with nVidia drivers

Post by jason1s »

I get the same problem, and have recently upgraded from Linux Mint 15 to 16. However I'm running a AMD A8 with an integrated GPU

Code: Select all

inxi -Fx

System:    Host: ocean Kernel: 3.8.0-19-generic x86_64 (64 bit, gcc: 4.7.3) Desktop: N/A Distro: Linux Mint 16 Petra
Machine:   System: SAMSUNG product: 355V4C/356V4C/3445VC/3545VC version: P07ABF.010.CP serial: HYXW98FCAE6BNV 
           Mobo: SAMSUNG model: NP355V5C-A0EUK version: BOARD 00 serial: 123490EN400015
           Bios: American Megatrends version: P07ABF date: 07/04/2013
CPU:       Quad core AMD A8-4500M APU with Radeon HD Graphics (-MCP-) cache: 8192 KB flags: (lm sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 15172.6 
           Clock Speeds: 1: 1400.00 MHz 2: 1400.00 MHz 3: 1400.00 MHz 4: 1400.00 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7640G] bus-ID: 00:01.0 
           X.org: 1.13.3 drivers: ati,radeon (unloaded: fbdev,vesa) tty size: 182x51 Advanced Data: N/A for root 
Audio:     Card-1: Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2
           Card-2: Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller driver: snd_hda_intel bus-ID: 00:01.1
           Sound: Advanced Linux Sound Architecture ver: k3.8.0-19-generic
Network:   Card-1: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0
           IF: wlan0 state: down mac: 50:b7:c3:55:be:79
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
           driver: r8169 ver: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: b8:88:e3:fd:77:2c
           Card-3: Atheros usb-ID: 0cf3:3004
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 3266.6GB (52.4% used) 1: id: /dev/sda model: Samsung_SSD_840 size: 250.1GB temp: 0C 
           2: USB id: /dev/sdb model: My_Passport_0748 size: 2000.4GB temp: 0C 3: id: /dev/sdc model: HM100UI size: 1000.2GB temp: 0C 
           4: id: /dev/sdd model: xD/SD/M.S. size: 15.9GB temp: 0C 
Partition: ID: / size: 114G used: 92G (85%) fs: ext4 ID: swap-1 size: 5.87GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 56.2C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 192 Uptime: 7 min Memory: 767.4/5364.3MB Runlevel: 2 Gcc sys: 4.7.3 Client: Shell inxi: 1.8.4 


User avatar
Oscar799
Level 20
Level 20
Posts: 10398
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Cinnamon 2 crashes with nVidia drivers

Post by Oscar799 »

jason1s
Please start a new thread with your question
Nvidia and AMD are not the same
Image
HankB

Re: Cinnamon 2 crashes with nVidia drivers

Post by HankB »

Ah... I'm working on this or a related problem as well. I have a GTX 460 video card that worked fine with Mint 13. When I upgraded to Mint 16 and logged in, I got an alert that the X desktop was using S/W drivers and that I should try different drivers to get H/W acceleration. The ones that shipped with 16 all resulted in a Cinnamon crash when logging in. (At least the two 319 versions - I do not recall if I tried others.) I did some searching and found instructions for downloading the latest drivers directly from NVIDIA. Having done this before (to gain CUDA capabilities) I proceeded. Their install script required blacklisting the nouveau module and rebooting. At that point I found that X seemed to be running fine with the 319 driver. However I decided to proceed with the 331.49 install and then found that following the procedure I am left with a system that does not run X. :( During the NVIDIA install it replaced /etc/X11/xorg.conf so I restored the old one. No joy.

My suggestion is that you try blacklisting the nouveau kernel module first and if that works, be happy! If you mess with something long enough, it will break. ;)

Now I'll be
1) searching for a solution to the present problem
2) searching for how to back out the NVIDIA drivers
3) Having a go with another distro. One thing I really liked about Mint was the ease of installation but I seem to have a bump in the road on this one.


Edit: Problem solved. I found a post that described removing and reinstalling all nvidia packages. I removed all packages that had nvidia in their name and reran the program from NVIDIA to install the most recent driver. I also skipped the 32 bit compatibility libs. On completion I rebooted the PC and X came up fine. I logged in and find the 331.49 driver working w/out difficulty. Driver manager reports a user installed driver in use and all other choices are grayed out. (And at this point I believe I will stop fiddling with it.)
mike_S

Re: Cinnamon 2 crashes with nVidia drivers

Post by mike_S »

I tried this, and it didn't work for me. Could you outline the steps you tried? or post the link you used?

for the moment I have it running on Mint 14, but everything I tried with Mint16 was unsuccessful, and I tried everything suggested on this thread, and on other threads.
Locked

Return to “Graphics Cards & Monitors”