Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 750248

Summary: media-video/ffmpeg-4.3.1: Add CUDA support
Product: Gentoo Linux Reporter: Gregory Beauregard <gentoobugs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gregory Beauregard 2020-10-19 19:26:19 UTC
It seems at some point compiling with CUDA got removed from the package, but I can't find reference for why or when. The NVDEC/NVENC things are compiled in fine. Compiling cuda in is needed to enable additional CUDA-based filters that allow video transcoding to be kept in GPU. For example, yadif_cuda.

See also https://bugs.gentoo.org/695210 for an additional filter that can be enabled if the system has CUDA
Comment 1 Gregory Beauregard 2020-10-19 19:55:01 UTC
it's masked
Comment 2 Ionen Wolkens gentoo-dev 2020-10-19 20:45:54 UTC
We were discussing this on IRC, the reason for the stable mask of "all" USE=cuda is because it tend to pull in nvidia-cuda-* packages which are not stable.

However USE=cuda on ffmpeg does not pull this, it just need NVPTX target on llvm.

I feel it needs to be exempted from the mask, not that I've investigated further.