Hello
I’m trying to deploy electron app on raspberry pi 4, but I’m having trouble displaying it.
In logs I get this errors:
[227:0628/120949.574455:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.140291:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.140774:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.210905:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.211004:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[Logs] [6/28/2023, 14:09:54] [balena-electron] MESA-LOADER: failed to retrieve device information
[Logs] [6/28/2023, 14:09:54] [balena-electron] MESA-LOADER: failed to retrieve device information
[Logs] [6/28/2023, 14:09:54] [balena-electron] MESA-LOADER: failed to retrieve device information
[Logs] [6/28/2023, 14:09:55] [balena-electron] MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
[Logs] [6/28/2023, 14:09:55] [balena-electron] failed to load driver: kms_swrast
[Logs] [6/28/2023, 14:09:55] [balena-electron] MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
I tried launching glxgears an it displays normally
My setup is similar [to this example project](GitHub - balena-io-examples/balena-electron: A simple example of how to get an Electron application running on Balena
Was there any change in electron rendering that this doesn’t work any more?
Thank you,
Benjamin