i915 bug: GPU HANG. Kernel: 4.19.134-1 LTS: "I will maintain" motto
This is another one bug on the same system as was
but under slightly another conditions:
-) kernel version now is 4.19.132-1-MANJARO LTS: .
-) again current app is opera and there was playing video game via browser (cs-online.club/en/servers) for about 50-60 minutes and suddenly all freezes (and sound also) for about 10-12 seconds and than un-freezes, current game tab got black background instead of game map and game sound continue to playback. And if to close game tab all are remains like there was no any graphics crash. 4.19.132-1-MANJARO: amazing graphics recover after it crashed.
All stuff below is only copy-paste-and-edit according to the current case. Template taken from the sort of the same issue linked above (# 2187, # 2188).
journalctl -b -r lines
... Jul 16 07:45:56 pc kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jul 16 07:45:48 pc kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jul 16 07:45:48 pc kernel: [drm] GPU HANG: ecode 9:0:0x84df7cff, in opera , reason: hang on rcs0, action: reset ...
Manjaro Linux 20.0.3 64 bit KDE, unstable branch (it has latest updates in Manjaro project).
uname -r: 4.19.132-1-MANJARO.
1-year old mini-pc with the only GPU which is CPU on-die (on the same substrate as CPU is: Intel UHD Graphics 620). No any other GPU present in PC (ever).
Kernels affected looks like all current of the Manjaro Linux OS. They are (at least):
4.19 LTS family and latest 4.19.132-1 LTS also,
5.4 LTS family (probably latest 5.4.51-1 also),
5.6 family (probably latest 5.6.19-2 also),
5.6-real-time family (probably latest 5.6.17_rt9-2 also),
5.7 family and latest 5.7.8-8 also,
5.8rc family and latest 5.8rc5 also.
Kernel. Usual behaviour
4.19: restore state of graphics by resetting graphics (see 'More info by me also located on' link below) and in current case. Info gathered via current user session inthe current first/graphical terminal.
5.7: hangs up but only picture (blinking picture with tens and hundreds colour rectangles in the black backround), sound is playing back still, second terminal (Ctrl+Alt+F2) is available and working.
5.8rc (attention: not 'rt'): freezes completely OS: picture like still picture/photo, sound stops, no any terminals available: pc no responds.
Additionally about kernels.
!!!Could be important!!!
( More info by me also located on: https://forum.manjaro.org/t/random-freezing-with-resetting-rcs0-for-hang-on-rcs0/119313/34 )
It contains logs and GUI messages how another (not that current kernel version but) v4.19 LTS in KDE prevents graphics from crash and resets graphics and continue to let user have his/her working session.
Moreover: Manjaro Linux LiveCD v2003 (USB flash stick, was downloaded about 2 weeks ago) hangs on also during work as LiveCD. It has 5.6.15-1-MANJARO kernel built-in.
Features: looks like software-independent bug: software mentioned in "General steps to reproduce an issues" item below.
General steps to reproduce an issues
I have tons of such issues. They based on randomly time and actions manner. Can't select the exact user behaviour, spontaneous error: it could be on logon screen before user input or after 12 hours of work. Usually after 30-120 minutes of very typical user actions in text editor, media player, web browser, desktop icons selection, selecting item in context menu on system tray icon, etc.
How often does the steps listed above trigger the issue
Issue occurred about 50-60 times for about last 2.5 weeks period. OS installation was 3-4 month ago and before that 2.5 weeks ago works well. May be software update was the cause of the problem, can't trace this now. Never saw such hard to catch bug and recently it became very very frequently several times per day at very least.
Display connector: (such as HDMI, DP, eDP, ...)
Monitor port: DVI-D.
PC port: HDMI (probably 1.4a).
Single cable (factory-made: without any adapters): one side has HDMI connector (PC) - other side has DVI-D connector (monitor).
sudo cp /sys/class/drm/card0/error Desktop/error
inxi -Fxxxz > inxi.txt
sudo dmidecode > dmidecode.txt
sudo dmesg > dmesg.txt
mhwd -li > mhwd.txt mhwd -la >> mhwd.txt
xrandr --verbose > xrandr.txt
journalctl -b-1 -r > journalctl.txt
KDE. System settings -> System information
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 4.19.132-1-MANJARO
OS Type: 64-bit
Processors: 4 × Intel Core i5-8250U CPU @ 1.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel UHD Graphics 620
just while editing this text in text editor and press Start/Meta btn to get System information details in KDE. Crash happens again. And again 4.19 let me to proceed after about 6-8 seconds of freezes and shows KDE notification popup:
Title: "KWin Window Manager";
Text: "Desktop effects were restarted due to a graphics reset".
For that freeze period taskbar re-apearead and PC un-hangs again.
journalctl -b -r lines
... Jul 16 08:07:08 pc kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jul 16 08:07:00 pc kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ...
sudo cp /sys/class/drm/card0/error Desktop/error_2
inxi -Fxxxz > inxi_2.txt
sudo dmidecode > dmidecode_2.txt
sudo dmesg > dmesg_2.txt
mhwd -li > mhwd_2.txt mhwd -la >> mhwd_2.txt
xrandr --verbose > xrandr_2.txt
journalctl -b-1 -r > journalctl_2.txt