Thinkpad T495(AMD iGPU)의 Darktable용 Ubuntu 20.04에서 OpenCL 활성화

Thinkpad T495(AMD iGPU)의 Darktable용 Ubuntu 20.04에서 OpenCL 활성화

AMD 3500 PRO를 탑재한 Thinkpad T495를 사용하고 있습니다.

$ lspci | grep VGA
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev d2)

clinfo 명령을 사용하면 플랫폼에 OpenCL 프로필이 있음을 확인할 수 있습니다.

$ clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (3182.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback 
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

amdgpu-pro 설치를 시도했지만 이 오류로 인해 설치에 실패했습니다.

Unpacking amdgpu-dkms-firmware (1:5.6.0.15-1098277) ...
dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-dkms-firmware_5.6.0.15-1098277_all.deb (--unpack):
 trying to overwrite '/usr/share/doc/amdgpu-dkms-firmware/LICENSE', which is also in package rock-dkms-firmware 1:3.7-20
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/opt/amdgpu-pro-local/./amdgpu-dkms-firmware_5.6.0.15-1098277_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

여전히 Darktable을 열면 OpenCL 옵션이 지원되지 않습니다. 다크테이블 스크린샷

답변1

오래된 쿼리인 건 알지만...스냅이 설치되어 있나요? 그렇다면 제거하고 공식 PPA를 설치하십시오. https://software.opensuse.org/download.html?project=graphics:darktable&package=darktable 감사해요

관련 정보