fit-PC Users Forum

EMGD 1.16 driver on Linux Mint 13 MATE
Page 1 of 5

Author:  Denis [ Thu Oct 04, 2012 4:09 pm ]
Post subject:  EMGD 1.16 driver on Linux Mint 13 MATE

This is a installation instructions of Linux Mint 13 on fitPC2/2i, it is not final version and will be updated.

There is a new graphic driver available - EMGD 1.16 IntelĀ® Embedded Media and Graphics Driver
- Better 2D, 3D (Visual Effects) support.
- Hardware-accelerated Mplayer
- Hardware-accelerated flashplayer

Prepare installation media

- A USB DVD/CD-ROM drive or a USB Flash drive of at least 1GB should be used as installation media
- Download Linux Mint 13 "Maya" - MATE (32-bit)"
- For installation with a USB DVD/CD-ROM - flash the downloaded image directly onto a DVD/CD
- For installation with a USB Flash drive, please use the "Accessories->ImageWriter" utility to create a LiveUSB or follow How to install Linux Mint via USB tutorial.

Base installation of Linux Mint 13

- 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.

Downgrade xserver-xorg to 1.9 version

- Create file /etc/apt/preferences.d/xorg.1.9.pref
Package: xorg xserver-xorg*
Pin: release a=maverick-updates
Pin-Priority: 1001

- Create file /etc/apt/sources.list.d/xorg.1.9.list
# deb maverick-updates main restricted universe multiverse
 # maverick is unsupported officially, but the archives are still available

deb maverick-updates main restricted universe multiverse

- System update will do the downgrade
sudo apt-get update
sudo apt-get dist-upgrade

Blacklist opensource psb_gfx drivers
- Edit /etc/default/grub:
# add "psb_gfx.dummy=1" to GRUB_CMDLINE_LINUX_DEFAULT, it should look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash psb_gfx.dummy=1"

- And then run:
sudo update-grub2

EMGD drivers

- Download emgd-dkms_1.16.3196.deb and emgd-bin_1.16.3196.deb
sudo dpkg -i emgd-bin_1.16.3196.deb emgd-dkms_1.16.3196.deb

Reboot to complete the basic installation!


sudo apt-add-repository ppa:sander-vangrieken/vaapi
sudo apt-get update
sudo apt-get install mplayer-vaapi

- You can run it from command line only!
$ mplayer /home/user/Videos/Terminator_Salvation_Trailer_H264_1920x800.flv

- Most files played fine but unfortunately there are still exceptions

Hardware-accelerated flashplayer

- Download
sudo cp /opt/mint-flashplugin-11/

- Just open some HD video on youtube and it should be played well.

Users feedback is highly appreciated.

Author:  DocLight [ Sun Oct 07, 2012 2:56 pm ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

ok, installation works... performance looks good at first view.

Author:  startit_ltd [ Thu Oct 18, 2012 8:03 pm ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

I installed Linuxmint 13 following your guide, it went fine.

I tested the following:
* HD movie playback (flv, mkv, wmv, avi, mp4, mov, ts etc.) -> seems working very well, all kind of videos I had (even bird 42Mbit killa sample video)

* normal AVI: seems working well, but when I FF with mouse, the mate desktop seemed frozen, except mouse. I login via ssh, I got this in the log, endless repeat:
[ 1991.376542] PVR_K: Command Complete Data for display device 2:
[ 1991.376549] PVR_K:    SRC 0: (Not in use)
[ 1991.568021] PVR_K: HWRecoveryResetSGX: From Kernel
[ 1991.568032] PVR_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered
[ 1991.568040] PVR_K: EUR_CR_EVENT_STATUS:     20000000
[ 1991.568047] PVR_K: EUR_CR_EVENT_STATUS2:    10
[ 1991.568053] PVR_K: EUR_CR_BIF_CTRL:         0
[ 1991.568059] PVR_K: EUR_CR_BIF_BANK0:        f00ff
[ 1991.568066] PVR_K: EUR_CR_BIF_INT_STAT:     4002
[ 1991.568072] PVR_K: EUR_CR_BIF_FAULT:        0
[ 1991.568078] PVR_K: EUR_CR_BIF_MEM_REQ_STAT: 0
[ 1991.568084] PVR_K: EUR_CR_CLKGATECTL:       111111
[ 1991.568090] PVR_K: EUR_CR_PDS_PC_BASE:      0
[ 1991.568095] PVR_K: SGX Host control:
[ 1991.568103] PVR_K:    0x0: 0x00000001 0x00000000 0x00000000 0x00000000
[ 1991.568111] PVR_K:    0x10: 0x0000068B 0x0000000A 0x00030D40 0x00000002
[ 1991.568119] PVR_K:    0x20: 0x00000000 0x00000001 0x00004622 0x00000000
[ 1991.568128] PVR_K:    0x30: 0x0000F65E 0x7069705F 0x67765F65 0x4D420061
[ 1991.568134] PVR_K: SGX TA/3D control:
[ 1991.568141] PVR_K:    0x0: 0xFA002000 0xFA002100 0xFA001000 0xFA0AE0C0
[ 1991.568149] PVR_K:    0x10: 0x00000000 0x00000000 0x00000000 0xFA006870
[ 1991.568157] PVR_K:    0x20: 0x00000000 0x00000000 0x00000000 0x00000000
[ 1991.568165] PVR_K:    0x30: 0x00000000 0x00000000 0x00000000 0x00000000
[ 1991.568173] PVR_K:    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
[ 1991.568180] PVR_K:    0x50: 0x00000000 0x00000000 0x00000000 0x00000001
[ 1991.568189] PVR_K:    0x60: 0xFA000000 0x3EC6E000 0x00000000 0x00000000
[ 1991.568197] PVR_K:    0x70: 0xFA0068A0 0x00000000 0x00000000 0x00000000
[ 1991.568205] PVR_K:    0x80: 0x00000000 0x00000000 0x00000000 0x00080000
[ 1991.568213] PVR_K:    0x90: 0x00000000 0x00000002 0x00000000 0x00000000
[ 1991.568220] PVR_K:    0xA0: 0x00000000 0x00000000 0x00000000 0x00000000
[ 1991.568228] PVR_K:    0xB0: 0x00000000 0x00000000 0x00000000 0x00000000
[ 1991.568236] PVR_K:    0xC0: 0x00000000 0x00000000 0x00000000 0x00000000
[ 1991.568244] PVR_K:    0xD0: 0xFA000000 0x80007000 0x80047000 0xFA003000
[ 1991.568252] PVR_K:    0xE0: 0x00000000 0x00000000 0x00000000 0x004D4B73
[ 1991.568262] PVR_K: Command Complete Data for display device 2:

* Libreoffice Calc: seems multi cell select and the animated dash line around the selection did not slow down the computer

* Flashplayer in FF, Opera: can play 720p video in youtube.
- the flash menu messed up, when I switched bigger playback area
- fullscreen use software rendering (stretch), decoding accelerated, but the end is, in fullscreen it is slow

Necessary tuning:
* for the kernel you should add vmalloc=192M . It seems, it is quite good amount, maybe some video require 256M

I did not get xbmc working -> no hw opengl renderer. I did not test this part, I did not care about this.

Summary: seems quick, better and comfortable video playback with all kind of videos I have (and I have some test). I will change to this version to see it in action in daily use (x2go, rdp, vnc, opera, java, dropbox, bluetooth, skype, 24/7).
Comparing to the previous supported version, this one is really better. I feel I got a new computer :)

Thanks for the good job!

Author:  startit_ltd [ Fri Oct 19, 2012 10:01 am ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

A quick, unedited video about Linuxmint13 + Fit-PC2i C1600:

Author:  gabrielh [ Sun Oct 21, 2012 3:56 pm ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

Thank you for your feedback!

Author:  drhaller [ Sat Oct 27, 2012 9:33 pm ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

Updated: It is now working for me too - at first it did not (see below).

I just re-installed the EMGD drivers (which rebuilt the kernel) and rebooted. My xorg.conf is exactly the same.




First attempt:

At first, X11 was flaky to startup (EDID issues) when booting from the USB stick... but I was able to install Linux Mint 13 just fine (had to restart mdm a few times).

I've done all the work to downgrade X11 to 1.9 and have the Intel EMGD drivers in place. But X11 will not start.

Here is my .conf file:

Here is the error log file:


Author:  gabrielh [ Sun Oct 28, 2012 9:18 am ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

Thank you for an update.

We will look into it, but that is probably just a glitch.

Author:  ftoth [ Mon Nov 12, 2012 10:24 pm ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

Very nice!

I was just preparing a walk-through on how to get Kubuntu Quantal to run with EMGD. This involves the same steps of course, but additionally requires to install a downgraded kernel (3.2).

Question: where did you get the EMGD 1.16 sources from?

I'd like to see if Jools Wills can build them in the ppa.


Author:  Denis [ Tue Nov 13, 2012 9:02 am ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

We received emgd 1.16 from Intel directly, it's a development release and I believe it will appear on their official page soon: ... tware/emgd

I don't think there is need in kernel downgrade on Ubuntu 12.10 / LinuxMint 14, just tested on Linux Mint 14 MATE with kernel 3.5.0, it works.
The installation steps are the same besides blacklisting "gma500_gfx" instead of "psb_gfx".

Author:  ftoth [ Wed Nov 14, 2012 11:50 pm ]
Post subject:  Re: EMGD 1.16 driver on Linux Mint 13 MATE

Really? Then I'm going to install kernel 3.5 again. EMGD 1.14 didn't build with 3.5, causing dkms to fail so I removed it.

And do we need to downgrade X? I noticed Option "IgnoreABI" "true" (don't know what that does).

On Kubuntu Quantal you can start either kwin or kwin_gl. _gl seems to be working better although desktop effect is best left of (to slow on my 1920x1080 resolution) or switched to xrender.

Normal desktop is great, just as fast as gma500_gfx it seems.

Starting xbmc it reports about 15fps (same as on Precise), but crashes on playing video (on Precise played at half speed).

FS h264 1080i video play without complaints (without deinterlacing, maybe I can improve that). Mplayer output:
mplayer -vo vaapi -va vaapi 00058.MTS
MPlayer svn r (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team

Playing 00058.MTS.
libavformat version 53.22.0 (internal)
TS file format detected.
VIDEO H264(pid=4113) AUDIO A52(pid=4352) SUB Teletext(pid=4608) PROGRAM N. 1
FPS seems to be: 25.000000
Load subtitles in ./
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/i386-linux-gnu/dri/
Intel(R) Embedded Media and Graphics Driver 1.16 Build 3196
Using XCB based dispatch table.
libva: va_openDriver() returns 0

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.39.1 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)

AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 1920x1080 => 1920x1080 H.264 VA-API Acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[h264 @ 0x8a07820]Increasing reorder buffer to 1


Page 1 of 5 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group