Difference between revisions of "Intel: Installing Linux Mint 20"
From fit-PC wiki
(Created page with "== Supported devices == * This guide is valid for uSVR, IPC1, IPC2, IPC3, fitlet2 * NOTE: for fitlet2 advised to set the following BIOS setting: Main -> OS Selection to [Linu...") (change visibility) |
(→Supported devices) (change visibility) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Supported devices == | == Supported devices == | ||
− | * This guide is valid for | + | * This guide is valid for MintBox 2, MintBox Mini 2, fitlet2, IPC1, IPC2, IPC3<br/>For MintBox3 and Airtop3 see [[Airtop: Installing Linux Mint 20]] |
− | * NOTE: for fitlet2 advised to set the following BIOS setting: Main -> OS Selection to [Linux] | + | * NOTE: for MintBox Mini 2 and fitlet2 it is advised to set the following BIOS setting: Main -> OS Selection to [Linux] |
== Prepare installation media == | == Prepare installation media == | ||
Line 17: | Line 17: | ||
* Login using previously selected username and password. | * Login using previously selected username and password. | ||
− | == | + | == Video acceleration drivers == |
− | + | <pre> | |
− | + | $ sudo apt update | |
− | + | $ sudo apt install va-driver-all mint-meta-codecs vainfo | |
+ | </pre> | ||
Then run vainfo command, you should see list of supported profiles, for example on fitlet2: | Then run vainfo command, you should see list of supported profiles, for example on fitlet2: | ||
<pre> | <pre> | ||
Line 46: | Line 47: | ||
VAProfileVP9Profile0 : VAEntrypointVLD | VAProfileVP9Profile0 : VAEntrypointVLD | ||
</pre> | </pre> | ||
+ | |||
== MPV media player == | == MPV media player == | ||
* Well known free and open-source multimedia player | * Well known free and open-source multimedia player | ||
Line 51: | Line 53: | ||
* Compatible with the most popular video formats | * Compatible with the most popular video formats | ||
− | $ sudo apt install mpv youtube-dl | + | $ sudo apt install mpv youtube-dl mint-meta-codecs |
For example, fitlet2 is capable to play 4K UHD video from the local file: | For example, fitlet2 is capable to play 4K UHD video from the local file: |
Latest revision as of 11:22, 1 June 2023
Contents
Supported devices
- This guide is valid for MintBox 2, MintBox Mini 2, fitlet2, IPC1, IPC2, IPC3
For MintBox3 and Airtop3 see Airtop: Installing Linux Mint 20
- NOTE: for MintBox Mini 2 and fitlet2 it is advised to set the following BIOS setting: Main -> OS Selection to [Linux]
Prepare installation media
- A USB Flash drive of at least 2GB should be used as installation media
- Download Linux Mint 20 "Ulyana" - Cinnamon (64-bit)
- For installation with a USB Flash drive, please follow How to install Linux Mint via USB tutorial
Base installation of Linux Mint
- Boot the machine from the flash drive:
- fitlet2 - Press "F7" for one time boot menu or change boot priority in BIOS menu (ESC on startup)
- uSVR, IPC1, IPC2, IPC - Press "F5" for one time boot menu or change boot priority in BIOS menu for models that has fixed boot order (F2 on startup)
- 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.
Video acceleration drivers
$ sudo apt update $ sudo apt install va-driver-all mint-meta-codecs vainfo
Then run vainfo command, you should see list of supported profiles, for example on fitlet2:
$ vainfo libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_7 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.7 (libva 2.6.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 () vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSliceLP VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD
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 mint-meta-codecs
For example, fitlet2 is capable to play 4K UHD video from the local file:
$ 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: 11
Or the same content directly from the youtube:
$ 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: 4 Cache: 0s+0KB