helgeerbe / picframe

Picture frame viewer for raspi, controlled via mqtt and automatticly integrated as mqtt device in homeassistant.
MIT License
113 stars 32 forks source link

Picframe runs hot and uses significant CPU on the Raspberry Pi 5. #392

Closed bobburgers7 closed 5 months ago

bobburgers7 commented 5 months ago

I've been running picframe on my RPI5 and noticed it runs very hot (85.6 C). I checked and see that the picframe process is stressing the CPU: 370%. Conferring with sapnho, it doesn't appear that's normal when running on the RPI4 where it uses 2-3%.

I am running:

Linux pi5 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 picframe Version: 2024.5.31

including the screen shot of htop

image

I also used py-spy and saw the below

image

could it be due to the difference in the GPU from VideoCore VI to VideoCore VII? I think VI is 32 bit and VII is 64 bit and drivers are probably less mature and thus causes the work to be offloaded to the CPU?

bobburgers7 commented 5 months ago

already being addressed in another issue