The Wayback Machine - https://web.archive.org/web/20200914185509/https://github.com/st3r4g/drm-input-wayland
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
01
 
 
02
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

DRM-INPUT-WAYLAND

My attempt at learning Wayland by writing simple and minimal programs

note: requires the DRM atomic commit feature, no support for the legacy interface

WARNING: hardcoded gpu/keyboard path for now

Folders explained:

  • 01 -> minimal color/image rendering (dumb-buffer) for 3 seconds
  • 02 -> minimal color rendering (dumb-buffer), exit on keypress
  • compositor -> Wayland protocol implementation [in progress]

Compositor status

Rendering supports both wl_shm and wl_drm and should display fine, but without any optimizations (e.g.: full redraw on every VBLANK, 1 frame of latency for fast clients...) at the moment.

Keyboard settings support through XKB_DEFAULT* environmental variables.

Press F1 to exit

Test it with the clients:

  • weston-simple-shm
  • weston-simple-egl
  • weston-terminal

Bugs:

  • sometimes simple-egl fails at egl_init [solved?]
  • sometimes simple-egl fails and the process survives the death of the compositor with full CPU usage (related to keyboard_enter_surface code) [solved?]

About

Experimenting with the tools required to make a Wayland compositor

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.