Composite redraw speedup?

Pekka Paalanen ppaalanen at gmail.com
Wed Feb 12 11:23:28 UTC 2020


On Wed, 12 Feb 2020 11:07:56 +0000
Carsten Haitzler <raster at rasterman.com> wrote:

> On Wed, 12 Feb 2020 12:40:15 +0200 Pekka Paalanen <ppaalanen at gmail.com> said:
> 
> > On Wed, 12 Feb 2020 10:21:02 +0000
> > Carsten Haitzler (The Rasterman) <raster at rasterman.com> wrote:
> >   
> > > even better - if the /dev/dri/card0
> > > device exists, dlopen libdrm and get some symbols from it and ... use it to
> > > request the drm device sent you vsync events so you can use the vsync
> > > interrupt as your frame event. this will be another fd to listen on in
> > > select() and of course you can turn this vblank event stream on and off.  
> > 
> > Please don't. Talk to the X server instead.  
> 
> and what vsync events does the xserver provide? 

You don't want vsync events. You have no idea what they
correspond to, or even if you opened the right device.

https://gitlab.freedesktop.org/xorg/proto/xorgproto/blob/master/presentproto.txt


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-devel/attachments/20200212/54e1b690/attachment-0001.sig>


More information about the xorg-devel mailing list