Bug 209673

Summary: divide_error in amdgpu freezes screen
Product: Drivers Reporter: cornelius.riemenschneider
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.9.0 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg.txt
crashing dmesg #1
crashing dmesg #2
crashing dmesg #3
crashing dmesg #4
crashing dmesg #5
crashing dmesg #6
crashing dmesg #7

Description cornelius.riemenschneider 2020-10-14 08:38:40 UTC
Created attachment 292959 [details]
dmesg.txt

Today, my freeze froze spontaneously while browsing the web with firefox.
I am using a Lenovo T14s with AMD Rzyen 4750U (internal GPU) with amdgpu, one external screen connected to a USB-C docking station.
The system had an uptime of ~3 hours.

I attached the dmesg output from the time of the crash, let me know if you need more information to debug this issue.
Comment 1 cornelius.riemenschneider 2020-10-14 08:41:47 UTC
Xorg.0.log.old (the log that should contain the output of the crashed X server) is unfortunately empty.
Comment 2 Alex Deucher 2020-10-15 15:37:59 UTC
Please attach your full dmesg output.  What kernel are you running?
Comment 3 cornelius.riemenschneider 2020-10-15 19:35:36 UTC
Kernel is 5.8.14-arch1-1.

I attached three dmesg outputs of the last two days, where each time the amdgpu driver seemed to cause a divide_error, and the screen froze.
Audio playback, and in one case, video encoding (zoom call) continued working until I reset the system via the SysRq keys.
Comment 4 cornelius.riemenschneider 2020-10-15 19:36:06 UTC
Created attachment 292995 [details]
crashing dmesg #1
Comment 5 cornelius.riemenschneider 2020-10-15 19:36:17 UTC
Created attachment 292997 [details]
crashing dmesg #2
Comment 6 cornelius.riemenschneider 2020-10-15 19:36:32 UTC
Created attachment 292999 [details]
crashing dmesg #3
Comment 7 cornelius.riemenschneider 2020-10-16 08:54:49 UTC
Created attachment 293011 [details]
crashing dmesg #4

And it crashed again.
Comment 8 cornelius.riemenschneider 2020-10-16 12:01:16 UTC
Created attachment 293035 [details]
crashing dmesg #5

I compiled my own 5.9.0 kernel without any arch linux specific patches, and just had two crashes (#5 and 6) within 10 minutes.
Comment 9 cornelius.riemenschneider 2020-10-16 12:01:29 UTC
Created attachment 293037 [details]
crashing dmesg #6
Comment 10 cornelius.riemenschneider 2020-10-19 10:35:30 UTC
Created attachment 293057 [details]
crashing dmesg #7