vaInitialize failed with error code -1
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- debian, linux
- Área
- operating-systems
Línea de trabajo
Comienza reproduciendo el fallo con los comandos vainfo, vainfo --display drm e intel_gpu_top indicados en Debian 12, comprobando los dispositivos /dev/dri enumerados y la salida del controlador. Se considera terminado cuando se haya determinado si el fallo está en libva o en el controlador de GPU instalado/configuración, y se hayan documentado los siguientes pasos accionables para la configuración sin monitor con dos GPU.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi,
I've spent the last few hours trying to configure hw acceleration on my server but can't seem to get a breakthrough.
I apologize in advance if this isn't a libva issue, but I "think" I installed the right drivers but still can't get things to work, ok I'm not that experienced, but from memory in the past with another system I had succeeded.
Okay, so I have a server with two video cards, one integrated and one added, to be precise I have:
OS -> Debian 12
iGPU -> Intel UHD Graphics 630 integrated with the i5-10400 processor
Esternal GPU -> 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117 [GeForce GTX 1650] [10de:1f82] (rev a1)
I then installed intel-media-va-driver-non-free and nvidia-driver.
For the iGPU I am pretty sure of the drivers, while for the nvidia card, I find my card among both the nouveau and newer drivers, but I've installed the new one like the nvidia-detect advises
nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117 [GeForce GTX 1650] [10de:1f82] (rev a1)
Checking card: NVIDIA Corporation TU117 [GeForce GTX 1650] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 470 drivers series.
It is recommended to install the
nvidia-driver
package.
I rebooted the system but every time I run vainfo this is the output
vainfo
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: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Searching the net I saw that it is possible to run vainfo only for a particular board, so I tried but the result is always the same
ll /dev/dri
totale 0
drwxr-xr-x 2 root root 80 20 apr 20.30 by-path
crw-rw---- 1 root video 226, 0 20 apr 20.30 card0
crw-rw---- 1 root render 226, 128 20 apr 20.30 renderD128
vainfo --display drm --device /dev/dri/renderD128
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
vainfo --display drm --device /dev/dri/card0
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Also according to intel the iGPU is not installed/detected
intel_gpu_top
No device filter specified and no discrete/integrated i915 devices found
I am at a loss as to what to try next to get it all working.
The end goal is to have both video cards working and use them at "will" in the various dockers installed on the server, obviously the server is headless
Does anyone have any suggestions on how to proceed?
Thanks
J
- Lenguaje dominante
- C
- Estrellas
- 786
- Forks
- 314
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de intel/libva
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
registry_package Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
-
Ojaidi Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 1/100
Todos los issues de intel/libva
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
obsproject/obs-studio#13936 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[meshoptimizer] update to 1.3 Abiertocategory:port-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Zenmap bug AbiertoZenmap
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
lexiforest/curl_cffi#864 ·
Los mantenedores suelen responder en 1 día