rhysmorgan134 / react-carplay

MIT License
498 stars 70 forks source link

Carplay does't show content on screen #59

Closed tason423 closed 9 months ago

tason423 commented 9 months ago

I have a new rpi 5 and install react-carplay , it works for wireless carplay , but after few day it doesn't show any content on screen and the screen is all white. (I did apt update at those few day.)

I got the info from termnial as below. creating pi most in main creating client in PiMost A JavaScript error occurred in the main process Uncaught Exception: Error: ENOENT, æ²æ æ­¤ä¸æªæ¡æç

at new OS8104A (/tmp/.mount_CarplajAw924/resources/app.asar/node_modules/socketmost/dist/driver/OS8104A.js:47:41)
at new SocketMost (/tmp/.mount_CarplajAw924/resources/app.asar/node_modules/socketmost/dist/server/SocketMost.js:107:23)
at new PiMost (/tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:231:23)
at /tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:341:5
at suppressedCallback (node:fs:275:5)
at FSReqCallback.oncomplete (node:fs:200:23)

(node:8356) UnhandledPromiseRejectionWarning: TypeError: electron.systemPreferences.askForMediaAccess is not a function at createWindow (/tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:408:30) at /tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:434:3 (Use react-carplay --trace-warnings ... to show where the warning was created) (node:8356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) [8443:0129/133329.401083:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401474:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401668:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401821:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401980:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.402132:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.402288:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404513:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404695:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404853:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404992:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.405121:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.405252:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.405385:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133333.445939:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [8443:0129/133345.998006:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [8443:0129/133455.903459:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! Warning: vkCreateInstance: Found no drivers! Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

Warning: eglChooseConfig returned zero configs at Create (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:52) at Create (../../third_party/dawn/src/dawn/native/opengl/PhysicalDeviceGL.cpp:97)

tason423 commented 9 months ago

I have a new rpi 5 and install react-carplay , it works for wireless carplay , but after few day it doesn't show any content on screen and the screen is all white. (I did apt update at those few day.)

I got the info from termnial as below. creating pi most in main creating client in PiMost A JavaScript error occurred in the main process Uncaught Exception: Error: ENOENT, æ²æ æ­¤ä¸æªæ¡æç

at new OS8104A (/tmp/.mount_CarplajAw924/resources/app.asar/node_modules/socketmost/dist/driver/OS8104A.js:47:41)
at new SocketMost (/tmp/.mount_CarplajAw924/resources/app.asar/node_modules/socketmost/dist/server/SocketMost.js:107:23)
at new PiMost (/tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:231:23)
at /tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:341:5
at suppressedCallback (node:fs:275:5)
at FSReqCallback.oncomplete (node:fs:200:23)

(node:8356) UnhandledPromiseRejectionWarning: TypeError: electron.systemPreferences.askForMediaAccess is not a function at createWindow (/tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:408:30) at /tmp/.mount_CarplajAw924/resources/app.asar/out/main/index.js:434:3 (Use react-carplay --trace-warnings ... to show where the warning was created) (node:8356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) [8443:0129/133329.401083:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401474:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401668:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401821:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.401980:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.402132:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.402288:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404513:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404695:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404853:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.404992:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.405121:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.405252:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133329.405385:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: 沒有此一檔案或目錄 (2) [8443:0129/133333.445939:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [8443:0129/133345.998006:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [8443:0129/133455.903459:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! Warning: vkCreateInstance: Found no drivers! Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

Warning: eglChooseConfig returned zero configs at Create (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:52) at Create (../../third_party/dawn/src/dawn/native/opengl/PhysicalDeviceGL.cpp:97)

I found that the new Raspberry pi 5 cannot perform system software update, and Apple Carplay cannot display the screen after execution.