Linux / UNIX: Test Graphical Performance ( 3D Acceleration / FPS )

To test the graphical performance and 3D acceleration of your Linux/UNIX system, you can use the glxgears and glxinfo tools. These tools are typically installed as part of the graphics drivers package on your system.

Here are the steps to test the graphical performance:

  1. Open a terminal window and run the following command to check if the graphics driver is installed and the 3D acceleration is working:
    glxinfo | grep -i "direct rendering"

    If the output is “Yes”, then the graphics driver is installed and the 3D acceleration is working. If the output is “No”, then the graphics driver may not be installed or configured correctly.

  2. Run the glxgears command to test the graphics performance:
    glxgears

    This will open a small window with gears rotating inside. The FPS (frames per second) rate will be displayed in the terminal window.

    Note: glxgears is not an accurate benchmarking tool and is mainly used to check if the 3D acceleration is working. For accurate benchmarking, you can use other tools like glmark2 or Unigine Valley Benchmark.

  3. To install glmark2 on Ubuntu, run the following command:
    sudo apt-get install glmark2

    Once installed, run the following command to start the benchmarking:

    glmark2

    This will run the benchmark and display the FPS rate and a score at the end.

  4. To install the Unigine Valley Benchmark on Ubuntu, follow these steps:
    • Download the benchmark from the Unigine website (https://benchmark.unigine.com/valley).
    • Extract the downloaded archive to a directory.
    • Open a terminal window and navigate to the extracted directory.
    • Run the benchmark by executing the ./valley command.

    This will open the benchmark window and start the benchmarking process. The FPS rate and a score will be displayed at the end of the benchmark.

That’s it! With these tools, you can test the graphical performance and 3D acceleration of your Linux/UNIX system.

Leave a Comment