[HW Accel Support]: No HW Accel Support under windows->wsl2 #11133
Replies: 3 comments 4 replies
-
That's not correct, most likely should be iHD driver In any case, just to be clear, running in windows is not officially supported |
Beta Was this translation helpful? Give feedback.
-
iHD driver doesn't work error: XDG_RUNTIME_DIR is invalid or not set in the environment. |
Beta Was this translation helpful? Give feedback.
-
same CPU, same config, and same error. If run ‘vainfo --display drm" directly under WLS2, no error; if run ’docker exec --it (frigate-container) vainfo --display drm‘, the same error. It seems the vGPU is not passed into Frigate docker correctly. |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
I'm using windows 11 with wsl2 (Ubuntu-22.04)
graphics card is Intel Iris(R) Xe Graphics.
Therefor the d3d12 driver:
LIBVA_DRIVER_NAME: d3d12
LIBVA_DRIVERS_PATH: /usr/lib/x86_64-linux-gnu/dri
Version
0.13.1-34FB1C2
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
FFprobe output from your camera
Operating system
Windows
Install method
Docker Compose
Network connection
Wired
Camera make and model
Dahua IPC-HFW3449T1P-AS-PV-S2
Any other information that may be helpful
VAINFO within Frigate WebUI
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: User environment variable requested driver 'd3d12'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/d3d12_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva error: /usr/lib/x86_64-linux-gnu/dri/d3d12_drv_video.so init failed
libva info: va_openDriver() returns 2
vaInitialize failed with error code 2 (resource allocation failed),exit
Beta Was this translation helpful? Give feedback.
All reactions