Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.

Collabora talk enhancing apitrace with gltrim to get replayable cut traces

By - | Views: 17,681

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
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. Find me on Mastodon.
See more from me
The comments on this article are closed.
1 comment

Purple Library Guy Feb 2, 2021
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:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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!
The comments on this article are closed.