Bug 89691

Summary: Beignet does not work on i7-3610QE
Product: Beignet Reporter: tomasz.pasternak
Component: BeignetAssignee: Zhigang Gong <zhigang.gong>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description tomasz.pasternak 2015-03-20 13:33:41 UTC
Almost all features of Beignet does nowt work on i7-3610QE processor's GPU.

The name of the GPU is Intel HD 4000. clDeviceInfo prints it's name as "Intel(R) HD Graphics IvyBridge M GT2" 
Only 21 unit tests pass (out of 701). 

Even the simplest "Hello World" example (like this one http://www.fixstars.com/en/opencl/book/OpenCLProgrammingBook/first-opencl-program/) does not work.

Tested on Ubuntu 14.04.2 LTS, LLVM 3.4 (from Ubuntu's repository).

Tested on commit acfc2a2799b9cb4153b7581f66a78b046fbb97ec
Comment 1 Zhigang Gong 2015-03-20 14:24:26 UTC
(In reply to Tomasz Pasternak from comment #0)
> Almost all features of Beignet does nowt work on i7-3610QE processor's GPU.
> 
> The name of the GPU is Intel HD 4000. clDeviceInfo prints it's name as
> "Intel(R) HD Graphics IvyBridge M GT2" 
> Only 21 unit tests pass (out of 701). 
> 
> Even the simplest "Hello World" example (like this one
> http://www.fixstars.com/en/opencl/book/OpenCLProgrammingBook/first-opencl-
> program/) does not work.
> 
> Tested on Ubuntu 14.04.2 LTS, LLVM 3.4 (from Ubuntu's repository).
> 
> Tested on commit acfc2a2799b9cb4153b7581f66a78b046fbb97ec

You can check the known issues in the README.md. If you are using linux kernel 3.15/16, then you may need to disable the command parser as below:

 # echo 0 > /sys/module/i915/parameters/enable_cmd_parser
Comment 2 tomasz.pasternak 2015-03-20 14:55:35 UTC
Ok, thanks. I'm sorry for the confusion.
Comment 3 Zhigang Gong 2015-03-20 15:06:51 UTC
(In reply to Tomasz Pasternak from comment #2)
> Ok, thanks. I'm sorry for the confusion.

That's OK. Does it work for you?
Comment 4 tomasz.pasternak 2015-03-20 15:07:55 UTC
Yes, after setting enable_cmd_parser to 0 it works.
Comment 5 Zhigang Gong 2015-03-20 15:11:04 UTC
Another solution is to upgrade to a newer kernel version.
Anyway, I will close this bug.

Thanks for reporting any beignet issue.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.