← All commands
Topic hub Hardware & Drivers
Windows Linux Hardware & Drivers Command guide GPU/Display

Windows dxdiag GPU equivalent in Linux

Shows renderer, vendor and OpenGL driver details.

Windows dxdiag GPU
→
Linux equivalents
Debian/Ubuntu apt package: mesa-utils
glxinfo -B
Fedora dnf package: mesa-demos
glxinfo -B
Arch pacman package: mesa-utils
glxinfo -B

Overview

What this command does

On Windows, "dxdiag GPU" is used to show OpenGL GPU info. On Linux, the closest practical mapping shown here is "glxinfo -B". Shows renderer, vendor and OpenGL driver details. This reference is grouped under Hardware & Drivers → GPU/Display.

Migration tip: The Linux command "glxinfo -B" stays consistent across the compared distributions, but the package or base component can differ. Use the Debian/Ubuntu, Fedora or Arch row that matches the system you are administering.

Windows → Linux context

What changes when you use this on Linux?

Equivalent task, different tool

Windows dxdiag GPU maps to glxinfo -B for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.

Portable across the compared distros

The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.

Practical tasks

Common use cases

Show OpenGL GPU info

Shows renderer, vendor and OpenGL driver details.

glxinfo -B

Show OpenGL GPU info

glxinfo --help

Show command help when supported

man glxinfo

Open the manual page when installed

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

glxinfo -B

Walkthrough

Examples with explanations

# Windows equivalent: dxdiag GPU
glxinfo -B

Reference

Common options and variations

Command or optionUse
glxinfo -BShow OpenGL GPU info
glxinfo --helpShow command help when supported
man glxinfoOpen the manual page when installed

Distro differences

Debian/Ubuntu vs Fedora vs Arch

The command "glxinfo -B" is the same in all three rows, while package or base details differ: Debian/Ubuntu uses apt package: mesa-utils; Fedora uses dnf package: mesa-demos; Arch uses pacman package: mesa-utils.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu apt package: mesa-utils glxinfo -B Same command on this distribution.
Fedora dnf package: mesa-demos glxinfo -B Same command on this distribution.
Arch pacman package: mesa-utils glxinfo -B Same command on this distribution.

Keep learning

Related Hardware & Drivers commands