[Mesa-dev] [Bug 111259] Presentation regression while rendering on X11 surface
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 30 12:27:52 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111259
--- Comment #3 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
(In reply to jaelpark from comment #2)
> I was looking if there would be some minimal test case to demonstrate this,
> but couldn't find one so far. One case where this gets reproduced is the
> desktop compositor I've been working on. The build instructions and setup is
> here:
> https://jaelpark.github.io/chamferwm-docs/setup.html#building-with-meson
>
> After building, change the terminal emulator in line 504 of config/config.py
> to your preference, and once running, launch the terminal with Alt+Enter.
> Typing something will reveal how the frames come disordered and lagging.
> Using a recent version of mesa before this particular commit will result in
> expected behavior.
I think I can spot the bug in your compositor :
compositor.cpp:984 : currentFrame = (currentFrame+1)%swapChainImageCount;
That's incorrect, the image indice returned by acquireNextImage() might not
increment.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190730/2e9a4eb0/attachment.html>
More information about the mesa-dev
mailing list