How to Install GPU-Viewer on Linux Mint 21/20

For those deeply ingrained in the world of Linux and its graphical interfaces, the term GPU-Viewer might ring a bell. This incredibly useful software serves as a frontend to several utilities, namely glxinfo, vulkaninfo, clinfo, and es2_info. Each of these tools provide invaluable insights into your system’s hardware, however, their terminal-based output can be challenging to interpret. GPU-Viewer elegantly addresses this issue by presenting these details within an accessible and user-friendly GUI.

Diving into the specifics:

  • GLXinfo Frontend: This element of GPU-Viewer displays details about your system’s GLX implementation. glxinfo is a command-line tool used to examine the graphics environment and OpenGL renderer string of a machine. By incorporating glxinfo within its GUI, GPU-Viewer simplifies the process of retrieving this information.
  • Vulkaninfo Frontend: Vulkan, a powerful cross-platform graphics and compute API, is another area where GPU-Viewer shines. vulkaninfo displays exhaustive details about Vulkan’s implementation on your machine. Once again, GPU-Viewer steps in to render this data in a more comprehensible format.
  • CLinfo Frontend: clinfo offers intricate details about the OpenCL capabilities of a system. With GPU-Viewer, you can conveniently access this information through an intuitive graphical interface.
  • ES2_info Frontend: Last but not least, the ES2_info frontend. es2_info reports on the EGL and OpenGL ES capabilities of your system, details of which are neatly packaged within the GUI of GPU-Viewer.

Each of these components constitute GPU-Viewer’s robust capabilities. This tool not only enhances the user experience by presenting complex hardware information in an easy-to-read manner, but it also offers practical benefits by consolidating various command-line utilities into a single application. Thus, GPU-Viewer stands as a testament to Linux’s versatility, optimizing your workflow with just a few clicks.

Before delving into the world of GPU-Viewer, it’s essential to note its compatibility. This software is designed to work seamlessly with Linux distributions, including but not limited to Linux Mint 21 and the older Linux Mint 20. Our upcoming guide will demonstrate precisely how to install GPU-Viewer on these platforms, providing an accessible path for you to harness the power of this sophisticated tool.

Section 1: APT-based Installation of GPU-Viewer

This segment guides you meticulously through the installation process of GPU-Viewer on Linux Mint utilizing the Advanced Package Tool (APT) – the package management system used by Debian and its derivatives.

Step 1: Refreshing and Upgrading Linux Mint

Ensuring your system is up-to-date is a fundamental step before installing any new software. It helps avoid potential conflicts between the new and existing packages and makes sure your system is armed with the latest security patches. To update your Linux Mint system, run the following command in the terminal:

sudo apt update && sudo apt upgrade

The update command fetches the package list from the repository, while upgrade installs the newest versions of the software currently installed on your system.

Step 2: Integrating GPU-Viewer PPA

Although GPU-Viewer isn’t included in the default Linux Mint repositories, you can install it from a PPA (Personal Package Archive) maintained by Arun Sivaraman. This PPA receives regular updates with the most recent version of GPU-Viewer.

Initially, we’ll need to install some required dependencies using the software-properties-common package:

sudo apt install dirmngr ca-certificates software-properties-common apt-transport-https -y

This package contains scripts useful for adding PPAs. After the dependencies are installed, we can proceed to add the PPA to our system using:

sudo add-apt-repository ppa:arunsivaraman/gpuviewer -y

Step 3: Synchronizing the Packages Index for GPU-Viewer

Post addition of the PPA, it is crucial to update the package index to reflect the changes. This process ensures that APT is aware of the new packages available from the recently added source. Run the following command to synchronize the packages index:

sudo apt update

Step 4: Finalizing the GPU-Viewer Installation

With the PPA added and the package index updated, we are now ready to install GPU-Viewer. Execute the following command to commence the installation:

sudo apt install gpu-viewer

By the end of this process, you’ll have successfully installed GPU-Viewer on your Linux Mint system with APT. For those that prefer using Flatpak to install your software, section two provides this method.

Section 2: Installation of GPU-Viewer via Flatpak and Flathub

In this part, we delve into an alternative avenue for GPU-Viewer installation leveraging Flatpak, a universal package management system. The use of Flatpak circumvents the typical distribution-based limitations by providing access to the most recent versions of applications across diverse Linux distributions.

Step 1: Ensuring Flathub Availability

Before embarking on the GPU-Viewer installation journey through Flatpak, it is essential to ascertain that the Flathub repository is enabled on your system. Flathub is a principal reservoir for Flatpak applications and provides a rich array of software options.

In order to verify and enable Flathub, issue the following command in your terminal:

sudo flatpak remote-add --if-not-exists flathub

This command inspects your Flatpak configuration and adds the Flathub repository if it is not already present. This ensures that your system has access to an extensive catalog of applications, paving the way for GPU-Viewer’s installation.

Step 2: Deploying the GPU-Viewer Installation

Once Flathub has been validated and activated, we can advance to the installation of GPU-Viewer. The flatpak install command accomplishes this task seamlessly. Input the following command in your terminal:

flatpak install flathub io.github.arunsivaramanneo.GPUViewer

This command triggers the installation of the GPU-Viewer application from the Flathub repository, effectively equipping your system with the most recent iteration of this utility.

Section 3: Activating GPU-Viewer on Linux Mint

Having successfully installed GPU-Viewer, you may now wish to fire up the application. Various paths to its activation cater to diverse user preferences, whether you lean towards command-line operation or a graphical user interface. This section is dedicated to guiding you on how to kickstart GPU-Viewer, regardless of your preference.

Invoking GPU-Viewer via the Terminal

If you are inclined towards using the terminal, GPU-Viewer can be brought to life by issuing a simple command:


However, if you opted for the Flatpak route during the installation, a slightly different command would be necessary:

flatpak run io.github.arunsivaramanneo.GPUViewer

These commands effectively initiate the GPU-Viewer application, providing terminal-savvy users a straightforward way to interact with the utility.

Triggering GPU-Viewer from the Desktop

For those more comfortable with a point-and-click approach, GPU-Viewer is readily available from your system’s application menu. You can start it with a simple click on its icon. GPU-Viewer is typically found by traversing this path in your desktop environment:

Taskbar > Administration > GPU-Viewer

This path leads you to the GPU-Viewer application, and a click on its icon results in the launching of the program. Thus, even without command-line interaction, you can access the powerful features of GPU-Viewer seamlessly.

Example of GPU-Viewer software application icon on Linux Mint:

Section 4: Tips on Getting Started with GPU-Viewer on Linux Mint

As you’re diving into GPU-Viewer, these tips will help you make the most of your experience and navigate the software efficiently. Remember, this advice is particularly applicable to Linux Mint and other Linux distributions, ensuring a focused and relevant guide for Linux users.

Discovering Features of GPU-Viewer

Being acquainted with the features and capabilities of GPU-Viewer can significantly enhance your user experience. Here are some key features to consider:

  • Device Information: GPU-Viewer provides detailed insights into your graphics card’s specifications, such as the GPU make and model, clock speed, memory size, and driver information.
  • OpenGL Extensions: You can view detailed information about supported OpenGL extensions, which are crucial for rendering 2D and 3D graphics.
  • Vulkan Information: Get a comprehensive understanding of Vulkan capabilities, including the API version, extensions, and device limits.
  • OpenCL Information: OpenCL information, including device capabilities and supported extensions, can be accessed.

Customizing Your GPU-Viewer Experience

Adapting the software to your preferences can make navigating through it more intuitive. Consider these customization tips:

  • Remember Your Tab: By default, GPU-Viewer opens to the “OpenGL/GLX Details” tab. However, if you’re frequently accessing another tab, navigate to Preferences > Startup > Default Tab to set your preferred tab as the default.
  • Selecting Your GPU: If your system has multiple GPUs, navigate to Preferences > GPUs to select the GPU you want to inspect.

General Tips for Using GPU-Viewer

Here are some general tips to ensure a smooth experience:

  • Stay Updated: Regularly check for software updates to keep your GPU-Viewer in sync with the latest enhancements and bug fixes. This can usually be done through the Linux Mint Update Manager or similar tools in other Linux distributions.
  • Use the Search Function: GPU-Viewer has a robust search function that can help you quickly find specific information. Just press Ctrl + F to access it.
  • Check for Driver Updates: Keeping your GPU drivers updated ensures the best performance and compatibility with GPU-Viewer. Use your distribution’s package manager or proprietary software (like Nvidia’s driver utility) to update your drivers.

Examples of GPU-Viewer default UI once launched on Linux Mint:

Section 5: Additional GPU-Viewer Commands for Linux Mint

For those who are expanding their understanding of GPU-Viewer in the Linux Mint environment, this section introduces additional command-line operations. Not only will we delve into how to update the GPU-Viewer for access to the latest features, but also how to effectively uninstall it.

Updating the GPU-Viewer

Regular software updates ensure that you are making the most of GPU-Viewer’s latest features, as well as any patches and bug fixes. How you conduct these updates depends upon the initial method of installation.

Updating GPU-Viewer Installed via APT PPA

For those who opted for the APT PPA method during installation, updating GPU-Viewer is a two-step process in the terminal:

sudo apt update
sudo apt upgrade gpu-viewer

These commands refresh your package list and upgrade the GPU-Viewer package, respectively.

Updating GPU-Viewer Installed via Flatpak

If your installation route was via Flatpak, the following command is required to update GPU-Viewer:

flatpak update io.github.arunsivaramanneo.GPUViewer

For those looking to update all their Flatpak applications in one sweep, this command will suffice:

flatpak update

Uninstalling the GPU-Viewer

There could be circumstances where you may need to remove GPU-Viewer from your Linux Mint system. The procedure to do this is contingent upon the method of installation you chose.

Removing GPU-Viewer Installed via APT

To remove GPU-Viewer installed via the APT method, use the following command:

sudo apt remove gpu-viewer

Removing the PPA Repository

Should you wish to eliminate the PPA repository after uninstalling GPU-Viewer, this command will perform the task:

sudo add-apt-repository --remove ppa:arunsivaraman/gpuviewer -y

Removing GPU-Viewer Installed via Flatpak

For those who installed GPU-Viewer using Flatpak, the command to uninstall the application is as follows:

flatpak uninstall io.github.arunsivaramanneo.GPUViewer

Conclusion and Useful Links

In conclusion, the process of installing, operating, and managing GPU-Viewer on the Linux Mint system is straightforward and streamlined. We’ve examined the installation routes, learned to launch the program via both terminal and desktop and delved into additional command-line operations. Overall, gaining a deep understanding of GPU-Viewer’s functionality can greatly enhance your experience with your Linux Mint system, particularly when it comes to managing and monitoring your GPU performance.

Additional Resources and References

Here are some official resources to help you further enhance your understanding and usage of GPU-Viewer. Each is replete with information that can assist you in your exploration of GPU-Viewer’s functionalities.

  • GPU-Viewer GitHub Repository: The official GitHub repository for GPU-Viewer. It’s a treasure trove of information about the tool, including source code and recent updates.
  • GPU-Viewer Wiki: Here, you’ll find the official wiki for GPU-Viewer. This is a fantastic resource for those who want to understand the nitty-gritty details of GPU-Viewer’s operations and capabilities.
  • GPU-Viewer Launchpad: This is the official Launchpad PPA for GPU-Viewer. It provides the latest version of the tool and the required steps for installing it on your Linux Mint system.

Share to...