- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I have a problem while running the sample_encode_drm, seemed the opencl rotate plugin didn't function properly, In function OpenCLRotator180Context::OpenCLRotator180Context, Create Opencl Context returned CL_OUT_OF_RESOURCES .I already got the correct platform "Intel R OpenCL" and the Device "Intel Graphics". I'm not familiar with Opencl developping, so I appreciate it if you can give me some clues on what might went wrong.Also, do I need to install a special graphics driver.
My SDK version is MediaServerStudio2015SDKPreview3, API version 1.11,Operation system is CENTOS7.0.,Implement on HW.The hardware environment is I7-4770K, Graphics card is Intel(R) HD Graphics 4600.By the way, the encode sample seemed work alright without Opencl,problem occured when Implement opencl without VA surface sharing.
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Media Server Studio R3 is now available. Do you still see the problem with this release?
I have not been able to replicate the problem with R3. Here are the steps I used to run the samples with the OpenCL plugin:
- Install Media Server Studio R3 using the steps in the Getting Started Guide. This installs everything needed for Media SDK and OpenCL development (except cmake...)
- Install cmake
- Download the samples package. (The binary Media SDK samples included with R3 don't have libsample_plugin_opencl.so and ocl_rotate.cl. They won't work for OpenCL tests.)
- Build the samples ("perl build.pl --cmake=intel64.make.release --build")
- cd to the _cmake/intel64.make.release/__bin/release directory
- Make sure the current directory (.) is in your shared library load path. This can be done with "export LD_LIBRARY_PATH='./'"
- Run the sample: ./sample_encode_drm h264 -i ~/foreman_cif.yuv -o test1.h264 -hw -w 352 -h 288 -opencl -angle 180
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page