Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
242 Discussions

Setting up for debugging in Ubuntu 18.04 for DPC++

nnain1
New Contributor I
584 Views

I am following this link for setting up debugging environment for DPS++.

When I run this line 

sudo dpkg -i <install_dir>/debugger/latest/igfxdcd-1.4.1-Linux.deb

I have error as 

gfxdcd-1.5.0-Linux.deb 
(Reading database ... 410582 files and directories currently installed.)
Preparing to unpack .../latest/igfxdcd-1.5.0-Linux.deb ...
Unpacking igfxdcd (1.5.0) over (1.5.0) ...
dpkg: dependency problems prevent configuration of igfxdcd:
 igfxdcd depends on linux-headers-generic; however:
  Package linux-headers-generic is not installed.

dpkg: error processing package igfxdcd (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 igfxdcd
 

How can I setup as in the page?

0 Kudos
7 Replies
GouthamK_Intel
Moderator
584 Views

Hi Nyan,

Thanks for reaching out to us!

Please let us know your system environment details. So that we can investigate more about your issue.

OS Version:

oneAPI Basekit Version:

Intel iGPU: 

 

Regards

Goutham

nnain1
New Contributor I
584 Views

OS Version: Ubuntu 18.04.4 LTS

oneAPI Basekit Version: 2021.1-beta05

Intel iGPU: Intel® Xeon(R) Silver 4215 CPU @ 2.50GHz × 16 

Can't find iGPU info. I have two NVIDIA GPUs.

GouthamK_Intel
Moderator
584 Views

Hi Nyan,

Please use the below command to list the iGPU if available in your system. And also you may look at the out which we got when we executed the same command in our environment.

Command: lspci |grep VGA

 

$ lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 3e96

 

As we are having iGPU in our system, it is listed out there. 

 

If you don't have any iGPU present in your system. There is no need of installing a debug companion driver (igfxdcd) as it is required for GPU debugging only. you may skip the "Set Up the GPU Debugger" section in the below get-started guide and continue with the remaining sections.

https://software.intel.com/en-us/get-started-with-debugging-dpcpp-linux

 

Regards

Goutham

nnain1
New Contributor I
584 Views

0000:17:00.0 VGA compatible controller: NVIDIA Corporation TU102 [TITAN RTX] (rev a1)
0000:b3:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P400] (rev a1)
This is output. Yes my CPU doesn't have GPU so I don't need Gpu debugging.

GouthamK_Intel
Moderator
584 Views

Hi Nyan,

You may follow this link for CPU debugging. 

I hope this resolved your issue. Please confirm if we can close this thread, 

 

Thanks

Goutham

nnain1
New Contributor I
584 Views

yes thank you.

GouthamK_Intel
Moderator
584 Views

Hi Nyan,

Thanks for the confirmation.

We are closing this thread. Feel free to raise a new thread in case of any further queries. 

 

Regards

Goutham

 

 

Reply