Jump to content

Nvidia Hardware Acceleration not detected on Debian Buster


Tom83

Recommended Posts

I have an intel i3 CPU and an Nvidia 1050ti GPU on my PC.  Its currently running the newest version of DietPi, which runs Debian Buster.  I have the intel and nvidia drivers installed. 

 

For some reason neither seem to be detected or usable by Emby. (nothing populates under "preferred hardware encoders/decoders").

 

I purchased 1 month of premier just to try it out (and to make sure my hardware was compatible etc).  Now I'm getting down to crunch time and I'd like to see if I can figure this out.  Any help would be greatly appreciated.

 

My hardware detection log is attached and a snipped is below.

{"ApplicationVersion":"4.3.0.30","VersionType":"Release","ReleaseCode":"5b7d3be973dc4d7b899e8de10cc7749e","OperatingSystem":"Linux","OperatingSystemName":"Unix","OperatingSystemVersion":"4.19.0.6 ","VideoDecoders":{},"VideoEncoders":{"1: libx264 Software Encoder":{"SupportedPresets":["ultrafast","superfast","veryfast","faster","fast","medium","slow","slower","veryslow"],"MinConstantRateFactor":0,"MaxConstantRateFactor":51,"FrameworkCodec":"libx264","IsHardwareCodec":false,"VideoMediaType":"h264","ProfilesWithLevel":[{"Profile":"AvcProfileBaseline","Level":"AvcLevel62"},{"Profile":"AvcProfileMain","Level":"AvcLevel62"},{"Profile":"AvcProfileHigh","Level":"AvcLevel62"},{"Profile":"AvcProfileHigh10","Level":"AvcLevel62"},{"Profile":"AvcProfileHigh422","Level":"AvcLevel62"},{"Profile":"AvcProfileHigh444","Level":"AvcLevel62"}],"SupportedProfiles":["AvcProfileBaseline","AvcProfileMain","AvcProfileHigh","AvcProfileHigh10","AvcProfileHigh422","AvcProfileHigh444"],"SupportedLevels":["AvcLevel1b","AvcLevel1","AvcLevel11","AvcLevel12","AvcLevel13","AvcLevel2","AvcLevel21","AvcLevel22","AvcLevel3","AvcLevel31","AvcLevel32","AvcLevel4","AvcLevel41","AvcLevel42","AvcLevel5","AvcLevel51","AvcLevel52","AvcLevel6","AvcLevel61","AvcLevel62"],"Direction":"Encoder","CodecKind":"Video","MediaTypeName":"H.264 (AVC)","SupportedColorFormats":["yuv420p","yuvj420p","yuv422p","yuvj422p","yuv444p","yuvj444p","nv12","nv16","nv21","yuv420p10","yuv422p10","yuv444p10","nv20"],"SupportedColorFormatStrings":["YUV420P","YUVJ420P","YUV422P","YUVJ422P","YUV444P","YUVJ444P","NV12","NV16","NV21","YUV420P10","YUV422P10","YUV444P10","NV20"],"ProfileAndLevelInformation":[{"Profile":{"ShortName":"AvcProfileBaseline","Description":"Baseline Profile","Details":"Primarily for low-cost applications that require additional data loss robustness, this profile is used in some videoconferencing and mobile applications. This profile includes all features that are supported in the Constrained Baseline Profile, plus three additional features that can be used for loss robustness (or for other purposes such as low-delay multi-point video stream compositing). The importance of this profile has faded somewhat since the definition of the Constrained Baseline Profile in 2009. All Constrained Baseline Profile bitstreams are also considered to be Baseline Profile bitstreams, as these two profiles share the same profile identifier code value.","Id":"AvcProfiles.AvcProfileBaseline"},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120"],"ResolutionRateStrings":["8192x4320@120"],"ResolutionRatesDisplay":"8192x4320@120"}},{"Profile":{"ShortName":"AvcProfileMain","Description":"Main Profile","Details":"This profile is used for standard-definition digital TV broadcasts that use the MPEG-4 format as defined in the DVB standard. It is not, however, used for high-definition television broadcasts, as the importance of this profile faded when the High Profile was developed in 2004 for that application.","Id":"AvcProfiles.AvcProfileMain"},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120"],"ResolutionRateStrings":["8192x4320@120"],"ResolutionRatesDisplay":"8192x4320@120"}},{"Profile":{"ShortName":"AvcProfileHigh","Description":"High Profile","Details":"The primary profile for broadcast and disc storage applications, particularly for high-definition television applications (for example, this is the profile adopted by the Blu-ray Disc storage format and the DVB HDTV broadcast service).","Id":"AvcProfiles.AvcProfileHigh"},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120"],"ResolutionRateStrings":["8192x4320@120"],"ResolutionRatesDisplay":"8192x4320@120"}},{"Profile":{"ShortName":"AvcProfileHigh10","Description":"High 10 Profile","Details":"Going beyond typical mainstream consumer product capabilities, this profile builds on top of the High Profile, adding support for up to 10 bits per sample of decoded picture precision.","Id":"AvcProfiles.AvcProfileHigh10"},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120"],"ResolutionRateStrings":["8192x4320@120"],"ResolutionRatesDisplay":"8192x4320@120"}},{"Profile":{"ShortName":"AvcProfileHigh422","Description":"High 4:2:2 Profile","Details":"Primarily targeting professional applications that use interlaced video, this profile builds on top of the High 10 Profile, adding support for the 4:2:2 chroma subsampling format while using up to 10 bits per sample of decoded picture precision.","Id":"AvcProfiles.AvcProfileHigh422"},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120"],"ResolutionRateStrings":["8192x4320@120"],"ResolutionRatesDisplay":"8192x4320@120"}},{"Profile":{"ShortName":"AvcProfileHigh444","Description":"High 4:4:4 Profile","Details":"This profile builds on top of the High 4:2:2 Profile, supporting up to 4:4:4 chroma sampling, up to 14 bits per sample, and additionally supporting efficient lossless region coding and the coding of each picture as three separate color planes.","Id":"AvcProfiles.AvcProfileHigh444"},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120"],"ResolutionRateStrings":["8192x4320@120"],"ResolutionRatesDisplay":"8192x4320@120"}}],"Id":"V-E-libx264","Name":"libx264 Software Encoder","SecondaryFramework":"None","IsEnabledByDefault":false,"DefaultPriority":0},"2: libx264 Software Encoder":{"SupportedPresets":["ultrafast","superfast","veryfast","faster","fast","medium","slow","slower","veryslow","placebo"],"MinConstantRateFactor":0,"MaxConstantRateFactor":51,"FrameworkCodec":"libx265","IsHardwareCodec":false,"VideoMediaType":"hevc","ProfilesWithLevel":[{"Profile":"HevcProfileMain","Level":"HevcMainTierLevel62"},{"Profile":"HevcProfileMain10","Level":"HevcMainTierLevel62"}],"SupportedProfiles":["HevcProfileMain","HevcProfileMain10"],"SupportedLevels":["HevcMainTierLevel1","HevcMainTierLevel2","HevcMainTierLevel21","HevcMainTierLevel3","HevcMainTierLevel31","HevcMainTierLevel4","HevcMainTierLevel41","HevcMainTierLevel5","HevcMainTierLevel51","HevcMainTierLevel52","HevcMainTierLevel6","HevcMainTierLevel61","HevcMainTierLevel62"],"Direction":"Encoder","CodecKind":"Video","MediaTypeName":"H.265 (HEVC)","SupportedColorFormats":["yuv420p","yuvj420p","yuv422p","yuvj422p","yuv444p","yuvj444p","nv12","nv16","nv21","yuv420p10","yuv422p10","yuv444p10","nv20"],"SupportedColorFormatStrings":["YUV420P","YUVJ420P","YUV422P","YUVJ422P","YUV444P","YUVJ444P","NV12","NV16","NV21","YUV420P10","YUV422P10","YUV444P10","NV20"],"ProfileAndLevelInformation":[{"Profile":{"ShortName":"HevcProfileMain","Description":"Main Profile","Details":"The Main profile allows for a bit depth of 8-bits per sample with 4:2:0 chroma sampling, which is the most common type of video used with consumer devices.","Id":"HevcProfiles.HevcProfileMain"},"Level":{"ShortName":"HevcMainTierLevel62","Description":"Level 6.2 (Main)","Ordinal":62,"MaxBitRate":"234 Mbit/s","MaxBitRateDisplay":"234 Mbit/s","Id":"HevcLevels.HevcMainTierLevel62","ResolutionRates":["3840x2160@300","7680x4320@128","8192x4320@120"],"ResolutionRateStrings":["3840x2160@300","7680x4320@128","8192x4320@120"],"ResolutionRatesDisplay":"3840x2160@300, 7680x4320@128, 8192x4320@120"}},{"Profile":{"ShortName":"HevcProfileMain10","Description":"Main 10 Profile","Details":"The Main 10 profile allows for a bit depth of 8-bits to 10-bits per sample with 4:2:0 chroma sampling. allows for improved video quality since it can support video with a higher bit depth than what is supported by the Main profile.[140] Additionally, in the Main 10 profile 8-bit video can be coded with a higher bit depth of 10-bits, which allows improved coding efficiency compared to the Main profile.","Id":"HevcProfiles.HevcProfileMain10"},"Level":{"ShortName":"HevcMainTierLevel62","Description":"Level 6.2 (Main)","Ordinal":62,"MaxBitRate":"234 Mbit/s","MaxBitRateDisplay":"234 Mbit/s","Id":"HevcLevels.HevcMainTierLevel62","ResolutionRates":["3840x2160@300","7680x4320@128","8192x4320@120"],"ResolutionRateStrings":["3840x2160@300","7680x4320@128","8192x4320@120"],"ResolutionRatesDisplay":"3840x2160@300, 7680x4320@128, 8192x4320@120"}}],"Id":"V-E-libx265","Name":"libx264 Software Encoder","SecondaryFramework":"None","IsEnabledByDefault":false,"DefaultPriority":0},"3: MPEG-4 part 2 Software Encoder":{"FrameworkCodec":"mpeg4","IsHardwareCodec":false,"VideoMediaType":"mpeg4","ProfilesWithLevel":[],"SupportedProfiles":[],"SupportedLevels":[],"Direction":"Encoder","CodecKind":"Video","MediaTypeName":"MPEG-4","SupportedColorFormats":["yuv420p"],"SupportedColorFormatStrings":["YUV420P"],"ProfileAndLevelInformation":[],"Id":"V-E-mpeg4","Name":"MPEG-4 part 2 Software Encoder","SecondaryFramework":"None","IsEnabledByDefault":false,"DefaultPriority":0},"4: MPEG-4 part 2 (MS Variant 3) Software Encoder":{"VideoMediaType":"msmpeg4v3","FrameworkCodec":"msmpeg4","IsHardwareCodec":false,"ProfilesWithLevel":[],"SupportedProfiles":[],"SupportedLevels":[],"Direction":"Encoder","CodecKind":"Video","MediaTypeName":"MPEG-4 part 2 Microsoft variant version 3","SupportedColorFormats":["yuv420p"],"SupportedColorFormatStrings":["YUV420P"],"ProfileAndLevelInformation":[],"Id":"V-E-msmpeg4","Name":"MPEG-4 part 2 (MS Variant 3) Software Encoder","SecondaryFramework":"None","IsEnabledByDefault":false,"DefaultPriority":0},"5: libvpx VP8":{"MinConstantRateFactor":4,"MaxConstantRateFactor":63,"FrameworkCodec":"libvpx","IsHardwareCodec":false,"VideoMediaType":"vp8","ProfilesWithLevel":[{"Profile":"Vp8Profile0","Level":"Vp8levelDefault"}],"SupportedProfiles":["Vp8Profile0"],"SupportedLevels":["Vp8levelDefault"],"Direction":"Encoder","CodecKind":"Video","MediaTypeName":"VP8","SupportedColorFormats":["yuv420p","yuva420p"],"SupportedColorFormatStrings":["YUV420P","YUVA420P"],"ProfileAndLevelInformation":[{"Profile":{"ShortName":"Vp8Profile0","Description":"Profile 0","Details":"For non-zero values the encoder increasingly optimizes for reduced complexity playback on low powered devices at the expense of encode quality. For example using 1 tells the encoder only to use only bi-linear sub pixel filtering and a simplified loop filter. In general most users will want to set a value of 0 or ignore this parameter unless they are encoding high resolution content and require playback on very low power devices.","Id":"Vp8Profiles.Vp8Profile0"},"Level":{"ShortName":"Vp8levelDefault","Description":"Default Level","Ordinal":0,"Id":"Vp8Levels.Vp8levelDefault","ResolutionRates":[],"ResolutionRateStrings":[],"ResolutionRatesDisplay":""}}],"Id":"V-E-libvpx","Name":"libvpx VP8","SecondaryFramework":"None","IsEnabledByDefault":false,"DefaultPriority":0}},"EncodingOptions":{"EncodingThreadCount":-1,"ExtractionThreadCount":1,"DownMixAudioBoost":2,"EnableThrottling":false,"ThrottleBufferSize":120,"ThrottleHysteresis":8,"H264Crf":23,"EnableHardwareEncoding":true,"EnableSubtitleExtraction":true,"CodecConfigurations":[],"HardwareAccelerationMode":1},"DetectionOutputs":{"Vaapi":{"CodecProviderName":"Vaapi","StandardError":"ffdetect version 4.3.0-emby_2019_11_09 Copyright (c) 2018-2019 softworkz for Emby LLC\n  built with gcc 8.3.0 (crosstool-NG 1.24.0)\n  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-libvpx --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lm -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --arch=x86_64 --target-os=linux --pkg-config=pkg-config --enable-shared --disable-static\n  libavutil      56. 34.100 / 56. 34.100\nBegin GetVaAdapterInfo\nFound 18 device entries\nBegin get_nodes\nFound -1 drm entries\nEnd GetVaAdapterInfo\n\n","Result":{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2019_11_09",
        "Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc",
        "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",
        "Configuration": "--cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-libvpx --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lm -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --arch=x86_64 --target-os=linux --pkg-config=pkg-config --enable-shared --disable-static"
    },
    "Devices": [
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "NVIDIA Corporation",
                "DeviceName": "GP107 [GeForce GTX 1050 Ti]",
                "SubsytemVendorName": "Micro-Star International Co., Ltd. [MSI]",
                "VendorId": 4318,
                "DeviceId": 7298,
                "SubsytemVendorId": 5218,
                "SubsytemDeviceId": 35990,
                "DevPath": "/sys/bus/pci/devices/0000:01:00.0",
                "IsEnabled": 0,
                "IsBootVga": 1,
                "Error": {
                    "Number": -1,
                    "Message": "Failed to open the drm device (null)"
                }
            }
        }
    ],
    "Log": [
        {
            "Level": 40,
            "Category": 0,
            "Message": "Found 18 device entries"
        }
    ]
}

,"ExitCode":0},"QuickSyncCodecProvider":{"CodecProviderName":"QuickSyncCodecProvider","StandardError":"ffdetect version 4.3.0-emby_2019_11_09 Copyright (c) 2018-2019 softworkz for Emby LLC\n  built with gcc 8.3.0 (crosstool-NG 1.24.0)\n  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-libvpx --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lm -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --arch=x86_64 --target-os=linux --pkg-config=pkg-config --enable-shared --disable-static\n  libavutil      56. 34.100 / 56. 34.100\nBegin GetVaAdapterInfo\nFound 18 device entries\nBegin get_nodes\nFound -1 drm entries\nEnd GetVaAdapterInfo\nBegin GetVaAdapterInfo\nFound 18 device entries\nBegin get_nodes\nFound -1 drm entries\nEnd GetVaAdapterInfo\nBegin GetVaAdapterInfo\nFound 18 device entries\nBegin get_nodes\nFound -1 drm entries\nEnd GetVaAdapterInfo\nBegin GetVaAdapterInfo\nFound 18 device entries\nBegin get_nodes\nFound -1 drm entries\nEnd GetVaAdapterInfo\n\n","Result":{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2019_11_09",
        "Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc",
        "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",
        "Configuration": "--cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-libvpx --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lm -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --arch=x86_64 --target-os=linux --pkg-config=pkg-config --enable-shared --disable-static"
    },
    "Devices": [
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "NVIDIA Corporation",
                "DeviceName": "GP107 [GeForce GTX 1050 Ti]",
                "SubsytemVendorName": "Micro-Star International Co., Ltd. [MSI]",
                "VendorId": 4318,
                "DeviceId": 7298,
                "SubsytemVendorId": 5218,
                "SubsytemDeviceId": 35990,
                "DevPath": "/sys/bus/pci/devices/0000:01:00.0",
                "IsEnabled": 0,
                "IsBootVga": 1
            },
            "Error": {
                "Number": -3,
                "Message": "Error initializing an MFX session: MFX_ERR_UNSUPPORTED"
            }
        },
        {
            "DeviceIndex": 1,
            "DeviceInfo": {

            },
            "Error": {
                "Number": -3,
                "Message": "Error initializing an MFX session: MFX_ERR_UNSUPPORTED"
            }
        },
        {
            "DeviceIndex": 2,
            "DeviceInfo": {

            },
            "Error": {
                "Number": -3,
                "Message": "Error initializing an MFX session: MFX_ERR_UNSUPPORTED"
            }
        },
        {
            "DeviceIndex": 3,
            "DeviceInfo": {

            },
            "Error": {
                "Number": -3,
                "Message": "Error initializing an MFX session: MFX_ERR_UNSUPPORTED"
            }
        }
    ],
    "Log": [
        {
            "Level": 40,
            "Category": 0,
            "Message": "Found 18 device entries"
        },
        {
            "Level": 40,
            "Category": 0,
            "Message": "Found 18 device entries"
        },
        {
            "Level": 40,
            "Category": 0,
            "Message": "Found 18 device entries"
        },
        {
            "Level": 40,
            "Category": 0,
            "Message": "Found 18 device entries"
        }
    ]
}

Edited by Tom83
Link to comment
Share on other sites

Hi there, did you follow our hardware acceleration setup guide?

https://github.com/MediaBrowser/Wiki/wiki/Hardware-Acceleration-Overview

 

Wow, thank you for the fast (immediate) response.  Yes, though that isn't really a guide (unless I'm missing something...which is possible).  It just says to download and install the drivers according to my installation (again, unless I'm missing something the below is all it says).  Which I've done....

 

 

 

Install the latest drivers for your Nvidia hardware either directly from Nvidia Driver Downloads page or from the driver repository of the respective Linux distribution. The procedure may vary by distribution. The minimum required driver version on Linux is 390.25
Edited by Tom83
Link to comment
Share on other sites

After much trial and error, I was able to get the hardware decoders working.  I had to completely purge my nvidia 418.xx drivers and install the 440 drivers.  I'm not sure why the 418 drivers weren't working, but the 440 did the trick.

Link to comment
Share on other sites

We're requiring too high of a version of CUDA (9.0). We'll lower the minimum requirement for the next release.

 

It's a bit of a pleasant surprise that this wasn't something I screwed up, lol.  You guys are awesome. 

 

As soon as I can sweet-talk the wife, I'll be purchasing lifetime premier. 

 

Thanks!

Link to comment
Share on other sites

  • 1 year later...

I'm having this exact same issue again, now with Nvidia 460 drivers installed.  The log file is very similar with regard to the nvidia errors.  What I find very interesting is the "version" for emby says 4.3.0 in multiple locations within the file.  It also says the correct (current) version in a few...... but why would it even have the old version listed?

EDIT: FYI, I did, in fact, order the lifetime premier version as I said. ;)

 

 

hardware_detection-63751253839.txt

Edited by Tom83
Link to comment
Share on other sites

On 3/13/2021 at 11:48 AM, Tom83 said:

I'm having this exact same issue again, now with Nvidia 460 drivers installed.  The log file is very similar with regard to the nvidia errors.  What I find very interesting is the "version" for emby says 4.3.0 in multiple locations within the file.  It also says the correct (current) version in a few...... but why would it even have the old version listed?

EDIT: FYI, I did, in fact, order the lifetime premier version as I said. ;)

 

 

hardware_detection-63751253839.txt 145.65 kB · 1 download

Hi, what exactly is the issue you're having now?

Link to comment
Share on other sites

CuyaxEmby

Luke

I am also having issues with the 460 drivers.  I have tried extensively to uninstall/reinstall my emby docker, and drivers to no avail.  I did follow the guide you mention in many of these trouble tickets.

embyserver.txthardware_detection-63751695111 (1).txt

Here are my logs.

I cannot get my NVIDIA to show up in Advance section of Transcoding and it is sucking up the CPU on my OMV server too much for even a single thread of 720p video.

Please let me know what you think?

Thanks

Link to comment
Share on other sites

The issue is even though my nvidia drivers are installed, it doesn't show up under transcoding....only my intel drivers for my igpu.

Link to comment
Share on other sites

CuyaxEmby

What is the latest NVIDIA driver that is successfully working with a P400 video card on Emby with hardware acceleration?

 

Link to comment
Share on other sites

On 3/18/2021 at 5:54 PM, Tom83 said:

The issue is even though my nvidia drivers are installed, it doesn't show up under transcoding....only my intel drivers for my igpu.

Do you have the latest available drivers installed for your Nvidia?

Link to comment
Share on other sites

 To rule out any permission issues, you could please go to the Emby installation bin folder and run something like 

sudo ./emby-ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 nvencdec -print_format json

 

Link to comment
Share on other sites

14 minutes ago, CuyaxEmby said:

How do I find out where Emby is installed to?  I used Docker with linuxserver/emby

Hi, the top of the server log file will contain a number of paths that should give you what you're looking for.

Link to comment
Share on other sites

CuyaxEmby

I think I found it.  What am I doing wrong?

root@ariadne:/var/lib/docker/overlay2/651f7fa11abdf7f7e201604512b3232a1a31a004058201aa188c0d0fd89499e4/diff/app/emby# sudo ffdetect
sudo: ffdetect: command not found
 

Link to comment
Share on other sites

CuyaxEmby

I would love to have an answer to the question above, if you can clarify.  I am also trying a WIndows install as I am very new to Linux

Link to comment
Share on other sites

  • 1 month later...
On 3/22/2021 at 7:05 AM, softworkz said:

 To rule out any permission issues, you could please go to the Emby installation bin folder and run something like 


sudo ./emby-ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 nvencdec -print_format json

 

I get the following errors when I run that:

 

Quote

dietpi@superDietPi:/opt/emby-server/bin$ sudo ./emby-ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 nvencdec -print_format json
ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC
  built with 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-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --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-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static
  libavutil      56. 36.100 / 56. 36.100
{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2020_05_23",
        "Copyright": "Copyright (c) 2018-2019 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-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --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-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static"
Cannot load libcuda.so.1
Error loading CUDA functions
    },
    "Error": {
        "Number": -1,
        "Message": "Operation not permitted"
    },
    "Log": [
        {
            "Level": 16,
            "Category": 0,
            "Message": "Cannot load libcuda.so.1"
        },
        {
            "Level": 16,
            "Category": 0,
            "Message": "Error loading CUDA functions"
        }
    ]
}
dietpi@superDietPi:/opt/emby-server/bin$
 

 

Link to comment
Share on other sites

@Tom83 - How did you install the Nvidia drivers? You need to follow the instructions from nvidia.com for driver installation. Installing the driver provided by Linux distributions is not sufficient, even when the version seems ok.

Link to comment
Share on other sites

  • 2 weeks later...
Tom83
On 4/27/2021 at 11:33 PM, softworkz said:

@Tom83 - How did you install the Nvidia drivers? You need to follow the instructions from nvidia.com for driver installation. Installing the driver provided by Linux distributions is not sufficient, even when the version seems ok.

Nothing worked..... then I purged my nvidia drivers and performed the following:

 

Downloaded the newest Nvidia binaries

wget https://us.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run

Installed my kernel's headers (so I could compile the newest drivers for it)
 

apt install linux-headers-$(uname -r)

Installed the Nvidia drivers:
 

sh ./NVIDIA-Linux-x86_64-465.27.run

 

It's working flawlessly now!

Link to comment
Share on other sites

2 hours ago, Tom83 said:

Nothing worked..... then I purged my nvidia drivers and performed the following:

 

Downloaded the newest Nvidia binaries


wget https://us.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run

Installed my kernel's headers (so I could compile the newest drivers for it)
 


apt install linux-headers-$(uname -r)

Installed the Nvidia drivers:
 


sh ./NVIDIA-Linux-x86_64-465.27.run

 

It's working flawlessly now!

Thanks for the feedback !

Link to comment
Share on other sites

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...