Hello, Martin.

Before running mpv to watch the video I _completely_ disabled all the software 
from packages from loading in /etc/rc.conf.local to exclude them totally from 
testing loop. I do it on i7 2-core CPU machine.

For now from boot runs only:

1. syslogd, pflogd, nsd, unbound, ntpd, mountd, nfsd
2. sshd, dhcpd, smtpd, ftpd, ftpproxy, vmd, spamd, spmalogd, sndiod
3. apmd, sensorsd, cron, xenodm

According to top -SH -s .3 some software loaded in addition:

spectrwm, xterm, iostat, slaacd, getty (some instances)

Stutters present with just the software loaded listed above.

When I run mpv and try to watch 720p video. In case of stutters after some time 
of watching audio flow desyncronized with video flow and mpv show video FPS/2 
rate afterwards.

Each time of stutter mpv increase 'Dropped' like

A-V: 0.000 Dropped: 58++ Cahce: 1378s+154MB

I did ktrace for mpv process. I run and see by 'kdump -H ktrace.out' that it has
one process ID and / mostly one-three thread used.
But sometimes (assuming in stutter times) it jumping against treads with 
different numbers.

Yes, IPI increased to 900-1000 when stutter appears.

I'm going to disable step-by step each 'out of the box' software to determine 
the reason. Am I right doing this way?

Martin

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, April 3, 2020 8:13 AM, Martin Pieuchot <[email protected]> wrote:

> On 02/04/20(Thu) 18:40, Martin wrote:
>
> > Before starting the video 2017 bsdcon, disabled all the packages software 
> > on both AMD and i7 and run mpv player and test both machines.
>
> What do you mean? Which software are running? What do you see in
> "top -SH -s .3"?
>
> > Shutters on both platforms happened when APM change low CPU frequency to 
> > high. Maybe it's an apmd issue?
>
> No it is not, it is just a symptom.
>
> Please let's stick to the original question: which piece of software are
> you running when you see the stutters. Is it mpv(1)?
>
> When running mpv(1) do you see high IPIs? If so did you ktrace(1) it?


Reply via email to