Changes

Jump to: navigation, search

Airtop: Installing Linux Mint 19.2

442 bytes added, 11:22, 8 January 2020
/* Airtop3 serial COM ports */
== 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
* Download and install the following package:
<pre>
$ wget https://fit-iot.com/files/download/airtop/sw/I3M/Linux/airtop-fpsvc_systemdfpsvc_3.0-2.deb$ sudo dpkg -i airtop-fpsvc_systemdfpsvc_3.0-2.deb
...
Created symlink /etc/systemd/system/multi-user.target.wants/airtop-fpsvc.service → /lib/systemd/system/airtop-fpsvc.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 nvidia-smi command, you should see current NVIDIA card status:
<pre>
$ watch -n1 nvidia-smi
Thu Jul 12 02Sun May 26 15:3157:03 2018 21 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390430.48 14 Driver Version: 390430.48 14 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 106... Quadro RTX 4000 Off On | 00000000:01:00.0 On | N/A || 0% 55C 43C P2 38W P8 1W / 95W 125W | 1287MiB 338MiB / 6075MiB 7979MiB | 60% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 959 1212 G /usr/lib/xorg/Xorg 376MiB 279MiB || 0 1503 1669 G cinnamon 54MiB || 0 14374 C+G mpv 843MiB 58MiB |
+-----------------------------------------------------------------------------+
</pre>
* Compatible with the most popular video formats
$ sudo apt install mpv youtube-dl
For example, Airtop2 Airtop3 with GeForce GTX 1060 Quadro RTX 4000 is capable to play 4K UHD using CUDA video decoding without significant system load:
<pre>
$ mpv -fs --hwdec=cuda ~/Videos/jellyfish/jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv
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
AV: 00:00:29 / 00:00:29 (99%) A-V: 0.000 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