Difference between revisions of "Intel: Installing Linux Mint 19"

From fit-PC wiki
Jump to: navigation, search
(Intel video acceleration graphic drivers)   (change visibility)
(MPV media player)   (change visibility)
Line 61: Line 61:
 
* Supports GPU accelerated video decoding and gives excellent playback quality
 
* Supports GPU accelerated video decoding and gives excellent playback quality
 
* Compatible with the most popular video formats
 
* Compatible with the most popular video formats
 +
 +
For example, fitlet2 is capable to play 4K HDR video from the local file
  
 
  $ sudo apt install mpv
 
  $ sudo apt install mpv
  $ mpv -fs /mnt/Videos/4K/The\ World\ In\ HDR\ 4K\ Demo.mkv  
+
  $ mpv -fs ~/Videos/4K/The\ World\ In\ HDR\ 4K\ Demo.mkv  
  Playing: /mnt/Videos/4K/The World In HDR 4K Demo.mkv
+
  Playing: ~/Videos/4K/The World In HDR 4K Demo.mkv
 
   (+) Video --vid=1 (*) (hevc 3840x2160 59.940fps)
 
   (+) Video --vid=1 (*) (hevc 3840x2160 59.940fps)
 
   (+) Audio --aid=1 --alang=eng (*) (vorbis 2ch 44100Hz)
 
   (+) Audio --aid=1 --alang=eng (*) (vorbis 2ch 44100Hz)
Line 74: Line 76:
 
   
 
   
 
  AV: 00:00:25 / 00:02:34 (16%) A-V:  0.000 Dropped: 781 Cache:  9s+73MB
 
  AV: 00:00:25 / 00:02:34 (16%) A-V:  0.000 Dropped: 781 Cache:  9s+73MB
 +
 +
Or the save content directly from the youtube:
 +
 +
$ mpv -fs https://www.youtube.com/channel/UCzWp0H8VEl0xzITOoqUU-DQ
 +
Playing: https://www.youtube.com/channel/UCzWp0H8VEl0xzITOoqUU-DQ
 +
 +
Playing: ytdl://c9j8FLIF8FM
 +
  (+) Video --vid=1 (*) (vp9 3840x2160 59.940fps)
 +
  (+) Audio --aid=1 --alang=eng (*) 'DASH audio' (opus 2ch 48000Hz) (external)
 +
Using hardware decoding (vaapi).
 +
VO: [opengl] 3840x2160 vaapi[nv12]
 +
AO: [pulse] 48000Hz stereo 2ch float
 +
AV: 00:00:36 / 00:05:20 (11%) A-V:  0.002 Dropped: 1097 Cache:  4s+2KB
  
 
== See also ==
 
== See also ==

Revision as of 12:45, 3 July 2018

Supported devices

  • This guide is valid for Intense-PC, IPC2, uSVR, IPC3, fitlet2
  • NOTE: for fitlet2 advised to set the following BIOS setting: Main -> OS Selection to [Linux]

Prepare installation media

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.

Intel video acceleration graphic drivers

$ sudo apt update
$ sudo apt install mint-meta-codecs i965-va-driver gstreamer1.0-vaapi vainfo 

Then run vainfo command, you should see list of supported profiles, for example on fitlet2:

$ vainfo 
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 2.1.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      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

For example, fitlet2 is capable to play 4K HDR video from the local file

$ sudo apt install mpv
$ mpv -fs ~/Videos/4K/The\ World\ In\ HDR\ 4K\ Demo.mkv 
Playing: ~/Videos/4K/The World In HDR 4K Demo.mkv
 (+) Video --vid=1 (*) (hevc 3840x2160 59.940fps)
 (+) Audio --aid=1 --alang=eng (*) (vorbis 2ch 44100Hz)
File tags:
 Title: The World in HDR in 4K - Demo-UHD3D.com
AO: [pulse] 44100Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [opengl] 3840x2160 vaapi[p010]

AV: 00:00:25 / 00:02:34 (16%) A-V:  0.000 Dropped: 781 Cache:  9s+73MB

Or the save content directly from the youtube:

$ mpv -fs https://www.youtube.com/channel/UCzWp0H8VEl0xzITOoqUU-DQ
Playing: https://www.youtube.com/channel/UCzWp0H8VEl0xzITOoqUU-DQ

Playing: ytdl://c9j8FLIF8FM
 (+) Video --vid=1 (*) (vp9 3840x2160 59.940fps)
 (+) Audio --aid=1 --alang=eng (*) 'DASH audio' (opus 2ch 48000Hz) (external)
Using hardware decoding (vaapi).
VO: [opengl] 3840x2160 vaapi[nv12]
AO: [pulse] 48000Hz stereo 2ch float
AV: 00:00:36 / 00:05:20 (11%) A-V:  0.002 Dropped: 1097 Cache:  4s+2KB

See also