When I try start Google-chrome I get the following error:
$ google-chrome
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[39191:39191:0302/155530.651497:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[39148:39148:0302/155531.535909:ERROR:system_web_app_manager.cc(320)] Exceeded SWA install retry attempts. Skipping installation, will retry on next OS update or when locale changes.
[39148:39148:0302/155531.592952:ERROR:system_web_app_manager.cc(320)] Exceeded SWA install retry attempts. Skipping installation, will retry on next OS update or when locale changes.
Trace/breakpoint trap (core dumped)Distro: Ubuntu 20.04 Focal Fossa
Until yesterday it worked fine. Might something have damaged a file on my hard dive (i.e. iHD_drv_video.so)? The command vainfo gives the same init failed error on iHD_drv_video.so.
(sorry for the double post to Ubuntuforums, I'm puling my hairs out on why I get the error)
2 Answers
Solution:
- The VA error. The command
vainfoechoed an error on a VA driver (iHD_drv_video.so) I don't need (link):
$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Desktop - 2.4.0
vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLDOne needs to remove the package intel-media-driver this also uninstalls the meta-package (i.e. does nothing) va-driver-all. The proper VA driver for my Intel video chip (GPU) is i965-va-driver, that is: the one does not give an error in vainfo. I uninstalled it by temporarily disabling the repo's for 'Proprietary Drivers' and 'Software restricted by copyright' in Synaptic. Else: you get a forced installation of intel-media-driver-non-free.
- This still did not solve my problems with Chrome. I had to backup my Bookmarks and delete
/home/my_name/.config/google-chrome/, restart Chrome, make a new profile and copy my Bookmarks into the proper profile folder. Had to re-install my favourite Extensions. Done.
The VA error probably did not crash Chrome. I may have shut down my PC without properly closing Chrome, or my hard drive is getting old and breaking files. Will do a HDD check.
Thanks for the help all. :)
You have to reinstall the corresponding package by
sudo apt-get update
sudo apt-get install --reinstall intel-media-va-driver:amd64then reboot, run vainfo for debug and google-chrome to test it.
If issue persists you have to reinstall all Intel-related packages by
sudo apt-get install --reinstall $(dpkg -l | grep ^ii | grep -i intel | awk '{print $2}') 3