about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-07-25 08:53:56 +0100
committerLuke Granger-Brown <git@lukegb.com>2021-07-25 08:53:56 +0100
commit51d83077ffbca115265b04853e244179713c6518 (patch)
treeba4e15ad224a6edf7bb112feea2067c65a8e16f0 /pkgs/applications
parent0103427daa07e5a5dd4cca22bd3c4f6f5a96737d (diff)
downloadnixlib-51d83077ffbca115265b04853e244179713c6518.tar
nixlib-51d83077ffbca115265b04853e244179713c6518.tar.gz
nixlib-51d83077ffbca115265b04853e244179713c6518.tar.bz2
nixlib-51d83077ffbca115265b04853e244179713c6518.tar.lz
nixlib-51d83077ffbca115265b04853e244179713c6518.tar.xz
nixlib-51d83077ffbca115265b04853e244179713c6518.tar.zst
nixlib-51d83077ffbca115265b04853e244179713c6518.zip
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.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/browsers/google-chrome/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/google-chrome/default.nix b/pkgs/applications/networking/browsers/google-chrome/default.nix
index ec03a77d2680..61d304becfd8 100644
--- a/pkgs/applications/networking/browsers/google-chrome/default.nix
+++ b/pkgs/applications/networking/browsers/google-chrome/default.nix
@@ -18,7 +18,7 @@
 , systemd
 
 # Loaded at runtime.
-, libexif
+, libexif, pciutils
 
 # Additional dependencies according to other distros.
 ## Ubuntu
@@ -62,7 +62,7 @@ let
     alsa-lib 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