VideoRAG
VideoRAG copied to clipboard
Fix GPU crash on Linux (#30)
Hey! This fixes the GPU crash issue reported in #30.
The app was failing to start on Linux with the error:
viz_main_impl.cc(185): Exiting GPU process due to errors during initialization
This is a common Electron issue on systems where the GPU drivers don't play nice. The fix is simple, I just added app.disableHardwareAcceleration() in main.ts before the app starts.
Also cleaned up a small CSP typo in index.html (URLs shouldn't be quoted) and added the missing name/version fields to package.json while I was in there.
Should work fine now on Linux and other systems that were having GPU trouble! 👍