trembon / switch-library-manager

Complete solution to manage, organize and keep your local switch backup game library up to date . Cross platform, supports all game formats.
MIT License
46 stars 2 forks source link

Electron crash on Arch Linux with "GPU process isn't usable. Goodbye" - this fix works for me: #41

Open EgonSpengler opened 1 month ago

EgonSpengler commented 1 month ago

In vendor/astilectron/main.js, I added this line just above start();

app.commandLine.appendSwitch('in-process-gpu');

trembon commented 1 month ago

what i can see this is this file, https://github.com/asticode/astilectron/blob/master/main.js, correct? what i know i'm unable to modify this from this repo, but i'll see if i can add that flag in another way, or if you have a suggestion

trembon commented 1 month ago

do you have the possibility to try to see if adding something like ElectronSwitches: []string{"in-process-gpu"}, to these options have the same effect? https://github.com/trembon/switch-library-manager/blob/2217b39c1f8bea605b9bd2a1f269fa6ac5b9a482/src/gui.go#L99