1. 10
  1.  

  2. 2

    How is mpv? mplayer is looking a little old and crumbly these days.

    1. 1

      I hadn’t heard of mpv. Thanks.

      1. 1
        ...
        futex(0x7f146fb467b4, FUTEX_WAKE_PRIVATE, 1) = 1
        futex(0x5603a030a8ec, FUTEX_WAKE_PRIVATE, 1) = 0
        futex(0x5603a030a8ec, FUTEX_WAIT_PRIVATE, 2147483664, NULL) = 0
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        futex(0x7ffccce63624, FUTEX_WAIT_PRIVATE, 2, {tv_sec=10000000, tv_nsec=203833721}) = 0
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        ioctl(10, SNDRV_PCM_IOCTL_STATUS_EXT, 0x7ffccce63130) = 0
        futex(0x7f14852a0964, FUTEX_WAKE_PRIVATE, 1) = 1
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        write(13, "\0", 1)                      = 1
        futex(0x7f146fb467b4, FUTEX_WAKE_PRIVATE, 1) = 1
        futex(0x5603a030a8ec, FUTEX_WAKE_PRIVATE, 1) = 1
        futex(0x5603a030a8ec, FUTEX_WAIT_PRIVATE, 2147483664, NULL) = -1 EAGAIN (Resource temporarily unavailable)
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        ioctl(0, TIOCGWINSZ, {ws_row=16, ws_col=239, ws_xpixel=0, ws_ypixel=0}) = 0
        ioctl(0, TIOCGWINSZ, {ws_row=16, ws_col=239, ws_xpixel=0, ws_ypixel=0}) = 0
        futex(0x7ffccce63624, FUTEX_WAIT_PRIVATE, 2, {tv_sec=10000000, tv_nsec=159212925}) = 0
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        ioctl(10, SNDRV_PCM_IOCTL_STATUS_EXT, 0x7ffccce63130) = 0
        futex(0x7f14852a0964, FUTEX_WAKE_PRIVATE, 1) = 1
        futex(0x5603a02a3564, FUTEX_WAKE_PRIVATE, 1) = 1
        futex(0x7f14852a0964, FUTEX_WAKE_PRIVATE, 1) = 1
        futex(0x5603a02a3564, FUTEX_WAKE_PRIVATE, 1) = 1
        ioctl(10, SNDRV_PCM_IOCTL_HWSYNC, 0x1)  = 0
        write(13, "\0", 1)                      = 1
        ...
        

        It’s bit better - still uses 5% CPU though.

      2. 1

        Could the surprisingly high 16% CPU utilisation be partly explained by CPU frequency scaling? Since the CPU is idle most of the time while the machine is doing nothing but playing one mp3 stream, the kernel could dynamically turn down its clock speed to conserve energy without any deadlines being missed.