trezor / trezor-suite

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

libva error: vaGetDriverNameByIndex() failed with unknown libva error| Trezor-Suite-24.6.2-linux-x86_64 #13056

Open NeilPandya opened 4 months ago

NeilPandya commented 4 months ago

Describe the bug An error and several warnings display after executing the AppImage.

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
request-manager: connect ECONNREFUSED 127.0.0.1:44919
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
Warning: loader_get_json: Failed to open JSON file intel_hasvk_icd.x86_64.json
Warning: /usr/lib/x86_64-linux-gnu/libvulkan_intel.so: cannot open shared object file: Permission denied
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_intel.so. Ignoring this JSON
Warning: loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
Warning: /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: cannot open shared object file: Permission denied
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so. Ignoring this JSON
Warning: loader_get_json: Failed to open JSON file virtio_icd.x86_64.json
Warning: loader_get_json: Failed to open JSON file lvp_icd.x86_64.json
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

Info:

How to reproduce Steps to reproduce the behavior:

  1. Go to 'https://trezor.io/trezor-suite'
  2. Click on 'Download for desktop'
  3. Scroll down to 'Linux (x86_64)'
  4. Download the AppImage
  5. mv the AppImage to somewhere convenient.
  6. chmod appropriate privileges (e.g. sudo chmod 773 -v ./Trezor-Suite-24.6.2-linux-x86_64.AppImage).
  7. cd to AppImage location in local directory.
  8. Launch Trezor Suite via ./Trezor-Suite-24.6.2-linux-x86_64.AppImage.
  9. Error and warnings displayed in terminal.

Expected behavior Desktop suite should run with zero errors and minimal warnings.

Additional context

           `.:/ossyyyysso/:.               neil@Zeph 
        .:oyyyyyyyyyyyyyyyyyyo:`           --------- 
      -oyyyyyyyodMMyyyyyyyysyyyyo-         OS: Kubuntu 22.04.4 LTS x86_64 
    -syyyyyyyyyydMMyoyyyydmMMyyyyys-       Host: ROG Zephyrus G15 GA503QS_GA503QS 1.0 
   oyyysdMysyyyydMMMMMMMMMMMMMyyyyyyyo     Kernel: 6.5.0-41-generic 
 `oyyyydMMMMysyysoooooodMMMMyyyyyyyyyo`    Uptime: 2 hours, 2 mins 
 oyyyyyydMMMMyyyyyyyyyyyysdMMysssssyyyo    Packages: 2379 (dpkg), 25 (flatpak) 
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   Shell: bash 5.1.16 
oyyyysoodMyyyyyyyyyyyyyyyyyyydMMMMysyyyo   Resolution: 2560x1440 
yyysdMMMMMyyyyyyyyyyyyyyyyyyysosyyyyyyyy   DE: Plasma 5.24.7 
yyysdMMMMMyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy   WM: KWin 
oyyyyysosdyyyyyyyyyyyyyyyyyyydMMMMysyyyo   Theme: [Plasma], Breeze [GTK2/3] 
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   Icons: BeautySolar [Plasma], BeautySolar [GTK2/3] 
 oyyyyyydMMMysyyyyyyyyyyysdMMyoyyyoyyyo    Terminal: konsole 
 `oyyyydMMMysyyyoooooodMMMMyoyyyyyyyyo     Terminal Font: Noto Mono 10 
   oyyysyyoyyyysdMMMMMMMMMMMyyyyyyyyo      CPU: AMD Ryzen 9 5900HS with Radeon Graphics (16) @ 4.680GHz 
    -syyyyyyyyydMMMysyyydMMMysyyyys-       GPU: NVIDIA GeForce RTX 3080 Mobile / Max-Q 8GB/16GB 
      -oyyyyyyydMMyyyyyyysosyyyyo-         GPU: AMD ATI 07:00.0 Cezanne 
        ./oyyyyyyyyyyyyyyyyyyo/.           Memory: 3454MiB / 23421MiB 
           `.:/oosyyyysso/:.`
MiroslavProchazka commented 4 months ago

@trezor/qa Please try to replicate this. Thx!

STew790 commented 4 months ago

Hi @NeilPandya, were you able to start the app before the same way or this is your first time? Could you, please, try to just start it with chmod +x ./Trezor-Suite-24.6.2-linux-x86_64.AppImage and see if it works?

When I do just chmod u+x ./Trezor-Suite-24.6.2-linux-x86_64.AppImage it works for me just fine.

NeilPandya commented 4 months ago

Hi @STew790,

The application loads fine now. I can see my tokens and the Safe 3 hardware is reporting as connected.

The following is the terminal output after executing the AppImage:

neil@Zeph:~$ chmod +x /home/neil/.trezor/Trezor-Suite-24.6.2-linux-x86_64.AppImage
neil@Zeph:~$ /home/neil/.trezor/Trezor-Suite-24.6.2-linux-x86_64.AppImage
request-manager: connect ECONNREFUSED 127.0.0.1:36835
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
Warning: loader_get_json: Failed to open JSON file intel_hasvk_icd.x86_64.json
Warning: /usr/lib/x86_64-linux-gnu/libvulkan_intel.so: cannot open shared object file: Permission denied
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_intel.so. Ignoring this JSON
Warning: loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
Warning: /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: cannot open shared object file: Permission denied
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so. Ignoring this JSON
Warning: loader_get_json: Failed to open JSON file virtio_icd.x86_64.json
Warning: loader_get_json: Failed to open JSON file lvp_icd.x86_64.json
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
sime commented 7 hours ago

@NeilPandya Do you still experience this ?