Chrome libva 错误:/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so 初始化失败

Jan*_*sen 6 google-chrome

当我尝试启动 Google-chrome 时,出现以下错误:

$ 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)
Run Code Online (Sandbox Code Playgroud)

发行版:Ubuntu 20.04 Focal Fossa

直到昨天,它还运行良好。可能有什么东西损坏了我的硬盘上的文件(即 iHD_drv_video.so)?该命令vainfo在 iHD_drv_video.so 上给出了相同的初始化失败错误。

(抱歉在 Ubuntuforums 上发了两篇文章,我正在绞尽脑汁地想知道为什么会出现这个错误)

N0r*_*ert 7

您必须通过以下方式重新安装相应的软件包

sudo apt-get update
sudo apt-get install --reinstall intel-media-va-driver:amd64
Run Code Online (Sandbox Code Playgroud)

然后重新启动,运行vainfo调试并google-chrome测试它。

如果问题仍然存在,您必须通过以下方式重新安装所有与英特尔相关的软件包

sudo apt-get install --reinstall $(dpkg -l | grep ^ii | grep -i intel | awk '{print $2}')
Run Code Online (Sandbox Code Playgroud)