PresentPixmap doesn't work with XSync fences, crashes server
@yshui
Submitted by yshui Assigned to Chris Wilson @ickle
Link to original bug (#109218)
Description
In an experimental branch of compton, I tried using PresentPixmap with xrender to achieve tear free display. I discovered that the XSync fence passed to PresentPixmap never gets triggered, and when I kill compton, the whole server crashes.
I don't have a stack trace, but X server crashed in a function called AttendClient trying to dereference 0x28.
Maybe intel driver only supports fences created via DRI3FenceFromFD. That should've been made clear somewhere (where?), and X server definitely shouldn't crash.