mdhiggins / radarr-sma

MIT License
25 stars 13 forks source link

NVENC for radarr #41

Closed wdckwrth closed 1 year ago

wdckwrth commented 1 year ago

Is it a safe assumption that we need linuxserver to rebase radarr to ubuntu before nvidia will be supportable? Or is the build configuration for alpine different?

I tried the approach that we discussed for sonarr-sma without much luck. Different set of problems, but problems. :)

services:
  radarr:
    container_name: radarr-sma
    build:
      context: https://github.com/mdhiggins/radarr-sma.git#build
      args:
        ffmpeg_tag: 5.1-nvidia2004
        radarr_tag: develop
    [snip]
    environment:
      - SMA_HWACCEL=true
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=all
      - LD_LIBRARY_PATH=/usr/local/cuda-11.4/lib64
    runtime: nvidia    

Logs generate this:

cont-init: info: running /etc/cont-init.d/90-sma-config
Error relocating /usr/local/lib/libfontconfig.so.1: __snprintf_chk: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: __vfprintf_chk: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: __open_2: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: random_r: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: __memcpy_chk: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: __strncpy_chk: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: __printf_chk: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: __fprintf_chk: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: initstate_r: symbol not found
Error relocating /usr/local/lib/libfontconfig.so.1: __sprintf_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __memcpy_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __longjmp_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __sprintf_chk: symbol not found
Error relocating /usr/bin/fc-cache: FcDirCacheCreateUUID: symbol not found
ERROR: fontconfig-2.13.1-r4.trigger: script exited with error 127
Error relocating /usr/local/lib/libfreetype.so.6: __memcpy_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __longjmp_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __sprintf_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __memcpy_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __longjmp_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __sprintf_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __memcpy_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __longjmp_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __sprintf_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __memcpy_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __longjmp_chk: symbol not found
Error relocating /usr/local/lib/libfreetype.so.6: __sprintf_chk: symbol not found
ERROR: mkfontscale-1.2.1-r1.trigger: script exited with error 127
cont-init: info: /etc/cont-init.d/90-sma-config exited 0
mdhiggins commented 1 year ago

Correct NVEnc does not support Alpine

wdckwrth commented 1 year ago

Is the suggested path forward to have separate config directories? One for sonarr with nvenc and one for radarr without?

mdhiggins commented 1 year ago

Unfortunately, yes

wdckwrth commented 1 year ago

Roger that. Thanks, @mdhiggins.