hispeed 9 Posted August 10, 2022 Posted August 10, 2022 Hi I'm currently in the process for my new setup. This new setup is like this: Host: Esxi 7.X VM: Debian as Docker Host System -> on this Debian host system the volumes are mounted (local and remote) Container: Emby This is as far as i know not a problem but now it gets more complicated. Now I think about to buy an additional HP Riser card and add there a radeon-pro-wx5100. Question: Does anybody has done a setup like this? Does the hardware Accelaration work? Does anyone has an example docker stack / compose file (configuration)? Thank you for your ideas and feedback.
Luke 42077 Posted August 11, 2022 Posted August 11, 2022 21 hours ago, hispeed said: Hi I'm currently in the process for my new setup. This new setup is like this: Host: Esxi 7.X VM: Debian as Docker Host System -> on this Debian host system the volumes are mounted (local and remote) Container: Emby This is as far as i know not a problem but now it gets more complicated. Now I think about to buy an additional HP Riser card and add there a radeon-pro-wx5100. Question: Does anybody has done a setup like this? Does the hardware Accelaration work? Does anyone has an example docker stack / compose file (configuration)? Thank you for your ideas and feedback. Hi, this user may have some tips on that card:
hispeed 9 Posted August 12, 2022 Author Posted August 12, 2022 Hi @Luke I see I read also a lot and for me it looks like AMD GPU's are not really well supported in general. Probably I should take a Nvidia GPU like Quadro P2000. Do you have any recommendations concering the Emby Docker Stack/Compose file? This is just a draft and never tested. Question: Can I set a fix IP-Adress and does Emby start? version: "3.9" services: emby: image: emby/embyserver container_name: embyserver runtime: nvidia network_mode: host environment: - PUID=1001 - PGID=1001 - GIDLIST=1001 volumes: - /var/lib/containers/emby/programdata:/config - /var/lib/containers/emby/csfilme:/mnt/share1 - /var/lib/containers/emby/csdokumentationen:/mnt/share2 - /var/lib/containers/emby/csserien:/mnt/share3 - /var/lib/containers/emby/csmusik:/mnt/share4 - /var/lib/containers/emby/movies:/mnt/share5 - /var/lib/containers/emby/movies:/mnt/share6 - /var/lib/containers/emby/movies:/mnt/share7 - /var/lib/containers/emby/movies:/mnt/share8 ports: - 8096:8096 # HTTP port - 8920:8920 # HTTPS port devices: - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes - /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi restart: unless-stopped
Luke 42077 Posted August 17, 2022 Posted August 17, 2022 Regarding Nvidia, have you taken a look at this?
hispeed 9 Posted August 25, 2022 Author Posted August 25, 2022 Hi @Luke Yes and it's probably much better if I take a NVIDIA card. Right now I'm looking into a P2000 Quadro card. As soon as I have it I can give some updates. 1
hispeed 9 Posted September 23, 2022 Author Posted September 23, 2022 @Luke So far I can give a first update: I have installed on a Ubuntu VM machine the nvidia driver sucessfully using this tutorial (https://forum.openmediavault.org/index.php?thread/38013-howto-nvidia-hardware-transcoding-on-omv-5-in-a-plex-docker-container/#codeLine_3_com_woltlab_wbb_post_313378_432646) I can also confirm that a Quadro P2000 looks so far good concering my plan to recieve hardware encoding in docker. This is a HP DL380 G9 and I'm not using an original HP part. So the GPU is not HP labeled but the numbers are very close. Here is a first image, until now it has nothing to do with docker and Emby. 1
hispeed 9 Posted October 8, 2022 Author Posted October 8, 2022 (edited) @Luke So i'm getting closer to the solution but something is not correct so I don't see the hardware in emby. {"ApplicationVersion":"4.7.8.0","VersionType":"Release","ReleaseCode":"96710f20befe47d4ab9f21d80aec04c6","Environment":{"OperatingSystem":"Linux","OperatingSystemName":"Unix","OperatingSystemVersion":"Linux version 5.10.0-14-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1","FrameworkVersion":".NET 6.0.8","OsArchitecture":"x64","ProcessArchitecture":"x64","PathSeparator":":","IsWindowsService":false},"VideoDecoders":{},"VideoEncoders":{"1: x264 Software Encoder":{"SupportedPresets":["superfast","veryfast","faster","fast","medium","slow","slower","veryslow"],"MinConstantRateFactor":0,"MaxConstantRateFactor":51,"FrameworkCodec":"libx264","IsHardwareCodec":false,"SupportsParameters":true,"CompatibleDecoderFrameworks":[],"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","SupportedColorFormats":["yuv420p","yuvj420p","yuv422p","yuvj422p","yuv444p","yuvj444p","nv12","nv16","nv21","yuv420p10","yuv422p10","yuv444p10","nv20","gray","gray10"],"CommandGenerator":{},"CodecDeviceInfo":{"Capabilities":{"SupportsHwUpload":false,"SupportsHwDownload":false,"SupportsStandaloneDeviceInit":false,"Supports10BitProcessing":false,"SupportsNativeToneMapping":false},"Adapter":0,"Name":"Software Codec","Desription":"Software Codec","DeviceId":0,"HardwareContextFramework":"None","VendorId":0},"CodecKind":"Video","MediaTypeName":"H.264 (AVC)","MaxBitRate":"781 Mbit/s","SupportedColorFormatStrings":["YUV420P","YUVJ420P","YUV422P","YUVJ422P","YUV444P","YUVJ444P","NV12","NV16","NV21","YUV420P10","YUV422P10","YUV444P10","NV20","GRAY8","GRAY10"],"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","BitDepths":[8]},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRateStrings":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRatesDisplay":"8192x4320@120, 7680x4320@129, 3840x2160@300"}},{"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","BitDepths":[8]},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRateStrings":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRatesDisplay":"8192x4320@120, 7680x4320@129, 3840x2160@300"}},{"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","BitDepths":[8]},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRateStrings":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRatesDisplay":"8192x4320@120, 7680x4320@129, 3840x2160@300"}},{"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","BitDepths":[10]},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRateStrings":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRatesDisplay":"8192x4320@120, 7680x4320@129, 3840x2160@300"}},{"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","BitDepths":[10]},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRateStrings":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRatesDisplay":"8192x4320@120, 7680x4320@129, 3840x2160@300"}},{"Profile":{"ShortName":"AvcProfileHigh444","Description":"High 4:4:4 Predictive 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","BitDepths":[10,12,14]},"Level":{"ShortName":"AvcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"781 Mbit/s","MaxBitRateDisplay":"781 Mbit/s","Id":"AvcLevels.AvcLevel62","ResolutionRates":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRateStrings":["8192x4320@120","7680x4320@129","3840x2160@300"],"ResolutionRatesDisplay":"8192x4320@120, 7680x4320@129, 3840x2160@300"}}],"Id":"V-E-libx264","Name":"x264 Software Encoder","SecondaryFramework":"None","IsEnabledByDefault":false,"DefaultPriority":0},"2: x265 Software Encoder":{"SupportedPresets":["ultrafast","superfast","veryfast","faster","fast","medium","slow","slower","veryslow","placebo"],"MinConstantRateFactor":0,"MaxConstantRateFactor":51,"FrameworkCodec":"libx265","IsHardwareCodec":false,"SupportsParameters":true,"CompatibleDecoderFrameworks":[],"VideoMediaType":"hevc","ProfilesWithLevel":[{"Profile":"HevcProfileMain","Level":"HevcLevel62"},{"Profile":"HevcProfileMain10","Level":"HevcLevel62"}],"SupportedProfiles":["HevcProfileMain","HevcProfileMain10"],"SupportedLevels":["HevcLevel1","HevcLevel2","HevcLevel21","HevcLevel3","HevcLevel31","HevcLevel4","HevcLevel41","HevcLevel5","HevcLevel51","HevcLevel52","HevcLevel6","HevcLevel61","HevcLevel62"],"Direction":"Encoder","SupportedColorFormats":["yuv420p","yuvj420p","yuv422p","yuvj422p","yuv444p","yuvj444p","gbrp","yuv420p10","yuv422p10","yuv444p10","gbrp10","yuv420p12","yuv422p12","yuv444p12","gbrp12","gray","gray10","gray12"],"CommandGenerator":{},"CodecDeviceInfo":{"Capabilities":{"SupportsHwUpload":false,"SupportsHwDownload":false,"SupportsStandaloneDeviceInit":false,"Supports10BitProcessing":false,"SupportsNativeToneMapping":false},"Adapter":0,"Name":"Software Codec","Desription":"Software Codec","DeviceId":0,"HardwareContextFramework":"None","VendorId":0},"CodecKind":"Video","MediaTypeName":"H.265 (HEVC)","MaxBitRate":"234 Mbit/s","SupportedColorFormatStrings":["YUV420P","YUVJ420P","YUV422P","YUVJ422P","YUV444P","YUVJ444P","GBRP","YUV420P10","YUV422P10","YUV444P10","GBRP10","YUV420P12","YUV422P12","YUV444P12","GBRP12","GRAY8","GRAY10","GRAY12"],"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","BitDepths":[8]},"Level":{"ShortName":"HevcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"234 Mbit/s","MaxBitRateDisplay":"234 Mbit/s","Id":"HevcLevels.HevcLevel62","ResolutionRates":["8192x8192@60","8192x4320@120","7680x4320@128","3840x2160@300"],"ResolutionRateStrings":["8192x8192@60","8192x4320@120","7680x4320@128","3840x2160@300"],"ResolutionRatesDisplay":"8192x8192@60, 8192x4320@120, 7680x4320@128, 3840x2160@300"}},{"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","BitDepths":[8,10]},"Level":{"ShortName":"HevcLevel62","Description":"Level 6.2","Ordinal":62,"MaxBitRate":"234 Mbit/s","MaxBitRateDisplay":"234 Mbit/s","Id":"HevcLevels.HevcLevel62","ResolutionRates":["8192x8192@60","8192x4320@120","7680x4320@128","3840x2160@300"],"ResolutionRateStrings":["8192x8192@60","8192x4320@120","7680x4320@128","3840x2160@300"],"ResolutionRatesDisplay":"8192x8192@60, 8192x4320@120, 7680x4320@128, 3840x2160@300"}}],"Id":"V-E-libx265","Name":"x265 Software Encoder","SecondaryFramework":"None","IsEnabledByDefault":false,"DefaultPriority":0},"3: MPEG-4 part 2 Software Encoder":{"FrameworkCodec":"mpeg4","IsHardwareCodec":false,"SupportsParameters":false,"CompatibleDecoderFrameworks":[],"VideoMediaType":"mpeg4","ProfilesWithLevel":[],"SupportedProfiles":[],"SupportedLevels":[],"Direction":"Encoder","SupportedColorFormats":[],"CommandGenerator":{},"CodecDeviceInfo":{"Capabilities":{"SupportsHwUpload":false,"SupportsHwDownload":false,"SupportsStandaloneDeviceInit":false,"Supports10BitProcessing":false,"SupportsNativeToneMapping":false},"Adapter":0,"Name":"Software Codec","Desription":"Software Codec","DeviceId":0,"HardwareContextFramework":"None","VendorId":0},"CodecKind":"Video","MediaTypeName":"MPEG-4","SupportedColorFormatStrings":[],"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","SupportsParameters":false,"IsHardwareCodec":false,"CompatibleDecoderFrameworks":[],"ProfilesWithLevel":[],"SupportedProfiles":[],"SupportedLevels":[],"Direction":"Encoder","SupportedColorFormats":[],"CommandGenerator":{},"CodecDeviceInfo":{"Capabilities":{"SupportsHwUpload":false,"SupportsHwDownload":false,"SupportsStandaloneDeviceInit":false,"Supports10BitProcessing":false,"SupportsNativeToneMapping":false},"Adapter":0,"Name":"Software Codec","Desription":"Software Codec","DeviceId":0,"HardwareContextFramework":"None","VendorId":0},"CodecKind":"Video","MediaTypeName":"MPEG-4 part 2 Microsoft variant version 3","SupportedColorFormatStrings":[],"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,"SupportsParameters":false,"CompatibleDecoderFrameworks":[],"VideoMediaType":"vp8","ProfilesWithLevel":[{"Profile":"Vp8Profile0","Level":"Vp8levelDefault"}],"SupportedProfiles":["Vp8Profile0"],"SupportedLevels":["Vp8levelDefault"],"Direction":"Encoder","SupportedColorFormats":[],"CommandGenerator":{},"CodecDeviceInfo":{"Capabilities":{"SupportsHwUpload":false,"SupportsHwDownload":false,"SupportsStandaloneDeviceInit":false,"Supports10BitProcessing":false,"SupportsNativeToneMapping":false},"Adapter":0,"Name":"Software Codec","Desription":"Software Codec","DeviceId":0,"HardwareContextFramework":"None","VendorId":0},"CodecKind":"Video","MediaTypeName":"VP8","SupportedColorFormatStrings":[],"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","BitDepths":[8]},"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":4,"ExtractionThreadCount":1,"TranscodingTempPath":"/tmp/transcoding-temp","DownMixAudioBoost":2,"EnableThrottling":false,"ThrottleBufferSize":120,"ThrottleHysteresis":8,"ThrottlingMethod":"BySegmentRequest","H264Crf":23,"H264Preset":"","EnableHardwareEncoding":true,"EnableSubtitleExtraction":true,"CodecConfigurations":[],"HardwareAccelerationMode":1,"EnableHardwareToneMapping":false,"EnableSoftwareToneMapping":false},"DetectionOutputs":{"Vaapi":{"CodecProviderName":"Vaapi","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\nBegin GetVaAdapterInfo\nFound 48 device entries\nBegin get_nodes\nFound 3 drm entries\nBegin get_nodes\nFound 2 drm entries\nEnd GetVaAdapterInfo\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'" }, "Devices": [ { "DeviceIndex": 0, "DeviceInfo": { "VendorName": "VMware", "DeviceName": "SVGA II Adapter", "SubsytemVendorName": "VMware", "SubsytemDeviceName": "SVGA II Adapter", "VendorId": 5549, "DeviceId": 1029, "SubsytemVendorId": 5549, "SubsytemDeviceId": 1029, "DevPath": "/sys/bus/pci/devices/0000:00:0f.0", "DrmCard": "/dev/dri/card0", "DrmRender": "/dev/dri/renderD128", "IsEnabled": 1, "IsBootVga": 1, "Error": { "Number": -1, "Message": "Failed to open the drm device /dev/dri/renderD128" } "DeviceIndex": 1, "DeviceInfo": { "VendorName": "NVIDIA Corporation", "DeviceName": "GP106GL [Quadro P2000]", "SubsytemVendorName": "Dell", "VendorId": 4318, "DeviceId": 7216, "SubsytemVendorId": 4136, "SubsytemDeviceId": 4531, "DevPath": "/sys/bus/pci/devices/0000:0c:00.0", "DrmCard": "/dev/dri/card1", "DrmRender": "/dev/dri/renderD129", "IsEnabled": 1, "IsBootVga": 0, "Error": { "Number": -1, "Message": "Failed to open the drm device /dev/dri/renderD129" } } } ], "Log": [ { "Level": 40, "Category": 0, "Message": "Found 48 device entries" } ] } Do you have an idea concerning: "failed to open the drm device /dev/dri/renderD128"? @softworkz Maybe you can give me a hint? Edited October 8, 2022 by hispeed
Luke 42077 Posted October 9, 2022 Posted October 9, 2022 Please attach the emby server log as well. .thanks.
hispeed 9 Posted October 9, 2022 Author Posted October 9, 2022 Hi @Luke At the moment i use this compose file: version: '3.9' services: emby: hostname: XXXXX-EMBY-01 image: emby/embyserver container_name: embyserver environment: - PUID=1001 - PGID=1001 - GIDLIST=1001,44,106 - NVIDIA_VISIBLE_DEVICES=all - NVIDIA_DRIVER_CAPABILITIES=all volumes: - /var/lib/containers/emby/programdata:/config - /var/lib/containers/emby/csfilme:/mnt/share1 - /var/lib/containers/emby/csdokumentationen:/mnt/share2 - /var/lib/containers/emby/csserien:/mnt/share3 - /var/lib/containers/emby/csmusik:/mnt/share4 ports: - 8096:8096 # HTTP port - 8920:8920 # HTTPS port devices: - /dev/nvidiactl:/dev/nvidiactl - /dev/nvidia0:/dev/nvidia0 - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes restart: unless-stopped I can't add: - /dev/dri/renderD129:/dev/dri/renderD129 <- in the device section then I get an error. Here are both logs after a restart. embyserver.txt hardware_detection-63800892636.txt
Q-Droid 989 Posted October 9, 2022 Posted October 9, 2022 (edited) removed... I didn't notice you already had - /dev/dri which would include all video devices. Edited October 9, 2022 by Q-Droid
Q-Droid 989 Posted October 9, 2022 Posted October 9, 2022 On the Deb host, what do you get from: ls -l /dev/dri
hispeed 9 Posted October 9, 2022 Author Posted October 9, 2022 (edited) @Q-Droid I get this output: in total: 0 drwxr-xr-x 2 root root 120 9. Okt 13:23 by-path crw-rw---- 1 root video 226, 0 9. Okt 13:23 card0 crw-rw---- 1 root video 226, 1 9. Okt 13:23 card1 crw-rw---- 1 root render 226, 128 9. Okt 13:23 renderD128 crw-rw---- 1 root render 226, 129 9. Okt 13:23 renderD129 Edited October 9, 2022 by hispeed
Q-Droid 989 Posted October 9, 2022 Posted October 9, 2022 Have you verified that GIDs 44 and 106 correspond with the video and render groups? getent group video getent group render
hispeed 9 Posted October 9, 2022 Author Posted October 9, 2022 (edited) @Q-Droid Yes but now i see something In the render group there is no user added? video:x:44:root,dockeruser render:x:106: -> here is no user? I added the user tho those groups but no change and i made a reboot. Edited October 9, 2022 by hispeed
Q-Droid 989 Posted October 9, 2022 Posted October 9, 2022 And you did complete the nvidia-docker toolkit installation on your Debian host? Something might still be missing but I can't tell what that is.
hispeed 9 Posted October 9, 2022 Author Posted October 9, 2022 Hmm as far as I know yes everything is installed. Yes the nvidia-docker-toolkit ist also installed. I think it's more a permission issue. I use docker in Rootless mode maybe this is also an issue, but why does the hardware detection sees the gpu card? Let's see what Luke and Softworkz are writing and I wrote a mail to the Nvidia developer maybe I get from him also a answer or help.
Luke 42077 Posted October 12, 2022 Posted October 12, 2022 Are you able to try installing the native debian package as a test to see how that compares?
hispeed 9 Posted October 14, 2022 Author Posted October 14, 2022 @Luke Do you mean a container with debian and then test it? Do you have a manual or short description how to that? I tried this but to get the container running is not so easy.
Q-Droid 989 Posted October 14, 2022 Posted October 14, 2022 I think @Luke means to install the Emby package directly on the Debian VM, not as a container.
hispeed 9 Posted October 16, 2022 Author Posted October 16, 2022 (edited) @Luke and @Q-Droid Ah ok yes this is possible but it's a lot of time because after that I would need to restore the whole docker host. I don't want to install something directly on the host. So I would prefer to do that as last option. I think I got a little bit further with my problem. I found this thread: https://forum.cloudron.io/topic/7768/hardware-transcoding-is-not-working and there he wrote about a permission issue. So I have now a different error. I gave different permissions to: crw-rw-rw- 1 root render 226, 128 15. Okt 09:30 /dev/dri/renderD128 and crw-rw-rw- 1 root render 226, 128 15. Okt 09:30 /dev/dri/renderD129 I used: sudo chmod a+rw /dev/dri/renderD128 and restarted then my docker rootless (no reboot). If i do a reboot the CHMOD is lost because the folder is probably recreated at boot. I have attached my actual log. The error i recieve now is: "Message": "Failed to initialize VA /dev/dri/renderD128. Error -1" embyserver.txt hardware_detection-63801500780.txt Edited October 16, 2022 by hispeed
hispeed 9 Posted October 23, 2022 Author Posted October 23, 2022 @Luke I let the devil queen out there.... I copied my whole VM and added it on the ESXI Host as a copy. I only installed emby on this second docker host. This looks good but in the container it doesn't work. So it has something to do with my docker settings. Sample:
Luke 42077 Posted October 24, 2022 Posted October 24, 2022 On 10/23/2022 at 4:18 AM, hispeed said: @Luke I let the devil queen out there.... I copied my whole VM and added it on the ESXI Host as a copy. I only installed emby on this second docker host. This looks good but in the container it doesn't work. So it has something to do with my docker settings. Sample: What exactly is the problem with this?
hispeed 9 Posted October 25, 2022 Author Posted October 25, 2022 @Luke With this, there is no problem. This only to proof that the problem only exists within the docker container. Outside of the container on a virtualized system on a esxi 7.X it's working fine. My question is then, any recomendation concerning the docker compose template or so?
Luke 42077 Posted October 25, 2022 Posted October 25, 2022 It means you'll need to configure the docker container sufficiently so that emby server can see the GPU. How to do that though is going to be specific to your environment.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now