Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
16 Views

Setting up for debugging in Ubuntu 18.04 for DPC++

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?

Tags (1)
0 Kudos
7 Replies
Highlighted
Moderator
16 Views

Hi Nyan,

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
Highlighted
New Contributor I
16 Views

OS Version: Ubuntu 18.04.4

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
Highlighted
Moderator
16 Views

Hi Nyan,

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
Highlighted
New Contributor I
16 Views

0000:17:00.0 VGA compatible

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
Highlighted
Moderator
16 Views

Hi Nyan,

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
Highlighted
New Contributor I
16 Views

yes thank you.

yes thank you.

0 Kudos
Highlighted
Moderator
16 Views

Hi Nyan,

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