Closed ProtoBelisarius closed 2 months ago
Are you running KDE Wayland? I've had a similar bug for a while where it will only want to launch when electron is running through their Wayland backend. The start-dev script passes an environment variable to make it launch through the Wayland backend if you want to copy it to the normal start script and try that. No one else running Wayland was having this issue it seemed, so I assumed my everything was just too unstable. Do you have an amd gpu, also?
Yes to both, I'm running KDE 6 on EndeavourOS with an RX 6800XT.
And yes, it does start successfully when using ./_mac-linux-start-dev.sh
Which environment variable are you referring to?
ELECTRON_OZONE_PLATFORM_HINT=auto I think possibly during the explicit sync craze, something got bugged out for amd gpus. As when I do screenshares now, people tell me that it stutters like how the nvidia gpu's would render frames out of order pre-explicit sync. but I haven't tested any of this, it could also be anywhere in the chain though. No idea how to begin debugging it and it probably isn't even because of us since it seems to work for others fine. But it's also weird, I don't think any other electron app running through the x11 backend has this issue. 😔
Thank you very much.
And yea, this does seem really weird. I generally don't have any problems with wayland, only for GIMP on wayland, where dragging in images causes a total crash. But well, GIMP problems, my fault for trying to use this train wreck.
Glad I could help with this super niche issue lmao, it does also narrow down where it could lie, so thanks for the report.
There is another issue to look out for, when drag n dropping images from within different parts of the program running the Wayland backend, it will hang/crash unless something has a proper consumer for the drop.
Every electron app I've used has had awful drag n dropping on Wayland though tbh, at least on KDE. I haven't tested anything else. They seem to stop accepting inputs unless you drag another file and then drag it back out, really annoying with Discord and when I was using comfy with chromium app mode. I just copy and paste whenever possible now, lmao.
Installed per instructions, but unable to start, only get the error as mentioned in the title:
/home/USERNAME/Git/CushyStudio/node_modules/electron/dist/electron exited with signal SIGSEGV
full terminal output during install: