sysprog21 / mado

A window system for resource-constrained devices
MIT License
40 stars 15 forks source link

Implement DRM backend #60

Open shengwen-tw opened 1 month ago

shengwen-tw commented 1 month ago

The Linux Framebuffer Device (fbdev) is an older graphics interface in Linux, serving as a simple abstraction for a display framebuffer in memory. However, it offers limited functionality compared to DRM (Direct Rendering Manager).

In contrast, DRM provides a unified and consistent API for managing graphics devices, including support for multiple displays and GPUs. It allows for advanced display configuration, such as setting resolution, color depth, and other display modes.

Check also https://github.com/sysprog21/mado/issues/3

Bennctu commented 1 month ago

Can I take on this issue?

jserv commented 1 month ago

Can I take on this issue?

Go ahead.

huaxinliao commented 4 weeks ago

I would also like to help solve this issue.

jserv commented 3 weeks ago

I would also like to help solve this issue.

To proceed, start with the Linux framebuffer backend. For example, build Mado on a Raspberry Pi and run it without the X Window System. You may encounter some unexpected behavior, which will provide an opportunity to make your own contributions. Later, when working with the DRM/KMS driver, you can build on the knowledge gained from the Linux framebuffer backend.

jserv commented 3 weeks ago

drmu contains several nice programs for using DRM.

jserv commented 1 week ago

drmlist is a Linux program for direct interaction with Graphics Rendering devices, enabling: