Rendering without x-window on ununtu 16.0.4

I want to rendering a movie without x-window on ubuntu 16.0.4.
So, I installed directFB 1.8 and tried it.
directFB didn’t work well.
The log message is
(!) Direct/Modules: Unable to dlopen ‘/usr/local/lib/directfb-1.8-0/systems/libdirectfb_mesa_system.so’!
→ /usr/lib/aarch64-linux-gnu/libgdm.so.1: undefined symbol: drmgetDevice2

I think that dermgetDevice2 includes in libdrm.so
But, customized libdrm.so for tegra does not include it.
the files are “libdrm.so.2.4.0” and “libdrm_tegra.so.0.0.0” under /usr/lib/aarch64-linux-gnus.
I checked it by “readelf -s libdrm* | grep -i drmgetdevice2” command.

Can I use “directFB”?