Learn the steps to install Basemark GPU benchmark software on Ubuntu 22.04 LTS Jammy JellyFish Linux to measure the performance of the system’s inbuilt or external graphic cards (GPU).
Benchmarks are programs or apps which we use to test the performance of various components such as CPU, GPU, and memory on the smartphone or computer. You get the result in a score, a time, or a speed. Basemark GPU is one of such Benchmarks. With “Basemark GPU” the gaming fans can benchmark their PC graphics performance running on Linux running. It supports various graphics interfaces, such as DirectX 12, OpenGL, or Vulkan. Using it we can even measure the performance of an in-built graphics chip and compare it with the data of other users. The test results automatically end up in an online database.
These tests are important. This way, the user knows whether his device runs stably under heavy use. In most cases, the utilization of the system is accompanied by a high temperature. To avoid high temperatures, it may then be necessary to install a better CPU cooler or to replace the cooler paste of the CPU. Because with a good processor, it is not always necessary to replace the computer with a new one. It is often sufficient to replace individual components.
The installation of the Benchmark GPU tool is easy, after setting it up we just need to run the test and this benchmark software will give a meaningful Score.
Steps to install Basemark GPU Benchmark on Ubuntu 20.04 LTS
There are two easy ways to install Basemark – one is using the Flatpak and the other via Ubuntu binary. Here we will show you how to install it using both ways. This tutorial is applicable for other Ubuntu versions such as 20.04, 18.04 including Elementary OS, MX Linux, POP OS, Linux Mint, Debian, and more… to measure the performance of in-built or external GPUs such as Nvidia and AMD. Also See: Best GPU Benchmark Software
#The 1st method is Flatpak (recommended)
1. Install Flatpak on Ubuntu 22.04
Flatpak is a package to install software regardless of the Linux code, which means it doesn’t matter if you are on Ubuntu, CentOS, RedHat, Mint, Manjaro, etc. just like SANP. It is available in the official repository. Thus, to install it run:
sudo apt install flatpak
2. Add FlatHub repository
There are hundreds of applications available to install via Flatpak using its repository called FlatHub including BaseMark GPU. Thus, we add that to our system.
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo apt update
3. Flatpak to install BaseMark on Ubuntu 22.04
Finally, after performing the above two commands here is the last one that will download and install BaseMark GPU benchmark packages on our Ubuntu 22.04 or any other similar Linux system you are using.
flatpak install flathub com.basemark.BasemarkGPU
When it asks for your permission to install the Benchmark software, press Y and let the process be completed.
#2nd method using Debian binary
4. Download Basemark Ubuntu binary
Well, the Basemark benchmark is not available to install using the Ubuntu 22.04 repository. Hence, we need to install it by downloading the executable binary available on its official website. Click on the Ubuntu binary button to download it.
5. Configure BaseMark on Ubuntu 22.04
Once you have the Binary of BaseMark on your Ubuntu 22.04 Jammy JellyFish in the Tar format, extract it.
First switch to the Downloads folder because whatever we get from the browser goes into that. Hence, switch to it.
Now, extract the file:
tar -xvf BasemarkGPU-linux-x64-*.tar.gz -C basemark --strip-components 1
Move to /opt directory
sudo mv basemark /opt
We can start the base mark GPU benchmark by switching to its directory
6. Create command and Desktop shortcut
To easily run the Basemark using the command terminal or Application launcher we can create shortcuts. Let’s know how to do that:
For Command-line shortcut
Add the moved base mark folder to your system path:
echo 'export PATH="$PATH:/opt/basemark"' >> ~/.bashrc
To run the Basemark using terminal:
to free the terminal, we can run it in the background
For Desktop or Application launcher shortcut:
Create a Desktop shortcut file:
Copy-Paste the following code in the file:
[Desktop Entry] Version=1.0 Type=Application Name=Basemark Comment=IDE Exec=/opt/basemark/./basemarkgpu Icon=/opt/basemark/basemarklogo.png Terminal=false StartupNotify=false
Save the file Ctrl+O, hit the Enter Key, and then exit the file using Ctrl+X.
Make the Desktop shortcut executable.
Right-click on the Desktop icon and select the “Allow Launching” option.
Copy the shortcut to the Application launcher as well:
sudo cp ~/Desktop/basemark.desktop /usr/share/applications/
7. Run Basemark GPU Benchmark
Once the installation is completed go to Activities or click on the show Applications, search for BaseMark GPU. When its icon appears, click to run it.
8. Start testing GPU on Linux
Finally, hit the Run official Test button and start the testing process…
9. How to update
Those who have used the Ubuntu binary method need to download the latest version of BaseMark whenever available manually and need to follow the same method of extracting it as shown here in this tutorial. However, getting the latest version of this Benchmark is pretty easy for Flatpak users. Just the run the given command:
10. Uninstall or Remove Basemark
To remove the Basemark installed using the Flatpak, run the following command
flatpak uninstall --delete-data flathub com.basemark.BasemarkGPU
flatpak remove --unused
Whereas, the binary users, just need to remove the folder of Basemark we have moved to the/opt directory.
sudo rm /opt/basemark
To delete shortcuts
sudo rm /usr/share/applications/basemark.desktop