Skip to contentSkip to conversation

New: Fatal error during GPU init amdgpu

Bug 201273 [email protected] 2 participants 60 messages Sep 28, 2018 – Jul 28, 2022

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=201273

            Bug ID: 201273
           Summary: Fatal error during GPU init amdgpu
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.18.9 4.18.10 and possibly earlier
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 278827
--> https://bugzilla.kernel.org/attachment.cgi?id=278827&action=edit
dmesg lsmod lspci lsusb cpuinfo url

Since an installation of an AMD-Radeon RX 560 to an APU-based system it sometimes shows a black screen at bootup ( USB-Keyboard hangs too, no sysreq -> reset)
Sometimes system boots to GUI, console garbled, dmesg shows fatal error during GPU init, reboot/shutdown hangs.
BIOS: APU auto or disabled (on not tested)
Attached:
dmesg with/without Error
lsmod with/without Error
lspci / lsusb
/proc/cpuinfo
url to MB and graphics card

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

https://bugzilla.kernel.org/show_bug.cgi?id=201273

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

           Hardware|x86-64                      |S390-31
            Summary|Fatal error during GPU init |Fatal error during GPU init
                   |amdgpu                      |amdgpu RX560
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher ([email protected]) --- Is this a regression? If so, can you bisect?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #2 from [email protected] ---
Created attachment 278973
--> https://bugzilla.kernel.org/attachment.cgi?id=278973&action=edit
dmesg old + new

The RX560 is new. Error happens only from time to time and only at bootup and i have to press reset mostly. While bisecting
https://bugzilla.kernel.org/show_bug.cgi?id=201275
i had created two more files with output of dmesg. I have included all of them in archive. Maybe v4.18.0 is affected too. I could use an older Kernel to verify, but since this is not an predictible case, i would have to use it for several days to check this. Rarely it happens that Monitor blacks out ( really black, back lights and sound off too), but this may be an hardware issue. Fiddling at the hdmi plug on the monitors side resolves that. This may be an issue, if code is affected at init, but i don´t think it is.
I could disable CONFIG_DRM_AMDGPU_CIK to test, if this is related too.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #3 from [email protected] ---
(In reply to Alex Deucher from comment #1)

Quoted 1 line

Is this a regression? If so, can you bisect?

which is the first release supporting RX560?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #4 from [email protected] ---
I have mounted my monitor on the wall about a week ago. Hence the torsional moment at the HDMI-plug has changed. None of the described errors did occur since. So the crash may be triggered by a bad HDMI signal caused by a bad plug or even a hair crack at the monitors board. I have used v4.18.12 and earlier.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #5 from [email protected] ---
It just happened again. (v4.18.14)
For now I will attach another monitor with another cable. To check that may take more than a week.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #6 from [email protected] ---
Created attachment 279089
--> https://bugzilla.kernel.org/attachment.cgi?id=279089&action=edit
dmesg + amdgpu_pm_info

New Monitor and HDMI-cable. Bug is not impressed - i.e. System hangs at bootup sometimes (v4.18.14).

Maybe another Bug:
System booted normally, but graphics stucks later. dmesg shows errormessages at bootup:

[    9.941637] amdgpu: [powerplay] 
                failed to send message 148 ret is 0

...

This kind of messages got triggered by use of sensors later again. Graphics stucked and cat /sys/.../amdgpu_pm_info took some seconds.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

           Hardware|S390-31                     |x86-64
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #7 from [email protected] ---
Bug is still alive. v4.19

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #8 from [email protected] ---
I have replaced HDMI-cable by displayport about 2 weeks ago. No bug visible. (Firmware update about 1 week ago).
Maybe HDMI is broken or implementation in monitors/graphics board is bad or cables are bad or implementation in amdgpu is bad.
HDMI with old monitor and old cable worked well for about 2 years with radeon and APU.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #9 from Alex Deucher ([email protected]) --- Does this patch help?
https://patchwork.freedesktop.org/patch/259364/

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #10 from [email protected] --- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 05.11.18 um 16:39 schrieb [email protected]:

Quoted 5 lines

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #9 from Alex Deucher ([email protected]) --- Does this patch help? https://patchwork.freedesktop.org/patch/259364/

Bug just had a short leave. It is still alive with v4.19, even with displayport. I'll check mentioned patch, but it may not work as mainboard supports pci-e 3.0 (with limitations). However it may take several weeks to verify.

https://asrock.com/MB/AMD/FM2A78M%20Pro3+/index.de.asp?cat=Download
- - 1 x PCI Express 3.0 x16 Slot (PCIE1 @ x16 mode)
...
*PCIE 3.0 is only supported with FM2+ CPU. With FM2 CPU, it only supports PCIE 2.0.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEER2Zow4uiUfO8Mj4TrEnn2SiQ7YcFAlvgkH0ACgkQrEnn2SiQ 7YcX3Qf/aL+2nIYDculQZdJzBVxByBLscwUgOLqrKUWh16JAwG3DVcffA4vwEKP2 eQVfjO8hyAeWnAQAzmPLEqvs5DCRP8fGqK63/JQ3hPNOia1ljY3djxJj+mLaFKA4 6tSyV+A/2ulnixQO/1I8SWNMAG4c9H7L7TY/RtGRYyLuakjut5OIPmCBJ1eQ77ZD G8nH3hL2bW7e1/dH7pIkihvX1j7H+cDPDYTxSMe9sPyfcBeurwqwSvRz+bGHjI10 FCiJfu69u7z3i3W8uFPBUi0XNEXXI0jbJtqKR1NoFm/Pa8nVhGt1k1LnWKrPL7b1 oCKlYiH67c1qbpr2UYXhcVKhYhROgQ==
=tRbn
-----END PGP SIGNATURE-----

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #11 from [email protected] ---
Created attachment 279393
--> https://bugzilla.kernel.org/attachment.cgi?id=279393&action=edit
config+dmesg for patched 4.19.1

Bug is still alive.
A more precise description:
System boots and shows some plymouth boot messages at low res. At normal boot console switches to high res and shows more messages:
Console: switching to colour frame buffer device 240x67
amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
This may be the point where system hangs, because high res messages never have been seen, when system crashed.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #12 from [email protected] --- Bug is still alive. v4.19.3 + patch

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#15 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #13 from [email protected] --- (In reply to quirin.blaeser from comment #11)

Quoted 11 lines

Created attachment 279393 [details]
config+dmesg for patched 4.19.1

Bug is still alive.
A more precise description:
System boots and shows some plymouth boot messages at low res. At normal boot console switches to high res and shows more messages:
Console: switching to colour frame buffer device 240x67 amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device This may be the point where system hangs, because high res messages never have been seen, when system crashed.

Addendum:
- Count of plymouth boot messages in low res is not constant
- Error message has not been seen for at least 4 weeks.
- Behaviuor has changed somewhat:
· old: plymouth low res - clear screen - switch off backlight - system hangs · new: plymouth low res - clear screen - system hangs

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #14 from Alex Deucher ([email protected]) --- Created attachment 279635
--> https://bugzilla.kernel.org/attachment.cgi?id=279635&action=edit
test fix

Does this patch help?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#17 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #15 from [email protected] --- (In reply to Alex Deucher from comment #14)

Quoted 4 lines

Created attachment 279635 [details]
test fix

Does this patch help?

I'll check that, but it may require at least a week to verify.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#18 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #16 from [email protected] --- (In reply to quirin.blaeser from comment #15)

Quoted 7 lines

(In reply to Alex Deucher from comment #14)

Quoted 4 lines

Created attachment 279635 [details]
test fix

Does this patch help?

I'll check that, but it may require at least a week to verify.

Bug is still alive: V4.19.3 + patches

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#19 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #17 from [email protected] --- Bug is still alive: v4.19.5, no patches

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#20 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #18 from [email protected] --- Bug is still alive: v4.19.7

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#21 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #19 from [email protected] ---
Created attachment 279983
--> https://bugzilla.kernel.org/attachment.cgi?id=279983&action=edit
dmesg lsmod additional infos

Error message returned. v4.19.7 no patches
Archive contains dmesg and lsmod, both for error and normal startup. It also contains some additional infos, e.g. describing changed behavior of my monitor at bootup, Xorg.0.log (normal) and Xorg.0.log.old (error).

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#22 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #20 from Alex Deucher ([email protected]) --- Can you try one of these branches?
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.21-wip
Do they help?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#23 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #21 from [email protected] --- (In reply to Alex Deucher from comment #20)

Quoted 4 lines

Can you try one of these branches?
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.21-wip
Do they help?

As i understand, the first one matches v4.19. So this may be a candidate, but your server is slow. I'll try it again, when US is sleeping.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#24 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #22 from Alex Deucher ([email protected]) --- You'll also need this updated firmware:
https://people.freedesktop.org/~agd5f/radeon_ucode/polaris11_k_mc.bin

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#25 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #23 from [email protected] ---
Created attachment 280009
--> https://bugzilla.kernel.org/attachment.cgi?id=280009&action=edit
dmesg amd_gpu_firmware_info

(In reply to Alex Deucher from comment #22)

Quoted 2 lines

You'll also need this updated firmware:
https://people.freedesktop.org/~agd5f/radeon_ucode/polaris11_k_mc.bin

I've downloaded this Firmware and copied it to /lib/firmware/amdgpu. At next boot system crashed with a slightly modified behavior:
plymouth low res -> clear -> backlights off -> backlights on -> plymouth high res -> crash
Last message: Starting X display manager

Archive contains dmesg (normal) and amd_gpu_firmware_info from /sys/kernel/debug/dri/1/

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#26 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #24 from [email protected] --- Bug is still alive. amd-staging-drm-next 4da295299bda146326b44f22d8eeaa797d6acb38

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#27 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #25 from [email protected] --- Bug is still alive. amd-staging-drm-next 75061f375e7f627acbc3aa5466bc1ee552f3f22c plymouth low res -> clear -> crash (4da295299bda146326b44f22d8eeaa797d6acb38 too)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#28 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #26 from [email protected] --- Bug is still alive. amd-staging-drm-next 0050e1bd9b509dc764c0180ad5010d4591755abf

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#29 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #27 from [email protected] --- Bug is still alive. amd-staging-drm-next d9c54d61df327dc93374b718d7941a09e02e32e1

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#30 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #28 from [email protected] --- Bug is still alive. amd-staging-drm-next d004289b58fe5ddc71c86411c53f52db2327b3fb

Firmware:
0f22c8527439eaaf5c3fcf87b31c89445b6fa84d
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#31 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #29 from [email protected] --- Bug is still alive. amd-staging-drm-next 9698024e8a191481321574bec1fe886bbce797cf

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#32 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #30 from [email protected] --- Bug is still alive. amd-staging-drm-next d2d07f246b126b23d02af0603b83866a3c3e2483

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#33 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #31 from [email protected] --- Bug is still alive. amd-staging-drm-next 9846725b3f1c54bdc072b42c9b67b8dd6fdf9a90

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#34 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #32 from [email protected] --- Bug is still alive. amd-staging-drm-next 7990e4b7b3b63e417a8a8cb8b33bc732b7e9e32f

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#35 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #33 from [email protected] --- Bug is still alive. amd-staging-drm-next 8202c53d8f8e1045b8d1ec2db9401618b8889614

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#36 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #34 from [email protected] --- git pull failed. drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c: needs merge drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c: needs merge drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c: needs merge drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h: needs merge drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c: needs merge drivers/gpu/drm/amd/amdgpu/soc15.c: needs merge drivers/gpu/drm/amd/amdkfd/kfd_crat.c: needs merge drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c: needs merge
...

I suggest you to fix repository. Meanwhile I'll switch to mainline.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#37 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #35 from [email protected] --- Bug is still alive. v4.20.9

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#38 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #36 from [email protected] --- Bug is still alive. v5.0

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#39 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #37 from [email protected] ---
Created attachment 281575
--> https://bugzilla.kernel.org/attachment.cgi?id=281575&action=edit
boot.omsg amdgpu_firmware_info messages.part Xorg.0.log.old

Possibly new Bug.
No plymouth messages seen, screen turned backlights off ( no signal), USB-Keyboard worked -> sys-req
Archive contains /var/log/boot.omsg, part of /var/log/messages, /var/log/Xorg.0.log.old and /sys/kernel/debug/dri/1/amdgpu_firmware_info.

boot.omsg and messages.part contain backtrace

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#40 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #38 from [email protected] --- Bug is still alive. v5.0.4

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#41 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #39 from [email protected] --- Bug is still alive. v5.0.5

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#42 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #40 from [email protected] --- Bug is still alive. v5.0.6

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#43 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #41 from [email protected] --- Bug is still alive. v5.0.7

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#44 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|4.18.9 4.18.10 and possibly |4.18.9 4.18.10 and possibly
                   |earlier                     |earlier  4.19, 4.20 and 5.0
                   |                            |too

--- Comment #42 from [email protected] --- Bug is still alive. v5.0.9
An additional attached ps/2 keyboard is as dead as usb.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#45 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #43 from Alex Deucher ([email protected]) --- Does booting with any of the following options on the kernel command line in grub help?
amd_iommu=off
idle=nomwait
iommu=pt
pci=noats
Can you also try different IOMMU and SVM settings in the sbios? E.g., change from "auto" to "enabled" or "disabled".

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#46 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #44 from [email protected] --- (In reply to Alex Deucher from comment #43)

Quoted 8 lines

Does booting with any of the following options on the kernel command line in grub help?
amd_iommu=off
idle=nomwait
iommu=pt
pci=noats
Can you also try different IOMMU and SVM settings in the sbios? E.g., change from "auto" to "enabled" or "disabled".

I´ll try idle=nomwait iommu=pt pci=noats for now
iommu and svm are still enabled in BIOS

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#47 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #45 from [email protected] --- (In reply to quirin.blaeser from comment #44)

Quoted 11 lines

(In reply to Alex Deucher from comment #43)

Quoted 1 line

Does booting with any of the following options on the kernel command line

in

Quoted 7 lines

grub help?
amd_iommu=off
idle=nomwait
iommu=pt
pci=noats
Can you also try different IOMMU and SVM settings in the sbios? E.g., change from "auto" to "enabled" or "disabled".

Quoted 2 lines

I´ll try idle=nomwait iommu=pt pci=noats for now
iommu and svm are still enabled in BIOS

Bug is still alive. v5.0.9
Next Step:
iommu and svm disabled in BIOS
changed cmdline to amd_iommu=off

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#48 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #46 from [email protected] --- (In reply to quirin.blaeser from comment #45)

Quoted 12 lines

(In reply to quirin.blaeser from comment #44)

Quoted 11 lines

(In reply to Alex Deucher from comment #43)

Quoted 1 line

Does booting with any of the following options on the kernel command line

in

Quoted 7 lines

grub help?
amd_iommu=off
idle=nomwait
iommu=pt
pci=noats
Can you also try different IOMMU and SVM settings in the sbios? E.g., change from "auto" to "enabled" or "disabled".

Quoted 7 lines
Quoted 2 lines

I´ll try idle=nomwait iommu=pt pci=noats for now
iommu and svm are still enabled in BIOS

Bug is still alive. v5.0.9
Next Step:
iommu and svm disabled in BIOS
changed cmdline to amd_iommu=off

Bug is still alive. v5.0.9
now iommu and svm enabled in BIOS
cmdline not changed: amd_iommu=off

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#49 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #47 from [email protected] --- (In reply to quirin.blaeser from comment #46)

Quoted 17 lines

(In reply to quirin.blaeser from comment #45)

Quoted 3 lines

(In reply to quirin.blaeser from comment #44)

Quoted 2 lines

(In reply to Alex Deucher from comment #43)

Quoted 1 line

Does booting with any of the following options on the kernel command

line

Quoted 12 lines
Quoted 11 lines

in

Quoted 7 lines

grub help?
amd_iommu=off
idle=nomwait
iommu=pt
pci=noats
Can you also try different IOMMU and SVM settings in the sbios? E.g., change from "auto" to "enabled" or "disabled".

I´ll try idle=nomwait iommu=pt pci=noats for now
iommu and svm are still enabled in BIOS

Quoted 8 lines
Quoted 4 lines

Bug is still alive. v5.0.9
Next Step:
iommu and svm disabled in BIOS
changed cmdline to amd_iommu=off

Bug is still alive. v5.0.9
now iommu and svm enabled in BIOS
cmdline not changed: amd_iommu=off

Bug is still alive. v5.0.9
more suggestions?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#50 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

Marco ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #48 from Marco ([email protected]) ---
Same here on a B450 and a RX580 GPU. Random black screen with complete lockup of the system (panic, probably?) sometimes after booting up the system, beetween 5 seconds and two minutes post graphical boot. If the system survives this time it's stable until shutdown.

Quite annoying, frankly. I still need to test properly the module parameter amdgpu.dc=0, that seems to disable the firmware load of the Display Controller (if I remember correctly); but what feature of the card (if any at all) will not work if the firmware is not loaded?

Monitor used is a 120 Hz connected via DVI-D to the GPU. Since someone quoted that was simply a lockup of the output, simply fixed with a replug of the monitor, I've tried to connect the monitor via HDMI after it froze and blackscreened; however no output there either, and no response from the system when I was pressing the power button; henceforth that to me look like a kernel panic.

It is a problem of the open source driver or the DC firmware itself the cause of this panics? Has anyone tried to contact AMD about this issue if it's the latter one?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#51 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #49 from Alex Deucher ([email protected]) ---
Can you still log in remotely via ssh and get an updated dmesg? If it's a blank screen, can you try another display connector on the board? The amdgpu.dc option switches between the old simpler display code (dc=0) and the newer display code that support more advanced features like audio and DP MST (dc=1). There is no firmware in the display engine for this asic.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#52 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #50 from [email protected] --- Bug is still alive. v5.0.10

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#53 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #51 from Marco ([email protected]) --- (In reply to Alex Deucher from comment #49)

Quoted 5 lines

Can you still log in remotely via ssh and get an updated dmesg? If it's a blank screen, can you try another display connector on the board? The amdgpu.dc option switches between the old simpler display code (dc=0) and the newer display code that support more advanced features like audio and DP MST (dc=1). There is no firmware in the display engine for this asic.

As stated above, it was connected through DVI-D and I already tried with HDMI, but no signal from anywhere.

For the firmware, it was my mistake since I was reading a version number when it was enabled in the module, and I automatically assumed that was a firmware version uploaded to the ASIC, my bad.

Regardless as the above, I've rebooted 25 times yesterday, and I can't reproduce the problem again, unfortunately (to me anyway is fine :P); if I get the problem again now I have an SSH server enabled so I'll surely post the dmesg (even if I doubt I'll be able to connect, since when it was presenting I wasn't even able to trigger an ACPI graceful powerdown by pressing the power button).

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#54 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #52 from Marco ([email protected]) --- (In reply to Marco from comment #51)

Quoted 15 lines

(In reply to Alex Deucher from comment #49)

Quoted 4 lines

Can you still log in remotely via ssh and get an updated dmesg? If it's a blank screen, can you try another display connector on the board? The amdgpu.dc option switches between the old simpler display code (dc=0) and the newer display code that support more advanced features like audio and

DP

Quoted 1 line

MST (dc=1). There is no firmware in the display engine for this asic.

As stated above, it was connected through DVI-D and I already tried with HDMI, but no signal from anywhere.

For the firmware, it was my mistake since I was reading a version number when it was enabled in the module, and I automatically assumed that was a firmware version uploaded to the ASIC, my bad.

Quoted 6 lines

Regardless as the above, I've rebooted 25 times yesterday, and I can't reproduce the problem again, unfortunately (to me anyway is fine :P); if I get the problem again now I have an SSH server enabled so I'll surely post the dmesg (even if I doubt I'll be able to connect, since when it was presenting I wasn't even able to trigger an ACPI graceful powerdown by pressing the power button).

(Anywhere besides DP, since I don't have a close monitor by hand with DP)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#55 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #53 from Marco ([email protected]) ---
For the first time it has triggered while I was using the system after some time; and as imagined the system disappear from the network, so no dmesg available. I'll try without DC enabled to see if this fix the problem. If you know any additional kernel parameters to debug this issue, I'm here to try it out.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#56 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #54 from Marco ([email protected]) ---
It seems that I've managed to "fix" it by putting the amdgpu module load early at boot with mkinitcpio.conf; after 30/40 reboots I still haven't seen a crash since; but since the problem appears so randomly, I'm not sure if it just luck or something specific that triggers it that I'm not doing it.

I'll post this here in the hope that it will help someone else.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#57 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #55 from [email protected] --- No crash since upgrade to v5.1.0, a month ago.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#58 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

--- Comment #56 from Marco ([email protected]) --- (In reply to quirin.blaeser from comment #55)

Quoted 1 line

No crash since upgrade to v5.1.0, a month ago.

Same here. Haven’t seen any crashes lately.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#59 lore raw

[Bug 201273] Fatal error during GPU init amdgpu RX560

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201273

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #57 from [email protected] --- Three years without a crash should be enough to prove: It's fixed.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.