Failed to open the drm device /dev/dri/renderD128 in Container

I have an Esxi 7.X and use a Nvidia Quadro P2000 card. I want to passthrough the GPU to a docker container software. In the container the software emby is running.

I recieve those 2 messages in the container.

"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" }

At the moment I use this compose file: `version: '3.9' services: emby: hostname: SVGXXX-XXXX-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/XXXXXX:/mnt/share1
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`

On the host machine which is Debian (Debian 5.10.113-1 (2022-04-29) x86_64) i can make the Nvidia-SMI test succesfully. I use a Docker Rootless installation.

Attached here is also an hardware log this from inside the container. hardware_detection-63800892636.txt