[fpc-pascal] Linux DRM (Direct Rendering Manager) porting (kernel mode setting)

Rainer Stratmann rainerstratmann at t-online.de
Tue Apr 16 21:41:57 CEST 2019


The code below is now ported into pascal.
That took me about 2-3 weeks.

Anyone who is interested can write directly to me.
It's mainly for embedded projects writing directly into the framebuffer.

You can enquire and set the resolution of all possible connectors (monitor: 
for example vga, hdmi, dvi connector).
You get a mempointer to a framebuffer.
It is possible to have access to more than one connector at the same time if 
the mainboard or graphic card supports it.


On Donnerstag, 21. März 2019 23:41:08 CEST Rainer Stratmann wrote:
> Currently I am porting some C code from the Linux DRM Mode-Setting API to
> pascal. First in my own way. So that it is usable for me. But it would be
> possible to make a separate unit out of it, of course.
> 
> I could compile the modeset.c code with the Linux compiler. It runs well on
> Linux. It's a good assist to check the progress of the porting.
> 
> https://dvdhrm.wordpress.com/2012/09/13/linux-drm-mode-setting-api/
> 
> Also the library code has to be ported. That is not easy, but should be
> possible. About 1/3rd of the work is done, I guess.
> 
> May be someone is also interested in DRM and we can divide the work :-)
> 
> With DRM you can have access to all the possible video connectors on the
> mainboard. You can have access to the framebuffer directly for example. It
> is interesting for embedded devices, like I am working with.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal





More information about the fpc-pascal mailing list