[Bug 112255] New: Pageflip completion event has impossible msc related lockups

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 12 17:14:48 UTC 2019


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

            Bug ID: 112255
           Summary: Pageflip completion event has impossible msc related
                    lockups
           Product: xorg
           Version: unspecified
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: not set
          Priority: not set
         Component: Driver/AMDgpu
          Assignee: xorg-driver-ati at lists.x.org
          Reporter: steve at mouf.net
        QA Contact: xorg-team at lists.x.org

I've been seeing lockups with messages of this form:

(WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has
impossible msc XXXXXXX < target_msc YYYYYYY

After commenting this line, it seems to have gone away:

https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/blob/master/src/amdgpu_dri2.c#L494

That is, the messages are still logged, of course, but the lockups are gone
because the client is no longer signaling failure to the client. I haven't seen
any other adverse effects.

Should this be a warning only? One thing I noticed is the time is always 1 less
than expected:

[ 20308.275] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip
completion event has impossible msc 1868426 < target_msc 1868427
[716312.737] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip
completion event has impossible msc 43628303 < target_msc 43628304
[752121.770] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip
completion event has impossible msc 45776848 < target_msc 45776849
[833776.925] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip
completion event has impossible msc 50676148 < target_msc 50676149

Perhaps there is an off by one error somewhere? Also I believe, but can't
recall for sure sure, this problem only started once I enabled the TearFree
option in the driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20191112/dcb1a279/attachment.html>


More information about the xorg-driver-ati mailing list