From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 Date: Thu, 26 Apr 2018 21:15:23 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1810893588==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id A1BE56E796 for ; Thu, 26 Apr 2018 21:15:23 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1810893588== Content-Type: multipart/alternative; boundary="15247773230.4DEeE9aa.1272" Content-Transfer-Encoding: 7bit --15247773230.4DEeE9aa.1272 Date: Thu, 26 Apr 2018 21:15:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106259 Bug ID: 106259 Summary: [bisected] UVD hangs system on Vega10 linux-4.17 Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: lothmordor@gmail.com Created attachment 139148 --> https://bugs.freedesktop.org/attachment.cgi?id=3D139148&action=3Dedit dmesg Trying to play h264 encoded video with mpv --vo=3Dopengl --hwdec=3Dvdpau re= sults in frozen video and the system unresponsive to key/mouse input. System freezes roughly 1sec into videos, although audio often continues. Bisected to the following kernel commit: 2ee150cda7bdc766cf9baca3534f3a2c0b0e8357 is the first bad commit commit 2ee150cda7bdc766cf9baca3534f3a2c0b0e8357 Author: Christian K=C3=B6nig Date: Fri Jan 19 15:19:16 2018 +0100 drm/amdgpu: remove now superflous *_hdp operation All HDP invalidation and most flush can now be replaced by the generic ASIC function. Signed-off-by: Christian K=C3=B6nig Acked-by: Chunming Zhou Signed-off-by: Alex Deucher :040000 040000 85ee277739bbce19d5dbaf1fb309983198180d0f 056ae126031efe507bea405931ce89864979ef2d M drivers ------------------------------------------------- I tested mesa (git-227b1af866) patched with "radeon/vcn: fix mpeg4 msg buff= er settings" by Boyuan Zang, but that didn't fix my problem. I also tested today's pull request for linux drm-fixes-4.17, but the issue is still prese= nt. Software versions: Linux 4.17.0-rc1 x86_64 OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.0-rc1 libdrm: 2.4.91 libvdpau: 1.1.1 mpv: 0.27.2 ffmpeg: 3.4.2-r1 GPU hardware: OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.23.0, 4.16.0-rc4, LLVM 6.0.0) 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c3) CPU hardware: AMD Phenom(tm) II X4 955 Processor --=20 You are receiving this mail because: You are the assignee for the bug.= --15247773230.4DEeE9aa.1272 Date: Thu, 26 Apr 2018 21:15:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 106259
Summary [bisected] UVD hangs system on Vega10 linux-4.17
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter lothmordor@gmail.com

Created attachment 139148 [details]<=
/span>
dmesg

Trying to play h264 encoded video with mpv --vo=3Dopengl --hwdec=3Dvdpau re=
sults in
frozen video and the system unresponsive to key/mouse input.  System freezes
roughly 1sec into videos, although audio often continues.  Bisected to the
following kernel commit:

2ee150cda7bdc766cf9baca3534f3a2c0b0e8357 is the first bad commit
commit 2ee150cda7bdc766cf9baca3534f3a2c0b0e8357
Author: Christian K=C3=B6nig <christian.koenig@amd.com>
Date:   Fri Jan 19 15:19:16 2018 +0100

    drm/amdgpu: remove now superflous *_hdp operation

    All HDP invalidation and most flush can now be replaced by the generic
    ASIC function.

    Signed-off-by: Christian K=C3=B6nig <christian.koenig@amd.com>
    Acked-by: Chunming Zhou <=
david1.zhou@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

:040000 040000 85ee277739bbce19d5dbaf1fb309983198180d0f
056ae126031efe507bea405931ce89864979ef2d M      drivers
-------------------------------------------------

I tested mesa (git-227b1af866) patched with "radeon/vcn: fix mpeg4 msg=
 buffer
settings" by Boyuan Zang, but that didn't fix my problem.  I also test=
ed
today's pull request for linux drm-fixes-4.17, but the issue is still prese=
nt.

Software versions:
    Linux 4.17.0-rc1 x86_64
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.0-rc1
    libdrm: 2.4.91
    libvdpau: 1.1.1
    mpv: 0.27.2
    ffmpeg: 3.4.2-r1

GPU hardware:
    OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.23.0, 4.16.0-rc4,
LLVM 6.0.0)
    03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c3)

CPU hardware:
    AMD Phenom(tm) II X4 955 Processor


You are receiving this mail because:
  • You are the assignee for the bug.
= --15247773230.4DEeE9aa.1272-- --===============1810893588== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1810893588==--