Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion icd_shim/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,10 @@ fn init_once() {
try_system_driver();
}
if kgsl && unsafe { DRIVER.handle }.is_null() {
if std::env::var_os("GN_VKSHIM_NO_ADRENOTOOLS").is_none() {
// Xwayland's glamor (zink) stays on the payload driver: a container's
// adrenotools Turnip leaks a dma-buf fd per imported client buffer there,
// and a CEF client exhausts device memory within minutes.
if std::env::var_os("GN_VKSHIM_NO_ADRENOTOOLS").is_none() && !is_xwayland_binary() {
try_adrenotools();
}
// A wrapper container with no adrenotools driver is on the system
Expand Down
Loading