https://bugs.freedesktop.org/show_bug.cgi?id=97852
--- Comment #3 from Nicolai Hähnle nhaehnle@gmail.com --- Use this tool: https://github.com/apitrace/apitrace to record a session that shows the problem. Once installed, you basically just run `apitrace trace <program under trace>`. The documentation linked to in the readme is generally pretty good.