Package Details: nvenc 7.76-1

Git Clone URL: https://aur.archlinux.org/nvenc.git (read-only, click to copy)
Package Base: nvenc
Description: NVIDIA Video Codec based command line encoder
Upstream URL: https://github.com/rigaya/NVEnc
Licenses: MIT
Submitter: npreining
Maintainer: npreining
Last Packager: npreining
Votes: 5
Popularity: 0.000987
First Submitted: 2022-02-15 01:30 (UTC)
Last Updated: 2024-11-24 09:58 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

gyscos commented on 2024-05-23 18:03 (UTC)

Building this package yields a bunch of errors on my machine, looks like it's trying to include gcc-14 includes (while cuda's nvcc should be using gcc-13?)

/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found 
    typedef __decltype(0.0bf16) __bfloat16_t; 
                       ^ 

bader commented on 2024-03-18 20:51 (UTC)

having the same issue as @Tutul

Tutul commented on 2024-03-14 06:15 (UTC) (edited on 2024-03-14 06:16 (UTC) by Tutul)

checking for g++...checking for g++...OK
egrep: warning: egrep is obsolescent; using grep -E
checking for cuda (CUDA_PATH=/opt/cuda)...nvcc=/opt/cuda/bin/nvcc
checking for cuda...OK, CUDA 12.3
checking for pthread...OK
checking for c++17...OK
checking for -msse2...OK
checking for __rdtscp()...yes
checking for -fPIE...configuring for speed...
checking for -mfpmath=sse...yes
checking for -ffast-math...yes
checking for -fomit-frame-pointer...yes
checking for --extra-cxxflags...OK
checking for pkg-config...OK
checking libavcodec with pkg-config...OK
checking for libavutil...no
checking for libavcodec...no
checking for libavformat...no
checking for libavfilter...no
checking for AVChannelLayout...no
checking for libswresample...no
libavutil, libavcodec, libavformat, libavfilter, libswresample are required to build nvencc.

All the required packages are install. Below are the flags used in the cxx_check for those libraries.

CXXFLAGS: -Wall -Wno-unknown-pragmas -Wno-unused -Wno-missing-braces -pthread -msse2 -fPIE -O3 -DNDEBUG=1 -mfpmath=sse -ffast-math -fomit-frame-pointer
EXTRACXXFLAGS: -D__STDC_CONSTANT_MACROS
LIBAV_CFLAGS: 
LDFLAGS: -L. -ldl -lstdc++ -lstdc++fs -m64 -pthread
EXTRALDFLAGS: 
LIBAV_LIBS: -lswresample -lavutil -lavcodec -lavformat -lavfilter -lavdevice

And here is the ffmpeg version

ffmpeg version n6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.1 (GCC) 20230801
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-vapoursynth --enable-version3 --enable-vulkan
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100

npreining commented on 2024-03-12 16:15 (UTC)

With CUDA 12.4 in Arch, updates are now running again. Real-world tests still need to be done.

npreining commented on 2024-02-29 05:31 (UTC) (edited on 2024-02-29 05:36 (UTC) by npreining)

Updates to NVEnc 7.42 are currently stalled, since NVEnc requires CUDA, CUDA requires at the moment gcc-12, but current NVEnc also requires ffmpeg and libhwy (highway) which is compiled with gcc-13, resulting in unresolved symbols.

One might be able to recompile highway and ffmpeg with gcc-12 and then update, but this cannot be detected/triggered automatically.

npreining commented on 2023-11-05 22:59 (UTC)

@ginger Indeed, confirmed. My guess it is the recent CUDA update. I have opened an issue at the github page https://github.com/rigaya/NVEnc/issues/533

ginger commented on 2023-11-05 20:13 (UTC) (edited on 2023-11-05 20:17 (UTC) by ginger)

Getting multiple instances of:

/usr/include/bits/floatn.h(86): error: invalid combination of type specifiers
  typedef __float128 _Float128;
                     ^


When compiling newest version on vanilla Arch. Can't find anything on how to fix anywhere (specific to this package, I mean).

npreining commented on 2023-03-19 00:15 (UTC)

@filipetaveiros you can add --cuda-path=/path/to/your/cuda to the configure call in PKGCONFIG

filipetaveiros commented on 2023-03-18 19:46 (UTC)

Same behavior that @teawrecks reported here. Installing on Manjaro Linux, the package looks for cuda on /usr/local/cuda. Tried to change PKGBUILD or other files o change that, but did not find where. Therefore, I created the symlink as suggested and it went well. Please, @npreining point us where to change the expected location for cuda.

logothete commented on 2022-11-14 18:35 (UTC)

@npreining that did the trick. Thanks!