Summary: | QHD bug? drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040 | ||
---|---|---|---|
Product: | DRI | Reporter: | Stefan <stfn+freedesktop> |
Component: | DRM/AMDgpu | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | ddstreet, h.habighorst, jzahraoui, lmoiseichuk, nicholas.kazlauskas |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Stefan
2018-12-04 11:17:16 UTC
Created attachment 142711 [details]
4.18 dmesg crash at boot
Created attachment 142712 [details]
4.19 dmesg crash at boot, monitor off
Created attachment 142713 [details]
4.19 Xorg.0.log
Created attachment 142714 [details]
lspci -nnk | grep VGA -A 12
Manjaro Linux is for Nvidia gpus. For Amd gpus, it has too old kernel and Mesa. Use Debian sid Xfce with a latest custom kernel from kernel.org or https://cgit.freedesktop.org/~agd5f/linux and the Oibaf ppa Mesa bionic version. xfce@ryzenpc:~$ inxi -bM System: Host: ryzenpc Kernel: 4.20.0-rc3+ x86_64 bits: 64 Desktop: Xfce 4.12.4 Distro: Debian GNU/Linux buster/sid Machine: Type: Desktop Mobo: ASUSTeK model: PRIME B350M-K v: Rev X.0x serial: <root required> UEFI: American Megatrends v: 4023 date: 08/20/2018 CPU: 6-Core: AMD Ryzen 5 1600 type: MT MCP speed: 2809 MHz Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480] driver: amdgpu v: kernel Display: x11 server: X.Org 1.20.3 driver: amdgpu resolution: 3840x2160~60Hz OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.27.0 4.20.0-rc3+ LLVM 7.0.1) v: 4.5 Mesa 19.0.0-devel (git-bacf847 2018-12-04 bionic-oibaf-ppa) Uptime: 11h 34m Nope, exactly the same error is present with your setup: System: Host: spin Kernel: 4.20.0-042000rc5-generic x86_64 bits: 64 Desktop: Gnome 3.30.1 Distro: Ubuntu 18.10 (Cosmic Cuttlefish) Machine: Type: Desktop Mobo: ASRock model: AB350 Gaming-ITX/ac serial: <root required> UEFI [Legacy]: American Megatrends v: P4.90 date: 10/08/2018 CPU: Quad Core: AMD Ryzen 5 2400G with Radeon Vega Graphics type: MT MCP speed: 1418 MHz min/max: 1600/3600 MHz Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel Display: x11 server: X.Org 1.20.1 driver: amdgpu resolution: 3440x1440~60Hz OpenGL: renderer: AMD RAVEN (DRM 3.27.0 4.20.0-042000rc5-generic LLVM 7.0.1) v: 4.5 Mesa 19.0.0-devel (git-cc6a5e9 2018-12-08 cosmic-oibaf-ppa) Created attachment 142753 [details]
dmesg 4.20rc5 ubuntu 18.10 + iobaf
I see exactly the same crash on ASrock X470 Fatality ITX, BIOS 1.70, kernel 4.18.0-12-generic (xubuntu 18.10) The implementation comes with 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a by Zeyu.Fan at amd.com Created attachment 142817 [details]
xubuntu 18.10 kernel with high loglevel
I see the number of problems reported on ASRock x470 + amd Ryzen 5 2400g during boot:
$ grep WARNING 4.18.0-13-generic.log
[ 3.938686] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1553 core_link_enable_stream+0x74c/0xc90 [amdgpu]
[ 3.939285] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1582 core_link_enable_stream+0x78e/0xc90 [amdgpu]
[ 3.939863] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1553 core_link_enable_stream+0x74c/0xc90 [amdgpu]
[ 3.940450] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1572 core_link_enable_stream+0xacd/0xc90 [amdgpu]
[ 3.941029] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1582 core_link_enable_stream+0x78e/0xc90 [amdgpu]
[ 3.941610] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1553 core_link_enable_stream+0x74c/0xc90 [amdgpu]
[ 3.942190] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1572 core_link_enable_stream+0xacd/0xc90 [amdgpu]
[ 3.942766] WARNING: CPU: 0 PID: 323 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1582 core_link_enable_stream+0x78e/0xc90 [amdgpu]
I just tried with amd-staging-drm-next. The error is still present. Created attachment 142876 [details]
4.20.0-rc3-amd-staging-drm-next-git-b8cd95e15410+
Created attachment 143140 [details]
dmesg 4.20.2-gentoo AMD Ryzen 5 2400G
dmesg of boot
- linux-firmware: 2019-01-14
- kernel: 4.20.2
- AMD Ryzen 5 2400G
- X11 driver: modeset
- Xorg Log:
Modeline "1920x1200"x0.0 154.00 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync (74.0 kHz eP)
Can confirm. But I'm a bit worried - there is a part before the "core_link_enable_stream" that seems wrong to me in initializing the device, which seems to occure in all dmesg outputs. I've attached line numbers via less -N - maybe it helps. 837 [ 8.686299] [drm] BIOS signature incorrect 0 0 838 [ 8.686326] ATOM BIOS: 113-RAVEN-110 839 [ 8.686357] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit ... 854 [ 8.688113] [drm] Found VCN firmware Version: 1.73 Family ID: 18 ... 857 [ 8.797714] [drm] DM_PPLIB: values for Invalid clock 858 [ 8.797715] [drm] DM_PPLIB: 0 in kHz 859 [ 8.797715] [drm] DM_PPLIB: 400000 in kHz 860 [ 8.797716] [drm] DM_PPLIB: 933000 in kHz 861 [ 8.797716] [drm] DM_PPLIB: 1067000 in kHz 862 [ 8.797809] WARNING: CPU: 6 PID: 725 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1380 dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] This seems plain wrong to me - shouldn't it mention here the engine clock? This WARNING stems from not getting the clock values right - seems intended. The same warning occurs again, I wildly guess for the memory (?!). Line 862-1017 - only afterwards the mentioned "core_link_enable_stream" bug occurs. It seems to me - as a total layman - that the initialization fails and afterwards bogus happens. Created attachment 143145 [details]
dmesg 4.20.2 - drm.debug=0x06
I've forgotten to increase log size and add drm.debug=0x06 to the kernel line.
Created attachment 143146 [details]
dmesg from ~agd5f/linux, branch drm-next-5.1-wip, drm.debug=0x06, commit e7498c5ed98802940cb21e4fb18c9c440b646e6a
It still happens in latest GIT.
I've add drm.debug = 0x06 and attached the dmesg.
If you need anything, please comment.
Still present in 4.20.12, 5.0rc8 and amd-staging-drm-next-git-b8cd95e15410. What is needed to resolve this? My system remains unstable with frequent/continues crashes. Hard reset is the only option. I see this WARNING on boot with various kernels, currently 4.19.30. What can I try to avoid this WARNING? In my kernel history 4.9.12 is the first kernel that shows the WARNING in dmesg. Correction: 4.19.12. Exactly Same Issue: Fatal1ty AB350 Gaming-ITX/ac AMD Ryzen 5 2400G Is there anything I can do to help get this bug resolved? My system remains unstable, with hardware resets the only solution. -- 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/625. |
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.