conda-forge / ffmpeg-feedstock

A conda-smithy repository for ffmpeg.
BSD 3-Clause "New" or "Revised" License
14 stars 44 forks source link

Latest versions of ffmpeg with openvino warn on environment activation #236

Closed erykoff closed 6 months ago

erykoff commented 6 months ago

Solution to issue cannot be found in the documentation.

Issue

Since the addition of libopenvino in #223 then a simple installation of ffmpeg on linux:

mamba create -n ffmpegtest ffmpeg
conda activate ffmpegtest

Gives the following warning on environment activation:

WARNING: No ICDs were found. Either,
- Install a conda package providing a OpenCL implementation (pocl, oclgrind, intel-compute-runtime, beignet) or 
- Make your system-wide implementation visible by installing ocl-icd-system conda package. 

I don't know if the problem is with ffmpeg or libopenvino, but it's not a good look. cc @hmaarrfk @ilya-lavrenov

Installed packages

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
aom                       3.8.1                h59595ed_0    conda-forge
bzip2                     1.0.8                hd590300_5    conda-forge
cairo                     1.18.0               h3faef2a_0    conda-forge
dav1d                     1.2.1                hd590300_0    conda-forge
expat                     2.6.1                h59595ed_0    conda-forge
ffmpeg                    6.1.1           gpl_h8007c5b_104    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_1    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.12.1               h267a509_2    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gettext                   0.21.1               h27087fc_0    conda-forge
gmp                       6.3.0                h59595ed_0    conda-forge
gnutls                    3.7.9                hb077bed_0    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
harfbuzz                  8.3.0                h3d44ed6_0    conda-forge
icu                       73.2                 h59595ed_0    conda-forge
lame                      3.100             h166bdaf_1003    conda-forge
libabseil                 20240116.1      cxx17_h59595ed_2    conda-forge
libass                    0.17.1               h8fe9dca_1    conda-forge
libdrm                    2.4.120              hd590300_0    conda-forge
libexpat                  2.6.1                h59595ed_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 13.2.0               h807b86a_5    conda-forge
libglib                   2.78.4               hf2295e7_4    conda-forge
libgomp                   13.2.0               h807b86a_5    conda-forge
libhwloc                  2.9.3           default_h554bfaf_1009    conda-forge
libiconv                  1.17                 hd590300_2    conda-forge
libidn2                   2.3.7                hd590300_0    conda-forge
libopenvino               2023.3.0             h2e90f83_2    conda-forge
libopenvino-auto-batch-plugin 2023.3.0             hd5fc58b_2    conda-forge
libopenvino-auto-plugin   2023.3.0             hd5fc58b_2    conda-forge
libopenvino-hetero-plugin 2023.3.0             h3ecfda7_2    conda-forge
libopenvino-intel-cpu-plugin 2023.3.0             h2e90f83_2    conda-forge
libopenvino-intel-gpu-plugin 2023.3.0             h2e90f83_2    conda-forge
libopenvino-ir-frontend   2023.3.0             h3ecfda7_2    conda-forge
libopenvino-onnx-frontend 2023.3.0             h469e5c9_2    conda-forge
libopenvino-paddle-frontend 2023.3.0             h469e5c9_2    conda-forge
libopenvino-pytorch-frontend 2023.3.0             h59595ed_2    conda-forge
libopenvino-tensorflow-frontend 2023.3.0             he1e0747_2    conda-forge
libopenvino-tensorflow-lite-frontend 2023.3.0             h59595ed_2    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpciaccess              0.18                 hd590300_0    conda-forge
libpng                    1.6.43               h2797004_0    conda-forge
libprotobuf               4.25.2               h08a7969_1    conda-forge
libstdcxx-ng              13.2.0               h7e041cc_5    conda-forge
libtasn1                  4.19.0               h166bdaf_0    conda-forge
libunistring              0.9.10               h7f98852_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libva                     2.20.0               hd590300_0    conda-forge
libvpx                    1.13.1               h59595ed_0    conda-forge
libxcb                    1.15                 h0b41bf4_0    conda-forge
libxml2                   2.12.5               h232c23b_0    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
nettle                    3.9.1                h7ab15ed_0    conda-forge
ocl-icd                   2.3.2                hd590300_0    conda-forge
openh264                  2.4.1                h59595ed_0    conda-forge
p11-kit                   0.24.1               hc5aa10d_0    conda-forge
pcre2                     10.43                hcad00b1_0    conda-forge
pixman                    0.43.2               h59595ed_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pugixml                   1.14                 h59595ed_0    conda-forge
snappy                    1.1.10               h9fff704_0    conda-forge
svt-av1                   1.8.0                h59595ed_0    conda-forge
tbb                       2021.11.0            h00ab1b0_1    conda-forge
x264                      1!164.3095           h166bdaf_2    conda-forge
x265                      3.5                  h924138e_3    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.1.1                hd590300_0    conda-forge
xorg-libsm                1.2.4                h7391055_0    conda-forge
xorg-libx11               1.8.7                h8ee46fc_0    conda-forge
xorg-libxau               1.0.11               hd590300_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxrender           0.9.11               hd590300_0    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
zlib                      1.2.13               hd590300_5    conda-forge

Environment info

active environment : ffmpegtest
    active env location : /u2/ki/erykoff/miniforge3/envs/ffmpegtest
            shell level : 2
       user config file : /u/ki/erykoff/.condarc
 populated config files : /u2/ki/erykoff/miniforge3/.condarc
                          /u/ki/erykoff/.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=11.2=0
                          __glibc=2.17=0
                          __linux=3.10.0=0
                          __unix=0=0
       base environment : /u2/ki/erykoff/miniforge3  (writable)
      conda av data dir : /u2/ki/erykoff/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /u2/ki/erykoff/miniforge3/pkgs
                          /u/ki/erykoff/.conda/pkgs
       envs directories : /u2/ki/erykoff/miniforge3/envs
                          /u/ki/erykoff/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.31.0 CPython/3.10.12 Linux/3.10.0-1160.88.1.el7.x86_64 centos/7.9.2009 glibc/2.17
                UID:GID : 10646:1092
             netrc file : /u/ki/erykoff/.netrc
           offline mode : False
hmaarrfk commented 6 months ago

Shall we close this in favor of: https://github.com/conda-forge/ocl-icd-feedstock/issues/29

hmaarrfk commented 6 months ago

also xref: https://github.com/conda-forge/openvino-feedstock/pull/73

erykoff commented 6 months ago

I can close this, yes. But I'm confused if https://github.com/conda-forge/openvino-feedstock/pull/73 is merged then why is this still a problem (and https://github.com/conda-forge/ocl-icd-feedstock/issues/29 is still open).