forum icon indicating copy to clipboard operation
forum copied to clipboard

Desktop app is not working on linux arm

Open andirsun opened this issue 5 months ago • 4 comments

Describe the bug Linux desktop app is failing to open on arm64 architecture.

To Reproduce Open the app using the console and check the error

❯ flatpak run org.standardnotes.standardnotes 
[3:0119/151808.307889:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /app/standardnotes/resources/app.asar.unpacked/node_modules/microtime/build/Release/microtime.node: cannot open shared object file: No such file or directory
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)
    at Object.<anonymous> (node:internal/modules/cjs/loader:1356:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2358)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at node:internal/modules/cjs/loader:967:12
    at Function._load (node:electron/js2c/asar_bundle:2:13327)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at load (/app/standardnotes/resources/app.asar/node_modules/microtime/node_modules/node-gyp-build/node-gyp-build.js:22:10)
    at Object.<anonymous> (/app/standardnotes/resources/app.asar/node_modules/microtime/index.js:1:43)
[3:0119/151808.938971:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0119/151808.939001:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
libEGL warning: egl: failed to create dri2 screen
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
libEGL warning: egl: failed to create dri2 screen
[47:0119/151808.986348:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
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)

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux arm64 Fedora

Additional context Add any other context about the problem here.

andirsun avatar Jan 19 '24 20:01 andirsun