- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to run a GPU hotspot analysis but I'm stuck with the error message "Cannot collect GPU hardware metrics. Make sure the Intel OpenCL SDK of Intel Media SK is installed".
However, both are installed (from Media Server Studio 2018 R1). I can run and compile OpenCL GPU applications and vainfo executes correctly.
I'm running a fresh and clean install of Ubuntu 16.04 with kernel 4.15. The version of vtune is 2018 update 3.
The script "ampl-self-checker.sh" runs successfully but the generated report shows:
areGpuHardwareMetricsAvailable: InitializationError
i915Status: KernelNotPatched
As far as I understand, with kernel 4.15, my i915 driver should be up-to-date and should not require any patching. Is this correct ?
Any help will be greatly appreciated.
Thanks,
Yann
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yann,
Thank you for the report! I suggest that Metric Discovery(MD) library that is installed on your system cannot work with the 4.15 kernel. I recommend following:
- to backup already installed libmd.so library (usually, it is installed in /opt/intel/opencl)
- to compile and install MD library from https://github.com/intel/metrics-discovery
Please note that MD library should be dynamically linked with libstdc++ 3.4.20 (or lower) or MD library should be linked with static libstdc++. If MD library is dynamically linked with libstdc++ > 3.4.20 you can use following workaround:
# LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/intel/vtune_amplifier_2018/bin64/amplxe-gui
Additional instruction: https://github.com/intel/compute-runtime/blob/master/documentation/TOOLS.md
Thanks,
Egor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Egor,
Recompiling the MD library was indeed the solution.
Thanks for your help!
Yann
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page