Package Details: svp-bin 4.6.263-1

Git Clone URL: https://aur.archlinux.org/svp-bin.git (read-only, click to copy)
Package Base: svp-bin
Description: SmoothVideo Project 4 (SVP4)
Upstream URL: https://www.svp-team.com/wiki/SVP:Linux
Licenses: LicenseRef-custom
Provides: svp
Submitter: C0rn3j
Maintainer: C0rn3j (phiresky)
Last Packager: C0rn3j
Votes: 54
Popularity: 0.79
First Submitted: 2022-06-20 20:47 (UTC)
Last Updated: 2024-10-05 13:31 (UTC)

Dependencies (16)

Required by (0)

Sources (1)

Pinned Comments

C0rn3j commented on 2024-01-26 19:19 (UTC)

Linux thread on the SVP forum, where some comments may be more appropriate than here unless they relate to the packaging:
https://www.svp-team.com/forum/viewtopic.php?id=3167

Official Wiki page for good measure, which is a bit out of date at this point:
https://www.svp-team.com/wiki/SVP:Linux

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »

C0rn3j commented on 2023-12-18 23:20 (UTC)

Currently you need vapoursynth -> ffmpeg-git -> mpv-git.

That's all thankfully rendered unnecessary in the near future because https://gitlab.archlinux.org/archlinux/packaging/packages/mpv/-/merge_requests/1 was finally merged, it's just waiting for https://gitlab.archlinux.org/archlinux/packaging/packages/vlc/-/merge_requests/1 and a subsequent mpv package update.

adem commented on 2023-12-18 16:52 (UTC)

I've switched to AUR's mpv-vapoursynth package due to problems with building mpv-git. It seems to work fine with SVP & SMPlayer on Manjaro: https://aur.archlinux.org/packages/mpv-vapoursynth

DEC05EBA commented on 2023-11-28 13:47 (UTC) (edited on 2024-02-11 21:54 (UTC) by DEC05EBA)

SVP also crashes for me on amd when using rocm-opencl-runtime. It works if I first set export LIBGL_ALWAYS_SOFTWARE=1 and then in the settings disable gpu acceleration. If I instead use opencl-amd then it launches but if I enable gpu acceleration and play a video with mpv then mpv will freeze and shortly after the entire computer freezes and requires a hard reboot.

Edit: it's fixed now!

rcmz commented on 2023-11-11 14:52 (UTC)

Since the last system update, SVP crashes if GPU acceleration is enabled. I have an AMD RX 580. Here is my clinfo :

Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3380.4)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     Ellesmere
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 AMD-APP (3380.4)
  Driver Version                                  3380.4 (PAL,HSAIL)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 580 Series
  Device PCI-e ID (AMD)                           0x67df
  Device Topology (AMD)                           PCI-E, 0000:05:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               36
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             1366MHz
  Graphics IP (AMD)                               8.0
  Device Partition                                (core)
    Max number of sub-devices                     36
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
  Preferred work group size multiple (kernel)     64
  Wavefront width (AMD)                           64
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    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                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  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)
  Global free memory (AMD)                        8323072 (7.938GiB) 8060928 (7.688GiB)
  Global memory channels (AMD)                    8
  Global memory banks per channel (AMD)           4
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           7073274265 (6.587GiB)
  Unified memory for Host and Device              No
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   Yes
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  Preferred alignment for atomics                 
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    6365946624 (5.929GiB)
  Preferred total size of global vars             8589934592 (8GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384 (16KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            442079641 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                64
    Max number of read/write image args           64
  Max number of pipe args                         16
  Max active pipe reservations                    16
  Max pipe packet size                            2778306969 (2.587GiB)
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Local memory size per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        7073274265 (6.587GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  Max size of kernel argument                     1024
  Queue properties (on host)                      
    Out-of-order execution                        No
    Profiling                                     Yes
  Queue properties (on device)                    
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                262144 (256KiB)
    Max size                                      8388608 (8MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Number of P2P devices (AMD)                     0
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1699711930565325519ns (Sat Nov 11 15:12:10 2023)
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    Number of async queues (AMD)                  4
    Max real-time compute queues (AMD)            1
    Max real-time compute units (AMD)             0
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_fp64 cl_amd_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p 

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]              Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   Ellesmere
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   Ellesmere
  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                                 AMD Accelerated Parallel Processing
    Device Name

rtentser commented on 2023-08-01 10:28 (UTC) (edited on 2023-08-01 10:52 (UTC) by rtentser)

Tried it. Fails with h265. Any ideas?

[vapoursynth] Script evaluation failed:
[vapoursynth] Python exception: SVSuper: Clip must be YV12
[vapoursynth] 
[vapoursynth] Traceback (most recent call last):
[vapoursynth]   File "vapoursynth.pyx", line 3121, in vapoursynth._vpy_evaluate
[vapoursynth]   File "vapoursynth.pyx", line 3122, in vapoursynth._vpy_evaluate
[vapoursynth]   File "/home/rtentser/.local/share/SVP4/scripts/1bb5e34b.py", line 59, in <module>
[vapoursynth]     smooth =  interpolate(clip)
[vapoursynth]               ^^^^^^^^^^^^^^^^^
[vapoursynth]   File "/home/rtentser/.local/share/SVP4/scripts/1bb5e34b.py", line 40, in interpolate
[vapoursynth]     super   = core.svp1.Super(input_m8,super_params)
[vapoursynth]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[vapoursynth]   File "vapoursynth.pyx", line 2857, in vapoursynth.Function.__call__
[vapoursynth] vapoursynth.Error: SVSuper: Clip must be YV12
[vapoursynth] 
[vapoursynth] could not init VS
Disabling filter vapoursynth.00 because it has failed.

yangsheng6810 commented on 2023-07-04 15:59 (UTC)

In case anyone also saw SVPManager closes itself without GUI showing up, and the last line in log (you can find it in ~/.local/share/SVP4/logs/) is [I]: Video: reading OpenCL info

You might want to check if clinfo gives correct output. In my case, the offending package was intel-oneapi-compiler-shared-opencl-cpu, as I am using an AMD CPU. Check Arch WiKi OpenCL to ensure you only have those opencl libraries related to your hardware. Don't forget to kill all existing SVPManager process before another attempt to run it.

dreieck commented on 2023-02-14 13:44 (UTC) (edited on 2023-02-14 14:16 (UTC) by dreieck)

The custom licenses needs to be installed into /usr/share/licenses/svp-bin/.

Also, some libraries in /opt/svp/ are unstripped, but this might be intentionally and needed.

According to namcap, the following dependencies are missing:

  • python-pycryptodomex
  • python-keyring
  • python-websockets
  • python-mutagen
  • python-pycryptodome
  • youtube-dl
  • python-xattr

Thanks for maintaining!

RubenKelevra commented on 2022-06-23 21:08 (UTC)

@phiresky You still need a co-maintainer?

Btw you need to add 'svp' to conflicts and replaces :)

RubenKelevra commented on 2022-06-23 15:54 (UTC)

Hey @phiresky

how about putting them on ipfs?

You can just use a public http gateway like this from cloudflare (cloudflare-ipfs.com) as link.

Half a gigabyte of storage if free, on pinata.cloud :)

Sk1t commented on 2021-10-05 19:13 (UTC) (edited on 2021-10-05 19:14 (UTC) by Sk1t)

I'd be happy to do it. If you give me perms.

Here is the new PKGBUILD anyhow

# Maintainer: phiresky <phireskyde+git@gmail.com> 
pkgname=svp
pkgver=4.5.210
pkgrel=1
epoch=
pkgdesc="SmoothVideo Project 4 (SVP4)"
arch=('x86_64')
url="https://www.svp-team.com/wiki/SVP:Linux"
license=('custom')
groups=()
depends=(libmediainfo qt5-svg qt5-script qt5-declarative vapoursynth libusb xdg-utils lsof)
makedepends=(p7zip)
checkdepends=()
optdepends=(
    'mpv-git: needed for mpv vapoursynth support'
    'ocl-icd: for GPU acceleration'
)
provides=()
conflicts=()
replaces=()
backup=()
options=(!strip)
install=${pkgname}.install
changelog=
#source=("https://gist.githubusercontent.com/phiresky/1e2cbd30bed4e5978771af232d11afd1/raw/svp4-linux.$pkgver.tar.bz2")
source=("https://www.svp-team.com/files/svp4-linux.4.5.210-1.tar.bz2")
# I am rehosting the binaries
# taken from
# http://www.svp-team.com/files/svp4-linux-64.tbz2
# at https://gist.github.com/phiresky/1e2cbd30bed4e5978771af232d11afd1
# so they are correctly versioned and old versions still exist
# update 2019-10-06: svp-team.com now uses versioned file names. i'll keep rehosting them for now since i don't trust them to actually keep old versions.
noextract=()
sha256sums=('940d539ba50e4455fdaebbec07db03870f98f101fbb4ceadda013d1e00c90883')
validpgpkeys=()

prepare() {
    rm -rf "$srcdir/installer"
    mkdir "$srcdir/installer"
    echo "Finding 7z archives in installer..."
    LANG=C grep --only-matching --byte-offset --binary --text  $'7z\xBC\xAF\x27\x1C' "$srcdir/svp4-linux-64.run" |
        cut -f1 -d: |
        while read ofs; do dd if="$srcdir/svp4-linux-64.run" bs=1M iflag=skip_bytes status=none skip=$ofs of="$srcdir/installer/bin-$ofs.7z"; done

    echo "Extracting 7z archives from installer..."
    for f in "$srcdir/installer/"*.7z; do
        7z -bd -bb0 -y x -o"$srcdir/extracted/" "$f" || true
    done
}

#pkgver() {
#   xmllint --xpath '/Updates/PackageUpdate[Name="core.full"]/Version/text()' "$srcdir/installer/metadata/Updates.xml" | tr '-' '.'
#}

package() {
    mkdir -p "$pkgdir"/{opt/svp,usr/bin,usr/share/licenses/svp}
    if [[ -d "$srcdir/extracted/licenses" ]]; then
        mv "$srcdir/extracted/licenses" "$pkgdir/usr/share/licenses/$pkgname"
    fi
    mv "$srcdir/extracted/"* "$pkgdir/opt/$pkgname"
    # rm "$pkgdir/opt/$pkgname/extensions/libsvpcode.so" # previously this extension caused the whole thing to segfault. lmk if that's still the case
    ln -s "/opt/$pkgname/SVPManager" "$pkgdir/usr/bin/SVPManager"
    chmod -R +rX "$pkgdir/opt/svp" "$pkgdir/usr/share"
}