Summary: | [drm:amdgpu_get_bios [amdgpu]] *ERROR* ACPI VFCT table present but broken (too short #2) | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Dennis Schridde <devurandom> | ||||||||||||||||||||||||
Component: | DRM/AMDgpu | Assignee: | Default DRI bug account <dri-devel> | ||||||||||||||||||||||||
Status: | RESOLVED MOVED | QA Contact: | |||||||||||||||||||||||||
Severity: | normal | ||||||||||||||||||||||||||
Priority: | medium | ||||||||||||||||||||||||||
Version: | unspecified | ||||||||||||||||||||||||||
Hardware: | Other | ||||||||||||||||||||||||||
OS: | All | ||||||||||||||||||||||||||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=103234 | ||||||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||||||||||||
Attachments: |
|
Description
Dennis Schridde
2017-10-26 08:18:50 UTC
Created attachment 135051 [details]
dmesg (regular boot)
Created attachment 135052 [details]
lshw (broken boot)
Created attachment 135053 [details]
lshw (regular boot)
Created attachment 135054 [details]
lspci (broken boot)
Created attachment 135055 [details]
lspci (regular boot)
Created attachment 135056 [details]
glxinfo (broken boot)
Created attachment 135057 [details]
glxinfo (regular boot)
Created attachment 135058 [details]
glxinfo (regular boot, DRI_PRIME=1)
(In reply to Dennis Schridde from comment #0) > During a boot like this, the second card (AMD Radeon RX 560) fails to come up > and is not available to the system. That's actually because of: [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD) [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <gfx_v8_0> failed -22 amdgpu 0000:01:00.0: amdgpu_init failed the other messages are probably mostly harmless / not directly related to this problem. > * Hangs of the entire system when I start Steam using `env DRI_PRIME=1 > steam` (nothing reacts to commands anymore, including mouse clicks, the power > button and the num-lock key, and the mouse cursor moves very sluggishly) That's probably related to the above. > * The firmware and GRUB (and Linux, initially) display at 1024x768, while > the monitor's native resolution is 2560x1080. That's a motherboard firmware / video card ROM issue, nothing to do with the Linux kernel / drivers. (In reply to Michel Dänzer from comment #9) > (In reply to Dennis Schridde from comment #0) > > During a boot like this, the second card (AMD Radeon RX 560) fails to come up > > and is not available to the system. > > That's actually because of: > > [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed > (scratch(0xC040)=0xCAFEDEAD) > [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <gfx_v8_0> > failed -22 > amdgpu 0000:01:00.0: amdgpu_init failed > > the other messages are probably mostly harmless / not directly related to > this problem. > > > > * Hangs of the entire system when I start Steam using `env DRI_PRIME=1 > > steam` (nothing reacts to commands anymore, including mouse clicks, the power > > button and the num-lock key, and the mouse cursor moves very sluggishly) > > That's probably related to the above. Clarification / more information: The missing RX 560 happens for a few boots *after* the full system hang. I.e. first I run Steam with DRI_PRIME=1, click around for a bit until the system hangs (sometimes waiting alone seems to be enough, though), then I hard-reset the system, when Linux started the RX 560 is missing, I reboot, RX 560 is still missing, ... (loop for a few iterations) ..., RX 560 is back and we have a "regular boot". > > * The firmware and GRUB (and Linux, initially) display at 1024x768, while > > the monitor's native resolution is 2560x1080. > > That's a motherboard firmware / video card ROM issue, nothing to do with the > Linux kernel / drivers. One more bit of information (though probably still unrelated): The resolution is correct when I do not plug in the RX 560, or connect the display to the RX 560 directly (and setup the mainboard firmware to use the dGPU as primary video adapter). One more thing: It appears as if the first "cold" boot usually fails -- the kernel hanging after "[drm:amdgpu_get_bios [amdgpu]] *ERROR* ACPI VFCT table present but broken (too short #2)" and the blinking cursor freezing. "Cold" boot meaning booting the system after it was powered off. The next boot (hard resetting the machine) usually succeeds. I write "usually", because sometimes the first boot already succeeds, and sometimes it needs two hard resets to bring up the machine successfully, but I cannot yet make out a pattern. I will enable verbose and debug command line arguments to hopefully get some more information, the next time it happens. P.S. If you have ANY hint, on how to gather more information about this issue, I would be most grateful. Maybe there is some way to make the kernel dump stacktraces somewhere, or to make the hardware itself dump information someplace...? Created attachment 135165 [details]
Linux 4.13.10-gentoo config
Created attachment 135171 [details]
photo of screen when kernel hangs
Please find attached a photo of the screen contents, with "verbose debug" in the kernel command line, at the time when the kernel hangs. If you have a tip on how to get the full log in text form, even though the kernel hangs, that would be great and might give us additional information on what is actually happening.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/249. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.