Closed Kili2108 closed 1 year ago
Are you running this with a desktop? do you see the connect iphone to begin carplay page?
Yes, I‘m running it on an XFCE environment, and yes, my iphone is showing the carplay badge on the status
Yes, I‘m running it on an XFCE environment, and yes, my iphone is showing the carplay badge on the status
I think you still need to create the udev rules as per this file: https://github.com/rhysmorgan134/react-carplay/blob/main/setup-pi.sh
thanks silverter, in the logs I can see messages to and from the usb dongle so the udev rules should be fine. @Kili2108 I can see a bunch of none electron related faults around the gpu. Is this running on a Pi and running on raspbian? As the errors do not look familiar to me. A quick google of one of the fautlts brings me to this which is an error when someone is trying to launch a browser. I suspect this is the issue and not the app itself, the logs all look healthy.
I am getting an error message that pretty much mirror @Kili2108 logs exactly, Im using an RPi 4B with Buster and ive tried searching around and nothing jumps out as a solution
/root/.config/ReactCarplay [3753:0104/162149.574545:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [3753:0104/162149.575573:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") No protocol specified No protocol specified No protocol specified No protocol specified [3793:0104/162149.890693:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. [3793:0104/162149.891050:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not open the default X display. [3793:0104/162149.891213:ERROR:gl_display.cc(920)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type No protocol specified [3793:0104/162149.891874:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. [3793:0104/162149.892122:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not open the default X display. [3793:0104/162149.892263:ERROR:gl_display.cc(920)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [3793:0104/162149.892446:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed. [3793:0104/162149.937364:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [3753:0104/162150.255525:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") spawning carplay { dpi: 240, nightMode: 0, hand: 0, boxName: 'nodePlay', width: 800, height: 480, fps: 30 } directory found device connected and ready No protocol specified No protocol specified No protocol specified No protocol specified [3829:0104/162150.895003:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. [3829:0104/162150.895371:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not open the default X display. [3829:0104/162150.895547:ERROR:gl_display.cc(920)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type No protocol specified [3829:0104/162150.896260:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display. [3829:0104/162150.896520:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not open the default X display. [3829:0104/162150.896655:ERROR:gl_display.cc(920)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [3829:0104/162150.896785:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed. [3829:0104/162150.919810:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization No protocol specified No protocol specified No protocol specified No protocol specified [3845:0104/162151.092950:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1 ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1 [3845:0104/162151.093246:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Not initialized. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Not initialized. [3845:0104/162151.093440:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized. [3845:0104/162151.093583:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [3845:0104/162151.093738:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed. [3845:0104/162151.102071:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization No protocol specified No protocol specified [3853:0104/162151.177658:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is [3853:0104/162151.221348:ERROR:x11_software_bitmap_presenter.cc(142)] XGetWindowAttributes failed for window 35651586
Just Leaving here a lasting note, i switched from 1.0.5 to 1.0.4 and the issue went away, must have something to do with the new react build or something
can you try on buster bullseye? That is what my reference pi is on, AppImage runs fine on that
Apologies I meant Bullseye!
Resolution seems to be the same as this issue, see below
Good day Sir!
I have the problem that the app is keep saying „requesting key frame“ as mentioned in #21 However, in my case, it didn‘t just started working.
Here are my logs: log.txt
Maybe you have some ideas? Thanks in advance