Complete GPU freeze in Cinnamon

Questions about hardware and drivers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Complete GPU freeze in Cinnamon

Post by jwiz »

Total freeze happening while working in a FreeRDP session (freerdp2-x11).
Was unable to reset the X-server session, no keyboard and mouse input possible.
Hard reboot was the only option.

My machine/system info;

Code: Select all

System:    Host: minibox42 Kernel: 5.4.0-0.bpo.4-amd64 x86_64 bits: 64 Desktop: Cinnamon 4.4.8 Distro: LMDE 4 Debbie 
Machine:   Type: Mini-pc System: LENOVO product: 10T700BGGE v: ThinkCentre M720q serial: <root required> 
           Mobo: LENOVO model: 312D v: NOK serial: <root required> UEFI: LENOVO v: M1UKT50A date: 02/17/2020 
Memory:    RAM: total: 7.71 GiB used: 1.21 GiB (15.8%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: 6-Core model: Intel Core i5-9400T bits: 64 type: MCP L2 cache: 9216 KiB 
           Speed: 900 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 18.3.6 
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel 
           Sound Server: ALSA v: k5.4.0-0.bpo.4-amd64 
Network:   Device-1: Intel Ethernet I219-V driver: e1000e 
           IF: eno1 state: down mac: f8:75:a4:46:31:6a 
           Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi 
           IF: wlp2s0 state: up mac: 04:33:c2:6a:b7:33 
Drives:    Local Storage: total: 238.47 GiB used: 25.73 GiB (10.8%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HBHQ-000L7 size: 238.47 GiB 
Partition: ID-1: / size: 45.89 GiB used: 6.71 GiB (14.6%) fs: ext4 dev: /dev/nvme0n1p3 
           ID-2: /home size: 179.43 GiB used: 19.01 GiB (10.6%) fs: ext4 dev: /dev/nvme0n1p4 
           ID-3: swap-1 size: 8.01 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 28.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 


Excerpt from syslog:
Jul 14 09:31:53 minibox42 kernel: [ 5128.170093] i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
Jul 14 09:31:53 minibox42 kernel: [ 5128.171103] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Jul 14 09:31:53 minibox42 kernel: [ 5128.171888] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:31:53 minibox42 kernel: [ 5128.171978] i915 0000:00:02.0: Resetting chip for hang on rcs0
Jul 14 09:31:53 minibox42 kernel: [ 5128.173761] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:31:53 minibox42 kernel: [ 5128.174535] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:31:56 minibox42 kernel: [ 5131.338076] Asynchronous wait on fence i915:cinnamon[1792]:8c84 timed out (hint:intel_atomic_commit_ready+0x0/0x4c [i915])
Jul 14 09:32:01 minibox42 kernel: [ 5136.171024] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Jul 14 09:32:01 minibox42 kernel: [ 5136.171811] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:32:01 minibox42 kernel: [ 5136.171899] i915 0000:00:02.0: Resetting chip for hang on rcs0
Jul 14 09:32:01 minibox42 kernel: [ 5136.173683] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:32:01 minibox42 kernel: [ 5136.174458] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
....
Jul 14 09:33:09 minibox42 kernel: [ 5204.169908] i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering.
Jul 14 09:33:09 minibox42 kernel: [ 5204.170173] i915 0000:00:02.0: Resetting chip for hang on rcs0
Jul 14 09:33:09 minibox42 at-spi-bus-launcher[1618]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jul 14 09:33:09 minibox42 at-spi-bus-launcher[1618]:       after 10502 requests (10502 known processed) with 0 events remaining.
Jul 14 09:33:09 minibox42 pulseaudio[1644]: ICE default IO error handler doing an exit(), pid = 1644, errno = 11
Jul 14 09:33:09 minibox42 gnome-terminal-[2012]: gnome-terminal-server: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
Jul 14 09:33:09 minibox42 systemd[1522]: gnome-terminal-server.service: Main process exited, code=exited, status=1/FAILURE
Jul 14 09:33:09 minibox42 systemd[1522]: gnome-terminal-server.service: Failed with result 'exit-code'.
Jul 14 09:33:09 minibox42 bluetoothd[746]: Endpoint unregistered: sender=:1.84 path=/MediaEndpoint/A2DPSource
Jul 14 09:33:09 minibox42 bluetoothd[746]: Endpoint unregistered: sender=:1.84 path=/MediaEndpoint/A2DPSink
Jul 14 09:33:09 minibox42 systemd[1522]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Jul 14 09:33:09 minibox42 systemd[1522]: pulseaudio.service: Failed with result 'exit-code'.
Jul 14 09:33:10 minibox42 systemd[1522]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Jul 14 09:33:10 minibox42 systemd[1522]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Jul 14 09:33:10 minibox42 systemd[1522]: Stopped Sound Service.
Jul 14 09:33:10 minibox42 systemd[1522]: Starting Sound Service...
Jul 14 09:33:10 minibox42 rtkit-daemon[1651]: Successfully made thread 2826 of process 2826 (n/a) owned by '1000' high priority at nice level -11.
Some further info from kern.log:

Code: Select all

Jul 14 09:33:19 minibox42 kernel: [ 5214.154892] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Jul 14 09:33:19 minibox42 kernel: [ 5214.155676] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:33:19 minibox42 kernel: [ 5214.155762] i915 0000:00:02.0: Resetting chip for hang on rcs0
Jul 14 09:33:19 minibox42 kernel: [ 5214.157542] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:33:19 minibox42 kernel: [ 5214.158315] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Jul 14 09:33:20 minibox42 kernel: [ 5215.305945] Asynchronous wait on fence i915:Xorg[887]:20db4 timed out (hint:intel_atomic_commit_ready+0x0/0x4c [i915])
Jul 14 09:33:20 minibox42 kernel: [ 5215.389217] Lockdown: Xorg: raw io port access is restricted; see https://wiki.debian.org/SecureBoot
Jul 14 09:33:20 minibox42 kernel: [ 5215.418888] broken atomic modeset userspace detected, disabling atomic
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Re: Complete GPU freeze in Cinnamon/FreeRDP

Post by jwiz »

The gpu issue seem to have resolved for the time being after installing the 5.4 kernel and newer firmware-linux/nonfree packages from buster-backports.
Seems I had missed out on the firmware-linux/nonfree package at first.
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Re: Complete GPU freeze in Cinnamon/FreeRDP

Post by jwiz »

Suffered another GPU hang this morning even with kernel-5.4 and linux-firmware/nonfree from buster-backports.
Seems LMDE 4 really does not like this machine.
User avatar
antikythera
Level 15
Level 15
Posts: 5721
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Complete GPU freeze in Cinnamon

Post by antikythera »

Try kernel 5.5 or 5.6, the i915 GPU freeze with UHD 620 and above seems to be a known issue that was fixed in kernel 5.5. It's not exclusive to LMDE4 either, reports of it with Ubuntu, Arch, Manjaro, Fedora, OpenSUSE.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Re: Complete GPU freeze in Cinnamon

Post by jwiz »

Thanks, going to try that.
fadingfool

Re: Complete GPU freeze in Cinnamon

Post by fadingfool »

I've been suffering the same problem with both 19.3 (Tricia) and 20 (Ulyana) (kernel 4.13 and above). So far the only solution I have found is switching to a different desktop environment (Mate in my case) .
Originally assumed it was the GPU (AMD R7 240) but I could replicate the crash with the onboard intel gpu as well. Upgraded to Mint 20 and still the same problem (you get a couple of minutes in the desktop before it freezes and whilst you can escape to the console cinnamon is completely unresponsive) . So switched to Mate and haven't had a freeze yet.
18 (Sarah) with cinnamon still works fine though on the same machine (all 64bit).
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Re: Complete GPU freeze in Cinnamon

Post by jwiz »

Seems to me that the update to kernel-5.6 + latest firmware from buster-backports has solved my iGPU issues.
Running that for 1 week now and have not seen a GPU freeze since (fingers crossed).
Locked

Return to “Hardware Support”