Hands On Projects: For The Linux Graphics Subsystem

“Hands-On Projects for the Linux Graphics Subsystem”

Direct Framebuffer Manipulation: Writing bytes directly to the video framebuffer to manually repaint screen pixels without a window manager. Hands On Projects For The Linux Graphics Subsystem

End of Report

Tools: edid-decode, cat, /sys/class/drm/ Hands On Projects For The Linux Graphics Subsystem

Warning: This is roughly 800 lines of C. Prepare for segmentation faults. Study tinywl (included in Wayland's source) for a working reference. Hands On Projects For The Linux Graphics Subsystem

Have a great day!

Project 9 — Security/hardening: sandboxing compositor clients and validating buffers

  • Objective: Implement stricter buffer validation and resource accounting to mitigate client bugs/malicious input.
  • Prereqs: Compositor code, kernel/userland interfaces, memory safety practices.
  • Tasks:

    The Code (Minimal Example)

    Create a file called kms_hello.c:

    return dev;