Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.
418 Discussions

Setting up for debugging in Ubuntu 18.04 for DPC++

nnain1
New Contributor I
1,757 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
1,757 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

0 Kudos
nnain1
New Contributor I
1,757 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.

0 Kudos
GouthamK_Intel
Moderator
1,757 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

0 Kudos
nnain1
New Contributor I
1,757 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.

0 Kudos
GouthamK_Intel
Moderator
1,757 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

0 Kudos
nnain1
New Contributor I
1,757 Views

yes thank you.

0 Kudos
GouthamK_Intel
Moderator
1,757 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

 

 

0 Kudos
Reply