Read the statement by Michael Teeuw here.
magicmirror lagging
-
@1a2a3a pi5 on the latest bookworm uses Wayland for its display manager.
you can use the raspi-config app to set it back to X11…
others have reported slower UI preformance
also, we change the GPU setting to OFF by default, as this reduced unnecessary errors in most situations… as the drivers were not configured in the system either.
you can enable it as s test
add
export ELECTRON_ENABLE_GPU=1
to the script used to launch npm start
before the npm start line -
@sdetweil it was working smoothly previously using the same pi. ill try to enable the gpu but where do i insert that line?
-
@1a2a3a in the script used to launch MM
if you are using my installer, and pm2 that is
~/MagicMirror/installers/mm.sh
we changed electron versions too, and well, you never know
-
@sdetweil hmm not sure if its a placebo effect, but seems to be slightly better but still jerky, not sure. before the update, the marquee effect of ext3 and googlephoto transitioning was smooth. now its like uh… jerky transitioning…
-
@1a2a3a and u restarted MM after changing the script…
-
@sdetweil yes i did, definitely…
-
@1a2a3a can u look and see any new gpu related errors
pm2 logs --lines=50
-
@sdetweil got this when i enter the command inside mm directory.
0|MagicMir | source: undefined, 0|MagicMir | lineno: undefined, 0|MagicMir | colno: undefined 0|MagicMir | } 0|MagicMir | [11.01.2024 21:44.04.187] [ERROR] Image loading fails. Check your network.: https://lh3.googleusercontent.com/lr/AAJ1LKd3z4DnSUe5L1BE7e-FC_pskhLh8qgzww-omvYwOFtBiGVsKpqDYmvKZD0mxqWdY3fN1xmlcGXasptkJvlKlFku4fXyNJ_3sBeVfQr1FiqrLUBKfwL24EwZV4rEw69eSU9MapZBunE_Ey5NP8f00QRRpTp3epZkUmknUrFsMZEqtLeXICD_ekNaqEVF_E74TdBaLbdDC4e_jPzNiTKft13TD5YlyWFbcqmRFUCIlgTa4xov-PRt0MExDbZ6kKUMwzsG9RXN2J7h45K5YLKVafTzNkv0fkV-12keW9AZ3eBV7qaGfQOlMGQ-JcKqtwK0DEMizJfRjRfZHXxRLR-OWwXNuJ_otSKRWP5wQcExGkSxxypDt1oQihiRbBznDygTIFVFqYgQtk6rrD_po8MHsSyPYiQvwuvVqBzkpSc_1OJuMC5LYUL23lkQXx468oUDNmnTUQzjrM4KnSOXUV7vWnGpA4HMQIBq0tluQw-9-3nH97a_8X3AwZ4QllXWc9Xo6vaiItASDizjOx5REF7nrQ9sODXqbxgvQwaG4JJN12Mv_hQbMD4epKiLzIALs2wN1N-Z6U9VGNuikHrgJ-dg7dyMdj0uJL_vZthfX7CFwHZ8iNxLIOkeMW3lzDSTKpDJnSmFyXi289wVGnGZj-huCGXY4YbMHbdhLKPP8uSsOk6DYkWYkTn2VS8g9IKncvWkDvVt2ASQMrlZ2-1Eh2IuA-SE0gslF9_2Ck0u0ZtYk1V6Ea_5VvDAZbAn6rEfBFDJ6Q5945ngkG29NvkLm2fIiN_58Lb8DwDtD9lq7iIhkLRDI_eNfqIGN7DKEA3fjS2kxDPmS4-vtWgNe2K_l4iZJLSw2oQeaQNR-271qPLzg5cx39KhS0rDLiFqwNzYVWW2Inxj2T1VUkGAnn6GeY5Bj2DcnyeWcN0ry2qy5FpBKnEFq7DCPbViE2-RqU_zr7YiiUh9zUx2SBgubegJjC0_duDNdJQ2TReTfCMJ5thj6h-Ty-DeBTzOyEOHbhJLcwrPVP19Hru12RLrCIP-rQ4ijpSR8MJC=w1080-h1920 0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|MagicMir | [2314:0111/215933.525635:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.525875:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.525982:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.526092:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.526216:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.526332:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.526438:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.528604:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.528735:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.528835:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.528930:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.529025:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.529123:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [2314:0111/215933.529221:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | Warning: vkCreateInstance: Found no drivers! 0|MagicMir | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER 0|MagicMir | at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) 0|MagicMir | at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) 0|MagicMir | at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) 0|MagicMir | at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) 0|MagicMir | at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521) 0|MagicMir | 0|MagicMir | [4558:0111/220928.037273:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.037465:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.037555:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.037643:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.037720:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.037801:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.037880:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.039683:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.039825:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.039920:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.040015:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.042133:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.042266:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [4558:0111/220928.042352:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | Warning: vkCreateInstance: Found no drivers! 0|MagicMir | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER 0|MagicMir | at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) 0|MagicMir | at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) 0|MagicMir | at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) 0|MagicMir | at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) 0|MagicMir | at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521) 0|MagicMir |
-
@1a2a3a Oh such joy… not
-
@sdetweil i remove gpu and it doesnt seems to have error.
so i ran npm start again seems to run fine but showing this[6141:0111/221958.106148:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.106492:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.106652:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.106803:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.106975:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.107162:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.107343:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.110017:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6141:0111/221958.110444:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)