Jump to content

Truenas scale docker emby fails.


KTBBQQ

Recommended Posts

HW:

hp gen10 plus 

NVIDIA GT720

System:Truenas scale 21.08 B1

 

UID:1000

GID:1000

GIDLIST:44,107

video:x:44:

render:x:107:

truenas# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root        100 Sep  4 23:13 by-path
crw-rw---- 1 root video  226,   0 Sep  4 23:13 card0
crw-rw---- 1 root video  226,   1 Sep  4 23:13 card1
crw-rw---- 1 root render 226, 128 Sep  4 23:13 renderD128

 

"DeviceInfo": {
"VendorName": "NVIDIA Corporation",
"DeviceName": "GK208B [GeForce GT 720]",
"SubsytemVendorName": "PC Partner Limited / Sapphire Technology",
"VendorId": 4318,
"DeviceId": 4744,
"SubsytemVendorId": 5963,
"SubsytemDeviceId": 12907,
"DevPath": "/sys/bus/pci/devices/0000:07:00.0",
"DrmCard": "/dev/dri/card1",
"DrmRender": "/dev/dri/renderD128",
"IsEnabled": 1,
"IsBootVga": 0,
"Error": {
"Number": -1,
"Message": "Failed to initialize VA /dev/dri/renderD128. Error -1"
}
}
}
],
"Log": [
{
"Level": 40,
"Category": 0,
"Message": "Found 26 device entries"

English not well,who can help me ?

Link to comment
Share on other sites

Q-Droid

Docker compose:

  devices:
      - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes

https://hub.docker.com/r/emby/embyserver

 

Link to comment
Share on other sites

Thank you answer,use this command try it。

docker run -d \
-v /mnt/Data/media/emby/config:/config \
-v /mnt/Data/media/movie:/mnt/move \
--device /dev/dri:/dev/dri \
--network=host
-p 8096:8096 \
-p 8920:8920 \
-e UID=1000 \
-e GID=1000 \
-e GIDLIST=44,107 \
emby/embyserver:latest 

Link to comment
Share on other sites

hello everybody,today iam try re-install truenas scale 21.08 b1 and install emby in it,but 。。。。

 

test1:

truenas# docker container create \
    --name="emby-server" \
    --network="host" \
    --volume /mnt/Data/media/emby/config:/config \
    --volume /mnt/Data/media/movie:/mnt/move \
    --device /dev/dri:/dev/dri \
    --runtime=nvidia \
    --publish 8096:8096 \
    --publish 8920:8920 \
    --env UID=0 \
    --env GID=0 \
    --env GIDLIST=0 \
    --env NVIDIA_VISIBLE_DEVICES=all \
    --env NVIDIA_DRIVER_CAPABILITIES=compute,utility,video \
    emby/embyserver:latest

result:

truenas# docker exec -it emby-server  /bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json
ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 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-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-chromaprint --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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'
  libavutil      56. 36.100 / 56. 36.100
{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2021_02_27",
        "Copyright": "Copyright (c) 2018-2021 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-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-chromaprint --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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": [
Begin GetVaAdapterInfo
Found 26 device entries
Begin get_nodes
Found 2 drm entries
Begin get_nodes
Found 2 drm entries
End GetVaAdapterInfo
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "Matrox Electronics Systems Ltd.",
                "DeviceName": "MGA G200eH3",
                "SubsytemVendorName": "Hewlett Packard Enterprise",
                "SubsytemDeviceName": "iLO5 VGA",
                "VendorId": 4139,
                "DeviceId": 1336,
                "SubsytemVendorId": 5520,
                "SubsytemDeviceId": 228,
                "DevPath": "/sys/bus/pci/devices/0000:01:00.1",
                "DrmCard": "/dev/dri/card0",
                "IsEnabled": 1,
                "IsBootVga": 1,
                "Error": {
                    "Number": -1,
                    "Message": "Failed to open the drm device (null)"
                }
            }
        },
        {
            "DeviceIndex": 1,
            "DeviceInfo": {
                "VendorName": "NVIDIA Corporation",
                "DeviceName": "GK208B [GeForce GT 720]",
                "SubsytemVendorName": "PC Partner Limited / Sapphire Technology",
                "VendorId": 4318,
                "DeviceId": 4744,
                "SubsytemVendorId": 5963,
                "SubsytemDeviceId": 12907,
                "DevPath": "/sys/bus/pci/devices/0000:07:00.0",
                "DrmCard": "/dev/dri/card1",
                "DrmRender": "/dev/dri/renderD128",
                "IsEnabled": 1,
                "IsBootVga": 0,
                "Error": {
                    "Number": -1,
                    "Message": "Failed to initialize VA /dev/dri/renderD128. Error -1"
                }
            }
        }
    ],
    "Log": [
        {
            "Level": 40,
            "Category": 0,
            "Message": "Found 26 device entries"
        }
    ]
}
truenas# docker exec -it emby-server  ls -l /dev/dri
total 0
crw-rw----    1 root     44        226,   0 Sep  6 17:40 card0
crw-rw----    1 root     44        226,   1 Sep  6 17:40 card1
crw-rw----    1 root     107       226, 128 Sep  6 17:40 renderD128
truenas# docker exec -it emby-server  ls -ld /dev/dri
drwxr-xr-x    2 root     root           100 Sep  6 17:40 /dev/dri

test2:

docker container create \
    --name="emby-server" \
    --network="host" \
    --volume /mnt/Data/media/emby/config:/config \
    --volume /mnt/Data/media/movie:/mnt/move \
    --device /dev/dri:/dev/dri \
    --runtime=nvidia \
    --publish 8096:8096 \
    --publish 8920:8920 \
    --env UID=0 \
    --env GID=0 \
    --env GIDLIST=0 \
    --gpus all
    emby/embyserver:latest

result:

truenas# docker exec -it emby-server  /bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json
ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 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-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-chromaprint --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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'
  libavutil      56. 36.100 / 56. 36.100
{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2021_02_27",
        "Copyright": "Copyright (c) 2018-2021 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-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-chromaprint --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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": [
Begin GetVaAdapterInfo
Found 26 device entries
Begin get_nodes
Found 2 drm entries
Begin get_nodes
Found 2 drm entries
End GetVaAdapterInfo
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "Matrox Electronics Systems Ltd.",
                "DeviceName": "MGA G200eH3",
                "SubsytemVendorName": "Hewlett Packard Enterprise",
                "SubsytemDeviceName": "iLO5 VGA",
                "VendorId": 4139,
                "DeviceId": 1336,
                "SubsytemVendorId": 5520,
                "SubsytemDeviceId": 228,
                "DevPath": "/sys/bus/pci/devices/0000:01:00.1",
                "DrmCard": "/dev/dri/card0",
                "IsEnabled": 1,
                "IsBootVga": 1,
                "Error": {
                    "Number": -1,
                    "Message": "Failed to open the drm device (null)"
                }
            }
        },
        {
            "DeviceIndex": 1,
            "DeviceInfo": {
                "VendorName": "NVIDIA Corporation",
                "DeviceName": "GK208B [GeForce GT 720]",
                "SubsytemVendorName": "PC Partner Limited / Sapphire Technology",
                "VendorId": 4318,
                "DeviceId": 4744,
                "SubsytemVendorId": 5963,
                "SubsytemDeviceId": 12907,
                "DevPath": "/sys/bus/pci/devices/0000:07:00.0",
                "DrmCard": "/dev/dri/card1",
                "DrmRender": "/dev/dri/renderD128",
                "IsEnabled": 1,
                "IsBootVga": 0,
                "Error": {
                    "Number": -1,
                    "Message": "Failed to initialize VA /dev/dri/renderD128. Error -1"
                }
            }
        }
    ],
    "Log": [
        {
            "Level": 40,
            "Category": 0,
            "Message": "Found 26 device entries"
        }
    ]
}
truenas# ls -ld /dev/dri
drwxr-xr-x 3 root root 120 Sep  7 01:04 /dev/dri
truenas# ls -l /dev/dri 
total 0
drwxr-xr-x 2 root root        100 Sep  7 01:04 by-path
crw-rw---- 1 root video  226,   0 Sep  7 01:04 card0
crw-rw---- 1 root video  226,   1 Sep  7 01:04 card1
crw-rw---- 1 root render 226, 128 Sep  7 01:04 renderD128
truenas# docker exec -it emby-server  ls -l /dev/dri
total 0
crw-rw----    1 root     44        226,   0 Sep  6 17:52 card0
crw-rw----    1 root     44        226,   1 Sep  6 17:52 card1
crw-rw----    1 root     107       226, 128 Sep  6 17:52 renderD128
truenas#

Still prompt:Failed to initialize VA /dev/dri/renderD128. Error -1

I have more information:

truenas# nvidia-smi
Tue Sep  7 02:04:59 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03    Driver Version: 460.91.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GT 720      Off  | 00000000:07:00.0 N/A |                  N/A |
| 40%   42C    P8    N/A /  N/A |      0MiB /  2002MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
truenas# 
 

truenas# lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:16.4 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller #2 (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1d.1 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #10 (rev f0)
00:1d.2 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #11 (rev f0)
00:1d.3 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #12 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a30a (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 System peripheral: Hewlett-Packard Company Integrated Lights-Out Standard Slave Instrumentation & System Support (rev 07)
01:00.1 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eH3 (rev 02)
01:00.2 System peripheral: Hewlett-Packard Company Integrated Lights-Out Standard Management Processor Support and Messaging (rev 07)
01:00.4 USB controller: Hewlett-Packard Company iLO5 Virtual USB Controller
02:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
02:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
02:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
02:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
07:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 720] (rev a1)
07:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)

truenas# lsmod
Module                  Size  Used by
nfnetlink_log          20480  3
xt_limit               16384  3
xt_NFLOG               16384  3
xt_physdev             16384  6
xt_tcpudp              20480  3
macvlan                28672  0
veth                   32768  0
nf_conntrack_netlink    57344  0
xt_multiport           20480  2
xt_addrtype            16384  5
ip_vs_rr               16384  4
dummy                  16384  0
ipt_REJECT             16384  4
nf_reject_ipv4         16384  1 ipt_REJECT
ip_set_hash_ipport     45056  1
xt_nat                 16384  1
xt_ipvs                20480  1
ip_vs                 180224  7 ip_vs_rr,xt_ipvs
xt_set                 16384  6
ip_set_hash_ip         45056  3
ip_set_hash_net        49152  1
ip_set                 57344  4 ip_set_hash_ip,xt_set,ip_set_hash_net,ip_set_hash_ipport
nfnetlink              16384  3 nf_conntrack_netlink,ip_set,nfnetlink_log
nvidia_uvm           1015808  0
iptable_mangle         16384  1
ip6table_mangle        16384  1
ip6table_filter        16384  1
ip6table_nat           16384  1
ip6_tables             36864  3 ip6table_filter,ip6table_nat,ip6table_mangle
xt_MASQUERADE          20480  3
xt_conntrack           16384  4
xt_comment             16384  72
iptable_filter         16384  1
xt_mark                16384  26
iptable_nat            16384  1
nf_nat                 53248  4 ip6table_nat,xt_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          176128  6 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_MASQUERADE,ip_vs
nf_defrag_ipv6         24576  2 nf_conntrack,ip_vs
nf_defrag_ipv4         16384  1 nf_conntrack
br_netfilter           32768  0
bridge                253952  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
overlay               143360  0
essiv                  16384  2
authenc                16384  1 essiv
dm_crypt               53248  2
binfmt_misc            24576  1
dm_mod                163840  5 dm_crypt
nvidia_drm             53248  0
nvidia_modeset       1228800  1 nvidia_drm
intel_rapl_msr         20480  0
nvidia              34160640  30 nvidia_uvm,nvidia_modeset
intel_rapl_common      28672  1 intel_rapl_msr
intel_pmc_core_pltdrv    16384  0
intel_pmc_core         45056  0
snd_hda_codec_hdmi     73728  1
snd_hda_intel          57344  0
snd_intel_dspcfg       28672  1 snd_hda_intel
x86_pkg_temp_thermal    20480  0
soundwire_intel        45056  1 snd_intel_dspcfg
soundwire_generic_allocation    16384  1 soundwire_intel
intel_powerclamp       20480  0
snd_soc_core          315392  1 soundwire_intel
coretemp               20480  0
kvm_intel             327680  0
snd_compress           32768  1 snd_soc_core
soundwire_cadence      36864  1 soundwire_intel
snd_hda_codec         172032  2 snd_hda_codec_hdmi,snd_hda_intel
kvm                   917504  1 kvm_intel
snd_hda_core          110592  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
ipmi_ssif              40960  0
snd_hwdep              16384  1 snd_hda_codec
irqbypass              16384  1 kvm
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
mgag200                36864  0
rapl                   20480  0
snd_pcm               135168  7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core
intel_cstate           20480  0
acpi_ipmi              20480  0
snd_timer              49152  1 snd_pcm
intel_uncore          176128  0
hpwdt                  20480  0
drm_kms_helper        274432  4 mgag200,nvidia_drm
snd                   110592  8 snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
mei_me                 45056  0
ipmi_si                73728  1
joydev                 28672  0
evdev                  28672  1
watchdog               28672  1 hpwdt
soundcore              16384  1 snd
hpilo                  24576  0
cec                    61440  1 drm_kms_helper
ipmi_devintf           20480  0
sg                     36864  0
mei                   139264  1 mei_me
intel_pch_thermal      16384  0
efi_pstore             16384  0
ie31200_edac           16384  0
pcspkr                 16384  0
ipmi_msghandler       118784  4 ipmi_devintf,ipmi_si,acpi_ipmi,ipmi_ssif
acpi_tad               20480  0
acpi_power_meter       20480  0
button                 24576  0
drm                   618496  4 drm_kms_helper,mgag200,nvidia_drm
fuse                  167936  1
configfs               57344  1
efivarfs               16384  1
ip_tables              32768  6 iptable_filter,iptable_nat,iptable_mangle
x_tables               53248  20 ip6table_filter,xt_conntrack,iptable_filter,xt_multiport,xt_NFLOG,xt_tcpudp,xt_addrtype,xt_physdev,xt_nat,xt_ipvs,xt_comment,xt_set,ip6_tables,ipt_REJECT,ip_tables,xt_limit,ip6table_mangle,xt_MASQUERADE,iptable_mangle,xt_mark
autofs4                53248  2
zfs                  5677056  161
zunicode              335872  1 zfs
zzstd                 495616  1 zfs
zlua                  200704  1 zfs
zavl                   24576  1 zfs
icp                   380928  1 zfs
zcommon               114688  2 zfs,icp
znvpair               106496  2 zfs,zcommon
spl                   159744  6 zfs,icp,zzstd,znvpair,zcommon,zavl
raid10                 65536  0
raid456               180224  0
async_raid6_recov      24576  1 raid456
async_memcpy           20480  2 raid456,async_raid6_recov
async_pq               20480  2 raid456,async_raid6_recov
async_xor              20480  3 async_pq,raid456,async_raid6_recov
async_tx               20480  5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  1 async_xor
raid6_pq              122880  3 async_pq,raid456,async_raid6_recov
libcrc32c              16384  4 nf_conntrack,nf_nat,raid456,ip_vs
crc32c_generic         16384  0
raid1                  53248  2
hid_generic            16384  0
raid0                  24576  0
sd_mod                 61440  14
t10_pi                 16384  1 sd_mod
multipath              20480  0
crc_t10dif             20480  1 t10_pi
usbhid                 65536  0
crct10dif_generic      16384  0
linear                 20480  0
hid                   147456  2 usbhid,hid_generic
md_mod                184320  8 raid1,raid10,raid0,linear,raid456,multipath
uas                    32768  0
usb_storage            81920  2 uas
crct10dif_pclmul       16384  1
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
crc32_pclmul           16384  0
ahci                   40960  8
crc32c_intel           24576  1
libahci                45056  1 ahci
ghash_clmulni_intel    16384  0
xhci_pci               20480  0
ehci_pci               20480  0
igb                   262144  0
aesni_intel           368640  6
xhci_hcd              307200  1 xhci_pci
ehci_hcd               98304  1 ehci_pci
libaes                 16384  1 aesni_intel
i2c_algo_bit           16384  2 igb,mgag200
libata                290816  2 libahci,ahci
crypto_simd            16384  1 aesni_intel
dca                    16384  1 igb
ptp                    32768  1 igb
cryptd                 24576  4 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
pps_core               24576  1 ptp
scsi_mod              262144  5 sd_mod,usb_storage,uas,libata,sg
usbcore               323584  7 xhci_hcd,ehci_pci,usbhid,usb_storage,ehci_hcd,xhci_pci,uas
wmi                    36864  0

truenas# cat /etc/docker/daemon.json 
{"data-root": "/mnt/Data/ix-applications/docker", "exec-opts": ["native.cgroupdriver=cgroupfs"], "iptables": false, "bridge": "none", "runtimes": {"nvidia": {"path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": []}}, "default-runtime": "nvidia"}#                                                                                                                                                                                   
truenas

 

image.thumb.png.1280fa462aefac52686914ce9c8138df.png

 

 

 

Link to comment
Share on other sites

I think found err ...look this:

truenas# cat /var/log/containers/nvidia-device-plugin-daemonset-wxrbz_kube-system_nvidia-device-plugin-ctr-c9d5ee6646581d8b4dcd93c111f9c93df1cff0cc69c0515047a73722921dab29.log 
{"log":"2021/09/07 14:31:55 Loading NVML\n","stream":"stderr","time":"2021-09-07T14:31:55.913175889Z"}
{"log":"2021/09/07 14:31:55 Starting FS watcher.\n","stream":"stderr","time":"2021-09-07T14:31:55.915444086Z"}
{"log":"2021/09/07 14:31:55 Starting OS watcher.\n","stream":"stderr","time":"2021-09-07T14:31:55.915577717Z"}
{"log":"2021/09/07 14:31:55 Retreiving plugins.\n","stream":"stderr","time":"2021-09-07T14:31:55.915813525Z"}
{"log":"2021/09/07 14:31:55 Starting GRPC server for 'nvidia.com/gpu'\n","stream":"stderr","time":"2021-09-07T14:31:55.92206796Z"}
{"log":"2021/09/07 14:31:55 Starting to serve 'nvidia.com/gpu' on /var/lib/kubelet/device-plugins/nvidia.sock\n","stream":"stderr","time":"2021-09-07T14:31:55.922866158Z"}
{"log":"2021/09/07 14:31:55 Registered device plugin for 'nvidia.com/gpu' with Kubelet\n","stream":"stderr","time":"2021-09-07T14:31:55.924238864Z"}
{"log":"2021/09/07 14:31:55 Warning: GPU-834050d9-2893-41b7-3ad7-0397c2c45637 is too old to support healthchecking: nvml: Not Supported. Marking it unhealthy.\n","stream":"stderr","time":"2021-09-07T14:31:55.924719921Z"}
{"log":"2021/09/07 14:31:55 'nvidia.com/gpu' device marked unhealthy: GPU-834050d9-2893-41b7-3ad7-0397c2c45637\n","stream":"stderr","time":"2021-09-07T14:31:55.924869629Z"}

 

@Luke

 

Link to comment
Share on other sites

@Luke

Yes, I've browsed the connection you sent. I found that it's not a configuration problem, but a hardware problem. I'm going to replace a graphics card and test it again. Thank you very much for your help.

Link to comment
Share on other sites

@Luke

Hello, I replaced the p620 graphics card. Now I can pass the health check, but it still appears:

Failed to initialize VA /dev/dri/renderD128. Error -1,

I've read the connection you gave me in detail, but I use truenas. According to the connection you sent, no problem is found. Now I redo the system and try again.

Have you ever used this system? My data is in truenas, so I can only use this.

Link to comment
Share on other sites

@Luke

This my docker info

truenas# docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
  scan: Docker Scan (Docker Inc., v0.8.0)

Server:
 Containers: 5
  Running: 5
  Paused: 0
  Stopped: 0
 Images: 3
 Server Version: 20.10.8
 Storage Driver: zfs
  Zpool: Data
  Zpool Health: ONLINE
  Parent Dataset: Data/ix-applications/docker
  Space Used By Parent: 98304
  Space Available: 1080732762112
  Parent Quota: no
  Compression: lz4
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux nvidia runc
 Default Runtime: nvidia
 Init Binary: docker-init
 containerd version: e25210fe30a0a703442421b0f60afac609f950a3
 runc version: v1.0.1-0-g4144b63
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.10.42+truenas
 Operating System: Debian GNU/Linux 11 (bullseye)
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 62.66GiB
 Name: truenas.local
 ID: AXOR:DA7H:LR74:FY2L:DL5Y:T37T:FGHC:CNH7:M7ZD:H7FQ:VPUI:INKC
 Docker Root Dir: /mnt/Data/ix-applications/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Link to comment
Share on other sites

truenas# docker container ls
CONTAINER ID   IMAGE               COMMAND                  CREATED         STATUS         PORTS     NAMES
d3980fce39c0   3885a5b7f138        "/coredns -conf /etc…"   9 minutes ago   Up 9 minutes             k8s_coredns_coredns-7448499f4d-2v6g8_kube-system_e73217f5-1b96-4c52-85b5-c4d6b0db9208_0
6e95dd1a99a7   rancher/pause:3.1   "/pause"                 9 minutes ago   Up 9 minutes             k8s_POD_openebs-zfs-controller-0_kube-system_7e1f135f-089a-405a-9f87-992f0663d5dc_0
ba2054e02956   rancher/pause:3.1   "/pause"                 9 minutes ago   Up 9 minutes             k8s_POD_coredns-7448499f4d-2v6g8_kube-system_e73217f5-1b96-4c52-85b5-c4d6b0db9208_0
5515cae20cc1   rancher/pause:3.1   "/pause"                 9 minutes ago   Up 9 minutes             k8s_POD_nvidia-device-plugin-daemonset-pwd47_kube-system_37ec58b8-ed21-47cc-872c-8151bf70a15f_0
6dca846fce7a   rancher/pause:3.1   "/pause"                 9 minutes ago   Up 9 minutes             k8s_POD_openebs-zfs-node-wcv6f_kube-system_c78eb2d2-f2c5-4960-9fb5-ab5c0af0bf88_0

Link to comment
Share on other sites

  • 3 months later...
hoffmannlin

hello @KTBBQQ and @Luke

i already follow all step : 

 

 

but have same issue 

system: TrueNAS-SCALE-22.02-RC.2

# nvidia-smi
Tue Jan 11 14:50:45 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro P400         Off  | 00000000:03:00.0 Off |                  N/A |
| 34%   27C    P8    N/A /  N/A |      0MiB /  1999MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
 

/ # ls -la /dev/dri/
total 0
drwxrwxrwx    2 root     root           100 Jan 11 06:38 .
drwxr-xr-x    6 root     root           440 Jan 11 06:38 ..
crw-rw----    1 root     44        226,   0 Jan 11 06:38 card0
crw-rw----    1 root     44        226,   1 Jan 11 06:38 card1
crw-rw----    1 root     107       226, 128 Jan 11 06:38 renderD128
/ # whoami
root
/ #
 

/ # ffdetect vaencdec
ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 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-alsa --disable-debug --disable-doc --disable-ffplay --disable-libpulse --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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'
  libavutil      56. 36.100 / 56. 36.100
[DEVICE]
DeviceIndex=0
DEVICEINFO:VendorName=NVIDIA Corporation
DEVICEINFO:DeviceName=GP107GL [Quadro P400]
DEVICEINFO:SubsytemVendorName=Dell
DEVICEINFO:VendorId=4318
DEVICEINFO:DeviceId=7347
DEVICEINFO:SubsytemVendorId=4136
DEVICEINFO:SubsytemDeviceId=4542
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:03:00.0
DEVICEINFO:DrmCard=/dev/dri/card1
DEVICEINFO:DrmRender=/dev/dri/renderD128
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=1
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to initialize VA /dev/dri/renderD128. Error -1
[/DEVICE]
[DEVICE]
DeviceIndex=1
DEVICEINFO:VendorName=ASPEED Technology, Inc.
DEVICEINFO:DeviceName=ASPEED Graphics Family
DEVICEINFO:SubsytemVendorName=ASUSTeK Computer Inc.
DEVICEINFO:VendorId=6659
DEVICEINFO:DeviceId=8192
DEVICEINFO:SubsytemVendorId=4163
DEVICEINFO:SubsytemDeviceId=34027
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:09:00.0
DEVICEINFO:DrmCard=/dev/dri/card0
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=0
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to open the drm device (null)
[/DEVICE]
 

 

 

Link to comment
Share on other sites

6 hours ago, hoffmannlin said:

hello @KTBBQQ and @Luke

i already follow all step : 

 

 

but have same issue 

system: TrueNAS-SCALE-22.02-RC.2

# nvidia-smi
Tue Jan 11 14:50:45 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro P400         Off  | 00000000:03:00.0 Off |                  N/A |
| 34%   27C    P8    N/A /  N/A |      0MiB /  1999MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
 

/ # ls -la /dev/dri/
total 0
drwxrwxrwx    2 root     root           100 Jan 11 06:38 .
drwxr-xr-x    6 root     root           440 Jan 11 06:38 ..
crw-rw----    1 root     44        226,   0 Jan 11 06:38 card0
crw-rw----    1 root     44        226,   1 Jan 11 06:38 card1
crw-rw----    1 root     107       226, 128 Jan 11 06:38 renderD128
/ # whoami
root
/ #
 

/ # ffdetect vaencdec
ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 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-alsa --disable-debug --disable-doc --disable-ffplay --disable-libpulse --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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'
  libavutil      56. 36.100 / 56. 36.100
[DEVICE]
DeviceIndex=0
DEVICEINFO:VendorName=NVIDIA Corporation
DEVICEINFO:DeviceName=GP107GL [Quadro P400]
DEVICEINFO:SubsytemVendorName=Dell
DEVICEINFO:VendorId=4318
DEVICEINFO:DeviceId=7347
DEVICEINFO:SubsytemVendorId=4136
DEVICEINFO:SubsytemDeviceId=4542
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:03:00.0
DEVICEINFO:DrmCard=/dev/dri/card1
DEVICEINFO:DrmRender=/dev/dri/renderD128
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=1
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to initialize VA /dev/dri/renderD128. Error -1
[/DEVICE]
[DEVICE]
DeviceIndex=1
DEVICEINFO:VendorName=ASPEED Technology, Inc.
DEVICEINFO:DeviceName=ASPEED Graphics Family
DEVICEINFO:SubsytemVendorName=ASUSTeK Computer Inc.
DEVICEINFO:VendorId=6659
DEVICEINFO:DeviceId=8192
DEVICEINFO:SubsytemVendorId=4163
DEVICEINFO:SubsytemDeviceId=34027
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:09:00.0
DEVICEINFO:DrmCard=/dev/dri/card0
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=0
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to open the drm device (null)
[/DEVICE]
 

 

 

@hoffmannlin can you please describe the issue that you're having? Thanks.

Link to comment
Share on other sites

hoffmannlin

hello @Luke

 

root@truenas[~]# uname -a
Linux truenas.local 5.10.81+truenas #1 SMP Mon Dec 20 21:03:38 UTC 2021 x86_64 GNU/Linux
root@truenas[~]# echo  $(. /etc/os-release;echo $ID$VERSION_ID)
debian11

root@truenas[~]# nvidia-smi
Wed Jan 12 19:25:31 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03    Driver Version: 460.91.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro P400         Off  | 00000000:03:00.0 Off |                  N/A |
| 34%   24C    P8    N/A /  N/A |      0MiB /  2000MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
 

 

i can saw gpu is nvidia quadro p400

 

start emby by docker

docker container create \
    --name="emby-server" \
    --network="host" \
    --volume /mnt/top-case/emby/config:/config \
    --volume /mnt/top-case:/mnt \
    --device /dev/dri:/dev/dri \
    --publish 8096:8096 \
    --env UID=0 \
    --env GID=0 \
    --env GIDLIST=0 \
 --gpus all \
    emby/embyserver:latest
 

 

root@truenas[~]# docker exec -it emby-server sh
/ # ffdetect  vaencdec
ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 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-alsa --disable-debug --disable-doc --disable-ffplay --disable-libpulse --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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'
  libavutil      56. 36.100 / 56. 36.100
[DEVICE]
DeviceIndex=0
DEVICEINFO:VendorName=NVIDIA Corporation
DEVICEINFO:DeviceName=GP107GL [Quadro P400]
DEVICEINFO:SubsytemVendorName=Dell
DEVICEINFO:VendorId=4318
DEVICEINFO:DeviceId=7347
DEVICEINFO:SubsytemVendorId=4136
DEVICEINFO:SubsytemDeviceId=4542
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:03:00.0
DEVICEINFO:DrmCard=/dev/dri/card1
DEVICEINFO:DrmRender=/dev/dri/renderD128
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=0
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to initialize VA /dev/dri/renderD128. Error -1
[/DEVICE]
[DEVICE]
DeviceIndex=1
DEVICEINFO:VendorName=ASPEED Technology, Inc.
DEVICEINFO:DeviceName=ASPEED Graphics Family
DEVICEINFO:SubsytemVendorName=ASUSTeK Computer Inc.
DEVICEINFO:VendorId=6659
DEVICEINFO:DeviceId=8192
DEVICEINFO:SubsytemVendorId=4163
DEVICEINFO:SubsytemDeviceId=34027
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:09:00.0
DEVICEINFO:DrmCard=/dev/dri/card0
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=1
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to open the drm device (null)
[/DEVICE]
 

and Transcoding all empty

Snipaste.PNG.01238b7ececa874196bc548d630a4355.PNG

 

hardware_detection log

hardware_detection-63777583812.txt

Link to comment
Share on other sites

3 hours ago, hoffmannlin said:

hello @Luke

 

root@truenas[~]# uname -a
Linux truenas.local 5.10.81+truenas #1 SMP Mon Dec 20 21:03:38 UTC 2021 x86_64 GNU/Linux
root@truenas[~]# echo  $(. /etc/os-release;echo $ID$VERSION_ID)
debian11

root@truenas[~]# nvidia-smi
Wed Jan 12 19:25:31 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03    Driver Version: 460.91.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro P400         Off  | 00000000:03:00.0 Off |                  N/A |
| 34%   24C    P8    N/A /  N/A |      0MiB /  2000MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
 

 

i can saw gpu is nvidia quadro p400

 

start emby by docker

docker container create \
    --name="emby-server" \
    --network="host" \
    --volume /mnt/top-case/emby/config:/config \
    --volume /mnt/top-case:/mnt \
    --device /dev/dri:/dev/dri \
    --publish 8096:8096 \
    --env UID=0 \
    --env GID=0 \
    --env GIDLIST=0 \
 --gpus all \
    emby/embyserver:latest
 

 

root@truenas[~]# docker exec -it emby-server sh
/ # ffdetect  vaencdec
ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 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-alsa --disable-debug --disable-doc --disable-ffplay --disable-libpulse --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-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --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'
  libavutil      56. 36.100 / 56. 36.100
[DEVICE]
DeviceIndex=0
DEVICEINFO:VendorName=NVIDIA Corporation
DEVICEINFO:DeviceName=GP107GL [Quadro P400]
DEVICEINFO:SubsytemVendorName=Dell
DEVICEINFO:VendorId=4318
DEVICEINFO:DeviceId=7347
DEVICEINFO:SubsytemVendorId=4136
DEVICEINFO:SubsytemDeviceId=4542
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:03:00.0
DEVICEINFO:DrmCard=/dev/dri/card1
DEVICEINFO:DrmRender=/dev/dri/renderD128
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=0
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to initialize VA /dev/dri/renderD128. Error -1
[/DEVICE]
[DEVICE]
DeviceIndex=1
DEVICEINFO:VendorName=ASPEED Technology, Inc.
DEVICEINFO:DeviceName=ASPEED Graphics Family
DEVICEINFO:SubsytemVendorName=ASUSTeK Computer Inc.
DEVICEINFO:VendorId=6659
DEVICEINFO:DeviceId=8192
DEVICEINFO:SubsytemVendorId=4163
DEVICEINFO:SubsytemDeviceId=34027
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:09:00.0
DEVICEINFO:DrmCard=/dev/dri/card0
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=1
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to open the drm device (null)
[/DEVICE]
 

and Transcoding all empty

Snipaste.PNG.01238b7ececa874196bc548d630a4355.PNG

 

hardware_detection log

hardware_detection-63777583812.txt 123.88 kB · 1 download

Did you take a look at this?

 

Link to comment
Share on other sites

hoffmannlin

i follow this post did.

but my system is debian11

root@truenas[~]# uname -a
Linux truenas.local 5.10.81+truenas #1 SMP Mon Dec 20 21:03:38 UTC 2021 x86_64 GNU/Linux
root@truenas[~]# echo  $(. /etc/os-release;echo $ID$VERSION_ID)
debian11

 

nvidia-docker only support debian9 and 10

https://nvidia.github.io/nvidia-docker/

but my docker version is 22.10.11

# docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.6.3-docker)
  scan: Docker Scan (Docker Inc., v0.9.0)

Server:
 Containers: 24
  Running: 11
  Paused: 0
  Stopped: 13
 Images: 16
 Server Version: 20.10.11
 

so i use 

 --gpus all

to create docker

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