Closed Bug 1829493 Opened 2 years ago Closed 2 years ago

[Wayland] Consider removing idle vsync timer

Categories

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

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

Bug 1786247 introduced an idle vsync timer to not hold on to resources indefinitely on throttled windows. We should've fixed the root cause of it in bug 1828587, so maybe we can remove it now.

Martin, Robert, wdyt? Is there any other reason we'd need the idle timer?

Flags: needinfo?(stransky)
Flags: needinfo?(robert.mader)
See Also: → 1797978
See Also: → 1786247

IIUC you are talking about us currently sticking to 1Hz minimum, right? I'd be totally in favor for getting rid of it if possible.

Flags: needinfo?(robert.mader)

Emilio I don't have strong opinion here and I'm ok with that as far as it doesn't break anything. Also that's Wayland only stuff right? As we don't have a idle state detection on X11.

Flags: needinfo?(stransky)
Priority: -- → P3

(In reply to Robert Mader [:rmader] from comment #1)

IIUC you are talking about us currently sticking to 1Hz minimum, right? I'd be totally in favor for getting rid of it if possible.

Correct.

(In reply to Martin Stránský [:stransky] (ni? me) from comment #2)

Emilio I don't have strong opinion here and I'm ok with that as far as it doesn't break anything. Also that's Wayland only stuff right? As we don't have a idle state detection on X11.

Correct as well.

Ok can try to send a patch and see how it goes.

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Status: NEW → ASSIGNED

Improve naming of some of the variables, remove some redundant type
params, and avoid calling TimeStamp::Now() unnecessarily, which is not
free.

Depends on D176282

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d43bc8b81921 [wayland] Don't keep firing vsync at idle rate once idle. r=rmader https://hg.mozilla.org/integration/autoland/rev/8da3f82245ac [wayland] Misc WaylandVsyncSource clean-ups. r=rmader
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: