Difference between revisions of "Fitlet: Installing Linux Mint 17.2"
From fit-PC wiki
(→Kodi and VLC) (change visibility) |
(→Thermal monitoring) (change visibility) |
||
Line 32: | Line 32: | ||
sudo apt-get install lm-sensors hddtemp | sudo apt-get install lm-sensors hddtemp | ||
− | + | $ sensors | |
k10temp-pci-00c3 | k10temp-pci-00c3 | ||
Adapter: PCI adapter | Adapter: PCI adapter | ||
Line 38: | Line 38: | ||
(crit = +105.0°C, hyst = +104.0°C) | (crit = +105.0°C, hyst = +104.0°C) | ||
− | + | $ sudo hddtemp /dev/sda | |
/dev/sda: SanDisk SD6SF1M064G: 42°C | /dev/sda: SanDisk SD6SF1M064G: 42°C | ||
+ | |||
+ | == Aggressive Link Power Management (ALPM) == | ||
+ | * It's a mechanism where a SATA controller can put the disk into a very low power mode during periods of zero I/O activity and into an active power state when work needs to be done. Tests show that this can save around 0.4 Watts of power and decrease mSATA average temperature | ||
+ | * Create text file /etc/pm/power.d/sata_alpm | ||
+ | #!/bin/sh | ||
+ | |||
+ | for i in /sys/class/scsi_host/host*/link_power_management_policy; do | ||
+ | echo min_power > $i | ||
+ | done | ||
+ | * Make it executable | ||
+ | sudo chmod +x /etc/pm/power.d/sata_alpm | ||
+ | * Reboot, check that SATA power management policy have been changed | ||
+ | $ cat /sys/class/scsi_host/host*/link_power_management_policy | ||
+ | min_power | ||
+ | min_power |
Revision as of 08:43, 29 May 2015
Contents
Prepare installation media
- A USB DVD-ROM drive or a USB Flash drive of at least 2GB should be used as installation media
- Download Linux Mint 17 "Rebecca" - MATE (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 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.
ATI Catalyst video driver
- fglrx is a proprietary ATI Catalyst video driver that provides XvBA (X-video Bitstream Acceleration) support.
- Install fglrx driver and other required utilities with the command below:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates xvba-va-driver vainfo
- Note: system reboot is required after the installation of the fglrx driver.
Kodi and VLC
- Kodi (formerly known as XBMC) and VLC are well known free and open-source multimedia players
- Both of them use GPU accelerated video decoding and give excellent playback quality
- Both of them compatible with the most popular video formats
sudo add-apt-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install kodi vlc
- Kodi will support GPU accelerated video decoding out of the box
- In VLC you need to check Tools->Preferences->Input and Codecs->Use GPU accelerated decoding checkbox to take advantage of GPU accelerated video decoding
Thermal monitoring
- Default 3.13 kernel doesn't support thermal sensor for fitlet CPU, you will need to upgrade the kernel
- Go Update Manager->View->Linux kernels and choose 3.16.0-38, perform reboot after completion of the update
- Install tools for monitoring CPU and storage temperature
sudo apt-get install lm-sensors hddtemp
$ sensors k10temp-pci-00c3 Adapter: PCI adapter temp1: +60.9°C (high = +70.0°C) (crit = +105.0°C, hyst = +104.0°C)
$ sudo hddtemp /dev/sda /dev/sda: SanDisk SD6SF1M064G: 42°C
Aggressive Link Power Management (ALPM)
- It's a mechanism where a SATA controller can put the disk into a very low power mode during periods of zero I/O activity and into an active power state when work needs to be done. Tests show that this can save around 0.4 Watts of power and decrease mSATA average temperature
- Create text file /etc/pm/power.d/sata_alpm
#!/bin/sh for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo min_power > $i done
- Make it executable
sudo chmod +x /etc/pm/power.d/sata_alpm
- Reboot, check that SATA power management policy have been changed
$ cat /sys/class/scsi_host/host*/link_power_management_policy min_power min_power