Unable to launch electron app on Xavier NX

tried to run my electron app on r35.6, it just hang there, at first I thought it is the app’s problem, but after I download electron fiddle it stays the same
all appimage is set to: chomd a+x

the commands I tried:

For electron fiddle appimage
1.
 ./Electron.Fiddle-0.36.4-arm64.AppImage --enable-logging=stderr --v=1
[1:1129/190038.343368:INFO:cpu_info.cc(53)] Available number of cores: 6
[1:1129/190038.373664:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates
## nothing happened, it is hanging there

2.  
./Electron.Fiddle-0.36.4-arm64.AppImage --no-sandbox --enable-logging=file -v=10
[10623:1129/191922.362861:INFO:cpu_info.cc(53)] Available number of cores: 6
[10623:1129/191922.394386:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates
[10615:1129/191922.567044:VERBOSE1:bus.cc(916)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.freedesktop.login1"

Creating main window
Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices

## stuck here 
for my app
1. 
./VisionFlex-1.0.0-arm64.AppImage --no-sandbox --enable-logging=file -v=10
[10678:1129/191951.228386:INFO:cpu_info.cc(53)] Available number of cores: 6
[10678:1129/191951.265539:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates
[10670:1129/191951.452525:VERBOSE1:bus.cc(916)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.freedesktop.login1"

2. 
./VisionFlex-1.0.0-arm64.AppImage --enable-logging=stderr --v=1
[1:1129/185810.023089:INFO:cpu_info.cc(53)] Available number of cores: 6
[1:1129/185810.054174:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates

I’ve already install chromium driver and browser and using X11 , what is the problem?

also tried --disable-gpu, it wont work

Hi,
Please check whether the application depends on WebGL. It may not work properly since WebGL is not supported on Jetpack 5.

I already have chromium installed as you suggested in this post: https://forums.developer.nvidia.com/t/webgl-support-on-orin/258873/6
but I’m using xavier nx, maybe that’s the reason why electron app cant run? what if I use orin nx, will it be differrent? or will electron can run smoothly ? if so I’m going to buy a orin nx dev kit.

Hi,
We don’t validate this software stack on default Jetpack release, so it is uncertain if it works or not. For developing graphics use-cases, we would suggest refer to the samples in

/usr/src/nvidia/graphics_demos

And also can use jetson_multimedia_api. There is a reference code:

/usr/src/jetson_multimedia_api/samples/common/classes/NvEglRenderer.cpp

Would suggest develop the use-case based on the reference samples.