Cinnamon has just crashed after updating using Update Manage

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Kuxe

Cinnamon has just crashed after updating using Update Manage

Post by Kuxe »

Hi,

I'm a linux newbie with some trouble getting Cinnamon to load since I updated packages using the Update Manager. When booting up computer and getting to desktop, a prompt with the error message "Cinnamon has just crashed" appears. Restarting it via the prompt that shows up doesn't change anything, so I end up running Cinnamon in fallback mode.

I've tried to start Cinnamon via terminal:

Code: Select all

kuxe@kuxe-EX58-DS4 ~ $ cinnamon
libGL error: failed to load driver: swrast

(cinnamon:4498): Gdk-ERROR **: The program 'cinnamon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 198 error_code 16 request_code 155 (GLX) minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap
kuxe@kuxe-EX58-DS4 ~ $
but it seems some software rasterizer fails to load and I have no idea how to fix that.

I have tried some easy fixes without success:
1. Restart mdm
2. Restart computer
3. Searched for more updates using Update Manager aswell as sudo apt-get update + sudo apt-get upgrade. No new updates were found.

Any ideas how to fix this? I considered reinstalling Cinnamon but I don't know how to do that and I'm worried that my personal settings will be lost if reinstalling Cinnamon...


System specifications (sysinfo):

Code: Select all

System information report, generated by Sysinfo: 6/9/2014 4:48:38 PM
http://sourceforge.net/projects/gsysinfo

SYSTEM INFORMATION
	Running LinuxMint Linux, the LinuxMint 17 (qiana) release.
	GNOME: 3.8.4 (Ubuntu 2014-03-17)
	Kernel version: 3.13.0-24-generic (#47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014)
	GCC: 4.8 (x86_64-linux-gnu)
	Xorg: 1.15.1 (16 April 2014  01:36:29PM) (16 April 2014  01:36:29PM)
	Hostname: kuxe-EX58-DS4
	Uptime: 0 days 0 h 38 min

CPU INFORMATION
	GenuineIntel, Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
	Number of CPUs: 8
	CPU clock currently at 1596.000 MHz with 8192 KB cache
	Numbering: family(6) model(26) stepping(4)
	Bogomips: 5397.41
	Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid

MEMORY INFORMATION
	Total memory: 5966 MB
	Total swap: 6139 MB

STORAGE INFORMATION
	SCSI device -  scsi0
		Vendor:  ATA      
		Model:  WDC WD5001AALS-0 
	SCSI device -  scsi1
		Vendor:  Optiarc  
		Model:  DVD RW AD-7240S  

HARDWARE INFORMATION
MOTHERBOARD
	Host bridge
		Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers (rev 04)
		Subsystem: Gigabyte Technology Co., Ltd Device 5000
	PCI bridge(s)
		Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 12) (prog-if 00 [Normal decode])
		Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 12) (prog-if 00 [Normal decode])
		Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 12) (prog-if 00 [Normal decode])
		Intel Corporation 7500/5520/5500/X58 I/O Hub PCI Express Root Port 9 (rev 12) (prog-if 00 [Normal decode])
		Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 (prog-if 00 [Normal decode])
		Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2 (prog-if 00 [Normal decode])
		Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5 (prog-if 00 [Normal decode])
		Intel Corporation 82801 PCI Bridge (rev 90) (prog-if 01 [Subtractive decode])
	ISA bridge
		Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
		Subsystem: Gigabyte Technology Co., Ltd GA-EP45-DS5 Motherboard
	IDE interface
		JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02) (prog-if 85 [Master SecO PriO])
		Subsystem: Gigabyte Technology Co., Ltd Motherboard

GRAPHIC CARD
	VGA controller
		NVIDIA Corporation GT200b [GeForce GTX 275] (rev a1) (prog-if 00 [VGA controller])
		Subsystem: Gigabyte Technology Co., Ltd Device 34ce

SOUND CARD
	Multimedia controller
		Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
		Subsystem: Gigabyte Technology Co., Ltd GA-EP45-UD3R Motherboard

NETWORK
	Ethernet controller
		Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
		Subsystem: Gigabyte Technology Co., Ltd Motherboard

NVIDIA GRAPHIC CARD INFORMATION
	Model name: unknown
	Card Type: unknown 16x
	Video RAM: 896 MB
	GPU Frequency: 660. MHz
	Driver version: NVIDIA UNIX x86_64 Kernel Module  331.67  Fri Apr  4 13:48:39 PDT 2014
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.
Kuxe

Re: Cinnamon has just crashed after updating using Update Ma

Post by Kuxe »

I think I just broke my system.

Googling around I found a bug-ticket on some webpage which I cannot relocate, which stated that a new version of libgl1-mesa-dri was causing the bug. I figured to revert back to older versions of GL packages, so for each package that were updated from my then current version 10.1.0-4ubuntu5 too newer version 10.1.3-0ubuntu0.1 I'd write:

Code: Select all

sudo apt-get install <all GL packages that was updated> version=10.1.0-4ubuntu5
I did this for the following packages:

libegl1-mesa-dev
libgl1-mesa-dri
libgbm1
libgl1-mesa-dev
mesa-common-dev
libgl1-mesa-glx
libgles2-mesa-dev
libgles2-mesa
libwayland-egl1-mesa
libegl1-mesa-drivers
libglapi-mesa
libopenvgl-mesa
libegl1-mesa

Afterwards I did:

Code: Select all

sudo apt-get autoremove
At this point I rebooted my computer. Linux Mint was stuck at screen with Linux Mint logo. I got on tty1 and after found out cinnamon aswell as mdm was uninstalled.. or so I think they were. I installed them both using:

Code: Select all

sudo apt-get install cinnamon && sudo apt-get install mdm
Reboot. Still stuck at logo-screen. I can use use

Code: Select all

startx cinnamon
and get into a desktop environment with software rendering and an old-looking file-manager. My start-button isn't organized the same way now as it was before...

I have installed the newest versions of all GL packages once again, but issue still exists. I think sudo apt-get autoremove removed LOTS of packages that I needed..

Any ideas how get past Linux Mint logo screen with hardware rendering enabled?
Kuxe

Re: Cinnamon has just crashed after updating using Update Ma

Post by Kuxe »

Partly solved it now, I did the following:

1. Uninstall current NVIDIA-driver using:

Code: Select all

sudo sh <Driver downloaded from NVIDIA>.sh --uninstall
2. Give the other driver (non-beta in my case, the previous driver was a beta-driver) higher privilegies. I think...:

Code: Select all

sudo chmod +x <Another non-beta driver downloaded from NVIDIA>.sh
3. Install non-beta driver. Answer yes and continue to everything.

Code: Select all

sudo sh <Another non-beta driver downlaoded from NVIDIA>.sh
4. I have no idea what this does, but I did it anyways:

Code: Select all

sudo update-initramfs -u -k all
5. Reboot:

Code: Select all

sudo reboot
I think this sequence mostly solved my problem. I had to install many packages, such as QT5 (sudo apt-get install qt5-default qttools5-dev-tools), since it also was mysteriously removed by sudo apt-get autoremove which I previously called.. Now Cinnamon is up and running without crashing and everything works fine except steam which start with an error message:

Code: Select all

OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457.
So there might still be some stuff to do.. But the original issue is solved.

TL;DR:
If update-manager breaks your Cinnamon, causing it to crash and enter fallback-mode, try another to install GPU-driver. It seems my beta-driver was completely broken by some OpenGL-library updates, but reverting to a stable non-beta version fixed that.
Kuxe

Re: Cinnamon has just crashed after updating using Update Ma

Post by Kuxe »

Solved the steam issue too. See my post on the steam forum.
Locked

Return to “Cinnamon”