All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 108940] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040QHD bug?
Date: Tue, 04 Dec 2018 11:17:16 +0000	[thread overview]
Message-ID: <bug-108940-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 10731 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108940

            Bug ID: 108940
           Summary: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.
                    c:1613 core_link_enable_stream+0xc14/0x1040QHD bug?
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: stfn+freedesktop@hijnn.net

Created attachment 142710
  --> https://bugs.freedesktop.org/attachment.cgi?id=142710&action=edit
4.19 dmesg crash at boot

I recently switched from a dual monitor setup with 1 HDMI and 1 VGA monitor
(connected through a powered HDMI -> VGA concerter) to a QHD 34" Acer ED347CKR
monitor (https://www.acer.com/ac/en/US/content/model/UM.CE7AA.001) since Ryzen
doesn't VGA (https://bugs.freedesktop.org/show_bug.cgi?id=105880).

It solved that crash, but it introduced a new crash.

4.18 amdgpu.dc_log=1 amdgpu.dc=0 pcie_aspm=off doesn't boot, display
corruption. Colored line through boot text
4.19 amdgpu.dc_log=1 amdgpu.dc=0 pcie_aspm=off doesn't boot, display
corruption. Colored line through boot text
4.18 amdgpu.dc_log=1 amdgpu.dc=1 crash at boot and systems hangs, see
attachment 418_dmesg_boot_crash.log
4.19 amdgpu.dc_log=1 amdgpu.dc=1 crash at boot, system runs, see attachment
419_dmesg_boot_crash.log

All errors below are with 419 amdgpu.dc_log=1 amdgpu.dc=1.

I see a difference in crashes when I boot with my monitor on or off.

Monitor on at boot (419_dmesg_boot_crash.log):

dec 04 11:25:48 spin kernel: ACPI BIOS Warning (bug): Optional FADT field
Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1
(20180810/tbfadt-624)
dec 04 11:25:48 spin kernel: random: 7 urandom warning(s) missed due to
ratelimiting
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1372
dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1570
core_link_enable_stream+0x657/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1599
core_link_enable_stream+0x6a2/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1570
core_link_enable_stream+0x657/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1589
core_link_enable_stream+0x9cd/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1599
core_link_enable_stream+0x6a2/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1570
core_link_enable_stream+0x657/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1589
core_link_enable_stream+0x9cd/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1599
core_link_enable_stream+0x6a2/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1617
core_link_enable_stream+0xa5b/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1646
core_link_enable_stream+0xaa7/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1617
core_link_enable_stream+0xa5b/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1636
core_link_enable_stream+0xb68/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1646
core_link_enable_stream+0xaa7/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1617
core_link_enable_stream+0xa5b/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1636
core_link_enable_stream+0xb68/0xb90 [amdgpu]
dec 04 11:25:49 spin kernel: WARNING: CPU: 6 PID: 460 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1646
core_link_enable_stream+0xaa7/0xb90 [amdgpu]

Monitor off at boot (419_dmesg_monitor_off_at_boot.log):

[    9.162954] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613
core_link_enable_stream+0xc14/0x1040 [amdgpu]
[    9.163778] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1632
core_link_enable_stream+0xe2e/0x1040 [amdgpu]
[    9.164599] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1645
core_link_enable_stream+0xc8b/0x1040 [amdgpu]
[    9.165418] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1666
core_link_enable_stream+0xedd/0x1040 [amdgpu]
[    9.166236] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1698
core_link_enable_stream+0xf58/0x1040 [amdgpu]
[    9.167059] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1666
core_link_enable_stream+0xedd/0x1040 [amdgpu]
[    9.167879] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1685
core_link_enable_stream+0x1018/0x1040 [amdgpu]
[    9.168696] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1698
core_link_enable_stream+0xf58/0x1040 [amdgpu]
[    9.169517] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1666
core_link_enable_stream+0xedd/0x1040 [amdgpu]
[    9.170343] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1685
core_link_enable_stream+0x1018/0x1040 [amdgpu]
[    9.171162] WARNING: CPU: 3 PID: 537 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1698
core_link_enable_stream+0xf58/0x1040 [amdgpu]
[   51.610218] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613
core_link_enable_stream+0xc14/0x1040 [amdgpu]
[   51.611366] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1645
core_link_enable_stream+0xc8b/0x1040 [amdgpu]
[   51.612436] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613
core_link_enable_stream+0xc14/0x1040 [amdgpu]
[   51.613504] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1632
core_link_enable_stream+0xe2e/0x1040 [amdgpu]
[   51.614573] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1645
core_link_enable_stream+0xc8b/0x1040 [amdgpu]
[   51.615639] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613
core_link_enable_stream+0xc14/0x1040 [amdgpu]
[   51.616711] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1632
core_link_enable_stream+0xe2e/0x1040 [amdgpu]
[   51.617776] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1645
core_link_enable_stream+0xc8b/0x1040 [amdgpu]
[   51.618773] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1666
core_link_enable_stream+0xedd/0x1040 [amdgpu]
[   51.619734] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1698
core_link_enable_stream+0xf58/0x1040 [amdgpu]
[   51.620694] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1666
core_link_enable_stream+0xedd/0x1040 [amdgpu]
[   51.621657] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1685
core_link_enable_stream+0x1018/0x1040 [amdgpu]
[   51.622617] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1698
core_link_enable_stream+0xf58/0x1040 [amdgpu]
[   51.623581] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1666
core_link_enable_stream+0xedd/0x1040 [amdgpu]
[   51.624547] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1685
core_link_enable_stream+0x1018/0x1040 [amdgpu]
[   51.625508] WARNING: CPU: 5 PID: 50 at
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1698
core_link_enable_stream+0xf58/0x1040 [amdgpu]

Without pcie_aspm=off my console gets spammed infrequently with errors like:

[ 16.588103] pcieport 0000:00:01.2: AER: Corrected error received: id=0008
[ 16.588110] pcieport 0000:00:01.2: PCIe Bus Error: severity=Corrected,
type=Data Link Layer, id=000a(Receiver ID)
[ 16.588121] pcieport 0000:00:01.2: device [1022:15d3] error
status/mask=00000040/00006000
[ 16.588128] pcieport 0000:00:01.2: [ 6] Bad TLP

The first time I saw those was with 4.16, but they don't occur every boot. I'm
not sure if those were present <4.16. I'm aslo not sure if this is still
present at 4.19. I'll soon find out since my system no longer boots with
pci_aspm=off.

When running 4.19 I sometimes see

(EE) AMDGPU(0): drmmode_do_crtc_dpms cannot get last vblank counter

in xorg.log. See 419_Xorg.0.monitor_off_at_boot.log

I tried 4.20rc2 (I can't get newer RC's to build the Manjaro way) but it has
identical errors as 4.19.

Also attached lspci -nnk | grep VGA -A 12.

System:    Host: spin Kernel: 4.19.6-1-MANJARO x86_64 bits: 64 compiler: gcc v:
8.2.1 Desktop: KDE Plasma 5.14.4 tk: Qt 5.11.2 
           wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Graphics:  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile
Series] driver: amdgpu v: kernel bus ID: 38:00.0 
           chip ID: 1002:15dd 
           Display: x11 server: X.Org 1.20.3 driver: amdgpu,ati unloaded:
modesetting alternate: fbdev,vesa 
           compositor: kwin_x11 resolution: 3440x1440~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.27.0 4.19.6-1-MANJARO LLVM 7.0.0)
v: 4.5 Mesa 18.2.6 compat-v: 4.4 
           direct render: Yes

If you need more info, please let me know!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 12764 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-12-04 11:17 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 11:17 bugzilla-daemon [this message]
2018-12-04 11:17 ` [Bug 108940] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040QHD bug? bugzilla-daemon
2018-12-04 11:18 ` bugzilla-daemon
2018-12-04 11:18 ` bugzilla-daemon
2018-12-04 11:19 ` bugzilla-daemon
2018-12-04 11:19 ` [Bug 108940] QHD bug? drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040 bugzilla-daemon
2018-12-04 18:20 ` bugzilla-daemon
2018-12-05 15:09 ` bugzilla-daemon
2018-12-08 16:40 ` bugzilla-daemon
2018-12-08 16:40 ` bugzilla-daemon
2018-12-09  0:39 ` bugzilla-daemon
2018-12-09  0:52 ` bugzilla-daemon
2018-12-15 18:42 ` bugzilla-daemon
2018-12-23  8:25 ` bugzilla-daemon
2018-12-23  8:26 ` bugzilla-daemon
2019-01-16 13:26 ` bugzilla-daemon
2019-01-16 13:52 ` bugzilla-daemon
2019-01-17 12:18 ` bugzilla-daemon
2019-01-17 12:22 ` bugzilla-daemon
2019-02-25  9:52 ` bugzilla-daemon
2019-03-28 17:14 ` bugzilla-daemon
2019-03-28 17:29 ` bugzilla-daemon
2019-03-28 17:31 ` bugzilla-daemon
2019-05-30  7:20 ` bugzilla-daemon
2019-11-19  9:06 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108940-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.