[PATCH xserver] glamor: Limit outstanding drawing queue with glClientWaitSync
Keith Packard
keithp at keithp.com
Tue Jun 7 16:52:42 UTC 2016
Michel Dänzer <michel at daenzer.net> writes:
> Is this about x11perf by any chance? I was seeing long lag with that as
> well, which turned out to be because we weren't correctly synchronizing
> with the hardware for XGetImage.
x11perf only does XGetImage once per run of the test; without some
intra-test queue management, other applications are unusable while the
test is running. This particular case isn't terribly interesting, but as
we improve glamor to need fewer and fewer synchronizations between CPU
and GPU, this should become relevant for interactions between regular
applications.
> In the amdgpu driver we now have a GPU scheduler managing the userspace
> command submissions.
That does seem like a fine place to manage this; right now, the intel
driver appears to only do this in SwapBuffers.
--
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160607/e9b9fede/attachment.sig>
More information about the xorg-devel
mailing list