Closed yjdwbj closed 1 year ago
Hi guys. I got a strange question that vaInitialize failed after the second time. But also run vdpauinfo is fine. Also reboot the system it's fine.
vdpauinfo
vainfo libva info: VA-API version 1.17.0 libva info: User environment variable requested driver 'nvidia' libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so libva info: Found init function __vaDriverInit_1_0 libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed libva info: va_openDriver() returns 1 vaInitialize failed with error code 1 (operation failed),exit michael@debian:~$ vdpauinfo display: :0 screen: 0 API version: 1 Information string: NVIDIA VDPAU Driver Shared Library 525.105.17 Tue Mar 28 22:17:10 UTC 2023 Video surface: name width height types ------------------------------------------- 420 8192 8192 NV12 YV12 422 8192 8192 UYVY YUYV 444 8192 8192 NV24 YV24 420_16 8192 8192 P010 P016 422_16 8192 8192 UYVY YUYV 444_16 8192 8192 Y_U_V_444_16 Decoder capabilities:
~$ NVD_LOG=1 vainfo libva info: VA-API version 1.17.0 libva info: User environment variable requested driver 'nvidia' libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so 9154.013991558 [78158-78158] ../src/vabackend.c: 108 init CUDA ERROR 'unknown error' (999)
libva info: Found init function vaDriverInit_1_0 9154.014032264 [78158-78158] ../src/vabackend.c:1872 vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x55e1e1780f50 10 9154.014038035 [78158-78158] ../src/vabackend.c:1894 vaDriverInit_1_0 Now have 0 (0 max) instances 9154.014041612 [78158-78158] ../src/vabackend.c:1916 vaDriverInit_1_0 Selecting EGL backend 9154.018975415 [78158-78158] ../src/export-buf.c: 150 findGPUIndexFromFd Defaulting to CUDA GPU ID 0. Use NVD_GPU to select a specific CUDA GPU 9154.018982698 [78158-78158] ../src/export-buf.c: 163 findGPUIndexFromFd Looking for GPU index: 0 9154.020207555 [78158-78158] ../src/export-buf.c: 175 findGPUIndexFromFd Found 3 EGL devices 9154.021765387 [78158-78158] ../src/export-buf.c: 229 findGPUIndexFromFd No EGL_CUDA_DEVICE_NV support for EGLDevice 0 9154.021776538 [78158-78158] ../src/export-buf.c: 229 findGPUIndexFromFd No EGL_CUDA_DEVICE_NV support for EGLDevice 1 9154.021780255 [78158-78158] ../src/export-buf.c: 232 findGPUIndexFromFd No DRM device file for EGLDevice 2 9154.021782619 [78158-78158] ../src/export-buf.c: 235 findGPUIndexFromFd No match found, falling back to default device 9154.022897830 [78158-78158] ../src/export-buf.c: 289 egl_initExporter Driver supports 16-bit surfaces 9154.022908871 [78158-78158] ../src/vabackend.c:1948 __vaDriverInit_1_0 CUDA ERROR 'initialization error' (3)
9154.022911606 [78158-78158] ../src/export-buf.c: 65 egl_releaseExporter Releasing exporter, 0 outstanding frames 9154.022917698 [78158-78158] ../src/export-buf.c: 82 egl_releaseExporter Done releasing frames
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed libva info: va_openDriver() returns 1 vaInitialize failed with error code 1 (operation failed),exit
it's my system problem.
Hi guys. I got a strange question that vaInitialize failed after the second time. But also run
vdpauinfo
is fine. Also reboot the system it's fine.libva info: Found init function vaDriverInit_1_0 9154.014032264 [78158-78158] ../src/vabackend.c:1872 vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x55e1e1780f50 10 9154.014038035 [78158-78158] ../src/vabackend.c:1894 vaDriverInit_1_0 Now have 0 (0 max) instances 9154.014041612 [78158-78158] ../src/vabackend.c:1916 vaDriverInit_1_0 Selecting EGL backend 9154.018975415 [78158-78158] ../src/export-buf.c: 150 findGPUIndexFromFd Defaulting to CUDA GPU ID 0. Use NVD_GPU to select a specific CUDA GPU 9154.018982698 [78158-78158] ../src/export-buf.c: 163 findGPUIndexFromFd Looking for GPU index: 0 9154.020207555 [78158-78158] ../src/export-buf.c: 175 findGPUIndexFromFd Found 3 EGL devices 9154.021765387 [78158-78158] ../src/export-buf.c: 229 findGPUIndexFromFd No EGL_CUDA_DEVICE_NV support for EGLDevice 0 9154.021776538 [78158-78158] ../src/export-buf.c: 229 findGPUIndexFromFd No EGL_CUDA_DEVICE_NV support for EGLDevice 1 9154.021780255 [78158-78158] ../src/export-buf.c: 232 findGPUIndexFromFd No DRM device file for EGLDevice 2 9154.021782619 [78158-78158] ../src/export-buf.c: 235 findGPUIndexFromFd No match found, falling back to default device 9154.022897830 [78158-78158] ../src/export-buf.c: 289 egl_initExporter Driver supports 16-bit surfaces 9154.022908871 [78158-78158] ../src/vabackend.c:1948 __vaDriverInit_1_0 CUDA ERROR 'initialization error' (3)
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed libva info: va_openDriver() returns 1 vaInitialize failed with error code 1 (operation failed),exit