Difference between revisions of "Airtop: Installing Linux Mint 20"
From fit-PC wiki
(→I3M) (change visibility) |
(→Intel video acceleration drivers) (change visibility) |
||
Line 69: | Line 69: | ||
$ sudo apt install va-driver-all mint-meta-codecs vainfo | $ sudo apt install va-driver-all mint-meta-codecs vainfo | ||
</pre> | </pre> | ||
− | Then run vainfo command, you should see list of supported profiles, for example on | + | Then run vainfo command, you should see list of supported profiles, for example on airtop3: |
<pre> | <pre> | ||
$ vainfo | $ vainfo |
Revision as of 10:52, 22 July 2020
Contents
Supported devices
- This guide is valid for Airtop, Airtop2, Airtop3
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
LiveUSB installer crash on Quadro RTX 4000
- In case your machine is configured with Quadro RTX4000 and experience crashes/freezes while LiveUSB installer running, please expand and follow the below:
- To perform boot into "Safe Graphics" mode, add "nomodeset" parameter to the kernel boot line:
- Power-on the Airtop3 with LiveUSB installer
- Boot menu will appear, default entry will be "Start Linux Mint 20 Cinnamon 64-bit"
- Press [e] to enter edit mode
- Add "nomodeset" after the "splash", the end of line will look like "quiet splash nomodeset --"
- Press [F10] to continue the boot
- You will need to add "nomodeset" option once again, after base installation of Linux Mint and reboot
- The problem will disappear after installing Nvidia graphics card drivers
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.
I3M
- To install I3M Linux Daemon on Airtop, please expand and follow the below:
- Download I3M monitoring tools:
$ sudo wget https://fit-iot.com/files/download/airtop/sw/I3M/Linux/airtop-fpsvc -O /usr/local/sbin/airtop-fpsvc $ sudo wget https://fit-iot.com/files/download/airtop/sw/I3M/Linux/gpu-thermald -O /usr/local/sbin/gpu-thermald
- Fix dependencies:
$ lib_path="/usr/lib/x86_64-linux-gnu" $ [ -e $lib_path/libsensors.so.4 ] || sudo ln -s $lib_path/libsensors.so.*.0.0 $lib_path/libsensors.so.4
- Create file /etc/rc.local with the following content:
#!/bin/bash modprobe i2c-i801 sleep 1 /usr/local/sbin/airtop-fpsvc [ "$(lspci -nn | grep 10de:)" ] && /usr/local/sbin/gpu-thermald exit 0
- Make it executable:
$ sudo chmod +x /etc/rc.local
- Ensure I3M panel is working
$ sudo /etc/rc.local
- Reboot, ensure I3M panel is still working
$ sudo reboot
Intel 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 airtop3:
$ 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 VAProfileVP9Profile2 : VAEntrypointVLD