rhysmorgan134 / react-carplay

MIT License
381 stars 58 forks source link

ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization #64

Open dickverbunt opened 3 months ago

dickverbunt commented 3 months ago

Hi, First of all love this project!

I've installed the app on my Odroid N2+ running Ubuntu Mate. When running the app and inserting the dongle it shows me a activity indicator, and that's all. To me it looks like a GPU issue but I'm not really sure what the issue is. This is the error shown in the terminal.

_odroid@odroid:~/Downloads$ ./react-carplay-4.0.2-arm64.AppImage /home/odroid/.config/react-carplay/config.json true config read creating pi most in main creating client in PiMost A JavaScript error occurred in the main process Uncaught Exception: Error: EACCES, Permission denied at new OS8104A (/tmp/.mount_react-n2PnQ1/resources/app.asar/node_modules/socketmost/dist/driver/OS8104A.js:47:41) at new SocketMost (/tmp/.mount_react-n2PnQ1/resources/app.asar/node_modules/socketmost/dist/server/SocketMost.js:107:23) at new PiMost (/tmp/.mount_react-n2PnQ1/resources/app.asar/out/main/index.js:231:23) at /tmp/.mount_react-n2PnQ1/resources/app.asar/out/main/index.js:341:5 at suppressedCallback (node:fs:275:5) at FSReqCallback.oncomplete (node:fs:200:23) (node:7685) UnhandledPromiseRejectionWarning: TypeError: electron.systemPreferences.askForMediaAccess is not a function at createWindow (/tmp/.mount_react-n2PnQ1/resources/app.asar/out/main/index.js:408:30) at /tmp/.mount_react-n2PnQ1/resources/app.asar/out/main/index.js:434:3 at emitUnhandledRejectionWarning (node:internal/process/promises:200:15) at processPromiseRejections (node:internal/process/promises:296:13) at process.processTicksAndRejections (node:internal/process/task_queues:96:32) (node:7685) TypeError: electron.systemPreferences.askForMediaAccess is not a function at createWindow (/tmp/.mount_react-n2PnQ1/resources/app.asar/out/main/index.js:408:30) at /tmp/.mount_react-n2PnQ1/resources/app.asar/out/main/index.js:434:3 [7728:0319/191207.107770:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization Warning: terminatorCreateInstance: Failed to CreateInstance in ICD 3. Skipping ICD.

The rules are set correctly: odroid@odroid:~/Downloadsls -al /etc/udev/rules.d/*.rules -rwxr-xr-x 1 root root 667 Jul 30 2019 /etc/udev/rules.d/10-odroid.rules -rw-r--r-- 1 root root 96 Mar 19 18:46 /etc/udev/rules.d/52-nodecarplay.rules -rw-r--r-- 1 root root 63312 Jun 25 2022 /etc/udev/rules.d/70-snap.snapd.rules

And the dongle is shown: odroid@odroid:~/Downloads$ lsusb Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. USB3.1 Hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 079: ID 1314:1521 Magic Communication Tec. Auto Box Bus 001 Device 003: ID 046d:c548 Logitech, Inc. USB Receiver Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

My system: _odroid@odroid:~/Downloads$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTUCODENAME=jammy

Does anyone have some pointers how to fix this?