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/’!
→ /usr/lib/aarch64-linux-gnu/ undefined symbol: drmgetDevice2

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

Can I use “directFB”?