Jump to content

Harwdare Encoders/Decoders Missing after update


Recommended Posts

Posted (edited)

Updated to Version 4.7.10.0 and now my hardware decoders and encoders are gone. Worked perfectly before this update. I have Emby Premiere and the code is acknowledged on that page. I updated because the Windows Emby app would not connect unless I updated the server.

Running in Docker, nvidia-smi docker command still shows device.

Edited by roofuskit
Posted

HI there, please attach the emby server and hardware detection log files. Thanks.

  • 2 weeks later...
Posted
On 12/7/2022 at 2:52 PM, Luke said:

HI there, please attach the emby server and hardware detection log files. Thanks.

Hello, The logs have been attached. Do you see the issue?

  • 2 weeks later...
Posted

I have also seen this same behaviour but it came back after a container restart? this should really be looked into!

Posted
8 hours ago, Luke said:

@roofuskitare you still running into this?

Yes, still showing no hardware encoders/decoders. I have updated and restarted and still nothing.

Posted (edited)
On 12/29/2022 at 10:47 AM, Luke said:

@roofuskitare you still running into this?

Now that the holidays are over and I have had some time to do more digging myself I found this thread.

The instructions on altering the permissions have enabled my integrated GPU to be loaded successfully. My discrete GPU is still failing with the following:
 

"ExitCode":0},"NvidiaCodecProvider":{"CodecProviderName":"NvidiaCodecProvider","StandardError":"ffdetect version 5.0.0-emby_2022_05_27-u1 Copyright (c) 2018-2022 softworkz for Emby LLC\n  built with gcc 8.3.0 (crosstool-NG 1.24.0)\n  configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-alsa --disable-debug --disable-doc --disable-ffplay --disable-libpulse --disable-libxcb --disable-vdpau --disable-xlib --enable-chromaprint --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libaribb24 --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-libtesseract --enable-cuda-llvm --enable-cuvid --enable-libdrm --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-opencl --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --enable-shared --disable-static --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lm -lstdc++ -pthread'\n  libavutil      57. 19.100 / 57. 19.100\nLoaded lib: libcuda.so.1\nLoaded sym: cuInit\nLoaded sym: cuDeviceGetCount\nLoaded sym: cuDeviceGet\nLoaded sym: cuDeviceGetAttribute\nLoaded sym: cuDeviceGetName\nLoaded sym: cuDeviceComputeCapability\nLoaded sym: cuCtxCreate_v2\nLoaded sym: cuCtxSetLimit\nLoaded sym: cuCtxPushCurrent_v2\nLoaded sym: cuCtxPopCurrent_v2\nLoaded sym: cuCtxDestroy_v2\nLoaded sym: cuMemAlloc_v2\nLoaded sym: cuMemAllocPitch_v2\nLoaded sym: cuMemsetD8Async\nLoaded sym: cuMemFree_v2\nLoaded sym: cuMemcpy\nLoaded sym: cuMemcpyAsync\nLoaded sym: cuMemcpy2D_v2\nLoaded sym: cuMemcpy2DAsync_v2\nLoaded sym: cuGetErrorName\nLoaded sym: cuGetErrorString\nLoaded sym: cuCtxGetDevice\nLoaded sym: cuDevicePrimaryCtxRetain\nLoaded sym: cuDevicePrimaryCtxRelease\nLoaded sym: cuDevicePrimaryCtxSetFlags\nLoaded sym: cuDevicePrimaryCtxGetState\nLoaded sym: cuDevicePrimaryCtxReset\nLoaded sym: cuStreamCreate\nLoaded sym: cuStreamQuery\nLoaded sym: cuStreamSynchronize\nLoaded sym: cuStreamDestroy_v2\nLoaded sym: cuStreamAddCallback\nLoaded sym: cuEventCreate\nLoaded sym: cuEventDestroy_v2\nLoaded sym: cuEventSynchronize\nLoaded sym: cuEventQuery\nLoaded sym: cuEventRecord\nLoaded sym: cuLaunchKernel\nLoaded sym: cuLinkCreate\nLoaded sym: cuLinkAddData\nLoaded sym: cuLinkComplete\nLoaded sym: cuLinkDestroy\nLoaded sym: cuModuleLoadData\nLoaded sym: cuModuleUnload\nLoaded sym: cuModuleGetFunction\nLoaded sym: cuModuleGetGlobal\nLoaded sym: cuTexObjectCreate\nLoaded sym: cuTexObjectDestroy\nLoaded sym: cuGLGetDevices_v2\nLoaded sym: cuGraphicsGLRegisterImage\nLoaded sym: cuGraphicsUnregisterResource\nLoaded sym: cuGraphicsMapResources\nLoaded sym: cuGraphicsUnmapResources\nLoaded sym: cuGraphicsSubResourceGetMappedArray\nLoaded sym: cuDeviceGetUuid\nLoaded sym: cuImportExternalMemory\nLoaded sym: cuDestroyExternalMemory\nLoaded sym: cuExternalMemoryGetMappedBuffer\nLoaded sym: cuExternalMemoryGetMappedMipmappedArray\nLoaded sym: cuMipmappedArrayGetLevel\nLoaded sym: cuMipmappedArrayDestroy\nLoaded sym: cuImportExternalSemaphore\nLoaded sym: cuDestroyExternalSemaphore\nLoaded sym: cuSignalExternalSemaphoresAsync\nLoaded sym: cuWaitExternalSemaphoresAsync\nCannot load libnvcuvid.so.1\nFailed loading nvcuvid functions.\nCannot load libnvidia-encode.so.1\nFailed loading nvenc functions.\nThe minimum required Nvidia driver for nvenc is 390.25 or newer\n\n","Result":{
    "ProgramVersion": {
        "Version": "5.0.0-emby_2022_05_27-u1",
        "Copyright": "Copyright (c) 2018-2022 softworkz for Emby Llc",
        "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",
        "Configuration": "--cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-alsa --disable-debug --disable-doc --disable-ffplay --disable-libpulse --disable-libxcb --disable-vdpau --disable-xlib --enable-chromaprint --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libaribb24 --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-libtesseract --enable-cuda-llvm --enable-cuvid --enable-libdrm --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-opencl --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --enable-shared --disable-static --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lm -lstdc++ -pthread'"
    },
    "Error": {
        "Number": -1,
        "Message": "Operation not permitted"
    },
    "Log": [
        {
            "Level": 16,
            "Category": 0,
            "Message": "Cannot load libnvcuvid.so.1"
        },
        {
            "Level": 16,
            "Category": 0,
            "Message": "Failed loading nvcuvid functions."
        },
        {
            "Level": 16,
            "Category": 0,
            "Message": "Cannot load libnvidia-encode.so.1"
        },
        {
            "Level": 16,
            "Category": 0,
            "Message": "Failed loading nvenc functions."
        },
        {
            "Level": 16,
            "Category": 0,
            "Message": "The minimum required Nvidia driver for nvenc is 390.25 or newer"
        }
    ]
}

Keep in mind, I never had a permissions issue or a failure of this device to load before updating Emby recently.

Running  docker run --rm --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi per the Nvidia instructions shows  I am running driver 525.60.11

Edited by roofuskit
Clarification
Posted

Thanks for the feedback !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...