[VDPAU] VDPAU without X11?
Philip Langdale
philipl at overt.org
Tue Jan 23 22:43:42 UTC 2018
On 2018-01-22 08:16, Stephen Warren wrote:
> On 01/20/2018 10:18 PM, Andre wrote:
>> 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].
>
> There's no way to use VDPAU without X11.
>
>> NVidia docs hint to the possibility of VDPAU not requiring X11 [1],
>> however I couldn't find anything that would work.
>
> To use VDPAU without X11, someone would need to define and implement a
> "window system integration layer" that provides the ability to use
> VDPAU with a different display system. In other words, we would need
> the equivalent of vdpau_x11.h for the other windowing/display system.
> AFAIK, no such thing exists at present.
You can however use nvdec (nvidia's proprietary cross platform API) to
do headless decoding, and
ffmpeg supports it too. And if you are actually trying to do full
hardware transcoding (although
Kepler has noticeably more limited encoding capabilities than later
generations), you have to use
nvdec, as ffmpeg only implements hardware surface passing via cuda. (And
when I tried to use
the vdpau/cuda interop, I locked up the GPU...)
--phil
More information about the VDPAU
mailing list