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

(standing offer)

Follow

@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?

@YaLTeR
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?

@sir @YaLTeR Can vblank rate be variable, to use technologies like VESA Adaptive Sync?

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!