Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66991 - [linux] Sudden freeze on kernel 5.7.2-arch1-1 with amdgpu driver

Attached to Project: Arch Linux
Opened by Edgar (Ryozuki) - Saturday, 13 June 2020, 14:32 GMT
Last edited by freswa (frederik) - Saturday, 13 June 2020, 22:50 GMT
Task Type Bug Report
Category Kernel
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Levente Polyak (anthraxx)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 11
Private No

Details

Description:

The screen completely freezes, the image is frozen but sound continues to play, I think it's an issue with the amdgpu driver.

Additional info:
Linux kernel 5.7.2-arch1-1
extra/xf86-video-amdgpu 19.1.0-2
   log.txt (4.4 KiB)
This task depends upon

Comment by loqs (loqs) - Saturday, 13 June 2020, 17:53 GMT
If you blacklist the amdgpu module can you reproduce the issue?
Comment by Edgar (Ryozuki) - Saturday, 13 June 2020, 18:26 GMT
I used the linux-lts (Linux arch 5.4.46-1-lts) for some time and it doesn't freeze.
Comment by loqs (loqs) - Saturday, 13 June 2020, 18:40 GMT Comment by nothanks (l330) - Sunday, 14 June 2020, 17:20 GMT
I've been having the same issue.
5.7.2-arch1-1
xf86-video-amdgpu-19.1.0-2
   log.txt (3.9 KiB)
Comment by Santiago Pastorino (spastorino) - Sunday, 14 June 2020, 20:17 GMT
I'm having an issue that looks similar or the same as this one. In my case I'm not using amdgpu. Also going back to lts make things work. I've downgraded to 5.6.15. As noted above the issue seems to be that the video is not able to initialize properly. Looking at the logs I see the following ...

Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (==) Matched intel as autoconfigured driver 0
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (==) Matched modesetting as autoconfigured driver 1
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (==) Matched fbdev as autoconfigured driver 2
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (==) Matched vesa as autoconfigured driver 3
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (==) Assigned the driver to the xf86ConfigLayout
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) LoadModule: "intel"
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (WW) Warning, couldn't open module intel
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (EE) Failed to load module "intel" (module does not exist, 0)
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) LoadModule: "modesetting"
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) Module modesetting: vendor="X.Org Foundation"
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: compiled for 1.20.8, module version = 1.20.8
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: Module class: X.Org Video Driver
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: ABI class: X.Org Video Driver, version 24.1
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) LoadModule: "fbdev"
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (WW) Warning, couldn't open module fbdev
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (EE) Failed to load module "fbdev" (module does not exist, 0)
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) LoadModule: "vesa"
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (WW) Warning, couldn't open module vesa
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (EE) Failed to load module "vesa" (module does not exist, 0)
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) modesetting: Driver for Modesetting Kernel Drivers: kms
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (II) modeset(0): using drv /dev/dri/card0
Jun 14 14:44:33 galago /usr/lib/gdm-x-session[929]: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
Comment by Maksim Kraev (maximka) - Sunday, 14 June 2020, 21:54 GMT
also freezes on Intel J4105 without external graphics or monitor attached. Do not think amdgpu is to blame here.
Comment by Automne von Einzbern (automne) - Monday, 15 June 2020, 22:43 GMT
Same issue here even without display connected on a Ryzen 3200G (with Vega chipset embedded)
Had this log before a crash happened
Comment by Zorbik (zorbik) - Tuesday, 16 June 2020, 01:28 GMT
Same issue here. Getting a kernel fault randomly, sometimes after minutes, other times after hours. Soft locks the system and requires a hard shutdown to do anything. Attached is the kernel fault I'm getting.

Kernel: 5.7.2-arch1-1
Driver: xf86-video-amdgpu 19.1.0-2

I'd be happy to provide more information if that would be helpful.
Comment by Automne von Einzbern (automne) - Tuesday, 16 June 2020, 07:52 GMT
If you want to deposit your testimony on kernel's bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=208205
Comment by Vinicius (PhantomX) - Tuesday, 16 June 2020, 12:44 GMT Comment by Automne von Einzbern (automne) - Wednesday, 17 June 2020, 07:51 GMT
I compiled yesterday Linux 5.8-rc1 and the issue seems to be solved.
If some of you can test and confirm.
Comment by Automne von Einzbern (automne) - Wednesday, 17 June 2020, 09:15 GMT
Nevermind, still hanging.
Comment by Magnus Boman (katt) - Thursday, 18 June 2020, 13:43 GMT
I seem to be affected by this as well, things were running fine for days but suddenly got a general protection fault while watching youtube. I'm technically running linux-zen but I doubt it's worth opening a separate issue.
Comment by Santiago Pastorino (spastorino) - Sunday, 21 June 2020, 19:35 GMT
After reading a bit here, my issue seems to be different, opened a new one here https://bugs.archlinux.org/task/67068
Comment by Loïc BLOT (Nerzhul) - Thursday, 25 June 2020, 10:07 GMT
I have exactly the same problem, i can only use LTS and 5.6.x branches, the current 5.7 is hanging randomly :(
Comment by Mario O. M. (marioortizmanero) - Thursday, 02 July 2020, 13:37 GMT
I think I have the same problem with the kernel 5.7.6-arch1-1, and xf86-video-amdgpu 19.1.0-2 (RX 480). It freezes randomly and the only way to get out of it is by rebooting, I can't open a new TTY or do anything at all, only listen to the system sounds. It has happened to me twice in the last two days, while an X server was running. I'm attaching my log in case it helps, too.
Comment by Vinicius (PhantomX) - Thursday, 02 July 2020, 21:07 GMT Comment by loqs (loqs) - Thursday, 02 July 2020, 21:51 GMT
@PhantomX that has been applied to linux 5.7.7.arch1-1 and linux-lts 5.4.50-1 as the fix for FS#67131

Loading...