Alamantus / GooglePhotosExportOrganizer

A (defunct) tool for merging and organizing exported Google Photos backups. Built with React and Electron!
https://alamantus.github.io/GooglePhotosExportOrganizer/
73 stars 2 forks source link

Doesn't open on ArchLinux #19

Open NovaViper opened 1 year ago

NovaViper commented 1 year ago

Hi! I'm trying to run the program on ArchLinux but it just closes after a few seconds of opening it, and it spits this error out in the terminal:

creating window
(node:878902) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
[878902:1130/232620.210859:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
fish: Job 1, './google-photos-export-organize…' terminated by signal SIGTRAP (Trace or breakpoint trap)

System Information: Operating System: Arch Linux KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7 Kernel Version: 6.0.8-arch1-1 (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7B79 System Version: 1.0

Alamantus commented 1 year ago

Hi there! I unfortunately don't have a way to troubleshoot this issue because Arch Linux has been one of the more elusive distros to me, but I found some things that might be worth trying?

When running ./google-photos-export-organizer from the command line, see if adding --in-process-gpu makes it work, i.e. ./google-photos-export-organizer --in-process-gpu or maybe even ./google-photos-export-organizer -- --in-process-gpu. (courtesy of this StackOverflow suggestion)

If that doesn't work, maybe try seeing if the Arch Linux electron package can help out: https://wiki.archlinux.org/title/Electron_package_guidelines
I'm flying completely blind here, so please forgive my ignorance on the matter. Based on this page it looks like you might be able to run a native electron instance for Arch Linux as a shell around this Electron app?

Let me know if either of those work!

Bitwolfies commented 1 year ago

Hi there! I unfortunately don't have a way to troubleshoot this issue because Arch Linux has been one of the more elusive distros to me, but I found some things that might be worth trying?

When running ./google-photos-export-organizer from the command line, see if adding --in-process-gpu makes it work, i.e. ./google-photos-export-organizer --in-process-gpu or maybe even ./google-photos-export-organizer -- --in-process-gpu. (courtesy of this StackOverflow suggestion)

If that doesn't work, maybe try seeing if the Arch Linux electron package can help out: https://wiki.archlinux.org/title/Electron_package_guidelines I'm flying completely blind here, so please forgive my ignorance on the matter. Based on this page it looks like you might be able to run a native electron instance for Arch Linux as a shell around this Electron app?

Let me know if either of those work!

Arch user, --in-process-gpu fixed it.