This project aims to capture all the important details of glxinfo, vulkaninfo and clinfo in a GUI. The project is being developed using python 3 pygobject with GTK3. All the important details are extracted using glxinfo/vulkaninfo/clinfo with the combination of grep, CAT , AWK commands and displayed in the front-end. There is no hard OpenGL Programming involved, until glxinfo, vulkaninfo and clinfo works the GPU-viewer will also work
Those who are cloning and installing the application through install file, please note the application will work with vulkan tools 1.2.141 or higher, for anything below please use the PPA to install the latest stable version. Working on Integrating the latest vulkan tools to the installation
-
Before Downloading the files please see the Known issues mentioned below
-
Ensure python is installed
-
Ubuntu 23.04(Lunar)/Ubuntu 22.10(Kinetic)/Ubuntu 22.04 (Jammy)/Linux Mint 20.x/Linux Mint 19.x users should be able to install this application using the below PPA
- sudo add-apt-repository ppa:arunsivaraman/gpuviewer
- sudo apt-get update
- sudo apt-get install gpu-viewer
Please note all the dependencies python, vulkan-tools,clinfo, es2_info will be installed, if not installed before.
-
Debian based distro users should be able to install the application by just running the .deb file attached in the Release notes
-
Arch based distro - - users should be able to grab the application at https://aur.archlinux.org/packages/gpu-viewer/ or by running command yay -S gpu-viewer from the terminal . This should automatically take care of the dependencies. Thanks to Dan Johnson (strit) for maintaining the AUR Package
-
Fedora based distro run the command sudo dnf -y install clinfo egl-utils mesa-demos mesa-vulkan-drivers python3 vdpauinfo vulkan-tools from the terminal, then complete steps 8 to 11.
-
openSUSE based distro run the command sudo zypper install clinfo mesa-demo mesa-vulkan-device-select libvulkan_intel libvulkan_lvp libvulkan_radeon python3 libvdpau1 vulkan-tools xdpyinfo xev xlsatoms xlsclients xlsfonts xprop xvinfo xwininfo from the terminal, then complete steps 8 to 11.
-
For others please follow steps 8 to 11
-
Download the file and Extract to a folder
-
Navigate to extracted folder, open terminal and enter below commands
- meson _build
- cd _build
- ninja install
-
Once completed,Application can be accessed at menu->System/Administration/System tools->GPU Viewer
-
For Vulkan Tab to work Install vulkan-tools (sudo apt-get install vulkan-tools) in Ubuntu, vulkan-tools in Arch, Vulkan in Solus, also Vulkan enabled drivers should be installed. The installer should be able to take care of this dependency in Debian based distro and Solus.
-
For OpenCL Tab to work install clinfo (sudo apt install clinfo) in ubuntu , clinfo in Solus (sudo eopkg install clinfo), clinfo in arch. Also, ensure you have OpenCL installed for your respective platforms, Ex. Nvidia CUDA for Nvidia hardware, beignet for Intel Graphics or pocpl for cpu or AMD openCL for AMD hardware.
-
For EGL information to be displayed in OpenGL tab, users should install mesa-utils-extra package in Debian based systems. On Arch, Please install latest version of mesa-demos
-
For VDPAU information to be displayed, please install vdpauinfo.
-
Incase of issues launching the application please see the FAQ in Wiki section
- Debian users should be able to uninstall in the default way i.e. sudo apt remove gpu-viewer
- For others, Remove gpu-viewer directory in \usr\share\ or run sudo rm \usr\share\gpu-viewer -r to remove. Also you need to remove the symlink by running sudo rm \usr\bin\gpu-viewer
- OpenGL Tab - OpenGL Information, OpenGL ES Information, OpenGL hardware limits and Extensions displayed as per different Vendors, View GLX Frame Buffer Configuration and EGL information, EGL Information
- Vulkan Tab - Device Features, Device Limits, Device Extensions,Formats,Memory Types & Heaps, Partial Queue Families implemented, Instance and Layers,Surface Tab
- OpenCL Tab - Platform Details, Device Details , Device Memory & Image Details, Device Queue and Execution capabilities, Device Vector Details, Total No. of Platforms, No. of Devices for the platform.
- About Tab - About GPU Viewer Application, ability to report a bug,view license,view change log, Donate via paypal, GPU Viewer Github main page.
- General - Bug fixes, Code Optimizations (High Priority)
- Requires Python3 to run this Application, works only on linux Operating system
- For Vulkan Tab to work, nvidia, Mesa and AMD vulkan enabled drivers should be installed along with vulkan-utils
- For OpenCL Tab to work, install clinfo along with OpenCL drivers for your respective GPU's
- Minor UI issues.
- The Extensions drop down menu in OpenGL tab will not render well if there are too many items, users may see a big empty space at the start. This is a GTK issue (arunsivaramanneo#9)
- The Application does not render well under dark themes.
- Operating System : Ubuntu 23.04
- Desktop : Gnome 42
- Kernel : 5.15.x-xx
- IDE : VSCode
- MSI PE62 Laptop, Huawei Matebook 13 AMD
- Quad Core Intel Core i7-4710HQ, AMD Ryzen 3500 U
- Nvidia Gefore GTX 1050Ti (Discrete GPU) , Drivers - Nvidia (proprietary)/Mesa drivers
- Intel HD(R) Graphics 630, Drivers - MESA (Open Source)
- 8 GB RAM
If you find the project interesting enough, please consider making a donation. Even a small one would mean the world to me. More than a mere financial act, donate means that you simply believe in this project and want it to be better.