vaInitialize failed with error code -1
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- debian, linux
- Ambito
- operating-systems
Direzione di ricerca
Inizia riproducendo il problema con i comandi vainfo, vainfo --display drm e intel_gpu_top indicati su Debian 12, verificando i dispositivi /dev/dri elencati e l’output del driver. Il lavoro è completato quando si determina se il problema è in libva o nel driver GPU installato/nella configurazione e si documentano i passaggi successivi attuabili per la configurazione headless con due GPU.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C
- Stelle
- 786
- Fork
- 314
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di intel/libva
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
registry_package Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
-
Ojaidi Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NVIDIA/k8s-device-plugin#2061 · 1 commento ·
-
task
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vsanthanam/JBird#429 ·