Skip to content

Latest commit

 

History

History
108 lines (69 loc) · 7.3 KB

README.md

File metadata and controls

108 lines (69 loc) · 7.3 KB

GPU-Viewer

Donate

A front-end to glxinfo, vulkaninfo, clinfo and es2_info.

Packaging status

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 GTK4. 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

Screenshot from 2024-03-09 21-06-11

Screenshot from 2024-03-09 21-06-14

Screenshot from 2024-03-09 21-06-16

Screenshot from 2024-03-09 21-06-19

Screenshot from 2024-03-09 21-06-21

Testimonials

Softpedia

"GPU-Viewer can potentially be a very useful application in the right hands. There's no denying the fact that it's not the most beginner-friendly application out there, but the fact that it manages to bundle three very complex CLI tools into one functional GUI is definitely something I appreciate." - Review by Vladimir Ciobica

Linux Magazine USA (Issue 254)

"GPU-Viewer is a clever combination of pre-existing tools, including glxinfo, vulkaninfo and clinfo" - BY GRAHAM MORRISON

INSTALLATION STEPS

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.

  1. Before Downloading the files please see the Known issues mentioned below

  2. Ensure python is installed

  3. Ubuntu 24.04(Noble)/Ybuntu 23.10(Mantic)/Ubuntu 23.04(Lunar)/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.

  4. Debian based distro users should be able to install the application by just running the .deb file attached in the Release notes

  5. 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

  6. 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.

  7. 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.

  8. For others please follow steps 8 to 11

  9. Download the file and Extract to a folder

  10. Navigate to extracted folder, open terminal and enter below commands

    • meson _build
    • cd _build
    • ninja install
  11. Once completed,Application can be accessed at menu->System/Administration/System tools->GPU Viewer

  12. 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.

  13. 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.

  14. 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

  15. For VDPAU information to be displayed, please install vdpauinfo.

  16. Incase of issues launching the application please see the FAQ in Wiki section

UNINSTALL STEPS

  1. Debian users should be able to uninstall in the default way i.e. sudo apt remove gpu-viewer
  2. 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

What's developed and available?

  1. 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
  2. Vulkan Tab - Device Features, Device Limits, Device Extensions,Formats,Memory Types & Heaps, Partial Queue Families implemented, Instance and Layers,Surface Tab
  3. 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.
  4. About Tab - About GPU Viewer Application, ability to report a bug,view license,view change log, Donate via paypal, GPU Viewer Github main page.

UNDER DEVELOPMENT

  1. General - Bug fixes, Code Optimizations (High Priority)

IMPORTANT

  1. Requires Python3 to run this Application, works only on linux Operating system
  2. For Vulkan Tab to work, nvidia, Mesa and AMD vulkan enabled drivers should be installed along with vulkan-utils
  3. For OpenCL Tab to work, install clinfo along with OpenCL drivers for your respective GPU's
  4. The Latest version of the application works only for Ubuntu Version 23.10 or above as it needs Libadwaita Version 1.4 or above

DEVELOPMENT/TEST ENVIRONMENT

  1. Operating System : Ubuntu 24.04
  2. Desktop : Gnome 46
  3. Kernel : 6.18.x-xx
  4. IDE : VSCode

SYSTEM SETUP

  1. MSI PE62 Laptop, Huawei Matebook 13 AMD
  2. Quad Core Intel Core i7-4710HQ, AMD Ryzen 3500 U
  3. Nvidia Gefore GTX 1050Ti (Discrete GPU) , Drivers - Nvidia (proprietary)/Mesa drivers
  4. Intel HD(R) Graphics 630, Drivers - MESA (Open Source)
  5. 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.

Donate