-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libva error: vaGetDriverNameByIndex() failed with unknown libva error,driver_name=(null) #1349
Comments
not intel card? it is AMD card , right? |
Yes, but I can successfully deploy Media-Driver on this physical machine of AMD card. This is the output information:
However, when I run Media-Driver in the KVM deployed on this physical machine, even if I achieved CPU pass-through, it still fails.This is the KVM output information:
|
I built a KVM and did pass-through to make it fit the requirements. Here is the configuration :
But it still not work.
I suspect the /dev/dri has an impact
Now, what can I do? |
Hi @WARUKUCHI, seems i915 was not loaded successfully in your environment. |
just like Xiaogang said, we should check why there are no any device node under /dev/dri. if a gpu is installed correctly, it should have a node under /dev/dri. if the configuration is dual card (intel I-graphics and AMD D-graphics) there should be 2 device nodes (or 4, because there are also /dev/dri/devicexxx). so, I suppose the GPU is not enabled on your KVM. |
Make sure to check VM kernel version. For TGL, kernel 5.4 needs to apply i915.force_probe=*. And recommend to use newer stable kernel like 5.10 in guest. |
Thanks for advice, now I build a new KVM. Here is the configuration :
Also get the device:
Also fail again:
This error points to RAM, but it is still the case after I expend the memory. |
dumb question, why not use gdb to check the backtrace of the segmentation failed? |
Thank you for your help. The problem has been solved. |
What did you do to solve the problem? I'm facing the same problem when launching an app. |
what kind of problem, also has multiple display card? |
Hi, If I try to run Google Chrome from command line, I get the same result and this output: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) If I try to open the window again: [7349:7349:1027/143452.480636:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! If I try to run it as a root user, I get this error: [7644:7644:1027/143959.715598:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. I hope I've been clear enough and thanks for your help. |
I'm having the same issue, well kinda of. I get the same message when I try to play a movie in starplus, but if play HBOmax, youtube or whatever it's evertyhing ok. I don't know what it is. |
@sydneyshaw300 @impietrito , please provide more information, such as platform, graphics card, nodes under /dev/dri etc. |
Trying to get HEVC support working under Chrome. Last attempt was on 109.0.5384.0 (similar issues on earlier versions) chrome://gpu shows video decoding is hardware accelerated, however the list with codecs further down is empty. Screen remains black. Works on 107 version on Windows now. Running gentoo linux. ls /dev/dri/by-path card0 card1 renderD128 renderD129 google-chrome-unstable --user-data-dir=/tmp/mehh --enable-features=PlatformHEVCDecoderSupportlibva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [448921:448921:1101/140354.360236:ERROR:gl_display.cc(508)] EGL Driver message (Error) eglCreateContext: Unknown attribute: 0x31b2X [448921:448921:1101/140358.285083:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! vainfoTrying display: wayland qlist -Iv intel xorg wayland kdedev-libs/plasma-wayland-protocols-1.9.0 chrome://gpuGraphics Feature Status Vulkan backend - Intel(R) UHD Graphics (TGL GT1) Vulkan backend - SwiftShader Device (Subzero) |
Facing the same error while opening Google Chrome via terminal on Ubuntu 22.04, plz suggest any solutions |
Libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) |
@XinfengZhang I can confirm it does work with chrome 109 under X11 (HEVC playback works then and codecs are listed). Tried building master (-9999 on gentoo), but it currently fails build process. Will try again later. |
I had the same error after a reboot when trying to open Google Chrome. I had |
Facing the same error while opening Google Chrome via terminal on Ubuntu 22.04.01 plz suggest any solutions |
Hi,
I'm getting this error on my Ubuntu20.04 (it's a KVM):
Here is my configuration :
But media-driver can run successfully on the physical machine on which this KVM is built.
Here is the physical machine configuration :
What can be done?
The text was updated successfully, but these errors were encountered: