-
Notifications
You must be signed in to change notification settings - Fork 301
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: i965_drv_video.so init failed #375
Comments
how about use root , not sure whether your account is in video group, whether you have the permission to access /dev/dri/rendD128 ... |
Hello, I get the same result when running vainfo as root, and current user is in video group. |
perhaps running |
Here is the result of |
It reads card0 and all that at low level. But when the driver's internal symbols table is populated, it fails. In i965 driver, the population fails when the card is not recognized by the driver. This can be because you card is newer than driver, or the driver is butchered by the distribution. Anyway, this have to be checked with your distribution. |
Thank you for your answer. I contacted them. Best regards. |
Hi, I encountered a similar problem when try using Gstreamer VAAPI plugins on Ubuntu to hardware decode the video stream. When I run
Initially, the default driver name is
However, I can successfully run
here is the result of
here is the result of
here is the result of
here is the available device by running
here is the available video drivers by running
here is the result of here is the environment:
|
Hello there!
Note that renderD128 is actually under render, not video group. Edit1: Tested on Ubuntu 20.04 |
This depends on OS. Recent ubuntu versions (20.04 for sure) have it under render group. But prev. ubuntu versions (I don't exactly remember when this change happened, either on 19.04 or 19.10), had it under video group. I think CentOS 7 has it as video. Not sure about CentOS 8. So, it's better to always check unless you run Ubuntu 20.04. |
@pawlakm Did you ever find a working solution?
|
google-chrome-beta gives the same warning without crashing on ubuntu 20.04. |
hi @nxt007 are you running native Ubuntu 20.04 or WSL2? On WSL2 there is not dri under /dev: $
`
total 4
drwxr-xr-x 8 root root 2800 Mar 26 00:37 ./
drwxr-xr-x 19 root root 4096 Mar 26 00:37 ../
crw-r--r-- 1 root root 10, 235 Mar 26 00:37 autofs
drwxr-xr-x 2 root root 40 Mar 26 00:37 block/
drwxr-xr-x 2 root root 120 Mar 26 00:37 bsg/
crw------- 1 root root 10, 234 Mar 26 00:37 btrfs-control
crw------- 1 root root 5, 1 Mar 26 00:37 console
crw------- 1 root root 10, 62 Mar 26 00:37 cpu_dma_latency
crw------- 1 root root 10, 203 Mar 26 00:37 cuse
lrwxrwxrwx 1 root root 13 Mar 26 00:37 fd -> /proc/self/fd/
crw-rw-rw- 1 root root 1, 7 Mar 26 00:37 full
crw-rw-rw- 1 root root 10, 229 Mar 26 00:37 fuse
crw-r--r-- 1 root root 1, 11 Mar 26 00:37 kmsg
crw------- 1 root root 10, 237 Mar 26 00:37 loop-control
brw------- 1 root root 7, 0 Mar 26 00:37 loop0
brw------- 1 root root 7, 1 Mar 26 00:37 loop1
brw------- 1 root root 7, 2 Mar 26 00:37 loop2
brw------- 1 root root 7, 3 Mar 26 00:37 loop3
brw------- 1 root root 7, 4 Mar 26 00:37 loop4
brw------- 1 root root 7, 5 Mar 26 00:37 loop5
brw------- 1 root root 7, 6 Mar 26 00:37 loop6
brw------- 1 root root 7, 7 Mar 26 00:37 loop7
drwxr-xr-x 2 root root 60 Mar 26 00:37 mapper/
crw------- 1 root root 1, 1 Mar 26 00:37 mem
drwxr-xr-x 2 root root 60 Mar 26 00:37 net/
crw-rw-rw- 1 root root 1, 3 Mar 26 00:37 null
crw------- 1 root root 10, 144 Mar 26 00:37 nvram
crw------- 1 root root 108, 0 Mar 26 00:37 ppp
crw-rw-rw- 1 root root 5, 2 Apr 6 23:04 ptmx
drwxr-xr-x 2 root root 0 Mar 26 00:37 pts/
brw------- 1 root root 1, 0 Mar 26 00:37 ram0
brw------- 1 root root 1, 1 Mar 26 00:37 ram1
brw------- 1 root root 1, 10 Mar 26 00:37 ram10
brw------- 1 root root 1, 11 Mar 26 00:37 ram11
brw------- 1 root root 1, 12 Mar 26 00:37 ram12
brw------- 1 root root 1, 13 Mar 26 00:37 ram13
brw------- 1 root root 1, 14 Mar 26 00:37 ram14
brw------- 1 root root 1, 15 Mar 26 00:37 ram15
brw------- 1 root root 1, 2 Mar 26 00:37 ram2
brw------- 1 root root 1, 3 Mar 26 00:37 ram3
brw------- 1 root root 1, 4 Mar 26 00:37 ram4
brw------- 1 root root 1, 5 Mar 26 00:37 ram5
brw------- 1 root root 1, 6 Mar 26 00:37 ram6
brw------- 1 root root 1, 7 Mar 26 00:37 ram7
brw------- 1 root root 1, 8 Mar 26 00:37 ram8
brw------- 1 root root 1, 9 Mar 26 00:37 ram9
crw-rw-rw- 1 root root 1, 8 Mar 26 00:37 random
crw------- 1 root root 251, 0 Mar 26 00:37 rtc0
brw------- 1 root root 8, 0 Mar 26 00:37 sda
brw------- 1 root root 8, 16 Mar 26 00:37 sdb
brw------- 1 root root 8, 32 Mar 26 00:37 sdc
brw------- 1 root root 8, 48 Mar 26 00:37 sdd
crw------- 1 root root 21, 0 Mar 26 00:37 sg0
crw------- 1 root root 21, 1 Mar 26 00:37 sg1
crw------- 1 root root 21, 2 Mar 26 00:37 sg2
crw------- 1 root root 21, 3 Mar 26 00:37 sg3
lrwxrwxrwx 1 root root 8 Mar 26 00:37 shm -> /run/shm/
lrwxrwxrwx 1 root root 15 Mar 26 00:37 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Mar 26 00:37 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Mar 26 00:37 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Apr 6 22:55 tty
crw------- 1 root root 4, 0 Mar 26 00:37 tty0
crw------- 1 root root 4, 1 Mar 26 00:37 tty1
crw------- 1 root root 4, 10 Mar 26 00:37 tty10
crw------- 1 root root 4, 11 Mar 26 00:37 tty11
crw------- 1 root root 4, 12 Mar 26 00:37 tty12
crw------- 1 root root 4, 13 Mar 26 00:37 tty13
crw------- 1 root root 4, 14 Mar 26 00:37 tty14
crw------- 1 root root 4, 15 Mar 26 00:37 tty15
crw------- 1 root root 4, 16 Mar 26 00:37 tty16
crw------- 1 root root 4, 17 Mar 26 00:37 tty17
crw------- 1 root root 4, 18 Mar 26 00:37 tty18
crw------- 1 root root 4, 19 Mar 26 00:37 tty19
crw------- 1 root root 4, 2 Mar 26 00:37 tty2
crw------- 1 root root 4, 20 Mar 26 00:37 tty20
crw------- 1 root root 4, 21 Mar 26 00:37 tty21
crw------- 1 root root 4, 22 Mar 26 00:37 tty22
crw------- 1 root root 4, 23 Mar 26 00:37 tty23
crw------- 1 root root 4, 24 Mar 26 00:37 tty24
crw------- 1 root root 4, 25 Mar 26 00:37 tty25
crw------- 1 root root 4, 26 Mar 26 00:37 tty26
crw------- 1 root root 4, 27 Mar 26 00:37 tty27
crw------- 1 root root 4, 28 Mar 26 00:37 tty28
crw------- 1 root root 4, 29 Mar 26 00:37 tty29
crw------- 1 root root 4, 3 Mar 26 00:37 tty3
crw------- 1 root root 4, 30 Mar 26 00:37 tty30
crw------- 1 root root 4, 31 Mar 26 00:37 tty31
crw------- 1 root root 4, 32 Mar 26 00:37 tty32
crw------- 1 root root 4, 33 Mar 26 00:37 tty33
crw------- 1 root root 4, 34 Mar 26 00:37 tty34
crw------- 1 root root 4, 35 Mar 26 00:37 tty35
crw------- 1 root root 4, 36 Mar 26 00:37 tty36
crw------- 1 root root 4, 37 Mar 26 00:37 tty37
crw------- 1 root root 4, 38 Mar 26 00:37 tty38
crw------- 1 root root 4, 39 Mar 26 00:37 tty39
crw------- 1 root root 4, 4 Mar 26 00:37 tty4
crw------- 1 root root 4, 40 Mar 26 00:37 tty40
crw------- 1 root root 4, 41 Mar 26 00:37 tty41
crw------- 1 root root 4, 42 Mar 26 00:37 tty42
crw------- 1 root root 4, 43 Mar 26 00:37 tty43
crw------- 1 root root 4, 44 Mar 26 00:37 tty44
crw------- 1 root root 4, 45 Mar 26 00:37 tty45
crw------- 1 root root 4, 46 Mar 26 00:37 tty46
crw------- 1 root root 4, 47 Mar 26 00:37 tty47
crw------- 1 root root 4, 48 Mar 26 00:37 tty48
crw------- 1 root root 4, 49 Mar 26 00:37 tty49
crw------- 1 root root 4, 5 Mar 26 00:37 tty5
crw------- 1 root root 4, 50 Mar 26 00:37 tty50
crw------- 1 root root 4, 51 Mar 26 00:37 tty51
crw------- 1 root root 4, 52 Mar 26 00:37 tty52
crw------- 1 root root 4, 53 Mar 26 00:37 tty53
crw------- 1 root root 4, 54 Mar 26 00:37 tty54
crw------- 1 root root 4, 55 Mar 26 00:37 tty55
crw------- 1 root root 4, 56 Mar 26 00:37 tty56
crw------- 1 root root 4, 57 Mar 26 00:37 tty57
crw------- 1 root root 4, 58 Mar 26 00:37 tty58
crw------- 1 root root 4, 59 Mar 26 00:37 tty59
crw------- 1 root root 4, 6 Mar 26 00:37 tty6
crw------- 1 root root 4, 60 Mar 26 00:37 tty60
crw------- 1 root root 4, 61 Mar 26 00:37 tty61
crw------- 1 root root 4, 62 Mar 26 00:37 tty62
crw------- 1 root root 4, 63 Mar 26 00:37 tty63
crw------- 1 root root 4, 7 Mar 26 00:37 tty7
crw------- 1 root root 4, 8 Mar 26 00:37 tty8
crw------- 1 root root 4, 9 Mar 26 00:37 tty9
crw------- 1 root root 4, 64 Mar 26 00:37 ttyS0
crw------- 1 root root 4, 65 Mar 26 00:37 ttyS1
crw------- 1 root root 4, 66 Mar 26 00:37 ttyS2
crw------- 1 root root 4, 67 Mar 26 00:37 ttyS3
crw-rw-rw- 1 root root 1, 9 Mar 26 00:37 urandom
crw------- 1 root root 7, 0 Mar 26 00:37 vcs
crw------- 1 root root 7, 1 Mar 26 00:37 vcs1
crw------- 1 root root 7, 128 Mar 26 00:37 vcsa
crw------- 1 root root 7, 129 Mar 26 00:37 vcsa1
crw------- 1 root root 7, 64 Mar 26 00:37 vcsu
crw------- 1 root root 7, 65 Mar 26 00:37 vcsu1
drwxr-xr-x 2 root root 60 Mar 26 00:37 vfio/
crw------- 1 root root 10, 238 Mar 26 00:37 vhost-net
crw------- 1 root root 10, 63 Mar 26 00:37 vsock
crw-rw-rw- 1 root root 1, 5 Mar 26 00:37 zero
`
same libva init fail with either i965 or iHD $
|
On Archlinux, I also have same error but chromium (and brave) works despite the error without crash: chromium
libva error: /usr/lib/dri/i965_drv_video.so init failed
[22235:22235:0409/151716.208659:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. however my vainfo --display x11
vainfo: VA-API version: 1.11 (libva 2.11.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.1.3 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointEncSlice
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP The user is added to render group as well and here is further detail: > ll /dev/dri/
total 0
drwxr-xr-x 2 root root 80 Apr 9 14:29 by-path/
crw-rw----+ 1 root video 226, 0 Apr 9 14:29 card0
crw-rw-rw- 1 root render 226, 128 Apr 9 14:29 renderD128 and the content of /usr/lib/dri: ll /usr/lib/dri/
total 334M
-rwxr-xr-x 5 root root 14M Mar 27 15:16 i915_dri.so*
-rwxr-xr-x 5 root root 14M Mar 27 15:16 i965_dri.so*
-rwxr-xr-x 1 root root 7.8M Jun 2 2020 i965_drv_video.so*
-rwxr-xr-x 1 root root 35M Apr 5 05:10 iHD_drv_video.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 iris_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 kms_swrast_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 nouveau_dri.so*
-rwxr-xr-x 5 root root 14M Mar 27 15:16 nouveau_vieux_dri.so*
-rwxr-xr-x 5 root root 14M Mar 27 15:16 r200_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 r300_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 r600_dri.so*
-rwxr-xr-x 5 root root 14M Mar 27 15:16 radeon_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 radeonsi_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 swrast_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 virtio_gpu_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 vmwgfx_dri.so*
-rwxr-xr-x 10 root root 23M Mar 27 15:16 zink_dri.so* |
@pawlakm , I just checked your deviceID, 0x9b41 is not in https://github.com/intel/intel-vaapi-driver/blob/master/src/i965_pciids.h |
@newcanopies , if there are no /dri folder under /dev. vainfo could not find the device node, and open it. |
I've got the same problem on Ubuntu 22.04 with Expandrive app:
But an interesting thing is that most of other apps (including Electron based), and even Chromium itself - works well. Here is the output of vainfo:
|
I also have this issue while trying to run unityhub on ubuntu 22.04 |
I also have this issue while trying to run unityhub on ubuntu 22.04 |
AFAICT there are dozen or reasons why the driver fails, so it's likely that "this issue" is actually multiple unrelated ones. Regardless, if you see |
Where would the |
please install iHD driver https://github.com/intel/media-driver, or sudo apt-get install intel-media-driver-non-free package |
from ICL+, you should use iHD driver instead of i965 |
Usually your distro packaging can tell the homepage for each file - for Arch The i965 driver lives here - https://github.com/intel/intel-vaapi-driver |
Thank you all for the comment. I have a Dell XPS 13, on Manjaro.
Cheers |
Thank you. My error |
Hi,
I hope that I'm asking this question at the right place. If not please tell me where I should ask it. If you need any more information, please tell me.
I'm facing a systematic segfault when launching Kodi du to libva:
The problem appeared when I rebooted my laptop after a
sudo apt upgrade
that installed a new kernel yesterday and upgraded a bunch of packages.Here is the result of the
vainfo
command.As such I guess that it is not a problem with Kodi (everything was working fine until yesterday.)
The driver exists:
The result of
uname -a
is the following:Here is the list of VA-related packages that are installed (:
here is the result of
lspci
Here is the list of packages that were installed / upgraded when I did the
sudo apt upgrade
and after what the problem appeared:What I tried:
i965-va-driver
package, again no successLast but not least, the graphic card is an intel UHD 620.
I have no clue what to try now. Any help would be greatly appreciated.
Best regards
The text was updated successfully, but these errors were encountered: