Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

Rebuild and Install the Kernel for GPU Analysis in OpenSuse

Iyer__Neha
Beginner
1,047 Views

I am trying to profile an MPI+CUDA application using Intel VTune Amplifier on OpenSuse Leap 15.0. However when I pass the -collect option as "cpugpu-concurrency" I am facing an error as below:


amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Error: Ftrace is already in use. Make sure to stop previous collection first.
amplxe: Collection failed.
amplxe: Fatal error: Unknown critical error
amplxe: Internal Error
 

I checked the CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS option in the config file under boot directory and the following options were not set. 

#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set

Can anyone kindly provide the steps to modify the config file and rebuild the kernel for Opensuse Leap 15.0?

Thanks in advance.

 

0 Kudos
2 Replies
Svetlana_K_Intel
Employee
1,047 Views

Upd. Totally missed the CUDA word, sorry.

The steps I suggested would help to profile Intel graphics only, I'm afraid we have no GPU-related analyses suitable for NVidia on Linux.

0 Kudos
Reply