google-chrome: avoid crash under some situations

If our Chrome derivation is Vulkan enabled, the Chrome GPU process
reliably crashes for me under M92 using the proprietary Nvidia drivers.
This is because the PCI-based GPU detection path fails, and we attempt
to use the Vulkan fallback instead, which then crashes(!!)

Including libpci allows us to use Angle's
src/gpu_info_util/SystemInfo_libpci.cpp path instead, which doesn't
crash, unlike src/gpu_info_util/SystemInfo_vulkan.cpp.

(cherry picked from commit 51d83077ffbca115265b04853e244179713c6518)
This commit is contained in:
Luke Granger-Brown 2021-07-25 08:53:56 +01:00 committed by github-actions[bot]
parent 01c8ed0ba0
commit 43aa33d9c2

View File

@ -18,7 +18,7 @@
, systemd
# Loaded at runtime.
, libexif
, libexif, pciutils
# Additional dependencies according to other distros.
## Ubuntu
@ -62,7 +62,7 @@ let
alsaLib libXdamage libXtst libXrandr libxshmfence expat cups
dbus gdk-pixbuf gcc-unwrapped.lib
systemd
libexif
libexif pciutils
liberation_ttf curl util-linux xdg-utils wget
flac harfbuzz icu libpng opusWithCustomModes snappy speechd
bzip2 libcap at-spi2-atk at-spi2-core