Ubuntu 16.04, offload targeting GFX

Ubuntu 16.04, offload targeting GFX

Hi,

I have a "Intel Core i7-5775C" CPU with an "Intel Iris Pro Graphics 6200" GPU. I use Ubuntu 16.04. My goal is to test the efficiency of Cilk Plus to offload calculation on my GPU. I don't have access to internet on the computer.

First, I installed Intel Parallel Studio 2017 Cluster Edition, and tried to launch the samples from this page (Intel® C++ Compiler - Samples and Tutorial for Intel® Graphics Technology). The result was pretty clear, and vtune confirmed it : the code wasn't offloaded at all.

I tried the command gfx_sys_check and found out Intel Graphics Driver was not (properly) installed. 

As I don't have an internet connection, I couldn't use Intel Graphics Update Tool.

From a colleague's recommendation, I downloaded Intel Media Server Studio 2017 (which contains the graphics drivers), installed it following the instructions, and patched the kernel (4.7).

I now have a broken display (Built-in display, only resolution available is 1024 x 768, my second screen is not detected) and I don't understand how to fix it.

I'll work on this problem everyday so I'm ready to give any information needed, here's some to begin with :

$ uname -a 
Linux gpgpu-Broadwell-H 4.7.0 #1 SMP Wed Nov 9 10:42:13 CET 2016 x86_64 x86_64 x86_64 GNU/Linux

$ lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 0a) (prog-if 00 [VGA controller])
       DeviceName:  Onboard IGD
       Subsystem: ASUSTeK Computer Inc. Broadwell-U Integrated Graphics
       Flags: bus master, fast devsel, latency 0, IRQ 11
       Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
       Memory at e0000000 (64-bit, non-prefetchable) [size=256M]
       I/O ports at f000 [size=64]
       [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
       Capabilities: <access denied>
       Kernel modules: i915

$ lsmod | grep i915
i915                 1314816  0
i2c_algo_bit           16384  1 i915
dm_kms_helper        147456  1 i915
drm                   364544  2 i915,drm_kms_helper
video                 40960  2 i915,asus_wmi

$ ls /dev/dri
ls: cannot access '/dev/dri': No such file or directory

$ vainfo
libva info: VA-API version 0.99.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error, driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit

$ gfx_sys_check

Checking CPU

Cheking OS
 Linux | 4.7.0 | #1 SMP Mon Mar 6 15:39:52 CET 2017 | x86_64
 Description:    Ubuntu 16.04.2 LTS


Checking display
 X11 mode
libva info: VA-API version 0.99.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknwon libva error, driver_name=(null)
 VA initialization error -1: unknown libva error

Checking Intel HD Graphics Driver
Cannot get function of m_fvaCmExtSendReqMsg!
CmDevice creation failure -66
 FAILED CM initialization: MDF not installed
 - is not (properly) installed

Checking Open Source Offload Runtime
 - is not (properly) installed

EDIT : I reinstalled my ubuntu 16.04 and parallel studio, the samples still don't work. Do you have any clue from where should I begin ?

Thanks, and have a nice day !

Mathieu

Thread Topic: 

Help Me
3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Matheu,

You posted a question related to Intel Cilk Plus in the Mobile development forum.

The appropriate forum in which you can post this question is the following one: https://software.intel.com/en-us/forums/intel-cilk-plus

>>...
>>libva info: va_getDriverName() returns -1
>>libva error: va_getDriverName() failed with unknwon libva error, driver_name=(null)
>>...
>>...Checking Open Source Offload Runtime...
>>...

You need an internet connection and try to update Intel drivers. Also, update libva package with sudo apt--get update libva command.

Leave a Comment

Please sign in to add a comment. Not a member? Join today