While I was writing a shell script (doing this the past several days) just a few minutes ago my PC fans spinned up without any seemingly reason. I thought it might be the baloo process, but looking at the running processes I see it’s names block-rate-estim . It takes 6.2% CPU time and is running since minutes, on my modern 8 core CPU. And uses up 252 KiB. The command is shown as block-rate-estim --help, which when I run on the commandline myself will just run the program without output and blocking until I end the process. Sounds alarming to me first. Is something mining going on?

I looked up where the command is coming from:

$ ls -l /usr/bin/block-rate-estim
.rwxr-xr-x 14k root 20 Dez  2023 /usr/bin/block-rate-estim

$ yay -F block-rate-estim
extra/libde265 1.0.12-1 [installed: 1.0.15-1]
usr/bin/block-rate-estim

$ yay -Si libde265
Repository      : extra
Name            : libde265
Version         : 1.0.15-1
Description     : Open h.265 video codec implementation
Architecture    : x86_64
URL             : https://github.com/strukturag/libde265
Licenses        : LGPL3
Groups          : None
Provides        : None
Depends On      : gcc-libs  glibc
Optional Deps   : ffmpeg: for sherlock265
qt5-base: for sherlock265
sdl: dec265 YUV overlay output
Conflicts With  : None
Replaces        : None
Download Size   : 270,31 KiB
Installed Size  : 783,53 KiB
Packager        : Antonio Rojas 
Build Date      : Mi 20 Dez 2023 20:06:16 CET
Validated By    : MD5 Sum  SHA-256 Sum  Signature

It’s still going on the background, I have no idea what this is. The thing is, I didn’t start any process that is related to video codec. Other than FreeTube being in the background with video in Pause mode since 2 hours or so. I use FreeTube since months and this never happened before, I see this block-rate-estim process the first time.

What should I do? I’m on an up-to-date EndeavourOS installation.

  • @gnuhaut
    link
    2
    edit-2
    27 days ago

    Btw, based on the name, and looking at the source, I think this block-rate-estim is a benchmark helper program for the libde265 video decoder. I think it takes in a file with log data (like debug output or something) and does some statistical calculation on it. My guess is the “block rate” is the speed/throughput.

    It’s not available on Debian here (not part of any package, i.e. not installed/compiled, not sure why Fedora Arch would include this in the package tbh), since I think it’s supposed to be an internal dev tool or something like that.

    It expects two arguments: a tag (whatever that is) and a filename for input data. It definitely doesn’t understand --help and I suspect it endlessly loops when it doesn’t get valid filename as the second argument.

    I’m sticking to my hunch from my other comment, that it is one of your vim (or maybe shell) plugins. It possibly runs every binary installed on your system with --help, to provide some sort of autocomplete or something like that. If that is the case, that seems like a bad idea honestly.

    I see no reason why FreeTube would run this, but if it did, it surely wouldn’t incorrectly run it with just --help as an argument.

    • NaN
      link
      fedilink
      English
      3
      edit-2
      27 days ago

      yay is an Arch package manager. Fedora doesn’t include this package due to patents. Arch does minimal customization so that’s probably part of it.