Closed Bug 1958043 Opened 8 months ago Closed 7 months ago

[wayland][kwin] aVsyncTimestamp <= tickStart assert in nsRefreshDriver

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

I see this assert fail intermittently in my debug builds, only on Wayland. Might be related to the weird wayland vsync stuff Olli was seeing?

Flags: needinfo?(stransky)

Yes, that's possible. Can you try to capture a log for it? MOZ_LOG="WidgetVSync:5 WidgetWayland:5"
Thanks.

Flags: needinfo?(stransky) → needinfo?(emilio)
Attached file Log

I just caught this, here's the log I could rescue (very verbose)

Flags: needinfo?(emilio) → needinfo?(stransky)

Thanks. The log looks correct, ale time stamps from Wayland backend are in row. I'd expect a problem when we have "WaylandVsyncSource::EmulatedWindowCallback" in the log but all callbacks are from compositor.

Flags: needinfo?(stransky)

I don't think it's related - the assert triggers when system time is changed. It's not related to our event/vsync code but rather system config. I've seen that on X11 too.

The assertion may be adjusted for Wayland - we can't expect any relation between Wayland event timestamp and system monotonic time.

Priority: -- → P3

Hmm, I only see this on KWin, and not when system time changes necessarily... But ok, maybe we can just suppress it on wayland. It's also not a new problem

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/244a7e35efec Weaken vsync timestamp assert on wayland. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: