Skip to content

Instantly share code, notes, and snippets.

@rootnotez
rootnotez / LinuxGraphicsComponents.md
Last active January 13, 2026 20:40
Linux Graphics Terms and Troubleshooting

Linux Graphics Components and Troubleshooting Tools #001

Linux Graphics Components

  • Compositors: Combine and render multiple graphical elements into a final display output. In X11, use the Composite extension to work with the X server, managing window transparency, effects, and desktop composition (ex: Compiz, KWin, Mutter). In Wayland, the compositor is the display server itself (ex: Weston, Sway, GNOME mutter-wayland). Compositors interact with the graphics stack through DRM/KMS for direct hardware access and use EGL or similar APIs for GPU-accelerated rendering.

  • DRI (Direct Rendering Infrastructure): A framework that allows applications to directly access graphics hardware for accelerated rendering while maintaining security and coordination with the display system. DRI provides device interfaces at /dev/dri (such as /dev/dri/card0, /dev/dri/renderD128) that applications and drivers use to communicate with graphics hardware, enabling efficient GPU operations without going through the X s

Gstreamer Debugging

Debuggging and troubleshooting

Command-line Tools

Show what debug options can be enabled.
gst-launch-1.0 --gst-debug-help

View negotiated caps with gst-launch-1.0 --verbose
gst-launch-1.0 -v videotestsrc ! videoconvert ! autovideosink