Page MenuHomeSolus

Rebuild with Nvidia Video Codec API enabled

Authored by mati865 on Dec 14 2018, 11:44 AM.



Enable NVDEC and NVENC acceleration.
Depends on D4664
Fixes T7311

Test Plan

Check configure output for:

Checking for CUDA Headers and dynamic loader                         : yes 
Checking for CUDA hwaccel                                            : yes

Play video with mpv --hwdec=nvdec path/to/video on a system with Nvidia drivers 390+ and run nvidia-smi to see if CUDA is being used:

|  GPU       PID   Type   Process name                             Usage      |
|    0     11935    C+G   mpv                                          694MiB |

Diff Detail

R2107 mpv
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mati865 created this revision.Dec 14 2018, 11:44 AM
mati865 requested review of this revision.Dec 14 2018, 11:44 AM
DataDrake accepted this revision.Dec 17 2018, 2:02 AM
DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

This revision is now accepted and ready to land.Dec 17 2018, 2:02 AM
This revision was automatically updated to reflect the committed changes.

You forgot to bump. I'll fix it this time, but make sure you are more careful in the future.

Shame on me.
Thanks for the fix.