Fix Boinc manager connection to localhost on Linux

Your user should be in the boinc group: usermod -a -G boinc $(whoami)

Than change GUI login file perms: sudo chmod 640 /var/lib/boinc/gui_rpc_auth.cfg

And then symlink it into your home: cd ~; ln -s /var/lib/boinc/gui_rpc_auth.cfg gui_rpc_auth.cfg

More info at https://wiki.archlinux.org/index.php/BOINC

Advertisements

Video cutting from start to end time using ffmpeg

Sometimes I need pieces from movies to upload to YouTube for example.

It’s possible with the following nice oneliner:

ffmpeg -i IN.mp4 -ss 01:12:55 -t 35 -async 1 OUT.mp4

The solution came from http://stackoverflow.com/questions/18444194/cutting-the-videos-based-on-start-and-end-time-using-ffmpeg

First experience with RAID0

In my new desktop PC I have Intel Rapid Storage technology so gave it a try. Bought a second Kingston V300 SSD to put it in RAID0.

Intel Rapid Storage technology
Intel Rapid Storage technology

I was curious about the performance with and without RAID0 of the SSDs. So I run hdparm -tT on them.
The results:

Kingston SSD performance
Kingston SSD performance

Kingston SSD performance

The old SSD slowed down the RAID array so I sold it and installed OS on the new SSD, because it was 3x faster and I didn’t need the extra space with two SSDs in RAID.
Unfortunately I don’t remember the speed of the old SSD when I bouht it. Now I saved the new ones to be able to compare after some years.
It’s mindblowing how different/super fast is my PC with the new SSD.

Check out this awesome article about swapping https://rudd-o.com/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that

For disk benchmarking on Linux checkout https://wiki.archlinux.org/index.php/Benchmarking/Data_storage_devices

Ignore mplayer config for one run

I got the following error from mplayer:
FATAL: Could not initialize video filters (-vf) or video output (-vo).

I have VDPAU set in .mplayer/config by default.

To ignore user config for one playback I used the -noconfig user param.

On the Arch Linux wiki there’s mentioned a shell script to auto detect VDPAU compatibility.