You can sign up to get a daily email of our articles, see the Mailing List page!

Collabora talk enhancing apitrace with gltrim to get replayable cut traces

By - | Views: 14,336

Developers working across different areas of Linux are always looking for ways to squeeze a bit more performance, and it seems Collabora came up with a new way to performance test with upgrades to apitrace.

For those unaware: apitrace is a set of tools for tracing, replaying and inspecting calls to various APIs like OpenGL and a fair amount of Direct3D too. It's a way for developers to see what's really going on and then perhaps optimize.

Collabora have announced in a fresh blog post 'gltrim', which is a new tool that has been added to apitrace "that is designed to trim traces to user selected target frame(s)". There's already one such tool available but they say the benefit here is that "resulting traces can always be replayed".

Since it can be a complex area, they put in a fair amount of work to ensure the accuracy of it with a number of examples like testing done with Alien Isolation and ensuring brightness is correct, Civilization V where the screen expands over time and SOMA when dealing with motion blur and some notes on how they're correcting it.

What's the point of all the work really? They say that gltrim "provides the means to trim apitrace traces to contain only a few frames that can still render correctly", and it's pretty quick at doing so along with being semi-automatic. This makes it "more feasible to use traces of resource-intensive games in the Mesa CI", so in future we could see more games seeing automatic testing with the open source Mesa graphics drivers.

Article taken from GamingOnLinux.com.
15 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG and Humble Store. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
1 comment

One of the few times I've ever looked at a headline here and gone "Wha?"
But yeah, now that I've read the article, seems like a good thing.
While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.