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@lists.x.org
          Reporter: st...@mouf.net
        QA Contact: xorg-t...@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.
_______________________________________________
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to