Changes

Jump to: navigation, search

Airtop: Installing Linux Mint 19.2

222 bytes removed, 11:22, 8 January 2020
/* Airtop3 serial COM ports */
== Supported devices ==
* This guide is valid for Airtop, Airtop2, Airtop3
== Prepare installation media ==
* A USB DVD-ROM drive or a USB Flash drive of at least 2GB should be used as installation media
* Download [https://www.linuxmint.com/edition.php?id=254 267 Linux Mint 19 .2 "TaraTina" - Cinnamon (64-bit)"]
* For installation with a USB DVD-ROM - flash the downloaded image directly onto a DVD
* For installation with a USB Flash drive, please follow [http://community.linuxmint.com/tutorial/view/744 How to install Linux Mint via USB] tutorial
== I3M Panel ==
* Integrated interactive information monitor [[Airtop:I3M | I<sup>3</sup>M]] is a GUI system integrated in the front panel of Airtop
* Download and install the following package for Airtop or Airtop2:
<pre>
# for Airtop2$ wget httphttps://www.fit-pc2iot.com/files/download/airtop/airtop2sw/airtop-fpsvc_systemd.deb # for Airtop1$ wget http:I3M/Linux/www.fitairtop-pc2fpsvc_3.com/download/airtop/airtop1/airtop0-fpsvc_systemd2.deb $ sudo dpkg -i airtop-fpsvc_systemdfpsvc_3.0-2.deb
...
Found linux image: /boot/vmlinuz-4.15.0-23-generic
Found initrd image: /boot/initrd.img-4.15.0-23-generic
Adding boot menu entry for EFI firmware configuration
done
Created symlink /etc/systemd/system/multi-user.target.wants/airtop-fpsvc.service → /lib/systemd/system/airtop-fpsvc.service.
Created symlink /etc/systemd/system/multi-user.target.wants/gpu-thermald.service → /lib/systemd/system/gpu-thermald.service.
$ sudo apt install mint-meta-codecs i965-va-driver gstreamer1.0-vaapi vainfo
</pre>
Then run vainfo command, you should see list of supported profiles, for example on Airtop2Airtop3:
<pre>
$ vainfo
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Coffee Lake - 2.1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
== Nvidia graphics card drivers ==
<pre>
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
$ nvidia_driver=$(apt-cache search "nvidia-driver-[0-9][0-9][0-9]" | grep -o "nvidia-driver-[0-9][0-9][0-9]" | sort | tail -1)
$ sudo apt install $nvidia_driver vdpauinfo mesa-vdpau-drivers vdpau-va-driver --install-recommends
$ sudo reboot
</pre>
 * Then run vdpauinfo nvidia-smi command, you should see list of supported profiles, for example on Airtop2current NVIDIA card status:
<pre>
$ vdpauinfo watch -n1 nvidia-smidisplaySun May 26 15: 57:0 screen: 0API version: 1Information string: NVIDIA VDPAU Driver Shared Library 390.48 Wed Mar 21 23:47:29 PDT 2018 Video surface: name width height types2019 +-----------------------------------------------------------------------------+420 8192 8192 NV12 YV12 422 8192 8192 UYVY YUYV  Decoder capabilities| NVIDIA-SMI 430.14 Driver Version:430.14 CUDA Version: 10.2 | name level macbs width height|-------------------------------+----------------------+----------------------+MPEG1 0 65536 | GPU 4096 4096Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |MPEG2_SIMPLE 3 65536 | Fan 4096 Temp 4096MPEG2_MAIN 3 65536 Perf 4096 Pwr:Usage/Cap| Memory-Usage | GPU-Util 4096Compute M. |H264_BASELINE 41 65536 4096 4096|===============================+======================+======================|H264_MAIN 41 65536 4096 4096H264_HIGH 41 65536 4096 4096VC1_SIMPLE 1 8190 2048 2048VC1_MAIN 2 8190 2048 2048VC1_ADVANCED 4 8190 2048 2048MPEG4_PART2_SP 3 8192 2048 2048MPEG4_PART2_ASP 5 8192 2048 2048DIVX4_QMOBILE | 0 8192 Quadro RTX 4000 Off 2048 2048DIVX4_MOBILE | 00000000:01:00.0 8192 2048 2048DIVX4_HOME_THEATER 0 8192 2048 2048DIVX4_HD_1080P On | 0 8192 2048 2048N/A |DIVX5_QMOBILE 0 | 8192 2048 2048DIVX5_MOBILE 0 % 43C P8 1W / 125W | 338MiB / 8192 2048 2048DIVX5_HOME_THEATER 7979MiB | 0 8192 2048 2048% Default |DIVX5_HD_1080P 0 8192 2048 2048+-------------------------------+----------------------+----------------------+H264_CONSTRAINED_BASELINE 41 65536 4096 4096 H264_EXTENDED 41 65536 4096 4096+-----------------------------------------------------------------------------+H264_PROGRESSIVE_HIGH 41 65536 4096 4096| Processes: GPU Memory |H264_CONSTRAINED_HIGH 41 65536 | 4096 4096H264_HIGH_444_PREDICTIVE GPU 41 65536 4096 4096PID Type Process name Usage |HEVC_MAIN 153 262144 8192 8192|=============================================================================|| 0 1212 G /usr/lib/xorg/Xorg 279MiB || 0 1669 G cinnamon 58MiB |HEVC_MAIN_10 +--- not supported ---HEVC_MAIN_STILL --- not supported ---HEVC_MAIN_12 --- not supported ---HEVC_MAIN_444 --- not supported ---...-----------------------------------------------------+
</pre>
== MPV media player ==
* Well known free and open-source multimedia player
* Supports GPU accelerated video decoding including CUDA decoding on NVIDIA GPUs and gives excellent playback quality
* Compatible with the most popular video formats
$ sudo apt install mpv youtube-dl
For example, Airtop2 Airtop3 with Quadro RTX 4000 is capable to play 4K UHD using CUDA video from the local filedecoding without significant system load:
<pre>
$ mpv -fs --hwdec=cuda ~/Videos/jellyfish/jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv
Playing: ~/Videos/jellyfish/jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv
(+) Video --vid=1 (*) (hevc 3840x2160 29.970fps)
(+) Audio --aid=1 (*) (truehd 6ch 48000Hz)
AO: [pulse] 48000Hz 5.1(side) 6ch s32
Using hardware decoding (vaapicuda).VO: [opengl] 3840x2160 vaapicuda[p010]AV: 00:00:30 / 00:00:30 (99%) A-V: 0.000 Dropped: 3 Cache: 0s+0KB
</pre>
Or the same content directly from the youtube:
<pre>
# NOTE: need to install fixed youtube-dl package$ wget http://mirrors.kernel.org/ubuntu/pool/universe/y/youtube-dl/youtube-dl_2019.09.28-1_all.deb$ sudo dpkg -i youtube-dl_2019.09.28-1_all.deb</pre><pre>$ mpv -fs --hwdec=cuda https://www.youtube.com/watch?v=j4oBg8capW8
Playing: https://www.youtube.com/watch?v=j4oBg8capW8
(+) Video --vid=1 (*) (vp9 3840x2160 29.970fps)
(+) Audio --aid=1 --alang=und (*) 'DASH audio' (aac 2ch 44100Hz) (external)
AO: [pulse] 44100Hz stereo 2ch float
Using hardware decoding (vaapicuda).VO: [opengl] 3840x2160 vaapicuda[nv12]AV: 00:00:29 / 00:00:29 (99%) A-V: 0.000 Dropped: 1 Cache: 0s+0KB
</pre>
 
== Airtop3 Serial COM ports ==
 
* to configure Airtop3's Serial COM ports please visit the application note:<br> [[Application note - Airtop3 serial port configuration in Linux]]
 
[[category:Airtop]]
[[category:Software]]
[[category:Linux]]
1,586
edits