commit | 8e4102b24c2a4db4269f92e07536666034be0687 | [log] [tgz] |
---|---|---|
author | Erik Kurzinger <ekurzinger@gmail.com> | Thu Jun 24 18:57:22 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 24 18:57:22 2021 |
tree | f6dbe9715bf24bc757c8ec25909c45d632adb59b | |
parent | b4cb308a0c28b216c79864ebcb0a30559c5f61f5 [diff] |
Preload additional XCB libraries for NVIDIA GPUs When running on Xwayland, or when using PRIME render offloading on a hybrid GPU system such as a laptop, the proprietary NVIDIA driver will attempt to load the following three libraries using dlopen libxcb-dri3.so libxcb-present.so libxcb-sync.so but chromium's sandboxing of the GPU process will prevent it from doing so. The driver requires these libraries in order to present rendered content to the screen, so currently chromium's window will appear completely blank in the above mentioned situations. To fix the issue, have chromium preload those libraries when using the proprietary NVIDIA driver, similarly to how it already does for libxcb-glx.so. Bug:1137632 Change-Id: I6f23a66267658a241152aaea902f3b49dde4f606 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2920973 Reviewed-by: Zhenyao Mo <zmo@chromium.org> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Matthew Denton <mpdenton@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#895719}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.