This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62P: How to obtain KMSCUBE source code for reference in GBM/DRM display implementation (without Weston)?

Part Number: AM62P

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!