Set up wlr_xdg_shell with a new_toplevel handler:
Modify a simple Wayland client (e.g., weston-simple-shm ) and trace round-trip from client writev() to kernel DRM atomic commit.
- Install libdrm, kernel headers, and drm_info (or build drm-tip examples).
- Run drm_info and parse output (connectors, encoders, CRTCs, planes).
- Build and run kmscube or modetest (from libdrm/tests) to modeset a buffer to a display.
- Modify kmscube to change mode timings or pan a framebuffer and recompile.
- Patch submitted and accepted or under active review.
Debugging Toolkit for These Projects