hi, when upgrading to current kodi the deps to media-video/ffmpeg-4.3.2 pull in >nv-codec-headers-8.1 which pulls nvidia driver > *:390 which doesn't support older cards and renders the hardware unusable. is there a specific need for the >nv-codec-headers-8.1 dep ? the dep should be fulfilled with 8.1 which will accept also nvidia-driver=>390 thanks! Reproducible: Always
It's needed to build ffnvcodec (nvenc) with modern ffmpeg, but that's optional. You can avoid the dependency by setting USE=-video_cards_nvidia on ffmpeg and it'll let you use 390.xx just fine. ffnvcodec is primarily used for encoding with the GPU, vdpau will still work without this. I do feel it's not a great way to handle this by default especially for legacy users (I've seen confused users often in the forums/IRC), even users of modern cards don't necessarily use nvenc but will have VIDEO_CARDS=nvidia set. Was discussed a bit in bug #766531 already (a USE=nvenc was suggested), but that bug was more about uvm.
great explanation, thanks!
Glad to hear it's working out, but I'll leave this open unless maintainer(s) think otherwise. I feel this should be improved.
Fixed by: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55690b2a098006300bbc2624a15c41f47396cd5c