Changes

Jump to: navigation, search

Airtop: Installing Linux Mint 19.2

4,915 bytes added, 11:28, 11 July 2018
Created page with "== Supported devices == * This guide is valid for Airtop, Airtop2 == Prepare installation media == * A USB DVD-ROM drive or a USB Flash drive of at least 2GB should be used a..."
== Supported devices ==
* This guide is valid for Airtop, Airtop2

== 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 Linux Mint 19 "Tara" - 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

== Base installation of Linux Mint ==
* Follow the standard Linux Mint installation procedure - choose timezone, partitions, username, password etc.
* Disconnect the installation media and reboot.
* Login using previously selected username and password.

== Intel video acceleration graphic drivers ==
<pre>
$ sudo apt update
$ 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 Airtop2:
<pre>
$ vainfo
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
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 Lake - 2.1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSlice
VAProfileVP9Profile2 : VAEntrypointVLD
</pre>

== Nvidia graphics card drivers ==
<pre>
$ sudo apt update
$ nvidia_driver=$(apt-cache search "nvidia-[0-9][0-9][0-9]" | grep -o "nvidia-[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 command, you should see list of supported profiles, for example on Airtop2:

== MPV media player ==
* Well known free and open-source multimedia player
* Supports GPU accelerated video decoding and gives excellent playback quality
* Compatible with the most popular video formats

$ sudo apt install mpv youtube-dl

For example, Airtop2 is capable to play 4K UHD video from the local file:
<pre>
$ mpv -fs ~/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 (vaapi).
VO: [opengl] 3840x2160 vaapi[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 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 (vaapi).
VO: [opengl] 3840x2160 vaapi[nv12]
AV: 00:00:29 / 00:00:29 (99%) A-V: 0.000 Dropped: 1 Cache: 0s+0KB
</pre>
425
edits