trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
712 stars 247 forks source link

InitializeSandbox() called with multiple threads in process gpu-process #5646

Open janvlug opened 2 years ago

janvlug commented 2 years ago

Describe the bug When I start the Trezor Suite on Fedora 36, I get this error message:

$ ./Trezor-Suite-22.5.3-linux-x86_64.AppImage  --no-sandbox
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[94047:0618/115229.372842:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.

Info:

doolio commented 2 years ago

I get a similar error message on Debian stable and Trezor suite 22.9.3. I do not include the --no-sandbox option though when launching Trezor suite.

libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[5871:0922/150658.911801:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
MiroslavProchazka commented 6 months ago

@doolio Can you please confirm that this issue still persists?

doolio commented 6 months ago

I don't believe so. This is the output I see now on Debian 11 (was the latest stable when I posted above) and Trezor Suite 24.3.4.

MESA-INTEL: warning: Haswell Vulkan support is incomplete
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

(If it helps I see the same output when I start the Freetube AppImage too which I believe is also an electron based app.)

Edit: And I see these additional messages when closing the application. Perhaps specific to my machine.

Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports Vulkan 1.1, but only supports loader interface version 1. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: Layer VK_LAYER_MESA_device_select uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues.
Warning: terminator_CreateInstance: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports interface version 1 but still exposes VkSurfaceKHR create/destroy entrypoints (Policy #LDP_DRIVER_8)
MESA-INTEL: warning: Haswell Vulkan support is incomplete