All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 213935] New: AMDGPU Renoir crash/freeze while using vaapi with some video types in some apps - drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
@ 2021-08-01 10:29 bugzilla-daemon
  2021-08-02 14:19 ` [Bug 213935] " bugzilla-daemon
  2021-08-11  7:14 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2021-08-01 10:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=213935

            Bug ID: 213935
           Summary: AMDGPU Renoir crash/freeze while using vaapi with some
                    video types in some apps -
                    drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR*
                    Waiting for fences timed out!
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.13.6
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: plusfabi@gmail.com
        Regression: No

Created attachment 298139
  --> https://bugzilla.kernel.org/attachment.cgi?id=298139&action=edit
dmesg

Jul 31 09:50:49 helium kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]]
*ERROR* Waiting for fences timed out!
    Jul 31 09:50:52 helium kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR*
ring gfx timeout, signaled seq=18739, emitted seq=18742
    Jul 31 09:50:52 helium kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR*
Process information: process com.github.rafo pid 4266 thread gjs:cs0 pid 4320
    Jul 31 09:50:52 helium kernel: amdgpu 0000:04:00.0:
[drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed
(-110)
    Jul 31 09:50:53 helium kernel: amdgpu 0000:04:00.0:
[drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed
(-110)
    Jul 31 09:50:53 helium kernel: [drm:amdgpu_gfx_enable_kcq.cold [amdgpu]]
*ERROR* KCQ enable failed
    Jul 31 09:50:53 helium kernel: [drm:amdgpu_device_ip_resume_phase2
[amdgpu]] *ERROR* resume of IP block <gfx_v9_0> failed -110


In certain situations I'm able to crash/freeze my system by playing mp4 videos
with (vaapi-acceleration) enabled. If the crash/freeze happens, the screen goes
black and the system isn't responding to any input. Sadly in this case it's at
random if something was able to write output to the log. In most cases there is
nothing written about the crash in the log.


My environment is 
GNOME in Wayland mode
With native Wayland apps (in this Case Firefox and clapper
(https://rafostar.github.io/clapper/)
APU is an Ryzen 5 4500U


For Firefox I'm not able to reliable recreate that bug. It happens at random
while scrolling in twitter and reddit. Never happens in Netflix or Youtube for
example.

Luckily I was able to recreate it with an app called clapper and a video
provided by someone on reddit: 
https://cdn.discordapp.com/attachments/399812928854949890/870910339548590180/VID_20210731_124021.mp4

Steps:
1. Have GNOME running in Wayland mode and vaapi installed (check with 
'vainfo`)
2. Install clapper
3. Download the video
4. Run the video in Clapper
5. While running, launch the video again in clapper


It should *not* create another instance of clapper, but try to re-launch the
video in the same instance of clapper that was already running. You'll hear
maybe a few sec of the audio, but your whole session is frozen and will enter
an all black screen without possible recovery a few sec later.

I'm able to recreate this with every Kernel I tested. So down to 5.8

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 213935] AMDGPU Renoir crash/freeze while using vaapi with some video types in some apps - drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
  2021-08-01 10:29 [Bug 213935] New: AMDGPU Renoir crash/freeze while using vaapi with some video types in some apps - drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out! bugzilla-daemon
@ 2021-08-02 14:19 ` bugzilla-daemon
  2021-08-11  7:14 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2021-08-02 14:19 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=213935

Alex Deucher (alexdeucher@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #1 from Alex Deucher (alexdeucher@gmail.com) ---
Can you try a newer or older version of mesa?  Most likely this is a bug in the
user mode driver.  The kernel is just the messenger.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 213935] AMDGPU Renoir crash/freeze while using vaapi with some video types in some apps - drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
  2021-08-01 10:29 [Bug 213935] New: AMDGPU Renoir crash/freeze while using vaapi with some video types in some apps - drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out! bugzilla-daemon
  2021-08-02 14:19 ` [Bug 213935] " bugzilla-daemon
@ 2021-08-11  7:14 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2021-08-11  7:14 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=213935

Fabian (fabiscafe@mailbox.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #2 from Fabian (fabiscafe@mailbox.org) ---
You're right. I was able to test with a more up-2-date version and it wont
happen anymore. (21.1.6). Sadly this doesn't fix my system freeze when using
vaapi in firefox. But that seems to be another bug.

Thank you for your help :) This one is resolved

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

end of thread, other threads:[~2021-08-11  7:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01 10:29 [Bug 213935] New: AMDGPU Renoir crash/freeze while using vaapi with some video types in some apps - drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out! bugzilla-daemon
2021-08-02 14:19 ` [Bug 213935] " bugzilla-daemon
2021-08-11  7:14 ` 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.