Benchmark Your Graphics Card On Linux

Objective

Install Phoronix Test Suite and benchmark your system’s graphical performance using the Unigine benchmarks and Steam games.

Distributions

This guide targets Debian, Ubuntu, Fedora, OpenSUSE, and Arch Linux.

Requirements

A working install of one of the supported distributions with root privileges and the latest graphics drivers installed.

Conventions

  • # – requires given linux command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – given linux command to be executed as a regular non-privileged user

Install Phoronix Test Suite and Steam

Ubuntu/Debian

Head over to the Phoronix Test Suite download page, and grab the latest .deb package.

When you have the package, install it with gdebi.

$ sudo apt install gdebi-core
$ sudo gdebi phoronix-test-suite_*.deb

Optionally, install Steam. If you’re on Debian, enable the non-free repos first.

$ sudo apt install steam


CentOS

Chang the below link with a current Phoronix Test Suite or download directly from Phoronix Test Suite website.

$ wget https://phoronix-test-suite.com/releases/phoronix-test-suite-9.0.0.tar.gz
$ tar xzf phoronix-test-suite-9.0.0.tar.gz 
$ cd phoronix-test-suite/
$ sudo ./install-sh 
Phoronix Test Suite Installation Completed

Executable File: /usr/bin/phoronix-test-suite
Documentation: /usr/share/doc/phoronix-test-suite/
Phoronix Test Suite Files: /usr/share/phoronix-test-suite/

Fedora

Phoronix Test Suite is available in your repositories. Install it.

# dnf install phoronix-test-suite

Next, enable the RPMFusion repository on your system, if you haven’t already.

# dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Then, you can install Steam.

# dnf install steam

OpenSUSE

Both packages are already available in your repositories. Install them.

# zypper in steam phoronix-test-suite

Arch Linux

The Phoronix Test Suite is available through the AUR. Head to its page, and install it.

When you have PTS, install Steam with Pacman.

# pacman -S steam

List The Tests

You can start up Phoronix Test Suite either as in interactive command line utility or through single command. First, take a look at the interactive utility to give yourself an idea of what it can do. The easiest way to do that is with the graphical launcher provided by the installation.

Start Phoronix Test Suite

Start Phoronix Test Suite



You’ll see some information about your system and the available options. Test it out by listing the available tests.

Phoronix Test Suite List Tests

Phoronix Test Suite List Tests

Back out of there now. There’s another way to list out the tests too. Open a new terminal and run the following command.

$ phoronix-test-suite list-tests

You’ll see a huge list of tests fill your terminal window. The names of the tests following pts/ or system/ are what you’ll be working with.

Run Unigine Heaven

Start by running a great general purpose graphics benchmark. The Unigine tests are excellent for this. Install Unigine Heaven through PTS.

$ phoronix-test-suite install unigine-heaven
Phoronix Test Suite Run Test

Phoronix Test Suite Run Test



You can always install a test by running it too. If the test isn’t available when you go to run it, Phoronix Test Suite will prompt you to install.

After you have the test, you can run it.

$ phoronix-test-suite run unigine-heaven
Phoronix Test Suite Test Settings

Phoronix Test Suite Test Settings

You’ll be prompted to set some options before the test. In this case, you’ll be asked the resolution and the graphics library.

Phoronix Test Suite Unigine Heaven

Phoronix Test Suite Unigine Heaven

The test will start up and run through a rendered 3d environment. PTS scripts it to run through and conduct the test three times. It will then average the framerates from the three tests together to give you your final result.



Test With Steam

Phoronix Test Suite also includes options to test with Steam games. The process is smoother if you already have the game installed, so open up Steam and sign in to your account. Pick a game that you want to test with. You can list out the Phoronix tests, or you can pick something like DoTA 2 that’s free to play for now. This guide follows Metro Last Light, but you can use any game that PTS has a script for.

Once your game is installed on Steam, leave Steam open, and install the test with PTS.

$ phoronix-test-suite install metroll-redux

Then, run your test.

$ phoronix-test-suite run metroll-redux
Phoronix Test Suite Metro

Phoronix Test Suite Metro

Just like the Unigine test, Phoronix Test Suite will ask you some questions about how you want to run the test. Then, it’ll kick off running through a few times. It’ll present you with the results when the testing is complete.

Closing Thoughts

You’re now ready to measure the performance of your system for graphical tasks. You can test out new driver versions, and other things like kernels that may impact your framerates.

Phoronix Test Suite is also capable of testing a lot of other things on your system. Feel free to have a look around and try out some additional benchmarks. It can help you find weak points in your system that may need an upgrade or improperly configured software.



Comments and Discussions
Linux Forum