Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
21830 Discussions

OpenVINO install in Debian Linux when Discrete (AMD) GPU is also present.

macondar
Beginner
173 Views

I have a fairly up-to-date Debian system based on Intel i7-8700K which includes a UHD Graphics 630 GPU.

I also have a discrete XFX Pine Group Inc. Radeon RX 580 which is currently in use (iGPU is not normally used).

I am trying to install OpenVINO for usage with `AUTOMATIC1111` or similar AI software.

I am trying to follow instructions here but it doesn't seem to be able to find a suitable hardware; you can find a full, detailed, bug report at github .

 

I did some further inspection and it seems my system does not see the internal iGPU:

mcon@cinderella:~/prove/LLaMa/OpenVINO$ lspci -knn | grep -iA3 'vga\|3d\|display'
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)
	Subsystem: XFX Pine Group Inc. Radeon RX 580 [1682:c580]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

This even after i manually installed driver (`modprobe i915`) with no error:

mcon@cinderella:~/prove/LLaMa/OpenVINO$ lsmod | grep i915
i915                 4382720  0
i2c_algo_bit           12288  2 amdgpu,i915
ttm                   106496  3 amdgpu,drm_ttm_helper,i915
drm_buddy              20480  2 amdgpu,i915
drm_display_helper    274432  2 amdgpu,i915
drm_kms_helper        249856  4 drm_display_helper,amdgpu,drm_ttm_helper,i915
drm                   770048  23 gpu_sched,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,i915,ttm,amdxcp
cec                    69632  2 drm_display_helper,i915
video                  81920  2 amdgpu,i915

What should I do to:

  1. convince OpenVINO to use my i7-8700K CPU
  2. enable my  internal UHD Graphics 630 GPU to speed up operations.

Many Thanks in Advance

Mauro

0 Kudos
2 Replies
macondar
Beginner
166 Views

UPDATE:

After tweaking BIOS setup, moving display to iGPU and several reboots I managed to have system see iGPU:

mcon@cinderella:/opt/intel/openvino/samples/python/classification_sample_async$ lspci -knn | grep -iA3 'vga\|3d\|display'
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] [8086:3e92]
	DeviceName: Onboard - Video
	Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
	Kernel driver in use: i915
--
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)
	Subsystem: XFX Pine Group Inc. Radeon RX 580 [1682:c580]
	Kernel modules: amdgpu
05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1002:aaf0]

This, however doesn't change OpenVINO stance.

Following test code:

from openvino.runtime import Core

# Initialize OpenVINO runtime
ie = Core()

# List available devices
devices = ie.available_devices
print("Available devices:", devices)

# Check if GPU is available
if "GPU" in devices:
    print("GPU is available!")
    device_name = "GPU"
else:
    print("GPU is not available, falling back to CPU.")
    device_name = "CPU"

outputs:

Available devices: ['CPU']
GPU is not available, falling back to CPU.

Of course in this configuration iGPU ([UHD Graphics 630]) does all work and discrete GPU ([Radeon RX 580]) is completely unused.

AFTER I manage to correctly install OpenVINO I will have to find a way to revert to previous condition.

0 Kudos
DhannielM_Intel
Moderator
131 Views

Hello macondar,


Thank you for posting in the community. The reason your discrete graphics card is not recognized by OpenVINO is that the OpenVINO toolkit is officially supported only on Intel hardware. Unfortunately, it does not support other hardware, including AMD GPUs. For more details, please refer to the System Requirements for OpenVINO. Which is why it can only be installed on the Intel Processor Grpahics.


As such if you need further assistance, please submit a new question, as this thread will no longer be monitored. 


Best regards,


Dhanniel M.

Intel Customer Support Technician


0 Kudos
Reply