[Bug 100577] DC + TearFree display lock

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 5 10:52:40 UTC 2017


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

            Bug ID: 100577
           Summary: DC + TearFree  display lock
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: adf.lists at gmail.com

Created attachment 130688
  --> https://bugs.freedesktop.org/attachment.cgi?id=130688&action=edit
dmesg with errors and trace

This one may be hard to reproduce for some as it seems to rely a bit on cpufreq
ondemand being a bit rubbish on my old cpu. Lowest is 800MHz for me (high 3.4
GHz).

I don't use a compositing desktop and vids played in my browser (seamonkey)
don't get vsync.

Turning on TearFree gets me vsync, but while testing I got a screen lock. Seems
to involve timing luck - I couldn't reproduce with the browser in a sane
timescale so invented a different test that could run while AFK.

mpv -fs --vo=x11 a720p60video --loop=inf

Will usually lock in < 15 minutes with cpufreq ondemand.

It was still going after an hour with cpufreq set to perf.

Also seems OK with amdgpu.dc=0 on same kernel = amd-staging-4.9

As I've only recently started running DC, and never tried this test before, I
have no idea whether it ever worked.

xserver is latest release ddx is git.

dmesg attached shows errors and a trace starting with

[ 2009.442985] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]]
*ERROR* [CRTC:39:crtc-0] flip_done timed out
[ 2013.027575] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:39:crtc-0] flip_done timed out
[ 2013.027727] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR*
dm_dc_surface_commit: acrtc 0, already busy

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170405/a54f6e40/attachment.html>


More information about the dri-devel mailing list