1

(1 replies, posted in Using SVP)

I have encountered a problem with HW acceleration in SVPcode. I am running Linux Manjaro and GPU is RX5700 XT. So I want to ask if VAAPI is even supported as I did not find VAAPI as supported HW acceleration option on SVPcode site.

Output:

16:16:32.510: ===== Starting mpv ======
16:16:32.510: Command line: /usr/bin/mpv /home/dave/Stažené/[HorribleSubs] Vinland Saga - 22 [1080p].mkv -o /home/dave/Stažené/[HorribleSubs] Vinland Saga - 22 [1080p].SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=/tmp/mpvencodesocket --input-media-keys=no --no-msg-color --vf=vapoursynth:/home/dave/.local/share/SVP4/scripts/ffff.py:4:4 --of=matroska --ovc=hevc_vaapi --ovcopts=b=20906049,threads=4
16:16:32.622: (+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
16:16:32.622: Audio --aid=1 (*) (aac 2ch 48000Hz)
16:16:32.622: Audio --aid=2 (eac3 2ch 48000Hz)
16:16:32.622: Subs --sid=1 (*) (f) 'English' (ass)
16:16:32.725: [hwupload] no hw context
16:16:32.725: [hwupload] hardware format not supported
16:16:32.725: [autoconvert] can't find video conversion for yuv420p
16:16:32.725: Cannot convert decoder/filter output to any format supported by the output.
16:16:32.725: Could not initialize video chain.
16:16:32.829: [vo/lavc] error encoding at EOF
16:16:32.829: Video: no video
16:16:32.829: [encode] no data written to target file
16:16:32.829: Exiting... (Errors when loading file)
16:16:32.840: (!!!) Intermediate file may be broken: /home/dave/Stažené/[HorribleSubs] Vinland Saga - 22 [1080p].SVP.temporary.mkv
16:16:32.840: ===== mpv exited with code 2 =====

clinfo:

Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 19.2.7
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Clover
Number of devices                                 1
  Device Name                                     AMD NAVI10 (DRM 3.35.0, 5.4.2-1-MANJARO, LLVM 9.0.0)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.1 Mesa 19.2.7
  Driver Version                                  19.2.7
  Device OpenCL C Version                         OpenCL C 1.1 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Max compute units                               40
  Max clock frequency                             2100MHz
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr/lib/clc/gfx1010-amdgcn-mesa-mesa3d.bc': No such file or directory
  Preferred work group size multiple              <getWGsizes:1200: create kernel : error -46>
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 2 / 2       
    half                                                 8 / 8        (cl_khr_fp16)
    float                                                4 / 4       
    double                                               2 / 2        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    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
  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                              8589934592 (8GiB)
  Error Correction support                        No
  Max memory allocation                           6871947673 (6.4GiB)
  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                               32768 (32KiB)
  Max number of constant args                     16
  Max constant buffer size                        2147483647 (2GiB)
  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
  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_fp16

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 NAVI10 (DRM 3.35.0, 5.4.2-1-MANJARO, LLVM 9.0.0)
  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 NAVI10 (DRM 3.35.0, 5.4.2-1-MANJARO, LLVM 9.0.0)
  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 NAVI10 (DRM 3.35.0, 5.4.2-1-MANJARO, LLVM 9.0.0)

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.12
  ICD loader Profile                              OpenCL 2.2

vainfo

vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Mesa Gallium driver 19.2.7 for AMD NAVI10 (DRM 3.35.0, 5.4.2-1-MANJARO, LLVM 9.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointEncSlice
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointEncSlice
      VAProfileHEVCMain               :    VAEntrypointVLD
      VAProfileHEVCMain               :    VAEntrypointEncSlice
      VAProfileHEVCMain10             :    VAEntrypointVLD
      VAProfileJPEGBaseline           :    VAEntrypointVLD
      VAProfileVP9Profile0            :    VAEntrypointVLD
      VAProfileVP9Profile2            :    VAEntrypointVLD
      VAProfileNone                   :    VAEntrypointVideoProc

2

(0 replies, posted in Using SVP)

I came across a bug that cause that mpv freezes after changing anything in video profile. I recently added RX 5700 XT to my system but I doubt that this is the problem because it happen even if I'm not using GPU. I tested SVP with VLC which cause no problem so It si very likely that it is the mpv fault.

OS:Manjaro
Packages:
svp  AUR
mpv-git AUR
opencl-amdgpu-pro-pal AUR
ocl-icd   extra

Main problem:

[ipc_0] Too many events queued.

Rest of the output:

[dave@LinuxManjaro ~]$ SVPManager 
13:43:34.567 [i]: Main: starting up SVP 4 Linux [4.3.0.173]... 
13:43:34.567 [i]: Main: args: none
13:43:34.567 [i]: Main: working dir is /opt/svp/
13:43:34.568 [i]: Main: data dir set to /home/dave/.local/share/SVP4/
13:43:34.568 [i]: Settings: loading reg.cfg OK
13:43:34.568 [i]: Settings: loading main.cfg OK
13:43:34.568 [i]: Settings: loading ui.cfg OK
13:43:34.569 [i]: Settings: loading frc.cfg OK
13:43:34.569 [i]: Settings: loading profiles.cfg OK
13:43:34.569 [i]: Settings: loading custom.cfg OK
13:43:34.569 [i]: Settings: loading lights.cfg OK
13:43:34.569 [i]: Main: using Qt 5.13.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.0)
13:43:34.570 [i]: Main: device scale is 1, user defined scale is 0
13:43:34.570 [i]: Main: system locale is [cs]
13:43:34.570 [i]: Main: preferred language is [cs-cz]
13:43:34.571 [i]: Main: setting language file to en.qm...
13:43:34.574 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.3.0.156
13:43:34.574 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.3.0.168
13:43:34.576 [i]: Main: VLC filter (64 bit): 1.0.0.170
13:43:34.576 [i]: Main: running OpenCL info...
13:43:34.580 [i]: Main: collecting system information...
13:43:34.583 [i]: OS: Linux 5.4.0-1-MANJARO #1 SMP PREEMPT Sun Nov 17 15:34:14 UTC 2019 x86_64
13:43:34.598 [i]: Desktop environment: /usr/bin/gdm / gnome
13:43:34.615 [i]: CPU: Intel Core i5-4690 [base frequency 3798 MHz, 4 threads]
13:43:34.615 [i]: Video: reading OpenCL info...
13:43:34.712 [i]: Video: 1 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 19.2.6] (Mesa)
13:43:34.712 [i]: Video 1: AMD NAVI10 (DRM 3.35.0, 5.4.0-1-MANJARO, LLVM 9.0.0) (AMD, ver.19.2.6) [gpuID=11]: NOT SUPPORTED
13:43:34.712 [i]: Video: 1 GPU OpenCL device(s) on AMD Accelerated Parallel Processing [OpenCL 2.1 AMD-APP (2906.7)] (Advanced Micro Devices, Inc.)
13:43:34.712 [i]: Video 1: Unknown AMD GPU (Advanced Micro Devices, Inc., ver.2906.7 (PAL,LC)) [gpuID=21]: OK
13:43:34.714 [i]: Memory:  7892  MB total,  6638 MB free
13:43:34.714 [i]: System: finding network settings...
13:43:34.728 [i]: Screens: updating information, 1 screen(s) found
13:43:34.728 [i]: Screens: screen 0 (DisplayPort-0) - 1920x1080 @60.000 Hz, x1.0 [102 DPI]
13:43:34.728 [i]: Screens: primary screen is 0
13:43:34.744 [i]: Main: preparing video profiles...
13:43:34.769 [i]: Main: preparing performance graphs...
13:43:34.799 [i]: Main: preparing mpv...
13:43:34.816 [i]: VLC: installed Vapoursynth plugin: 1.0.0.170
13:43:34.816 [i]: Main: preparing remote control...
13:43:34.816 [i]: RemoteControl: started
13:43:34.817 [i]: Main: preparing main menu...
13:43:34.831 [i]: Main: loading extensions...
13:43:34.835 [i]: Extensions: found svpcast 1.1.0.173 ...
13:43:34.836 [i]: Settings: loading cast.cfg OK
13:43:34.841 [i]: Streaming: Web UI listening on http://127.0.0.1:9900
13:43:34.849 [i]: Extensions: found svplight 2.0.0.168 ...
13:43:34.850 [i]: Settings: loading leds.cfg OK
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
13:43:34.908 [i]: Main: initialization completed in 329 ms
13:43:35.284 [i]: Updates: checking now...
13:43:35.347 [i]: Streaming: Web UI listening on http://10.243.13.20:9900
13:43:37.800 [i]: Performance: quick estimation = 652 (previous value was 664)
 (+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=jpn (*) (aac 2ch 44100Hz)
 (+) Subs  --sid=1 --slang=eng (*) (ass)
13:43:39.872 [i]: VideoPlayer: mpv connected, waiting for the video info...
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
13:43:40.402 [i]: VideoPlayer: mpv 0.30.0-285-gb3b2cc44fa
13:43:40.982 [i]: Media: video 1920x1080 [PAR 1.000] at 23.976 fps [constant]
13:43:40.982 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits
13:43:41.007 [i]: Playback: starting up...
13:43:41.014 [i]: Playback [4d6b34e9]: resulting video frame 1920x1080
13:43:41.014 [i]: Playback [4d6b34e9]: 1 acceptible profiles, best is 'Automatic' [0]
13:43:41.019 [i]: Playback [4d6b34e9]: enabled while video is playing
13:43:41.019 [i]: Profile: using automatic profile #1 /animation
13:43:41.031 [i]: Playback [4d6b34e9]: playing at 59.94 [23.976 *5/2] 
[sub/ass] fontselect: Using default font family: (Trebuchet MS, 700, 0) -> /usr/share/fonts/TTF/VeraBd.ttf, 0, BitstreamVeraSans-Bold
13:43:45.428 [i]: Profile: using automatic profile #2 /animation
13:43:45.437 [i]: Playback [4d6b34e9]: playing at 59.94 [23.976 *5/2] 
13:43:47.923 [i]: Profile: using automatic profile #1 /animation
13:43:47.932 [i]: Playback [4d6b34e9]: playing at 59.94 [23.976 *5/2] 
[ipc_0] Too many events queued.
13:44:04.693 [i]: Playback [4d6b34e9]: disabled while video is playing
13:44:04.697 [i]: Playback [4d6b34e9]: deleted
13:44:08.513 [i]: Main: finished cleaning resources
[dave@LinuxManjaro ~]$ 

3

(3 replies, posted in Using SVP)

Hi, I have an issue with my RX5700 XT on my Manjaro system, here is an output from command line
Is RX 5700 XT unsupported ? If yes when it will be supported ?

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt5ct: using qt5ct plugin
14:32:29.371 [i]: Main: starting up SVP 4 Linux [4.3.0.173]... 
14:32:29.372 [i]: Main: args: none
14:32:29.372 [i]: Main: working dir is /opt/svp/
14:32:29.372 [i]: Main: data dir set to /home/dave/.local/share/SVP4/
14:32:29.372 [i]: Settings: loading reg.cfg OK
14:32:29.373 [i]: Settings: loading main.cfg OK
14:32:29.373 [i]: Settings: loading ui.cfg OK
14:32:29.373 [i]: Settings: loading frc.cfg OK
14:32:29.373 [i]: Settings: loading profiles.cfg OK
14:32:29.373 [i]: Settings: loading custom.cfg OK
14:32:29.374 [i]: Settings: loading lights.cfg OK
14:32:29.374 [i]: Main: using Qt 5.13.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.0)
14:32:29.374 [i]: Main: device scale is 1, user defined scale is 0
14:32:29.374 [i]: Main: system locale is [cs]
14:32:29.375 [i]: Main: preferred language is [cs-cz]
14:32:29.376 [i]: Main: setting language file to en.qm...
14:32:29.378 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.3.0.156
14:32:29.378 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.3.0.168
14:32:29.380 [i]: Main: VLC filter (64 bit): 1.0.0.170
14:32:29.380 [i]: Main: running OpenCL info...
qt5ct: 14:32:29.382 [i]: D-Bus system tray: no
14:32:29.383 [i]: Main: collecting system information...
14:32:29.385 [i]: OS: Linux 5.3.12-1-MANJARO #1 SMP PREEMPT Thu Nov 21 10:55:53 UTC 2019 x86_64
14:32:29.397 [i]: Desktop environment: /usr/bin/gdm / gnome
14:32:29.414 [i]: CPU: Intel Core i5-4690 [base frequency 3866 MHz, 4 threads]
14:32:29.414 [i]: Video: reading OpenCL info...
14:32:29.515 [i]: Video: 1 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 19.2.6] (Mesa)
14:32:29.515 [i]: Video 1: AMD NAVI10 (DRM 3.33.0, 5.3.12-1-MANJARO, LLVM 9.0.0) (AMD, ver.19.2.6) [gpuID=11]: NOT SUPPORTED
14:32:29.515 [i]: Video: 0 GPU OpenCL device(s) on AMD Accelerated Parallel Processing [OpenCL 2.1 AMD-APP (2906.7)] (Advanced Micro Devices, Inc.)
14:32:29.516 [i]: Memory:  7892  MB total,  6772 MB free
14:32:29.516 [i]: System: finding network settings...
14:32:29.528 [i]: Screens: updating information, 1 screen(s) found
14:32:29.528 [i]: Screens: screen 0 (XWAYLAND0) - 1920x1080 @59.963 Hz, x1.0 [101 DPI]
14:32:29.528 [i]: Screens: primary screen is 0
14:32:29.539 [i]: Main: preparing video profiles...
14:32:29.576 [i]: Main: preparing performance graphs...
14:32:29.607 [i]: Main: preparing mpv...
14:32:29.620 [i]: Main: preparing remote control...
14:32:29.620 [i]: RemoteControl: started
14:32:29.621 [i]: Main: preparing main menu...
14:32:29.640 [i]: Main: loading extensions...
14:32:29.643 [i]: Extensions: found svpcast 1.1.0.173 ...
14:32:29.644 [i]: Settings: loading cast.cfg OK
14:32:29.649 [i]: Streaming: Web UI listening on [url]http://127.0.0.1:9900[/url]
14:32:29.657 [i]: Extensions: found svplight 2.0.0.168 ...
14:32:29.658 [i]: Settings: loading leds.cfg OK
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
14:32:29.715 [i]: Main: initialization completed in 333 ms
14:32:30.105 [i]: Updates: checking now...
14:32:30.161 [i]: Streaming: Web UI listening on [url]http://10.243.13.20:9900[/url]
14:32:32.485 [i]: Performance: quick estimation = 661 (previous value was 660)