All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17
@ 2018-04-26 21:15 bugzilla-daemon
  2018-05-03 17:32 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-04-26 21:15 UTC (permalink / raw)
  To: dri-devel


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

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

            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=139148&action=edit
dmesg

Trying to play h264 encoded video with mpv --vo=opengl --hwdec=vdpau results 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önig <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önig <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 tested
today's pull request for linux drm-fixes-4.17, but the issue is still present.

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.

[-- Attachment #1.2: Type: text/html, Size: 4033 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17
  2018-04-26 21:15 [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 bugzilla-daemon
@ 2018-05-03 17:32 ` bugzilla-daemon
  2018-05-04  5:52 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-03 17:32 UTC (permalink / raw)
  To: dri-devel


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

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

Christian König <ckoenig.leichtzumerken@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ckoenig.leichtzumerken@gmai
                   |                            |l.com
             Status|NEW                         |ASSIGNED

--- Comment #1 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Which branch are you testing this with?

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

[-- Attachment #1.2: Type: text/html, Size: 2092 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17
  2018-04-26 21:15 [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 bugzilla-daemon
  2018-05-03 17:32 ` bugzilla-daemon
@ 2018-05-04  5:52 ` bugzilla-daemon
  2018-05-09 19:34 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-04  5:52 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from James Harvey <lothmordor@gmail.com> ---
Hi Christian, thanks for taking the time to look at this.

I'm seeing this issue on the mainline linux-4.17 release candidates.  I skipped
testing rc1, ran the bisect after seeing this on rc2, then tested
http://cgit.freedesktop.org/~agd5f/linux/?h=drm-fixes-4.17 prior to the rc3
release, just in case it was already fixed.  Still present on rc3.  

In order to bisect, I did need to cherrypick
[fdb401d03d311399d844b9f23ec5ab98a2811f58] drm/amd/display: Fix multiple
definitions of handle_crc_irq, otherwise I would get linker errors. 

I'm using the firmware from git.kernel.org dated 2018-04-16.

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

[-- Attachment #1.2: Type: text/html, Size: 1681 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17
  2018-04-26 21:15 [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 bugzilla-daemon
  2018-05-03 17:32 ` bugzilla-daemon
  2018-05-04  5:52 ` bugzilla-daemon
@ 2018-05-09 19:34 ` bugzilla-daemon
  2018-05-09 21:33 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-09 19:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Should be fixed with this patch:
https://patchwork.freedesktop.org/patch/221510/

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

[-- Attachment #1.2: Type: text/html, Size: 1143 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17
  2018-04-26 21:15 [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-05-09 19:34 ` bugzilla-daemon
@ 2018-05-09 21:33 ` bugzilla-daemon
  2018-06-05  0:41 ` bugzilla-daemon
  2018-06-17  4:42 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-09 21:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from James Harvey <lothmordor@gmail.com> ---
Alex, thank you for the patch!  This indeed fixes the hang.

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

[-- Attachment #1.2: Type: text/html, Size: 1057 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17
  2018-04-26 21:15 [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-05-09 21:33 ` bugzilla-daemon
@ 2018-06-05  0:41 ` bugzilla-daemon
  2018-06-17  4:42 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-06-05  0:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Lem <lem.jjr@gmail.com> ---
It appears this bug is still present in 4.17 final (and the patch provided
above doesn't appear to apply cleanly to 4.17). I get the same display hang
with a Vega 56 on Ubuntu 18.04, Padoka PPA using mpv, vdpau and opengl. The
system is still responsive to SSH though. Kernel 4.16.x works perfectly with
the same setup.

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

[-- Attachment #1.2: Type: text/html, Size: 1297 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17
  2018-04-26 21:15 [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-06-05  0:41 ` bugzilla-daemon
@ 2018-06-17  4:42 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-06-17  4:42 UTC (permalink / raw)
  To: dri-devel


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

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

James Harvey <lothmordor@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from James Harvey <lothmordor@gmail.com> ---
Patch was merged into drm-next and is confirmed fixed in 4.18-rc1, so I'm
closing.

This patch would be nice to have in a stable version of the 4.17 kernel though.

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

[-- Attachment #1.2: Type: text/html, Size: 2165 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-17  4:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26 21:15 [Bug 106259] [bisected] UVD hangs system on Vega10 linux-4.17 bugzilla-daemon
2018-05-03 17:32 ` bugzilla-daemon
2018-05-04  5:52 ` bugzilla-daemon
2018-05-09 19:34 ` bugzilla-daemon
2018-05-09 21:33 ` bugzilla-daemon
2018-06-05  0:41 ` bugzilla-daemon
2018-06-17  4:42 ` bugzilla-daemon

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.