[PATCH xserver 1/2] prime: Sync shared pixmap from root window instead of screen pixmap

Adam Jackson ajax at nwnk.net
Tue Feb 14 19:28:14 UTC 2017


On Tue, 2017-02-14 at 18:36 +0900, Michel Dänzer wrote:

> I discovered a problem with this. Looks like on server shutdown the
> root window can be destroyed before the scanout pixmap is detached, see
> valgrind output below.
> 
> Is there any solution for this other than wrapping DestroyWindow and
> calling PixmapStopDirtyTracking when a root window is destroyed?

Perhaps the DamageCreate in PixmapStartDirtyTracking needs a destroy
hook that unhooks the pixmap from the dirty list?

- ajax


More information about the xorg-devel mailing list