Skip to content

Add modular X11 graphics validation support#517

Merged
Bhargav-qcom (bhargav0610) merged 3 commits into
qualcomm-linux:mainfrom
smuppand:display_distro_support
Jul 23, 2026
Merged

Add modular X11 graphics validation support#517
Bhargav-qcom (bhargav0610) merged 3 commits into
qualcomm-linux:mainfrom
smuppand:display_distro_support

Conversation

@smuppand

Copy link
Copy Markdown
Contributor
  • Add modular X11 graphics validation coverage for Debian and other apt-based X11 environments.
  • This change introduces dedicated tests for X11 display discovery, GLX, EGL/OpenGL ES, Glmark2, and GStreamer display pipelines. It also extends the shared display library with reusable X11 runtime, output, rendering, and fullscreen helpers.
  • The implementation dynamically discovers the active X11 environment instead of assuming a fixed display number, Xauthority path, user ID, output name, resolution, or refresh rate.

Add reusable X11 runtime, output, rendering, and fullscreen helpers
to lib_display.sh.

- discover usable DISPLAY and XAUTHORITY values dynamically
- identify Xorg, Xwayland, XFCE, and LightDM sessions
- detect active XRandR output, mode, refresh rate, and root geometry
- collect and classify GLX rendering pipeline details
- add shared XVideo capability detection
- add reusable fullscreen window discovery and verification
- recover missing fullscreen utilities through pkg_ensure_command
- avoid fixed display numbers, authority paths, users, and resolutions

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add command and package-set mappings required by the X11 graphics
validation suites.

- map X11 display inspection and XRandR utilities
- map Mesa GLX, EGL, and OpenGL ES tools
- map X11 Glmark2 executables
- map GStreamer X11, XVideo, and OpenGL plugins
- map xdotool, xwininfo, and wmctrl for fullscreen handling
- add Debian and apt provider mappings
- support automatic missing-command recovery through the package provider

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add modular X11 graphics tests for display, GLX, EGL/GLES, Glmark2,
and GStreamer rendering paths.

- validate the active X11 display, session, output, mode, and geometry
- validate GLX initialization and hardware rendering
- validate EGL and OpenGL ES applications on X11
- validate OpenGL and OpenGL ES Glmark2 workloads
- validate GStreamer X11, XVideo, and OpenGL display sinks
- reuse shared X11 runtime and fullscreen helpers
- support dynamically discovered display and authority settings
- emit LAVA-friendly PASS, FAIL, and SKIP results

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@bhargav0610
Bhargav-qcom (bhargav0610) merged commit d10637d into qualcomm-linux:main Jul 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants