AMA about Wayland or the Linux graphics stack, technical or otherwise

(standing offer)

@sir What VSync scheme does sway/wlroots use? How does it achieve VSync without any noticeable input lag? How frequently does it render the screen contents?

We render frames during the downtime between page flips and present them when the display is ready. This means your input will not be seen until the next vblank, e.g. 60 Hz.

@sir Do you render the next frame as soon as a flip has occurred, or do you wait a little to reduce the input lag?

@YaLTeR currently we render as soon as the flip occured to leave us ample time to prepare the new buffer, but there has been discussions about refining the timing more


@sir is there an issue where that had been discussed or something?

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!