Topic: Linux SVP OpenCL and the Steamdeck
Hello everyone,
I am attempting to run SVP4 in Linux with a steamdeck ( running SteamOS which is based in Arch Linux ) with GPU acceleration.
I have installed a set of packages that seem to have provided OpenCL but I am unsure if it worked. SVP says NOT SUPPORTED although clinfo reports FULL_PROFILE on both platform and device.
I am wondering if SVP4 can eventually run in steamdeck with the SteamOS and GPU acceleration with some modification.
Could anyone experienced look at the clinfo output and ./SVPManager output and please comment?
My clinfo output:
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 23.1.3 (git-87ebaf765d)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 1
Device Name AMD Custom GPU 0405 (vangogh, LLVM 15.0.7, DRM 3.54, 6.1.52-valve16-1-neptune-61)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 23.1.3 (git-87ebaf765d)
Device Numeric Version 0x401000 (1.1.0)
Driver Version 23.1.3
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 8
Max clock frequency 0MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Preferred work group size multiple (kernel) 64
Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 0 (n/a)
float 4 / 4
double 2 / 2 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 8522825728 (7.938GiB)
Error Correction support No
Max memory allocation 2130706432 (1.984GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support No
Local memory type Local
Local memory size 65536 (64KiB)
Max number of constant args 16
Max constant buffer size 67108864 (64MiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
ILs with version (n/a)
Built-in kernels with version (n/a)
Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
Device Extensions with Version cl_khr_byte_addressable_store 0x400000 (1.0.0)
cl_khr_global_int32_base_atomics 0x400000 (1.0.0)
cl_khr_global_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_local_int32_base_atomics 0x400000 (1.0.0)
cl_khr_local_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_int64_base_atomics 0x400000 (1.0.0)
cl_khr_int64_extended_atomics 0x400000 (1.0.0)
cl_khr_fp64 0x400000 (1.0.0)
cl_khr_extended_versioning 0x400000 (1.0.0)
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
clCreateContext(NULL, ...) [default] Success [MESA]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Clover
Device Name AMD Custom GPU 0405 (vangogh, LLVM 15.0.7, DRM 3.54, 6.1.52-valve16-1-neptune-61)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name Clover
Device Name AMD Custom GPU 0405 (vangogh, LLVM 15.0.7, DRM 3.54, 6.1.52-valve16-1-neptune-61)
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) Success (1)
Platform Name Clover
Device Name AMD Custom GPU 0405 (vangogh, LLVM 15.0.7, DRM 3.54, 6.1.52-valve16-1-neptune-61)
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.3.2
ICD loader Profile OpenCL 3.0
My SVPManager output:
00:43:56.747 : Main: starting up SVP 4 Linux [4.6.0.263]...
00:43:56.748 : Main: args: none
00:43:56.749 : Main: working dir is /home/deck/SVP4/
00:43:56.749 : Main: data dir set to /home/deck/.local/share/SVP4/
00:43:56.750 : Settings: loading reg.cfg OK
00:43:56.750 : Settings: loading main.cfg OK
00:43:56.751 : Settings: loading ui.cfg OK
00:43:56.751 : Settings: loading frc.cfg OK
00:43:56.752 : Settings: loading profiles.cfg OK
00:43:56.752 : Settings: loading lights.cfg OK
00:43:56.753 : Main: using Qt 5.15.9 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.1.1 20230429)
00:43:56.753 : Main: device scale is 1, user defined scale is 1
00:43:56.754 : Main: system locale is [en]
00:43:56.755 : Main: preferred language is [en-us]
00:43:56.758 : Main: setting language file to en.qm...
00:43:56.764 : Main: collecting system information...
00:43:56.765 : Main: module 'plugins/libsvpflow1.so': 4.5.0.205
00:43:56.765 : Main: module 'plugins/libsvpflow2.so': 4.6.0.267
00:43:56.767 : Main: VLC filter (64 bit): 1.0.0.182
00:43:56.772 : OS: Linux 6.1.52-valve16-1-neptune-61 #1 SMP PREEMPT_DYNAMIC Tue, 06 Feb 2024 00:51:49 +0000 x86_64
00:43:56.791 : Desktop environment: /usr/bin/sddm / plasma-steamos-oneshot / kde
00:43:56.795 : CPU: AMD Custom APU 0405 [base frequency 3500 MHz, 8 threads]
00:43:56.796 : Video: reading OpenCL info...
00:43:56.815 : Video: 1 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 23.1.3 (git-87ebaf765d)] (Mesa)
00:43:56.815 : Video 1: AMD Custom GPU 0405 (vangogh, LLVM 15.0.7, DRM 3.54, 6.1.52-valve16-1-neptune-61) (AMD, ver.23.1.3) [gpuID=11]: NOT SUPPORTED
00:43:56.817 : Memory: 14814 MB total, 11021 MB free
00:43:56.818 : System: finding network settings...
00:43:56.835 : Settings: loading custom.cfg OK
00:43:56.847 : Screens: updating information, 1 screen(s) found
00:43:56.847 : Screens: screen 0 (eDP) - 1280x800 @59.999 Hz, x1.0 [440 DPI]
00:43:56.847 : Screens: primary screen is 0
00:43:56.876 : Main: preparing video profiles...
00:43:56.920 : Main: preparing performance graphs...
00:43:56.971 : Main: preparing mpv...
00:43:56.983 : Main: preparing remote control...
00:43:56.984 : RemoteControl: started
00:43:56.984 : Main: preparing main menu...
00:43:57.012 : Main: loading extensions...
00:43:57.017 : Extensions: found svpcode 1.2.0.262 ...
00:43:57.020 : Settings: loading code.cfg OK
00:43:57.059 : Main: initialization completed in 296 ms
00:43:57.217 : Updates: checking now...
00:43:59.891 : Performance: quick estimation = 648 (previous value was 649)
00:44:10.327 : Main: normal exit
00:44:10.332 : Main: finished cleaning resources
It works great without GPU Acceleration but generally only for 1080p videos.
Thanks