Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5248 토론

VTune cannot collect data: No data to show. The collected data is not sufficient.

zhutq
초보자
12,798 조회수

VTune version: 2024.0.0.49502

Visual Studio 2019 Community

Windows 10 Professional 19045.3758

 

vtune.png

 

# "C:\Program Files (x86)\Intel\oneAPI\vtune\2024.0\bin64\amplxe-sepreg.exe" -c
Checking platform...
Platform is genuine Intel: OK
Platform has SSE2: OK
Platform architecture: INTEL64
User has admin rights: OK
Drivers will be installed to C:\Windows\System32\Drivers\
Checking sepdrv5 driver path...OK
Checking sepdrv5 service...
Driver status: the sepdrv5 service is running
Checking sepdal driver path...OK
Checking sepdal service...
Driver status: the sepdal service is running
Checking socperf3 driver path...OK
Checking socperf3 service...
Driver status: the socperf3 service is running
Checking vtss driver path...OK
Checking vtss service...OK
# "C:\Program Files (x86)\Intel\oneAPI\vtune\2024.0\bin64\amplxe-sepreg.exe" -s
Checking sepdrv5 driver path...OK
Checking sepdrv5 service...
Driver status: the sepdrv5 service is running
Checking sepdal driver path...OK
Checking sepdal service...
Driver status: the sepdal service is running
Checking socperf3 driver path...OK
Checking socperf3 service...
Driver status: the socperf3 service is running
Checking vtss driver path...OK
Checking vtss service...OK

Could you please help diagnose? Thanks a lot!

1 솔루션
yuzhang3_intel
중재자
10,211 조회수

Hi,

I see your working path includes ® and ™ special characters, can you remove them and then capture again? Thanks.

INTEL_MRTE_DATA_DIR=E:\workspace\playground\TestVTune\TestVTune\Intel® VTune™ Profiler Results\TestVTune\r007hs\data.0

원본 게시물의 솔루션 보기

0 포인트
25 응답
Rahila_T_Intel
10,948 조회수

Hi,

 

Thanks for posting in Intel Communities.

 

We tried running Hotspot analysis using Intel VTune on matrix multiplication sample and did not observe the issue reported by you. (See attached screenshot)

Rahila_T_Intel_0-1702286053457.png

 

To assist you better and to replicate the issue from our side, kindly get back to us with the following information

  •  Sample reproducer code along with the exact steps/commands that you used to reach to the issue.

 

Thanks

 

0 포인트
zhutq
초보자
10,927 조회수

Hi Rahila,

Thanks a lot for your help.

I tried to use the provided sample matrix executable at C:\Program Files (x86)\Intel\oneAPI\vtune\2024.0\samples\en\C++\matrix\matrix.exe, but I was not able to get data. Please check the attached video for my steps.

I think there's probably something wrong with my system but I don't know how to diagnose or fix. I tried uninstalling VTune and reinstalling but no luck.

I also tried to get an older version of VTune but I didn't subscribe so I could not find one from my registry center.

Thanks!

 

0 포인트
zhutq
초보자
10,923 조회수

Hi Rahila,

I also run the vtune-self-checker.bat and there seems to be some error:

# "C:\Program Files (x86)\Intel\oneAPI\vtune\2024.0\bin64\vtune-self-checker.bat"
Intel(R) VTune(TM) Profiler Self Check Utility
Copyright (C) 2009 Intel Corporation. All rights reserved.
Build Number: 626834

HW event-based analysis (counting mode) (Intel driver)
Example of analysis types: Performance Snapshot
    Collection: Ok
    Finalization: Ok...
vtune: Error: Error 0x4000002a (Database interface error) -- Cannot run data transformation `Conditional GPU metric'.

    Report: Ok

Instrumentation based analysis check
Example of analysis types: Hotspots and Threading with user-mode sampling
    Collection: Ok
    Finalization: Ok...
    Report: Ok

HW event-based analysis check (Intel driver)
Example of analysis types: Hotspots with HW event-based sampling, HPC Performance Characterization, etc.
    Collection: Ok
    Finalization: Ok...
    Report: Ok

HW event-based analysis check (Intel driver)
Example of analysis types: Microarchitecture Exploration
    Collection: Ok
    Finalization: Ok...
    Report: Ok

HW event-based analysis with uncore events (Intel driver)
Example of analysis types: Memory Access
    Collection: Ok
    Finalization: Ok...
    Report: Ok

HW event-based analysis with stacks (Intel driver)
Example of analysis types: Hotspots with HW event-based sampling and call stacks
    Collection: Ok
    Finalization: Ok...
    Report: Ok

HW event-based analysis with context switches (Intel driver)
Example of analysis types: Threading with HW event-based sampling
    Collection: Ok
    Finalization: Ok...
    Report: Ok

Exception in thread Thread-48:prerequisite for GPU analyses...
Traceback (most recent call last):
  File "build\build_release_win32-x86_64_icx_2023.0.0_mstools_17.0\python.sitelib\sitelib\threading.py", line 980, in _bootstrap_inner
  File "build\build_release_win32-x86_64_icx_2023.0.0_mstools_17.0\python.sitelib\sitelib\threading.py", line 917, in run
  File "build\build_release_win32-x86_64_icx_2023.0.0_mstools_17.0\python.sitelib\sitelib\subprocess.py", line 1479, in _readerthread
  File "build\build_release_win32-x86_64_icx_2023.0.0_mstools_17.0\python.sitelib\sitelib\codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 0: invalid continuation byte
Checking DPC++ application as prerequisite for GPU analyses: Fail
Unable to run DPC++ application on GPU connected to this system. If you are using an Intel GPU and want to verify profiling support for DPC++ applications, check these requirements:
* Install Intel(R) GPU driver.
* Install Intel(R) Level Zero GPU runtime.
* Install Intel(R) oneAPI DPC++ Runtime and set the environment.

The system is ready to be used for performance analysis with Intel VTune Profiler.

The system is ready for the following analyses:
* Performance Snapshot
* Hotspots and Threading with user-mode sampling
* Hotspots with HW event-based sampling, HPC Performance Characterization, etc.
* Microarchitecture Exploration
* Memory Access
* Hotspots with HW event-based sampling and call stacks
* Threading with HW event-based sampling

The following analyses have failed on the system:
* GPU Compute/Media Hotspots (characterization mode)
* GPU Compute/Media Hotspots (source analysis mode)

Log location: C:\Users\Administrator\AppData\Local\Temp\vtune-tmp-Administrator\self-checker-2023.12.12_11.39.19\log.txt

Please help check whether it's relavant.

Thanks!

0 포인트
Rahila_T_Intel
10,902 조회수

Hi,


Good day to you.


Could you please try to turn off the anti virus and run the same. If the issue still persist, share the Processor details so that we can investigate the issue further.


Thanks


0 포인트
Rahila_T_Intel
10,790 조회수

Hi,


We haven't heard back from you.

Could you please provide an update?


Thanks


0 포인트
zhutq
초보자
10,778 조회수

Hi Rahila,

Sorry for the delay.

I'm using the computer at work so I need to get permission from IT to turn off the anti-virus. 

I'll come back later.

Thanks a lot!

Best,

Tianqian

0 포인트
Rahila_T_Intel
10,708 조회수

Hi,


Thanks for your updates.


Please let us know the result once you are able to turn off the anti virus and run the same.


Thanks


0 포인트
zhutq
초보자
10,618 조회수

Hi Rahila,

 

IT helped to turn off my anti-virus but the problem persisted. vTune still reported "The collected data is not sufficient."

My processor is Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz. Please check the attached file for my detailed hardware infomation.

Thanks a lot!

Best,

0 포인트
AthiraM_Intel
중재자
10,588 조회수

Hi,


Thank you for the update. We are checking on this internally.



Thanks


0 포인트
yuzhang3_intel
중재자
10,462 조회수

Did you try with hotspots profiling with hardware event-base sampling using matrix sample? The same issue is observed?

 


0 포인트
zhutq
초보자
10,459 조회수

Hi,

Yes I tried. The same issue was observed.

Please check the attached video for my steps.

Thanks a lot!

0 포인트
yuzhang3_intel
중재자
10,428 조회수

Please upload vtune data if possible, let me check. BTW, did you run VTune from VS?


0 포인트
zhutq
초보자
10,334 조회수

Hi,

Yes I ran vTune from VS and found the issue, then tried to run it independently. The results were the same.

 

I attached the result folder of vTune. Is it what you mean by "vtune data"?

Thanks a lot!

0 포인트
yuzhang3_intel
중재자
10,319 조회수

When i open your data, there is really no result display like you mentioned, then I re-resolve your data, like below,

octopuszhy_0-1704253210956.png

 

It looks the result is right, you can try.

octopuszhy_1-1704253232925.png

 

 

0 포인트
zhutq
초보자
10,220 조회수

Hi,

I tried the same but the result did not show for me.

Don't known what went wrong here.

Please check the attached video for my steps.

Thanks!

0 포인트
yuzhang3_intel
중재자
10,214 조회수

It looks the collection is completed, but finalization failed in you local environment, can you do the same steps on other machine with Ubuntu? I've also tried using the same CPU as you and Ubuntu 20.04 and everything works. Not sure if there are some restrictions in your environment.

 

 

0 포인트
zhutq
초보자
10,191 조회수

Hi,

Thanks I'll try it.

I don't have a Ubuntu desktop at hand, do you think WSL will work?

0 포인트
yuzhang3_intel
중재자
10,177 조회수

I am not sure, if all the dependencies are installed for VTune in WSL, maybe it can work.


0 포인트
zhutq
초보자
9,823 조회수

Hi,

 

I installed vTune on Ubuntu 22 with Windows WSL2.

Re-resolving the saved profiling result file showed data!

Now I have a workaround. Thanks a lot!

 

Is there any other data I can provide so this issue could be further investigated and fixed?

 

Thanks!

0 포인트
yuzhang3_intel
중재자
9,818 조회수

I have discussed the issue with engineering team, the issue should be related to the local environment.  I will provide an update when they respond, thanks.

0 포인트
응답