https://dri.freedesktop.org/docs/dim/getting-started.html ... the fairly extensive documentation Daniel was talking about.