Changes

Jump to: navigation, search

Airtop: Installing Linux Mint 20

3,258 bytes added, 10:02, 11 November 2020
/* Missing Built-in Audio */
== Supported devices ==
* This guide is valid for AirtopMintBox3, Airtop1, Airtop2, Airtop3
== Prepare installation media ==
== I3M ==
* To install I3M Linux Daemon on Airtop, please expand and follow the below:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px1000px; overflow:auto;">
* Download I3M monitoring tools:
<pre>
$ 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
$ sudo chmod +x /usr/local/sbin/*
</pre>
* Fix dependencies:
sleep 1
/usr/local/sbin/airtop-fpsvc
[ "$(lspci -nn | grep 10de:VGA | grep NVIDIA)" ] && /usr/local/sbin/gpu-thermald
exit 0
</pre>
</div>
== Suspend-Resume ==
* There is a internal firmware issue with Airtop3, some units make unexpected reboot a few seconds/minutes after coming back from sleep
* To fix it need to set BIOS setting called "Boot Watchdog" to "Disabled"
<pre>
- Press [DEL] during boot to enter the BIOS settings
- BIOS -> Chipset -> PCH-IO Configuration -> Boot Watchdog [Disabled]
- Press [F4] Save and Exit
</pre>
* At this point suspend-resume will work correctly, issue don't have other side effects
 
== Missing Built-in Audio ==
* Unfortunately there is a set of audio bugs you will encounter on your fresh installation:
<pre>
- No sound from both Front and Rear analog audio outputs
- Volume output is too low
- Alsamixer not working
- Jack detection not working
</pre>
* To fix please expand and follow the below:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px; overflow:auto;">
* On Airtop in Linux both "Rear Audio" and "Front Audio" can not work in the same time
* You need to select one of "Front Audio" or "Rear Audio":
<pre>
- Press [DEL] during boot to enter the BIOS settings
- BIOS -> Quick-Settings -> Rear/Front Audio -> [Front Audio] or [Rear Audio]
- Press [F4] Save and Exit
</pre>
* Open file /etc/default/grub for editing
* Add "snd-intel-dspcfg.dsp_driver=1" to the end of kernel boot line:
<pre>
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash snd-intel-dspcfg.dsp_driver=1"
</pre>
* Update grub settings
<pre>
$ sudo update-grub2
Sourcing file `/etc/default/grub'
..
done
</pre>
* Create new file /lib/firmware/airtop_beep_disable.fw
<pre>
[codec]
0x10ec0900 0x10ec0901 0
 
[pincfg]
0x1d 0x40010101
 
[codec]
0x10ec0900 0x10ec0900 1
 
[pincfg]
0x1d 0x40010101
</pre>
* Create new file /etc/modprobe.d/airtop_alc1150_hda.conf
<pre>
options snd-hda-intel patch=airtop_beep_disable.fw
</pre>
<pre>
$ sudo reboot
</pre>
* Test audio output, go to Sound settings
<pre>
- Menu -> Sound -> Output -> Headphones Built-in Audio
</pre>
* Click on "Test Sound", then on "Front Left" and "Front Right", check if it hear it from headphones, play with the volume.
</div>
== Intel video acceleration drivers ==
<pre>
- Press [DEL] during boot to enter the BIOS settings
- Set "Chipset -> system System Agent (SA) Configuration -> Graphics Configuration -> Internal Graphics" to [Enabled]
- Press [F4] to save and exit
- Boot to Linux Mint
- All connected displays will appear in the "Display" section
</pre>
Comment: Set working mode "Prefer Consistent Performanse" to reduce noise
</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
 
For example, Airtop3 with Quadro RTX 4000 is capable to play 4K UHD using CUDA video decoding without significant system load:
<pre>
$ mpv -fs ~/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
VO: [gpu] 3840x2160 yuv420p10
AV: 00:00:30 / 00:00:30 (99%) A-V: 0.000 Cache: 0.0s/2KB
</pre>
Or the same content directly from the youtube:
<pre>
$ mpv -fs https://www.youtube.com/watch?v=j4oBg8capW8
(+) Video --vid=1 (*) (vp9 3840x2160 29.970fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
AV: 00:00:29 / 00:00:30 (99%) A-V: 0.000 Cache: 0.0s
</pre>
 
[[category:Airtop]]
[[category:Airtop2]]
[[category:Airtop3]]
[[category:Software]]
[[category:Linux]]
425
edits