Ffmpeg fedora 36 with Nvidia 2060?

I would like to know what flag. Do I need to use to get FFmpeg use my 2060 GPU ?

I move my video card to a 2060. I try to install NV-accelerated from the NVIDIA site. I get this error No match for argument: build-essential No match for argument: libc6No match for argument: libc6-devPackage unzip-6.0-57.fc36.x86_64 is already installed. Package wget-1.21.3-1.fc36.x86_64 is already installed. No match for argument: libnuma1No match for argument: libnuma-dev. But When I to install the missing package. I get there all ready installed. Is there a more simple way to get FFmpeg to work

Very very simple

  1. remove the nvidia software installed from nvidia.com
    This must be done to avoid potential conflict with the drivers.

  2. install the nvidia drivers from rpmfusion.
    sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

  3. Wait at least 5 minutes for the nvidia modules to be built, then reboot.

  4. remove ffmpeg from fedora and install ffmpeg from rpmfusion
    sudo dnf swap ffmpeg-free ffmpeg --allowerasing

You should now have a fully functional nvidia GPU as well as a fully functioning ffmpeg.

Using this method eliminates the need to compile anything during the install, and will automatically keep things updated when your system is updated.

1 Like

Any thoughts on how can this be achieved on rpm-ostree distros?
Remote overrides/replacements aren’t implemented yet…