Pi 2 Stuttering/Running Slowly After A While

My Pi 1 never had issues on raspbmc, but running OSMC with the eminence skin on my Pi 2, when the device has been on for a couple of hours (active OR idle) it starts to slow down. Inputs are delayed, smoothly scrolling info boxes judder their way down in steps, and the system performs badly - videos not playing, streams loading more slowly than usual etc. Could this be a cooling issue with the Pi causing instability? I’m using a Coupe Ninja case from Pimoroni which I doubt provides good airflow, and the USB ports heat up a lot after a while. They do this because the LAN chip disperses heat through the grounding layer on the board, which is connected to the USB, ethernet and HDMI port housings too, so I wouldn’t be surprised if that were the issue. Then again it also seems to do it after the device ‘sleeps’ and the screen goes dim, so maybe it is a software issue when the device is idle? I honestly don’t know so any help would be appreciated. Other than page load times I wouldn’t expect my shiny new Pi 2 to perform worse than my clunky old Pi 1B.

Side note, I do occasionally get the rainbow power square in the top right because I’m powering it from a powered USB hub with nothing else plugged in. This could be a likely culprit.

You could try /opt/vc/bin/vcgencmd measure_temp
to get the temperature.
What spec is the psu for that powered hub? it may not be able to deliver all of it through one port.
If you get the rainbow square while running, there might be some disconnects slowing things down.
For a better guess, why not enable debug and post logs when it has happened.
Derek

It’s a 2A supply but I’d bet it can’t deliver that through one port now I think of it.

usually from what i have seen, most usbhub’s also powered can only deliver 500ma, and no more then 1A… kan you try to power the pi directly?.

retracted >it is possible to test if the pi gets enough power by using a multimeter on tp1+tp2 on the pi, but not all people have one lying around ;-).
R-Pi Troubleshooting - eLinux.org<

update. did not know that about tp1 tp2 that they were not there on b+ pi2 ;-).
-H

Only the original Pi 1 B had voltage test points - there is no TP1 or TP2 on a Pi 1 B+ or a Pi 2 - instead you should be watching for the small four coloured square flickering in the top right corner of the screen - this indicates the voltage is too low.

Make sure overscan is disabled on the TV or the square might be off the edge of the screen!