Changes

Jump to: navigation, search

Airtop: Installing Linux Mint 19.2

1,782 bytes added, 13:11, 4 September 2018
* Download and install the package for Airtop or Airtop2:
<pre>
# for Airtop2$ wget http:product_name=$(cat /sys/www.fit-pc2.comclass/downloaddmi/airtopid/airtop2/airtop-fpsvc_systemd.deb # for Airtop1product_name)$ wget http://www.fit-pc2.com/download/airtop/airtop1$product_name/airtop-fpsvc_systemd.deb 
$ sudo dpkg -i airtop-fpsvc_systemd.deb
...
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.
</pre>
* Note, the package adds "acpi_enforce_resources=lax" string to the kernel boot line
<pre>
$ 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
</pre>
Then run vdpauinfo nvidia-smi command, you should see list of supported profiles, for example on Airtop2current NVIDIA card status:<pre>$ watch -n1 nvidia-smiThu Jul 12 02:31:03 2018 +-----------------------------------------------------------------------------+| NVIDIA-SMI 390.48 Driver Version: 390.48 ||-------------------------------+----------------------+----------------------+| 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... On | 00000000:01:00.0 On | N/A || 0% 55C P2 38W / 95W | 1287MiB / 6075MiB | 6% Default |+-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+| Processes: GPU Memory || GPU PID Type Process name Usage ||=============================================================================|| 0 959 G /usr/lib/xorg/Xorg 376MiB || 0 1503 G cinnamon 54MiB || 0 14374 C+G mpv 843MiB |+-----------------------------------------------------------------------------+</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 with GeForce GTX 1060 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>
$ 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>
 
[[category:Airtop]]
[[category:Software]]
[[category:Linux]]
1,586
edits