Cinnamon crashing - GPU Hang

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
Takehiko
Level 1
Level 1
Posts: 3
Joined: Sat Nov 10, 2018 3:17 pm

Cinnamon crashing - GPU Hang

Post by Takehiko » Sat Nov 10, 2018 3:56 pm

I just got this brand new Mint Box Mini 2. It came with Mint 19 on it and I was expecting everything to just work. But Cinnamon keeps randomly crashing on me. When it happens I see something that looks like screen tearing, then is freezes for a 15-30 seconds and I get a popup saying that it's now running in Fallback Mode.

Nothing listed in System Reports but I see this in dmesg output:

Code: Select all

[  490.811354] [drm] GPU HANG: ecode 9:0:0x85dffffb, in cinnamon [1614], reason: Hang on rcs0, action: reset
[  490.811374] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[  498.802762] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[  506.802895] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[  514.802651] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[  522.802393] i915 0000:00:02.0: Resetting rcs0 after gpu hang
I haven't found any single thing that triggers it, but it does seem more prevalent when there's a lot of windows open.

I would really appreciate anyone's help on this. Given that the log message is talking about the GPU I want to know if this is hardware issue so I can get that resolved by the manufacturer while it's still under warranty.

Code: Select all

System:    Host: tokyo Kernel: 4.15.0-38-generic x86_64 bits: 64 gcc: 7.3.0 Console: tty 0
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: Compulab model: fitlet2 v: 1.1 serial: <filter>
           UEFI: American Megatrends v: FLT2.MBM2.0.40.01.00 date: 07/05/2018
CPU:       Quad core Intel Celeron J3455 (-MCP-) arch: N/A cache: 1024 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11980
           clock speeds: max: 2300 MHz 1: 798 MHz 2: 798 MHz 3: 868 MHz 4: 853 MHz
Graphics:  Card: Intel Device 5a85 bus-ID: 00:02.0
           Display Server: X.org 1.19.6 drivers: modesetting (unloaded: fbdev,vesa)
           tty size: 134x67 Advanced Data: N/A for root out of X
Audio:     Card Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
           driver: snd_hda_intel bus-ID: 00:0e.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-38-generic
Network:   Card-1: Intel Wireless 8260 driver: iwlwifi bus-ID: 01:00.0
           IF: wlp1s0 state: down mac: <filter>
           Card-2: Intel I211 Gigabit Network Connection driver: igb v: 5.4.0-k port: e000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-3: Intel I211 Gigabit Network Connection driver: igb v: 5.4.0-k port: d000 bus-ID: 03:00.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2063.7GB (36.5% used)
           ID-1: /dev/sda model: M2SCF size: 63.4GB temp: 40C
           ID-2: USB /dev/sdb model: Expansion size: 2000.4GB temp: 0C
Partition: ID-1: / size: 58G used: 9.1G (17%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 189 Uptime: 54 min Memory: 264.2/3768.4MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56

Takehiko
Level 1
Level 1
Posts: 3
Joined: Sat Nov 10, 2018 3:17 pm

Re: Cinnamon crashing - GPU Hang

Post by Takehiko » Sat Nov 10, 2018 4:44 pm

Not sure if this is related but I also found this in the .xsession-errors

Code: Select all

i965: Failed to submit batchbuffer: Input/output error
Gtk-Message: 13:38:22.604: GtkDialog mapped without a transient parent. This is discouraged.
Unable to open desktop file /usr/share/applications/caja-browser.desktop for panel launcher: No such file or directory
Unable to open desktop file /usr/share/applications/mate-terminal.desktop for panel launcher: No such file or directory

(nm-applet:1636): Gdk-CRITICAL **: 13:38:23.066: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_co
unt > 0' failed

redlined
Level 3
Level 3
Posts: 107
Joined: Wed Jun 06, 2018 8:12 pm
Location: Mile High, Green State (Denver, CO:)

Re: Cinnamon crashing - GPU Hang

Post by redlined » Sat Nov 10, 2018 7:23 pm

hi Takehiko!

I'm new to linux and not sure how to help but did want to mention something I find curious about your outputs shared. I see no "Desktop" listed in your inxi results rather 'Console: tty 0' whereas my results don't list console, rather 'Desktop: MATE 1.20.1' right in front of Distro: Linux Mint 19 Tara. This tells me there is no DE loaded. :|

also, your last output, errors, it looks like your system is looking for MATE and caja-browser (MATE desktop file manager). I would expect to see Cinnamon warnings somewhere if the device has Cinnamon DE installed :?:

please continue to monitor this thread for Linux knowledgable folks to help troubleshoot this as I do not know how to easily check to see if Cinnamon DE is indeed installed, much less how to go about fixing things!

lastly, I had never heard of the fitlet line of products, and at first glance this looks like exactly what I want for a home network security project I have in mind, so Thank You for posting about this!
Moem kōan 42: Should tool manufacturers be required to fix their products so that you cannot use their saws to cut the tree branch that you're sitting on?

(The answer to the ultimate question of life, the universe and everything is... 42!!;)

Hoser Rob
Level 12
Level 12
Posts: 4319
Joined: Sat Dec 15, 2012 8:57 am

Re: Cinnamon crashing - GPU Hang

Post by Hoser Rob » Mon Nov 12, 2018 9:38 am

If you bought a new computer with Mint 19 preinstalled I think the mfr should have some help available.

Takehiko
Level 1
Level 1
Posts: 3
Joined: Sat Nov 10, 2018 3:17 pm

Re: Cinnamon crashing - GPU Hang

Post by Takehiko » Mon Nov 12, 2018 12:53 pm

redlined - I am definitely using Cinnamon. MATE is not installed.

Hoser Rob - True, I will check in with them too. But I would still appreciate the insight of anyone here as well.

Herbivore
Level 2
Level 2
Posts: 66
Joined: Mon Jun 11, 2007 6:59 pm

Re: Cinnamon crashing - GPU Hang

Post by Herbivore » Tue Nov 13, 2018 5:32 am

Hi. My nearly exact experience also, often daily: "Resetting rcs0 after gpu hang". Can anyone point to a fix for this many months, long-lived bug?

Bug report at https://bugs.launchpad.net/ubuntu/+sour ... ug/1777707 where the OP's description closely matches my experience:
After using LibreOffice Impress (6.0.3-0ubuntu1) for a while, X.org freezes for several seconds; the mouse pointer is still movable, but neither LibreOffice nor KDE/Plasma reacts to it anymore. Then X.org crashes and brings me back to the login screen.
Difference is the crash occurs when using any Libreoffice application, Writer, Calc, Draw. I don't use Impress.

Libreoffice About:

Code: Select all

Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial4
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default
dmesg:

Code: Select all

[140297.738953] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[140308.778950] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[140318.762911] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[140326.762911] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[140334.762879] i915 0000:00:02.0: Resetting rcs0 after gpu hang
inxi -F:

Code: Select all

System:    Host: hp-firefly-lap Kernel: 4.15.0-38-generic x86_64 (64 bit) Desktop: Cinnamon 3.6.7
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: HP product: HP Laptop 15-bs0xx v: Type1ProductConfigId
           Mobo: HP model: 8329 v: 23.47 Bios: Insyde v: F.33 date: 12/08/2017
CPU:       Dual core Intel Core i3-6006U (-HT-MCP-) cache: 3072 KB 
           clock speeds: max: 2000 MHz 1: 500 MHz 2: 500 MHz 3: 500 MHz 4: 500 MHz
Graphics:  Card-1: Intel Sky Lake Integrated Graphics
           Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330]
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.01hz
           GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) GLX Version: 3.0 Mesa 17.2.8
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-38-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: 80:ce:62:83:85:cc
           Card-2: Realtek Device d723
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 3000.6GB (60.6% used) ID-1: USB /dev/sda model: Expansion size: 2000.4GB
           ID-2: /dev/sdb model: ST1000LM035 size: 1000.2GB
Partition: ID-1: / size: 99G used: 12G (13%) fs: ext4 dev: /dev/sdb3
           ID-2: /home size: 99G used: 20G (21%) fs: ext4 dev: /dev/sdb4
           ID-3: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 35.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 237 Uptime: 3 days Memory: 2051.5/7894.3MB Client: Shell (bash) inxi: 2.2.35
lspci:

Code: Select all

lspci -knn | grep VGA -A3
00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07)
	Subsystem: Hewlett-Packard Company Skylake Integrated Graphics [103c:8329]
	Kernel driver in use: i915
	Kernel modules: i915

User avatar
thx-1138
Level 6
Level 6
Posts: 1243
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Cinnamon crashing - GPU Hang

Post by thx-1138 » Tue Nov 13, 2018 6:40 am

Herbivore wrote:
Tue Nov 13, 2018 5:32 am
Hi. My nearly exact experience also, often daily: "Resetting rcs0 after gpu hang".
Can anyone point to a fix for this many months, long-lived bug?
...................................
...your hardware setup is completely different with the OP's (he / she didn't even mentioned Libreoffice...) -
so i would suggest a separate thread to get this resolved.
In any case, from a quick'n'dirty look in your report, i'd start by updating Mesa first,
and if such still doesn't do the trick, by updating Libreoffice.

Herbivore
Level 2
Level 2
Posts: 66
Joined: Mon Jun 11, 2007 6:59 pm

Re: Cinnamon crashing - GPU Hang

Post by Herbivore » Tue Nov 13, 2018 7:08 am

Thank you thx-1138 for taking the time to reply. Sorry to have been inexact. Hardware is indeed very different.

If I post a separate thread,
1) May I copy my post (modifying the first line to "I'm getting a 'Resetting rcs0 after gpu hang'. Can anyone point to a fix for this many months, long-lived bug?"
2) Where should the thread be posted: Main Edition Support Desktops & Window Managers Cinnamon or a different one?
3) Is there any other information which should be included?

Thanks again.

User avatar
thx-1138
Level 6
Level 6
Posts: 1243
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Cinnamon crashing - GPU Hang

Post by thx-1138 » Tue Nov 13, 2018 7:15 am

...i would assume under 'Software' if it's a Libreoffice issue?
Did you updated Mesa from Update Manager? Current version is 18.0.5 for 18.x / xenial (and you have 17.2.8 above).

Herbivore
Level 2
Level 2
Posts: 66
Joined: Mon Jun 11, 2007 6:59 pm

Re: Cinnamon crashing - GPU Hang

Post by Herbivore » Tue Nov 13, 2018 10:26 am

thx-1138 , how did you get back to the 21st century, didn't like it much in the 25th I'm sure!
OK, you wrote, "Did you updated Mesa from Update Manager? Current version is 18.0.5." So yes, that is now done. Had to figure out that Synaptic has different icon for upgradeable packages, and then how to force it, etc. So now inxi -F reports 18.05. I'll see over the coming days if this solves the problem. If not, Libreoffice is already the most recent, but I could downgrade it a bit from the 1:5.1.6~rc2 build to 1:5.1.2 xenial. If it gets fixed, I'll edit with a "solved".

User avatar
thx-1138
Level 6
Level 6
Posts: 1243
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Cinnamon crashing - GPU Hang

Post by thx-1138 » Tue Nov 13, 2018 10:32 am

If you still get the same issue even after Mesa has been updated - just ask, and we'll try to figure it out step by step...

Post Reply

Return to “Cinnamon”