ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization
Hi, thanks for the interesting work.
While I was trying to follow Vimo-desktop Quick Start, the backend service worked fine. However, I failed to launch the frontend application. The webpage could not be visited.
Here is the detail:
$ pnpm dev
@ dev /home/hocas/VideoRAG/VideoRAG/Vimo-desktop electron-vite dev --watch
vite v6.3.5 building SSR bundle for development...
watching for file changes...
build started... ✓ 7 modules transformed. dist/main/main.js 48.32 kB built in 509ms.
build the electron main process successfully
vite v6.3.5 building SSR bundle for development...
watching for file changes...
build started... ✓ 2 modules transformed. dist/preload/index.js 7.11 kB built in 44ms.
build the electron preload files successfully
TypeError: Cannot read properties of undefined (reading 'join') at file:///home/hocas/VideoRAG/VideoRAG/Vimo-desktop/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:14189:13 at async file:///home/hocas/VideoRAG/VideoRAG/Vimo-desktop/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:46985:28 dev server running for the electron renderer process at:
➜ Local: http://localhost:5173/ ➜ Network: use --host to expose
start electron app...
VideoRAG API service will be started manually via UI 1:28:27 PM [vite] (client) ✨ new dependencies optimized: react-dom/client, react-router, sonner, lucide-react, @radix-ui/react-slot, class-variance-authority, clsx, tailwind-merge 1:28:27 PM [vite] (client) ✨ optimized dependencies changed. reloading [1571308:0926/132836.918694:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization
Hey, I just opened a PR to fix this: #34
The issue was that Electron's GPU process doesn't play well with some drivers on Linux. Disabling hardware acceleration before startup should sort it out.
Let me know if it works for you!