Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5116 Discussions

Vtune missing libdrm2 libgbm1 libxcb-dri3-0

Nedim
Employee
1,603 Views

Hi,

 

While installing the Vtune I am getting the message that mentioned libraries are missing (check the screenshot). However, these packages are installed on the system.

 

```

sudo apt-get install -y libdrm2 libgbm1 libxcb-dri3-0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxcb-dri3-0 is already the newest version (1.14-3ubuntu3).
libdrm2 is already the newest version (2.4.113-2~ubuntu0.22.04.1).
libgbm1 is already the newest version (24.0.0.20231114.1-2088~22.04).
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.

```

 

What is missing?

 

Regards,

Nedim

Labels (1)
1 Solution
yuzhang3_intel
Moderator
1,516 Views

https://www.intel.com/content/www/us/en/developer/articles/system-requirements/vtune-profiler-system-requirements.html

 

Graphical user interface (GUI) requirements

  • GTK+ (2.10 or higher. We recommend 2.18 or higher)
  • Pango (1.14 or higher)
  • X.Org (1.0 or higher. We recommend 1.7 or higher

 

Generally, user can install the dependencies one by one according to the prompts.

View solution in original post

0 Kudos
5 Replies
yuzhang3_intel
Moderator
1,600 Views

The VTune GUI has some dependencies, you can install them one by one following the prompt or finish the installation first and then install all the dependencies on-demand when launching VTune GUI. 

0 Kudos
Nedim
Employee
1,573 Views

But in my case, vtune gets stuck on collecting performance analysis. I created a really simple python script:

if __name__ == '__main__':
    sum = 0
    for i in range(0, 10000):
        sum += i
    print(sum)

to run it with vtune, but it is stuck on collecting results, even after the script has finished.

0 Kudos
yuzhang3_intel
Moderator
1,533 Views

The sample code works well in my local, but if you want to use VTune to profile, the range needs to be changed larger. like, (0, 10000000).

yuzhang3@yuzhang3-BRi7-H-10710:~/workspace$ vtune -collect hotspots -- python3 ./test.py
vtune: Collection started. To stop the collection, either press CTRL-C or enter from another console window: vtune -r /home/yuzhang3/workspace/r010hs -command stop.
49999995000000
vtune: Collection stopped.
vtune: Using result path `/home/yuzhang3/workspace/r010hs'
vtune: Executing actions 20 % Resolving information for `python3.9'
vtune: Warning: Cannot locate debugging information for file `/opt/intel/oneapi/vtune/2024.0/lib64/libtpsstool.so'.
vtune: Executing actions 75 % Generating a report Elapsed Time: 0.956s
CPU Time: 0.950s
Effective Time: 0.950s
Spin Time: 0s
Overhead Time: 0s
Total Thread Count: 1
Paused Time: 0s

Top Hotspots
Function Module CPU Time % of CPU Time(%)
----------------------- --------- -------- ----------------
insertdict python3.9 0.272s 28.6%
<module> test.py 0.176s 18.5%
PyNumber_InPlaceAdd python3.9 0.168s 17.7%
PyDict_GetItemWithError python3.9 0.150s 15.8%
PyLong_FromLong python3.9 0.064s 6.7%
[Others] N/A 0.120s 12.6%
Effective Physical Core Utilization: 24.1% (1.446 out of 6)
| The metric value is low, which may signal a poor physical CPU cores
| utilization caused by:
| - load imbalance
| - threading runtime overhead
| - contended synchronization
| - thread/process underutilization
| - incorrect affinity that utilizes logical cores instead of physical
| cores
| Explore sub-metrics to estimate the efficiency of MPI and OpenMP parallelism
| or run the Locks and Waits analysis to identify parallel bottlenecks for
| other parallel runtimes.
|
Effective Logical Core Utilization: 12.1% (1.449 out of 12)
| The metric value is low, which may signal a poor logical CPU cores
| utilization. Consider improving physical core utilization as the first
| step and then look at opportunities to utilize logical cores, which in
| some cases can improve processor throughput and overall performance of
| multi-threaded applications.
|
Collection and Platform Info
Application Command Line: python3 "./test.py"
Operating System: 5.15.67 DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
Computer Name: yuzhang3-BRi7-H-10710
Result Size: 3.8 MB
Collection start time: 01:40:18 02/02/2024 UTC
Collection stop time: 01:40:19 02/02/2024 UTC
Collector Type: Event-based counting driver,User-mode sampling and tracing
CPU
Name: Intel(R) microarchitecture code named Cometlake U
Frequency: 1.608 GHz
Logical CPU Count: 12
Cache Allocation Technology
Level 2 capability: not detected
Level 3 capability: not detected

 

0 Kudos
Nedim
Employee
1,518 Views

The command line works, and I get the output, but Vtune GUI is stuck on collecting results.

Could it be that those packages that during the installation period are not found that is making an issue for vtune GUI?

0 Kudos
yuzhang3_intel
Moderator
1,517 Views

https://www.intel.com/content/www/us/en/developer/articles/system-requirements/vtune-profiler-system-requirements.html

 

Graphical user interface (GUI) requirements

  • GTK+ (2.10 or higher. We recommend 2.18 or higher)
  • Pango (1.14 or higher)
  • X.Org (1.0 or higher. We recommend 1.7 or higher

 

Generally, user can install the dependencies one by one according to the prompts.

0 Kudos
Reply