styler00dollar / VSGAN-tensorrt-docker

Using VapourSynth with super resolution and interpolation models and speeding them up with TensorRT.
BSD 3-Clause "New" or "Revised" License
270 stars 30 forks source link

can't build docker image #61

Closed yuvraj108c closed 7 months ago

yuvraj108c commented 7 months ago
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 2B                                                                                    0.0s
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 44.06kB                                                                            0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:12.1.1-runtime-ubuntu22.04                                  0.3s
 => [internal] load metadata for docker.io/library/ubuntu:22.04                                                    0.3s
 => [internal] load metadata for docker.io/nvidia/cuda:12.1.1-devel-ubuntu22.04                                    0.3s
 => [internal] load metadata for docker.io/library/archlinux:latest                                                0.4s
 => CACHED [final  1/33] FROM docker.io/nvidia/cuda:12.1.1-runtime-ubuntu22.04@sha256:8bbc6e304b193e84327fa30d93e  0.0s
 => [cupy-ubuntu 1/5] FROM docker.io/nvidia/cuda:12.1.1-devel-ubuntu22.04@sha256:7012e535a47883527d402da998384c3  96.0s
 => => resolve docker.io/nvidia/cuda:12.1.1-devel-ubuntu22.04@sha256:7012e535a47883527d402da998384c30b936140c05e2  0.0s
 => => sha256:5ed6afba2273ea765959f27eac12e3ab9f863ffc0a702458453c27f66903f8c7 17.26kB / 17.26kB                   0.0s
 => => sha256:7012e535a47883527d402da998384c30b936140c05e2537158c80b8143ee7425 743B / 743B                         0.0s
 => => sha256:22ba0fb08ae2d48e74c162458e138662946b32e12d711832122e465210ecbee8 2.55GB / 2.55GB                    14.5s
 => => sha256:327c9e046fbf662275be0934742f7e5412f9b24402ee90bf4d649c1a21707912 2.63kB / 2.63kB                     0.0s
 => => sha256:4d37a6bba88ff56fdbfcacd9ed2e4c2030b712adb162e0efa69b82ca7220a069 88.37kB / 88.37kB                   0.4s
 => => extracting sha256:22ba0fb08ae2d48e74c162458e138662946b32e12d711832122e465210ecbee8                         81.2s
 => => extracting sha256:4d37a6bba88ff56fdbfcacd9ed2e4c2030b712adb162e0efa69b82ca7220a069                          0.0s
 => CACHED [final  2/33] WORKDIR workspace                                                                         0.0s
 => [final  3/33] RUN apt update -y && apt install wget git cuda-cudart-dev-12-1 linux-libc-dev -y                19.1s
 => [bestsource-lsmash-ffms2-vs  1/31] FROM docker.io/library/ubuntu:22.04@sha256:f9d633ff6640178c2d0525017174a68  0.0s
 => CACHED [ffmpeg-arch  1/42] FROM docker.io/library/archlinux@sha256:fed6efe803e79d94544f93607e4afec1056cfd9bee  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 37B                                                                                   0.0s
 => CACHED [bestsource-lsmash-ffms2-vs  2/31] WORKDIR workspace                                                    0.0s
 => CACHED [bestsource-lsmash-ffms2-vs  3/31] RUN apt update -y                                                    0.0s
 => [opencv-ubuntu 2/3] RUN apt-get update && apt-get upgrade -y &&    apt-get install -y         build-essenti  128.2s
 => [bestsource-lsmash-ffms2-vs  4/31] RUN apt install autoconf libtool nasm ninja-build yasm python3.11 python3  51.8s
 => [ffmpeg-arch  2/42] RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman   pacman -Syu --noconfir  115.4s
 => CACHED [base  2/55] COPY nvidia_icd.json /etc/vulkan/icd.d/nvidia_icd.json                                     0.0s
 => CACHED [base  3/55] RUN apt-get update && apt-get install -y --no-install-recommends   gnupg2 curl ca-certifi  0.0s
 => [base  4/55] RUN apt-get update && apt-get install -y --no-install-recommends   cuda-12-1   cuda-cudart-12-  298.6s
 => [bestsource-lsmash-ffms2-vs  5/31] RUN apt --fix-broken install                                                2.4s
 => [bestsource-lsmash-ffms2-vs  6/31] RUN pip install meson ninja cython                                          4.4s
 => [bestsource-lsmash-ffms2-vs  7/31] RUN apt install build-essential manpages-dev software-properties-common -  35.6s
 => [bestsource-lsmash-ffms2-vs  8/31] RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y                      12.7s
 => [cupy-ubuntu 2/5] RUN apt-get -y update && apt-get install -y   curl   make   gcc   wget   libssl-dev   libf  32.6s
 => [tensorrt-ubuntu  2/14] RUN apt update -y && apt install liblzma-dev libbz2-dev ca-certificates openssl lib  318.4s
 => [bestsource-lsmash-ffms2-vs  9/31] RUN apt update -y && apt install gcc-13 g++-13 -y                          29.1s
 => [ffmpeg-arch  3/42] RUN useradd --system --create-home makepkg &&   echo "makepkg ALL=(ALL:ALL) NOPASSWD:ALL"  1.6s
 => [ffmpeg-arch  4/42] WORKDIR /home/makepkg                                                                      0.1s
 => [ffmpeg-arch  5/42] RUN git clone https://aur.archlinux.org/yay.git &&   cd yay &&   makepkg -sri --needed -  56.4s
 => CANCELED [opencv-ubuntu 3/3] RUN python3.11 -m pip install --upgrade pip setuptools wheel && python3.11 -m   317.0s
 => [cupy-ubuntu 3/5] RUN python3.11 -m pip install --upgrade pip                                                  6.8s
 => [cupy-ubuntu 4/5] RUN python3.11 -m pip install torch torchvision torchaudio                                 138.2s
 => [bestsource-lsmash-ffms2-vs 10/31] RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13       0.6s
 => [bestsource-lsmash-ffms2-vs 11/31] RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13       0.7s
 => [bestsource-lsmash-ffms2-vs 12/31] RUN apt-get install checkinstall -y                                         3.8s
 => [bestsource-lsmash-ffms2-vs 13/31] RUN git clone https://github.com/sekrit-twc/zimg --recursive && cd zimg &  35.0s
 => [ffmpeg-arch  6/42] RUN yay -Syu rust tcl nasm cmake jq libtool wget fribidi fontconfig libsoxr meson pod2ma  36.4s
 => [bestsource-lsmash-ffms2-vs 14/31] RUN wget https://github.com/vapoursynth/vapoursynth/archive/refs/tags/R65  73.2s
 => [ffmpeg-arch  7/42] RUN mkdir -p "/home/makepkg/python311"                                                     1.2s
 => CANCELED [ffmpeg-arch  8/42] RUN wget https://github.com/python/cpython/archive/refs/tags/v3.11.3.tar.gz &&  231.6s
 => [bestsource-lsmash-ffms2-vs 15/31] RUN git clone https://code.videolan.org/videolan/dav1d/ &&   cd dav1d &&   24.2s
 => [mmcv-ubuntu 5/6] RUN python3.11 -m pip install ninja                                                          1.7s
 => CANCELED [cupy-ubuntu 5/5] RUN git clone https://github.com/cupy/cupy --recursive && cd cupy && git submodu  172.2s
 => [bestsource-lsmash-ffms2-vs 16/31] RUN apt remove ffmpeg -y                                                    1.8s
 => CANCELED [mmcv-ubuntu 6/6] RUN git clone https://github.com/styler00dollar/mmcv --recursive && cd mmcv && M  170.5s
 => [bestsource-lsmash-ffms2-vs 17/31] RUN git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 && cd ffmpeg &&  61.6s
 => [base  5/55] RUN echo "/usr/local/nvidia/lib" >>/etc/ld.so.conf.d/nvidia.conf &&   echo "/usr/local/nvidia/li  0.5s
 => [base  6/55] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends   8.5s
 => [base  7/55] WORKDIR workspace                                                                                 0.0s
 => CANCELED [base  8/55] RUN apt update -y && apt install liblzma-dev libbz2-dev ca-certificates openssl libss  136.2s
 => [bestsource-lsmash-ffms2-vs 18/31] RUN git clone https://github.com/akheron/jansson && cd jansson && autorec  11.0s
 => [bestsource-lsmash-ffms2-vs 19/31] RUN apt install cmake -y                                                    4.0s
 => [bestsource-lsmash-ffms2-vs 20/31] RUN git clone https://github.com/KhronosGroup/Vulkan-Headers.git && cd Vul  5.8s
 => [bestsource-lsmash-ffms2-vs 21/31] RUN git clone https://github.com/FFmpeg/nv-codec-headers && cd nv-codec-he  1.4s
 => [bestsource-lsmash-ffms2-vs 22/31] RUN git clone https://github.com/libarchive/bzip2 && cd bzip2 &&   mkdir b  9.0s
 => [bestsource-lsmash-ffms2-vs 23/31] RUN apt-get install -y && git clone https://github.com/vapoursynth/bestsou  9.5s
 => [bestsource-lsmash-ffms2-vs 24/31] RUN apt remove ffmpeg -y                                                    1.8s
 => [bestsource-lsmash-ffms2-vs 25/31] RUN rm -rf FFmpeg                                                           1.3s
 => [bestsource-lsmash-ffms2-vs 26/31] RUN git clone https://github.com/HomeOfAviSynthPlusEvolution/FFmpeg --dep  14.2s
 => ERROR [bestsource-lsmash-ffms2-vs 27/31] RUN cd FFmpeg &&   LDFLAGS="-Wl,-Bsymbolic" CFLAGS=-fPIC ./configur  47.4s
 => [tensorrt-ubuntu  3/14] RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.11 1   1.8s
 => [tensorrt-ubuntu  4/14] RUN wget "https://bootstrap.pypa.io/get-pip.py" && python get-pip.py --force-reinsta  10.3s
 => CANCELED [tensorrt-ubuntu  5/14] RUN apt-get update && apt-get install -y --no-install-recommends libnvinfer  16.9s

25.06 ./libavutil/intreadwrite.h:223:63: warning: array subscript 4 is outside array bounds of 'VLC_MULTI_ELEM[1]' [-Warray-bounds=]
25.06   223 | #   define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
25.06       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
25.06 ./libavutil/intreadwrite.h:370:26: note: in expansion of macro 'AV_WN'
25.06   370 | #   define AV_WN16(p, v) AV_WN(16, p, v)
25.06       |                          ^~~~~
25.06 libavcodec/vlc.c:443:26: note: in expansion of macro 'AV_WN16'
25.06   443 |             if (is16bit) AV_WN16(info.val+2*curlevel, sym);
25.06       |                          ^~~~~~~
25.06 libavcodec/vlc.c: In function 'ff_vlc_init_multi_from_lengths':
25.06 libavcodec/vlc.c:514:5: note: at offset 8 into object 'info' of size 8
25.06   514 | int ff_vlc_init_multi_from_lengths(VLC *vlc, VLC_MULTI *multi, int nb_bits, int nb_elems,
25.06       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.06 In function 'add_level',
25.06     inlined from 'add_level' at libavcodec/vlc.c:457:17,
25.06     inlined from 'add_level' at libavcodec/vlc.c:457:17,
25.06     inlined from 'add_level' at libavcodec/vlc.c:457:17,
25.06     inlined from 'add_level' at libavcodec/vlc.c:457:17,
25.06     inlined from 'add_level' at libavcodec/vlc.c:457:17,
25.06     inlined from 'vlc_multi_gen' at libavcodec/vlc.c:505:5,
25.06     inlined from 'ff_vlc_init_multi_from_lengths' at libavcodec/vlc.c:561:11:
25.06 ./libavutil/intreadwrite.h:223:63: warning: array subscript 5 is outside array bounds of 'VLC_MULTI_ELEM[1]' [-Warray-bounds=]
25.06   223 | #   define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
25.06       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
25.06 ./libavutil/intreadwrite.h:370:26: note: in expansion of macro 'AV_WN'
25.06   370 | #   define AV_WN16(p, v) AV_WN(16, p, v)
25.06       |                          ^~~~~
25.06 libavcodec/vlc.c:443:26: note: in expansion of macro 'AV_WN16'
25.06   443 |             if (is16bit) AV_WN16(info.val+2*curlevel, sym);
25.06       |                          ^~~~~~~
25.06 libavcodec/vlc.c: In function 'ff_vlc_init_multi_from_lengths':
25.06 libavcodec/vlc.c:514:5: note: at offset 10 into object 'info' of size 8
25.06   514 | int ff_vlc_init_multi_from_lengths(VLC *vlc, VLC_MULTI *multi, int nb_bits, int nb_elems,
25.06       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.08 CC        libavcodec/vp9data.o
25.10 CC        libavcodec/vp9dsp.o
25.12 CC        libavcodec/vp9dsp_10bpp.o
25.12 CC        libavcodec/vp9dsp_12bpp.o
25.14 CC        libavcodec/vp9dsp_8bpp.o
25.18 CC        libavcodec/vp9lpf.o
25.20 CC        libavcodec/vp9mvs.o
25.20 CC        libavcodec/vp9prob.o
25.22 CC        libavcodec/vp9recon.o
25.23 CC        libavcodec/vqavideo.o
25.23 CC        libavcodec/vpx_rac.o
25.30 CC        libavcodec/vqcdec.o
25.31 CC        libavcodec/vulkan.o
25.34 CC        libavcodec/vulkan_av1.o
25.36 CC        libavcodec/vulkan_decode.o
25.37 CC        libavcodec/vulkan_h264.o
25.37 CC        libavcodec/vulkan_hevc.o
25.43 CC        libavcodec/vulkan_video.o
25.45 In file included from libavcodec/vulkan_decode.c:21:
25.45 libavcodec/vulkan_decode.h:31:5: error: unknown type name 'VkVideoDecodeAV1ProfileInfoMESA'
25.45    31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;
25.45       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.46 In file included from libavcodec/vulkan_av1.c:21:
25.46 libavcodec/vulkan_decode.h:31:5: error: unknown type name 'VkVideoDecodeAV1ProfileInfoMESA'
25.46    31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;
25.46       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.46 libavcodec/vulkan_av1.c:38:5: error: unknown type name 'StdVideoAV1MESATile'
25.46    38 |     StdVideoAV1MESATile            tiles[MAX_TILES];
25.46       |     ^~~~~~~~~~~~~~~~~~~
25.46 libavcodec/vulkan_av1.c:39:5: error: unknown type name 'StdVideoAV1MESATileList'
25.46    39 |     StdVideoAV1MESATileList        tile_list;
25.46       |     ^~~~~~~~~~~~~~~~~~~~~~~
25.46 libavcodec/vulkan_av1.c:43:5: error: unknown type name 'VkVideoDecodeAV1DpbSlotInfoMESA'
25.46    43 |     VkVideoDecodeAV1DpbSlotInfoMESA    vkav1_ref;
25.46       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.46 libavcodec/vulkan_av1.c:44:5: error: unknown type name 'StdVideoAV1MESAFrameHeader'
25.46    44 |     StdVideoAV1MESAFrameHeader         av1_frame_header;
25.46       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
25.46 libavcodec/vulkan_av1.c:45:5: error: unknown type name 'VkVideoDecodeAV1PictureInfoMESA'
25.46    45 |     VkVideoDecodeAV1PictureInfoMESA    av1_pic_info;
25.46       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.46 libavcodec/vulkan_av1.c:49:5: error: unknown type name 'VkVideoDecodeAV1DpbSlotInfoMESA'
25.46    49 |     VkVideoDecodeAV1DpbSlotInfoMESA     vkav1_refs[AV1_NUM_REF_FRAMES];
25.46       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.47 libavcodec/vulkan_av1.c:58:29: error: unknown type name 'VkVideoDecodeAV1DpbSlotInfoMESA'; did you mean 'VkVideoDecodeAV1DpbSlotInfoKHR'?
25.47    58 |                             VkVideoDecodeAV1DpbSlotInfoMESA *vkav1_ref, /* Goes in ^ */
25.47       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.47       |                             VkVideoDecodeAV1DpbSlotInfoKHR
25.47 libavcodec/vulkan_av1.c: In function 'vk_av1_create_params':
25.47 libavcodec/vulkan_av1.c:113:5: error: unknown type name 'StdVideoAV1MESASequenceHeader'; did you mean 'StdVideoAV1SequenceHeader'?
25.47   113 |     StdVideoAV1MESASequenceHeader av1_sequence_header;
25.47       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.47       |     StdVideoAV1SequenceHeader
25.48 libavcodec/vulkan_av1.c:114:5: error: unknown type name 'VkVideoDecodeAV1SessionParametersAddInfoMESA'; did you mean 'VkVideoDecodeH265SessionParametersAddInfoKHR'?
25.48   114 |     VkVideoDecodeAV1SessionParametersAddInfoMESA av1_params_info;
25.48       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.48       |     VkVideoDecodeH265SessionParametersAddInfoKHR
25.48 libavcodec/vulkan_decode.c: In function 'get_video_profile':
25.48 libavcodec/vulkan_decode.c:53:40: error: 'VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_MESA' undeclared (first use in this function); did you mean 'VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_KHR'?
25.48    53 |         codec_id == AV_CODEC_ID_AV1  ? VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_MESA :
25.48       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.48       |                                        VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_KHR
25.48 libavcodec/vulkan_decode.c:53:40: note: each undeclared identifier is reported only once for each function it appears in
25.49 libavcodec/vulkan_av1.c:115:5: error: unknown type name 'VkVideoDecodeAV1SessionParametersCreateInfoMESA'; did you mean 'VkVideoDecodeAV1SessionParametersCreateInfoKHR'?
25.49   115 |     VkVideoDecodeAV1SessionParametersCreateInfoMESA av1_params;
25.49       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.49       |     VkVideoDecodeAV1SessionParametersCreateInfoKHR
25.50 libavcodec/vulkan_decode.c: At top level:
25.50 libavcodec/vulkan_decode.c:666:38: error: unknown type name 'VkVideoDecodeAV1CapabilitiesMESA'; did you mean 'VkVideoDecodeAV1CapabilitiesKHR'?
25.50   666 |                                      VkVideoDecodeAV1CapabilitiesMESA *av1_caps,
25.50       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.50       |                                      VkVideoDecodeAV1CapabilitiesKHR
25.50 In file included from libavcodec/vulkan_h264.c:22:
25.50 libavcodec/vulkan_decode.h:31:5: error: unknown type name 'VkVideoDecodeAV1ProfileInfoMESA'
25.50    31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;
25.50       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.50 libavcodec/vulkan_av1.c:120:28: error: 'StdVideoAV1MESASequenceHeader' undeclared (first use in this function); did you mean 'StdVideoAV1SequenceHeader'?
25.50   120 |     av1_sequence_header = (StdVideoAV1MESASequenceHeader) {
25.50       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.50       |                            StdVideoAV1SequenceHeader
25.50 libavcodec/vulkan_av1.c:120:28: note: each undeclared identifier is reported only once for each function it appears in
25.50 libavcodec/vulkan_av1.c:120:58: error: expected ';' before '{' token
25.50   120 |     av1_sequence_header = (StdVideoAV1MESASequenceHeader) {
25.50       |                                                          ^~
25.50       |                                                          ;
25.50 libavcodec/vulkan_decode.c: In function 'vulkan_decode_get_profile':
25.50 make: *** [ffbuild/common.mak:81: libavcodec/vulkan_h264.o] Error 1
25.51 make: *** Waiting for unfinished jobs....
25.51 libavcodec/vulkan_decode.c:761:5: error: unknown type name 'VkVideoDecodeAV1CapabilitiesMESA'; did you mean 'VkVideoDecodeAV1CapabilitiesKHR'?
25.51   761 |     VkVideoDecodeAV1CapabilitiesMESA av1_caps = {
25.51       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.51       |     VkVideoDecodeAV1CapabilitiesKHR
25.51 libavcodec/vulkan_decode.c:762:9: error: field name not in record or union initializer
25.51   762 |         .sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_MESA,
25.51       |         ^
25.51 libavcodec/vulkan_decode.c:762:9: note: (near initialization for 'av1_caps')
25.53 libavcodec/vulkan_av1.c:171:24: error: 'VkVideoDecodeAV1SessionParametersAddInfoMESA' undeclared (first use in this function); did you mean 'VkVideoDecodeH265SessionParametersAddInfoKHR'?
25.53   171 |     av1_params_info = (VkVideoDecodeAV1SessionParametersAddInfoMESA) {
25.53       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.53       |                        VkVideoDecodeH265SessionParametersAddInfoKHR
25.53 libavcodec/vulkan_av1.c:171:69: error: expected ';' before '{' token
25.53   171 |     av1_params_info = (VkVideoDecodeAV1SessionParametersAddInfoMESA) {
25.53       |                                                                     ^~
25.53       |                                                                     ;
25.54 libavcodec/vulkan_decode.c:762:18: error: 'VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_MESA' undeclared (first use in this function); did you mean 'VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_KHR'?
25.54   762 |         .sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_MESA,
25.54       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.54       |                  VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_KHR
25.54 libavcodec/vulkan_av1.c:175:19: error: 'VkVideoDecodeAV1SessionParametersCreateInfoMESA' undeclared (first use in this function); did you mean 'VkVideoDecodeAV1SessionParametersCreateInfoKHR'?
25.54   175 |     av1_params = (VkVideoDecodeAV1SessionParametersCreateInfoMESA) {
25.54       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.54       |                   VkVideoDecodeAV1SessionParametersCreateInfoKHR
25.54 libavcodec/vulkan_av1.c:175:67: error: expected ';' before '{' token
25.54   175 |     av1_params = (VkVideoDecodeAV1SessionParametersCreateInfoMESA) {
25.54       |                                                                   ^~
25.54       |                                                                   ;
25.54 libavcodec/vulkan_av1.c:114:50: warning: variable 'av1_params_info' set but not used [-Wunused-but-set-variable]
25.54   114 |     VkVideoDecodeAV1SessionParametersAddInfoMESA av1_params_info;
25.54       |                                                  ^~~~~~~~~~~~~~~
25.54 libavcodec/vulkan_av1.c:113:35: warning: variable 'av1_sequence_header' set but not used [-Wunused-but-set-variable]
25.54   113 |     StdVideoAV1MESASequenceHeader av1_sequence_header;
25.54       |                                   ^~~~~~~~~~~~~~~~~~~
25.54 libavcodec/vulkan_av1.c:111:33: warning: unused variable 'seq' [-Wunused-variable]
25.54   111 |     const AV1RawSequenceHeader *seq = s->raw_seq;
25.54       |                                 ^~~
25.55 libavcodec/vulkan_av1.c: In function 'vk_av1_start_frame':
25.55 libavcodec/vulkan_av1.c:237:15: error: implicit declaration of function 'vk_av1_fill_pict' [-Werror=implicit-function-declaration]
25.55   237 |         err = vk_av1_fill_pict(avctx, &ap->ref_src[i], &vp->ref_slots[i],
25.55       |               ^~~~~~~~~~~~~~~~
25.55 libavcodec/vulkan_av1.c:252:18: error: request for member 'nb_tiles' in something not a structure or union
25.55   252 |     ap->tile_list.nb_tiles = 0;
25.55       |                  ^
25.55 libavcodec/vulkan_av1.c:253:18: error: request for member 'tile_list' in something not a structure or union
25.55   253 |     ap->tile_list.tile_list = ap->tiles;
25.55       |                  ^
25.56 libavcodec/vulkan_decode.c:785:58: error: 'STD_VIDEO_AV1_MESA_PROFILE_MAIN' undeclared (first use in this function); did you mean 'STD_VIDEO_AV1_PROFILE_MAIN'?
25.56   785 |                    avctx->codec_id == AV_CODEC_ID_AV1  ? STD_VIDEO_AV1_MESA_PROFILE_MAIN :
25.56       |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.56       |                                                          STD_VIDEO_AV1_PROFILE_MAIN
25.56 libavcodec/vulkan_av1.c:255:25: error: 'VkVideoDecodeAV1PictureInfoMESA' undeclared (first use in this function); did you mean 'VkVideoDecodeAV1PictureInfoKHR'?
25.56   255 |     ap->av1_pic_info = (VkVideoDecodeAV1PictureInfoMESA) {
25.56       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.56       |                         VkVideoDecodeAV1PictureInfoKHR
25.56 libavcodec/vulkan_av1.c:255:57: error: expected ';' before '{' token
25.56   255 |     ap->av1_pic_info = (VkVideoDecodeAV1PictureInfoMESA) {
25.56       |                                                         ^~
25.56       |                                                         ;
25.57 libavcodec/vulkan_decode.c:788:11: error: implicit declaration of function 'vulkan_setup_profile'; did you mean 'vulkan_decode_get_profile'? [-Werror=implicit-function-declaration]
25.57   788 |     ret = vulkan_setup_profile(avctx, prof, hwctx, vk, vk_codec,
25.57       |           ^~~~~~~~~~~~~~~~~~~~
25.57       |           vulkan_decode_get_profile
25.57 libavcodec/vulkan_decode.c:833:63: error: request for member 'maxLevelIdc' in something not a structure or union
25.57   833 |                 avctx->codec_id == AV_CODEC_ID_AV1  ? av1_caps.maxLevelIdc  :
25.57       |                                                               ^
25.57 libavcodec/vulkan_decode.c:914:32: error: request for member 'flags' in something not a structure or union
25.57   914 |     dec->external_fg = av1_caps.flags & VK_VIDEO_DECODE_AV1_CAPABILITY_EXTERNAL_FILM_GRAIN_MESA;
25.57       |                                ^
25.58 In file included from libavcodec/vulkan_hevc.c:23:
25.58 libavcodec/vulkan_decode.h:31:5: error: unknown type name 'VkVideoDecodeAV1ProfileInfoMESA'
25.58    31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;
25.58       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.58 libavcodec/vulkan_av1.c:278:29: error: 'StdVideoAV1MESAFrameHeader' undeclared (first use in this function); did you mean 'StdVideoAV1SequenceHeader'?
25.58   278 |     ap->av1_frame_header = (StdVideoAV1MESAFrameHeader) {
25.58       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
25.58       |                             StdVideoAV1SequenceHeader
25.58 libavcodec/vulkan_av1.c:278:56: error: expected ';' before '{' token
25.58   278 |     ap->av1_frame_header = (StdVideoAV1MESAFrameHeader) {
25.58       |                                                        ^~
25.58       |                                                        ;
25.58 libavcodec/vulkan_av1.c:402:29: error: request for member 'tiling' in something not a structure or union
25.58   402 |         ap->av1_frame_header.tiling.width_in_sbs_minus_1[i] = frame_header->width_in_sbs_minus_1[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:403:29: error: request for member 'tiling' in something not a structure or union
25.58   403 |         ap->av1_frame_header.tiling.height_in_sbs_minus_1[i] = frame_header->height_in_sbs_minus_1[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:404:29: error: request for member 'tiling' in something not a structure or union
25.58   404 |         ap->av1_frame_header.tiling.tile_start_col_sb[i] = frame_header->tile_start_col_sb[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:405:29: error: request for member 'tiling' in something not a structure or union
25.58   405 |         ap->av1_frame_header.tiling.tile_start_row_sb[i] = frame_header->tile_start_row_sb[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:409:29: error: request for member 'segmentation' in something not a structure or union
25.58   409 |         ap->av1_frame_header.segmentation.feature_enabled_bits[i] = 0;
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:411:33: error: request for member 'segmentation' in something not a structure or union
25.58   411 |             ap->av1_frame_header.segmentation.feature_enabled_bits[i] |= (frame_header->feature_enabled[i][j] << j);
25.58       |                                 ^
25.58 libavcodec/vulkan_av1.c:412:33: error: request for member 'segmentation' in something not a structure or union
25.58   412 |             ap->av1_frame_header.segmentation.feature_data[i][j] = frame_header->feature_value[i][j];
25.58       |                                 ^
25.58 libavcodec/vulkan_av1.c:415:29: error: request for member 'loop_filter' in something not a structure or union
25.58   415 |         ap->av1_frame_header.loop_filter.ref_deltas[i] = frame_header->loop_filter_ref_deltas[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:417:29: error: request for member 'cdef' in something not a structure or union
25.58   417 |         ap->av1_frame_header.cdef.y_pri_strength[i] = frame_header->cdef_y_pri_strength[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:418:29: error: request for member 'cdef' in something not a structure or union
25.58   418 |         ap->av1_frame_header.cdef.y_sec_strength[i] = frame_header->cdef_y_sec_strength[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:419:29: error: request for member 'cdef' in something not a structure or union
25.58   419 |         ap->av1_frame_header.cdef.uv_pri_strength[i] = frame_header->cdef_uv_pri_strength[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:420:29: error: request for member 'cdef' in something not a structure or union
25.58   420 |         ap->av1_frame_header.cdef.uv_sec_strength[i] = frame_header->cdef_uv_sec_strength[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:422:29: error: request for member 'ref_order_hint' in something not a structure or union
25.58   422 |         ap->av1_frame_header.ref_order_hint[i] = frame_header->ref_order_hint[i];
25.58       |                             ^
25.58 libavcodec/vulkan_av1.c:423:29: error: request for member 'global_motion' in something not a structure or union
25.58   423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {
25.58       |                             ^
25.59 libavcodec/vulkan_av1.c:423:50: error: 'StdVideoAV1MESAGlobalMotion' undeclared (first use in this function); did you mean 'StdVideoAV1GlobalMotion'?
25.59   423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {
25.59       |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
25.59       |                                                  StdVideoAV1GlobalMotion
25.59 libavcodec/vulkan_av1.c:423:78: error: expected ';' before '{' token
25.59   423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {
25.59       |                                                                              ^~
25.59       |                                                                              ;
25.59 libavcodec/vulkan_av1.c:437:29: error: request for member 'ref_frame_idx' in something not a structure or union
25.59   437 |         ap->av1_frame_header.ref_frame_idx[i] = frame_header->ref_frame_idx[i];
25.59       |                             ^
25.59 libavcodec/vulkan_av1.c:438:29: error: request for member 'delta_frame_id_minus1' in something not a structure or union
25.59   438 |         ap->av1_frame_header.delta_frame_id_minus1[i] = frame_header->delta_frame_id_minus1[i];
25.59       |                             ^
25.59 libavcodec/vulkan_av1.c:441:21: error: request for member 'skip_mode_frame_idx' in something not a structure or union
25.59   441 |     ap->av1_pic_info.skip_mode_frame_idx[0] = s->cur_frame.skip_mode_frame_idx[0];
25.59       |                     ^
25.59 libavcodec/vulkan_av1.c:442:21: error: request for member 'skip_mode_frame_idx' in something not a structure or union
25.59   442 |     ap->av1_pic_info.skip_mode_frame_idx[1] = s->cur_frame.skip_mode_frame_idx[1];
25.59       |                     ^
25.59 libavcodec/vulkan_av1.c:446:33: error: request for member 'film_grain' in something not a structure or union
25.59   446 |             ap->av1_frame_header.film_grain.point_y_value[i] = film_grain->point_y_value[i];
25.59       |                                 ^
25.59 libavcodec/vulkan_av1.c:447:33: error: request for member 'film_grain' in something not a structure or union
25.59   447 |             ap->av1_frame_header.film_grain.point_y_scaling[i] = film_grain->point_y_scaling[i];
25.59       |                                 ^
25.60 libavcodec/vulkan_av1.c:451:33: error: request for member 'film_grain' in something not a structure or union
25.60   451 |             ap->av1_frame_header.film_grain.point_cb_value[i] = film_grain->point_cb_value[i];
25.60       |                                 ^
25.60 libavcodec/vulkan_av1.c:452:33: error: request for member 'film_grain' in something not a structure or union
25.60   452 |             ap->av1_frame_header.film_grain.point_cb_scaling[i] = film_grain->point_cb_scaling[i];
25.60       |                                 ^
25.60 libavcodec/vulkan_av1.c:453:33: error: request for member 'film_grain' in something not a structure or union
25.60   453 |             ap->av1_frame_header.film_grain.point_cr_value[i] = film_grain->point_cr_value[i];
25.60       |                                 ^
25.60 libavcodec/vulkan_av1.c:454:33: error: request for member 'film_grain' in something not a structure or union
25.60   454 |             ap->av1_frame_header.film_grain.point_cr_scaling[i] = film_grain->point_cr_scaling[i];
25.60       |                                 ^
25.60 libavcodec/vulkan_av1.c:458:33: error: request for member 'film_grain' in something not a structure or union
25.60   458 |             ap->av1_frame_header.film_grain.ar_coeffs_y_plus_128[i] = film_grain->ar_coeffs_y_plus_128[i];
25.60       |                                 ^
25.60 libavcodec/vulkan_av1.c:459:33: error: request for member 'film_grain' in something not a structure or union
25.60   459 |             ap->av1_frame_header.film_grain.ar_coeffs_cb_plus_128[i] = film_grain->ar_coeffs_cb_plus_128[i];
25.60       |                                 ^
25.60 libavcodec/vulkan_av1.c:460:33: error: request for member 'film_grain' in something not a structure or union
25.60   460 |             ap->av1_frame_header.film_grain.ar_coeffs_cr_plus_128[i] = film_grain->ar_coeffs_cr_plus_128[i];
25.60       |                                 ^
25.60 libavcodec/vulkan_av1.c:463:29: error: request for member 'film_grain' in something not a structure or union
25.60   463 |         ap->av1_frame_header.film_grain.ar_coeffs_cb_plus_128[24] = film_grain->ar_coeffs_cb_plus_128[24];
25.60       |                             ^
25.60 libavcodec/vulkan_av1.c:464:29: error: request for member 'film_grain' in something not a structure or union
25.60   464 |         ap->av1_frame_header.film_grain.ar_coeffs_cr_plus_128[24] = film_grain->ar_coeffs_cr_plus_128[24];
25.60       |                             ^
25.60 libavcodec/vulkan_av1.c: In function 'vk_av1_decode_slice':
25.60 libavcodec/vulkan_av1.c:483:32: error: request for member 'nb_tiles' in something not a structure or union
25.60   483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {
25.60       |                                ^
25.60 make: *** [ffbuild/common.mak:81: libavcodec/vulkan_hevc.o] Error 1
25.61 libavcodec/vulkan_av1.c:483:46: error: 'StdVideoAV1MESATile' undeclared (first use in this function); did you mean 'StdVideoAV1Profile'?
25.61   483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {
25.61       |                                              ^~~~~~~~~~~~~~~~~~~
25.61       |                                              StdVideoAV1Profile
25.61 libavcodec/vulkan_av1.c:483:66: error: expected ';' before '{' token
25.61   483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {
25.61       |                                                                  ^~
25.61       |                                                                  ;
25.61 libavcodec/vulkan_av1.c:495:52: error: request for member 'nb_tiles' in something not a structure or union
25.61   495 |                                      &ap->tile_list.nb_tiles,
25.61       |                                                    ^
25.61 libavcodec/vulkan_av1.c:500:32: error: request for member 'nb_tiles' in something not a structure or union
25.61   500 |         ap->tiles[ap->tile_list.nb_tiles - 1].offset = ap->tile_offsets[ap->tile_list.nb_tiles - 1];
25.61       |                                ^
25.61 libavcodec/vulkan_av1.c:500:86: error: request for member 'nb_tiles' in something not a structure or union
25.61   500 |         ap->tiles[ap->tile_list.nb_tiles - 1].offset = ap->tile_offsets[ap->tile_list.nb_tiles - 1];
25.61       |                                                                                      ^
25.61 libavcodec/vulkan_av1.c: In function 'vk_av1_end_frame':
25.61 libavcodec/vulkan_av1.c:516:23: error: request for member 'nb_tiles' in something not a structure or union
25.61   516 |     if (!ap->tile_list.nb_tiles)
25.61       |                       ^
25.61 libavcodec/vulkan_av1.c:534:42: error: request for member 'nb_tiles' in something not a structure or union
25.61   534 |            vp->slices_size, ap->tile_list.nb_tiles);
25.61       |                                          ^
25.61 cc1: some warnings being treated as errors
25.61 make: *** [ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
25.62 libavcodec/vulkan_decode.c:914:41: error: 'VK_VIDEO_DECODE_AV1_CAPABILITY_EXTERNAL_FILM_GRAIN_MESA' undeclared (first use in this function)
25.62   914 |     dec->external_fg = av1_caps.flags & VK_VIDEO_DECODE_AV1_CAPABILITY_EXTERNAL_FILM_GRAIN_MESA;
25.62       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.63 libavcodec/vulkan_decode.c: In function 'ff_vk_decode_init':
25.63 libavcodec/vulkan_decode.c:1121:5: error: unknown type name 'VkVideoDecodeAV1SessionParametersCreateInfoMESA'; did you mean 'VkVideoDecodeAV1SessionParametersCreateInfoKHR'?
25.63  1121 |     VkVideoDecodeAV1SessionParametersCreateInfoMESA av1_params = {
25.63       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.63       |     VkVideoDecodeAV1SessionParametersCreateInfoKHR
25.63 libavcodec/vulkan_decode.c:1122:9: error: field name not in record or union initializer
25.63  1122 |         .sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_MESA,
25.63       |         ^
25.63 libavcodec/vulkan_decode.c:1122:9: note: (near initialization for 'av1_params')
25.67 libavcodec/vulkan_decode.c:1122:18: error: 'VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_MESA' undeclared (first use in this function); did you mean 'VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR'?
25.67  1122 |         .sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_MESA,
25.67       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25.67       |                  VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR
25.68 cc1: some warnings being treated as errors
25.68 make: *** [ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1
------
Dockerfile:357
--------------------
 356 |     RUN git clone https://github.com/HomeOfAviSynthPlusEvolution/FFmpeg --depth 1
 357 | >>> RUN cd FFmpeg && \
 358 | >>>   LDFLAGS="-Wl,-Bsymbolic" CFLAGS=-fPIC ./configure --disable-shared --enable-static --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-avdevice --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --disable-debug --enable-pic --extra-ldflags="-Wl,-Bsymbolic" --extra-cflags="-march=native" && \
 359 | >>>   make -j$(nproc) && make install -j$(nproc)
 360 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd FFmpeg &&   LDFLAGS=\"-Wl,-Bsymbolic\" CFLAGS=-fPIC ./configure --disable-shared --enable-static --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-avdevice --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --disable-debug --enable-pic --extra-ldflags=\"-Wl,-Bsymbolic\" --extra-cflags=\"-march=native\" &&   make -j$(nproc) && make install -j$(nproc)" did not complete successfully: exit code: 2
styler00dollar commented 7 months ago

Known issue, already fixed in another branch. Will put that code into master soon.