Bug 108031 - [Regression] amdgpu_device_ip_init failed on Bonaire XT
Summary: [Regression] amdgpu_device_ip_init failed on Bonaire XT
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-23 13:03 UTC by Tasos Sahanidis
Modified: 2019-11-19 08:56 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
4.19 rc4 boot log (black screen) (94.76 KB, text/plain)
2018-09-23 13:03 UTC, Tasos Sahanidis
no flags Details
4.18.8 boot log (working) (81.67 KB, text/plain)
2018-09-23 13:04 UTC, Tasos Sahanidis
no flags Details
4.19.0 Debian kernal boot log (external screen working) (96.23 KB, text/plain)
2019-01-23 16:14 UTC, Alexander Schlarb
no flags Details

Description Tasos Sahanidis 2018-09-23 13:03:27 UTC
Created attachment 141697 [details]
4.19 rc4 boot log (black screen)

AMDGPU fails to initialise the graphics card with mainline kernel 4.19, from rc1 to rc4, resulting in a black screen on boot.

4.18.8 boots to the desktop without any fatal errors, and functions as expected.
The regression happened some time before 4.19 rc1 but after the 4.18 release.

Graphics card is:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon HD 7790/8770 / R7 360 / R9 260/360 OEM] [1002:665c]

I attempted to bisect it, but I kept hitting another (possibly unrelated) bug that would cause a panic on boot and thus was unable to.
Attached are the kernel logs from both 4.18.8 and 4.19 rc4.

Running the latest available firmware for this card from the git repo.
Comment 1 Tasos Sahanidis 2018-09-23 13:04:35 UTC
Created attachment 141698 [details]
4.18.8 boot log (working)
Comment 2 Alexander Schlarb 2019-01-23 16:14:34 UTC
Created attachment 143205 [details]
4.19.0 Debian kernal boot log (external screen working)

I can reproduce this with

    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo (rev c4)
    03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon R9 M280X] (rev 80)

on a “Lenovo ideapad Y700-ACZ”.

When I boot into the released Linux 4.19.0 from Debian I get a blank screen, however today I discovered that if you have an external displayed plugged during boot-up that display will be successfully enabled and you can then log in as usual. The internal laptop display will not ever be enabled however and checking under *Systemsettings* → *Monitor Settings* (KDE) will not show it either. Also the entire system will feel very sluggish (not CPU or disk related, I checked) and is only usable with lots of patience. On shutdown the system will then hang (nothing about this in system logs unfortunately).
Comment 3 Alex Deucher 2019-01-23 18:59:51 UTC
Remove amdgpu.dpm=1 from your kernel command line.  The default dpm implementation changed in 4.19.
Comment 4 Alex Deucher 2019-01-23 19:03:58 UTC
(In reply to Alex Deucher from comment #3)
> Remove amdgpu.dpm=1 from your kernel command line.  The default dpm
> implementation changed in 4.19.

and setting dpm=1 overrides that resulting in different behavior.  power management is always enabled by default.  the dpm option is only for debugging and switching between implementations for asics that contain multiple implementations.
Comment 5 Alexander Schlarb 2019-02-07 20:55:47 UTC
Using the latest Debian kernel (4.19.0-2, which apparently corresponds to Linux version 4.19.16, with 4.19.0-1 having corresponded to 4.19.13) this issue does not affect me anymore.

I looked through the kernel commits between the versions but none looked very related, there was some stuff about DP MST which maybe somehow relevant since the display is connected using eDP. Dunno.

Anyways, works for me now.
Comment 6 Martin Peres 2019-11-19 08:56:49 UTC
-- 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/538.


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.