Skip to content

graphics: support Ubuntu package profiles and Wayland sessions - #557

Open
Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:fix/weston-ubuntu-graphics-profiles
Open

graphics: support Ubuntu package profiles and Wayland sessions#557
Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:fix/weston-ubuntu-graphics-profiles

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Summary

Improve graphics validation on Ubuntu desktop images for both upstream Mesa/freedreno and Qualcomm KGSL/Adreno configurations.

  • Add the missing Ubuntu graphics-base Mesa package set.
  • Use Ubuntu’s libgbm-msm package while retaining Debian’s libgbm-msm1.
  • Apply OS-aware GBM package selection to KMSCube and Weston clients.
  • Preserve explicit GPU_OVERLAY_GBM_PACKAGE overrides.
  • Discover and reuse an active GNOME Wayland session when Weston is unavailable.
  • Run root-launched Wayland clients as the compositor socket owner.
  • Preserve the existing Weston and Yocto runtime flows.
  • Use a session-local timeout so client output is collected before result parsing.
  • Treat GDM greeter FPS as connectivity evidence because unfocused clients can be throttled.
  • Document Ubuntu base, overlay, reboot, and GNOME session behavior.

Define the Ubuntu Mesa base package set and include the Qualcomm GBM backend in the overlay set. Resolve the distro-specific GBM package name as libgbm-msm on Ubuntu while preserving libgbm-msm1 on Debian and existing explicit overrides.

Signed-off-by: Srikanth Muppandam <[email protected]>
Ubuntu desktop images can provide GNOME Shell and a GDM-owned Wayland socket without a Weston service. Discover that compositor session, run the EGL client as the socket owner, and keep the existing managed Weston path for other environments.

Use a session-local timeout so client output is reaped before result parsing. Treat GDM greeter frame cadence as connectivity evidence rather than a GPU performance gate because the compositor can throttle unfocused clients.

Signed-off-by: Srikanth Muppandam <[email protected]>
@smuppand
Srikanth Muppandam (smuppand) force-pushed the fix/weston-ubuntu-graphics-profiles branch from 7732cc6 to a9a936b Compare August 29, 2026 14:56
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.

1 participant