[VDPAU] VDPAU without X11?

Andre andreesteve at gmail.com
Sun Jan 21 05:18:23 UTC 2018


Hi,

I am trying to use hardware acceleration to decode/encode streams using
ffmpeg on a headless (no XOrg server) server with a NVidia GK104 [GeForce
GTX 670].

NVidia docs hint to the possibility of VDPAU not requiring X11 [1], however
I couldn't find anything that would work. The closest I got (and that's
pretty far :( still) is trying to use VAAPI with VDPAU backend - but I get
a segfault on the libvdpau, if my understanding is correct:

#0  0x00007fffec192870 in XDisplayString () from /usr/lib/libX11.so.6
#1  0x00007fffe456e917 in __vaDriverInit_1_0 () from
/usr/lib/dri/vdpau_drv_video.so
#2  0x00007ffff213a03c in ?? () from /usr/lib/libva.so.2
#3  0x00007ffff213b1bf in vaInitialize () from /usr/lib/libva.so.2
#4  0x00007ffff50bad9c in ?? () from /usr/lib/libavutil.so.55
#5  0x00007ffff50b7890 in av_hwdevice_ctx_create () from
/usr/lib/libavutil.so.55

This happens despite using nouveau or nvidia drivers.

Do you know if it is possible to get either direct VDPAU or through VAAPI
hardware acceleration without running X?

Thank you in advance!
Andre

[1] Entry Point Retrieval -
https://http.download.nvidia.com/XFree86/vdpau/doxygen/html/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/vdpau/attachments/20180120/c30d8491/attachment.html>


More information about the VDPAU mailing list