Airtop3: Installing Linux Mint 19.1

From fit-PC wiki
Revision as of 10:46, 27 May 2019 by Denis (Talk | contribs) (System upgrade)

Jump to: navigation, search

Supported devices

  • This guide is valid for Airtop3

Prepare installation media

Base installation of Linux Mint

  • NOTE: "Running in software rendering mode" message will appear, it's ok, it will disappear after installing graphics drivers.
  • 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.

System upgrade

  • Default packages and kernel that come from installation media are outdated, please perform system update:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install linux-generic-hwe-18.04-edge
  • NOTE: It you have Nvidia graphics card - do NOT reboot until Nvidia graphics card drivers will be installed

Intel video acceleration graphic drivers

  • 2D and 3D acceleration supported automatically after system upgrade in previous section
  • Intel video acceleration is not supported in Linux Mint 19.1, if you need this feature please install more recent distribution for example Ubuntu 19.10

Nvidia graphics card drivers

$ 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
  • Then run nvidia-smi command, you should see current NVIDIA card status:
$ watch -n1 nvidia-smi
Sun May 26 15:57:21 2019       
| NVIDIA-SMI 430.14       Driver Version: 430.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  Quadro RTX 4000     Off  | 00000000:01:00.0  On |                  N/A |
|  0%   43C    P8     1W / 125W |    338MiB /  7979MiB |      0%      Default |
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|    0      1212      G   /usr/lib/xorg/Xorg                           279MiB |
|    0      1669      G   cinnamon                                      58MiB |

I3M Panel

  • Integrated interactive information monitor I3M is a GUI system integrated in the front panel of Airtop
  • Download and install the package for Airtop3:
$ wget
$ sudo dpkg -i airtop-fpsvc_systemd.deb
Created symlink /etc/systemd/system/ → /lib/systemd/system/airtop-fpsvc.service.
Created symlink /etc/systemd/system/ → /lib/systemd/system/gpu-thermald.service.
  • Note, the package adds "acpi_enforce_resources=lax" string to the kernel boot line
  • Reboot the Airtop after installation
  • Now you can navigate through menus between multiple screens of the I3M that display system information, temperatures, power consumption and notifications

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

For example, Airtop3 with Quadro RTX 4000 is capable to play 4K UHD using CUDA video decoding without significant system load:

$ 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 (cuda).
VO: [opengl] 3840x2160 cuda[p010]
AV: 00:00:30 / 00:00:30 (99%) A-V:  0.000 Cache:  0s+0KB

Or the same content directly from the youtube:

# NOTE: need to install fixed youtube-dl package
$ wget
$ sudo dpkg -i youtube-dl_2019.05.20-0ubuntu1_all.deb
$ mpv -fs --hwdec=cuda
 (+) 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 (cuda).
VO: [opengl] 3840x2160 cuda[nv12]
AV: 00:00:29 / 00:00:29 (99%) A-V:  0.000 Cache:  0s+0KB