Tool/software:
Hi everyone,
I’m currently debugging a display application on a Linux-based system. My goal is to remove Weston to reduce system overhead and instead use the GBM/DRM interface directly for rendering and displaying graphics.
During this process, I’ve encountered some issues with initializing DRM and creating GBM surfaces. While exploring the SDK, I noticed that the kmdcube
example uses a similar GBM/DRM-based display path, which seems very helpful for my use case.
I would like to ask the following:
1.Is it possible to obtain the full source code of kmscube or kmdcube? I’d like to study how it handles DRM initialization, buffer allocation, page flipping, etc.
2.Is there any documentation available for this example, including its dependencies and build instructions?
3.Are there any other simple or minimal examples available that demonstrate GBM/DRM rendering without Weston?
Any help or guidance would be greatly appreciated. Thank you!