Showing posts from January, 2017

Linux video editor comparing (2017)

So I have try to edit video: Pitivi, Openshot, and Kdenlive using Fedora 25

Pitivi: less feature, but has good potential, integrated to gnome
Openshot: lots of feature, but slow, easy to install using Appimage, crashes sometime
Kdenlive: many feature, user friendly, easy install using Appimage

So my choice is using Kdenlive

My discrete VGA is now fast using 4.10 rc2 kernel (Fedora 25)

I'm using Fedora 25 and Wayland without problem. But my discrete VGA is very slow. My laptop have hybrid graphics , internal is Intel HD 5500 and discrete is AMD R7 M260

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)

05:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445]

By upgrading kernel to rawhide kernel (4.10.0-0.rc2.git3.2.fc26.x86_64) my discrete VGA run fast now:
dnf config-manager --add-repo= 

dnf update

I'm using Dota2 to benchmark, Resolution: Full HD 1920x1080 , Video Setting preset: #2 from left: Fastest O--X--O--O Best Looking

To run application using discrete VGA from terminal:
DRI_PRIME=1 steam

Or just right click on launcher and choose Launch using Dedicated Graphics Card

Previously only 8 fps but now it can render as high as 42 fps 😮😃

Enabling fingerprint auth in Fedora 25

By default only login is using fingerprint auth but not for sudo, to enable:
Just run authconfig-tui and check Use fingerprint reader

Then enroll your fingerprint using Settings - Users

To enroll multiple fingerprint matches, do this from terminal:
fprintd-enroll -f FINGERNAME

Replace FINGERNAME with: right-little-finger, right-middle-finger, right-thumb, right-index-finger, right-ring-finger

You can swipe same finger for all enroll

Hibernate your laptop (Fedora 25)

You can hibernate your laptop for faster boot next time. Hibernate is suspending to disk , so you'll need swap partition. I dont use suspend to RAM because it sucks battery. Follow these steps to make hibernate work using Fedora 25/24:

Create swap partition or logical volume (LV)

Common size for hibernating:
RAM 8 GB  create 12 GB swap
RAM 4 GB  create 8 GB swap
RAM 2 GB  create 4 GB swap

Format swap partition

Check new created swap using lsblk -p

For example:
mkswap /dev/mapper/VG-Swap

Add swap to fstab

/dev/mapper/VG-Swap            swap            swap    defaults  0  0

Activate and check

swapon -a

swapon --show     #or swapon -s

Recreate initramfs

dracut --force

Edit grub cmdline

dracut --print-cmdline

will print recommended GRUB_CMDLINE_LINUX

Add resume= and lines to /etc/default/grub (GRUB_CMDLINE_LINUX=)

For example:

GRUB_CMDLINE_LINUX=" resume=/dev/mapper/VG-Swap root=/dev/mapper/VG-Fedora24--root rootfstype=ext4 rootf…