Mini PC for video streaming on TV.

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
User avatar
Duprate
Posts: 300
Joined: Sat Aug 22, 2020 8:14 pm
Location: Southern Brazil
Has thanked: 151 times
Been thanked: 102 times

Mini PC for video streaming on TV.

Post by Duprate »

If you have a NUC for this purpose and other small tasks, and it has a modest configuration (Celeron N3060 dual core, 2Gb of non-expandable RAM, eMMC storage - 32Gb), you understand the existing difficulties. The price was cheap, at first it worked well......
This setup takes a little creativity. With browsers becoming more demanding, soon those 2 Gb of RAM start crashing. So it's time to innovate and have the ZRAM feature enabled at boot. If you don't know how to do this, this can be implemented by editing /etc/rc.d/rc.local,
added the following:

Code: Select all

#!/bin/dash
sleep 10
FREEK=`grep '^MemFree:' /proc/meminfo | tr -s ' ' | cut -f 2 -d ' '`
HALFK=$(($FREEK/2))
QTRK=$(($HALFK/2))
USEK=$(($HALFK+$QTRK))
ALLOCK=$(($USEK*2))
modprobe zram &&
echo "Creating compressed zram, using ${USEK}K of RAM"
echo "${ALLOCK}K" > /sys/block/zram0/disksize
echo "${USEK}K" > /sys/block/zram0/mem_limit
mkswap /dev/zram0 > /dev/null 2>&1
swapon -p 50 /dev/zram0 &&
exit 0

This post is about FatDog64, I tested other systems but it was with it that my NUC worked best. It was also with FatDog64 that I managed to implement without problems, the Pure Monolithic Kernel that doesn't need kernel-modules.sfs (modules +firmware), saving space in memory;
Do a frugal installation, a savefile with only the necessary that will later be converted into a .sfs or merged with the base file;
Using it in Overlayfs mode also helps, but it's not necessary or mandatory;
Make the base file using fatdog64-iso-builder, removing from the sfs-baselist some apps that you don't use or use in .appimage mode, making the "base" smaller.
If the basic purpose of the Mini PC is for transmitting video on TV, the system will not need to have gimp-2.8.22-x86_64-1, libreoffice-6.3.6.2-x86_64-1, libreoffice-dict in fd64.sfs -en-6.3.6.2-x86_64-1, seamonkey-2.49.5-x86_64-1, flash-plugin-32.0.0.156-x86_64-1.txz, vlc-plugin-2.0.6-x86_64-1_vlc303.txz, armagetronad-0.2.8.3.4-x86_64-1, pipepanic-0.1.3-x86_64-1, xinvaders3d-1.3.6-x86_64-1, gtktetris-0.6.2b-x86_64-1.

But you will need:
atk2-2.36.0-x86_64-1.txz, at-spi2-atk-2.26.2-x86_64-1.txz, at-spi2-core-2.28.0-x86_64-1.txz, glib-networking-2.56.1-x86_64-1.txz,
gobject-introspection-1.56.1-x86_64-1.txz, gsettings-desktop-schemas- 3.28.0-x86_64-1.txz, gtk3-3.24.31-x86_64-1.txz, librest-0.8.1-x86_64-1.txz, libsoup-2.62.3-x86_64-1.txz, libwayland-1.20.0-x86_64-1.txz

And also a browser like Mozilla Firefox, which runs NETFLIX, without creating problems!

Finally, following these basic principles,
1- Reducing the size of the base file (fd64.sfs - 220Mb);
2- Converting the savefile into a .SFS, and starting with everything loaded in RAM;
3- Starting with ZRAM enabled at startup;
4- Using a Pure Monolithic Kernel with 9Mb;
5- Using a browser that fulfills all tasks; and
6- Starting the system in Overlay mode (optional),
That I managed to turn a Mini PC Junk into something usable and that I use to this day!
(this Mini PC was sold worldwide with a minimum of 4 Gb of RAM, but in Brazil it was only sold with 2 Gb of RAM) :thumbdown:

Note: It was also necessary to embed a mini fan in the back of the Mini PC. If not, it would have already burned due to overheating…… :oops:

Attachments
ultratop.png
ultratop.png (258.55 KiB) Viewed 483 times
Post Reply

Return to “FatDog64”