Community
cancel
Showing results for 
Search instead for 
Did you mean: 
RSun9
New Contributor I
362 Views

How to install CV SDK on Ubuntu 14.04 (Kernel 4.4) ?

Jump to solution

Hi,

I am trying to install CV SDK on a desktop PC. My PC has a Core i7-6700 with an integrated HD 530 GPU. It runs Ubuntu 14.04 with the Linux Kernel version 4.4. I started by following the CV SDK Quick Start Guide (April 2017) step by step.

In section 2.1.2, Prerequisites for Intel Core platforms with Ubuntu/CentOS only, I was told to install the OpenCL driver for Linux (64-bit). A document, OpenCL Driver for Intel HD, Iris, and Iris Pro Graphics for Linux -- Installation, was referred to, which I followed.

But the installation instructions only cover the case for Linux Kernel 4.7, which I don't have. I followed the instructions until this:

    patch -p1 < /opt/intel/opencl/kernel-4.7-xcode.patch

The instruction failed because my PC didn't have kernel-4.7-xcode.patch. It only had kernel-4.4-xcode.patch and kernel-4.7.patch.

So here are the questions. How should I proceed? Can I use kernel-4.4-xcode.patch and kernel-4.7.patch to generate kernel-4.7-xcode.patch? Or must I upgrade my Linux Kernel to 4.7 before installing CV SDK?

Thanks,

Robby

0 Kudos
1 Solution
Jeffrey_M_Intel1
Employee
362 Views

We've written a script to help: https://software.intel.com/en-us/articles/sdk-for-opencl-gsg

It downloads, patches, and compiles the 4.7 kernel, and installs the OpenCL library components as well.

 

 

View solution in original post

7 Replies
Jeffrey_M_Intel1
Employee
363 Views

We've written a script to help: https://software.intel.com/en-us/articles/sdk-for-opencl-gsg

It downloads, patches, and compiles the 4.7 kernel, and installs the OpenCL library components as well.

 

 

View solution in original post

RSun9
New Contributor I
362 Views

Thanks for the timely response Jeffrey. I'll try that and report back.

-Robby

RSun9
New Contributor I
362 Views

Hi Jeffrey,

Yes the script worked. I was able to upgrade the Linux kernel and to install CV SDK on my PC, and the samples worked. I have not tried all the samples though.

The link for the CV SDK sample code given at the beginning of section 3.0 in the Quick Start Guide is broken. A quick google search found the right link.

There were other minor glitches, but those were mostly due to how my Ubuntu PC was configured.

Thanks,

Robby

 

Stav_S_Intel
Employee
362 Views

Hi Robby,

Great, happy to hear you installed and started working. 

Thanks for noticing the broken link- we'll look into that. Let us know if there's anything else you need help with. 

Regards,

Stav

 

Stav_S_Intel
Employee
362 Views

For anyone is looking for the code samples the link is:

https://software.intel.com/en-us/computer-vision-sdk-support/code-samples

Regards,

Stav

Rishab_G_1
Beginner
362 Views

Hello , 

I want to install Intel CV SDK on Intel CPU /Xeon on Ubuntu  do I still need the OpenCL Run time patch to run the application ?

Thanks and Regards,

Rishab Goel

 

Stav_S_Intel
Employee
362 Views

Hi Goel,

Yes, still require the patch- you can use the script jeff published above:

https://github.com/Intel-Media-SDK/samples

 

Regards,

Stav

Reply