davilla Wrote:Turn off "sync display", it can increase CPU usage.
ssh in and watch "top" while playing 1080p, if %idle goes to zero, You have run out of CPU.
Thanks for the tip.
I just play the 1080p file again.
First time it played quite smoothly. "top" as below. Idle stays 0.0% for quite some time. Sometimes, it goes back up to 0.8% or 3.4%. But most of the time, it stays at 0%
Code:
Processes: 36 total, 3 running, 33 sleeping... 130 threads 01:00:24
Load Avg: 2.66, 1.48, 1.19 CPU usage: 57.3% user, 42.7% sys, 0.0% idle
SharedLibs: num = 137, resident = 3.34M code, 472K data, 560K LinkEdit
MemRegions: num = 2614, resident = 138M + 964K private, 28.6M shared
PhysMem: 120M wired, 86.8M active, 45.4M inactive, 252M used, 3.15M free
VM: 2.70G + 122M 51898(1) pageins, 48394(0) pageouts
Second time, the video froze, "top" as below. Idle is quite high, around 50% - 70%.
Code:
Processes: 36 total, 2 running, 34 sleeping... 130 threads 01:05:30
Load Avg: 1.01, 1.27, 1.19 CPU usage: 10.8% user, 20.7% sys, 68.5% idle
SharedLibs: num = 137, resident = 1.94M code, 212K data, 0B LinkEdit
MemRegions: num = 2646, resident = 165M + 672K private, 19.8M shared
PhysMem: 117M wired, 88.6M active, 44.4M inactive, 250M used, 5.43M free
VM: 2.80G + 122M 144641(1373) pageins, 143479(2829) pageouts
dmesg for second time shows error like below:
Code:
IOAudioStream[0x1c52c00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (2c,30b9)->(2d,32c8).
IOAudioStream[0x1c52c00]::clipIfNecessary() - adjusting clipped position to (2d,30b9)
IOAudioStream[0x1c52c00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (1,6d)->(2,349).
IOAudioStream[0x1c52c00]::clipIfNecessary() - adjusting clipped position to (2,6d)
So is it a CPU problem? When idle is 0%, it plays, when idle above 50%, video freezes.