#1121343 ITP: Vship -- GPU video metrics computing library

#1121343#5
Date:
2025-11-24 20:37:12 UTC
From:
To:
Severity: wishlist

Package: vship-amd / vship-cuda
Version: 4.0.0
Maintainer: Line Fremery <line.fremery@ens-lyon.fr>
Homepage: https://github.com/Line-fr/Vship
Language: C++ / Cuda / HIP
Description: Vship is a powerful GPU tool to measure Butteraugli,
SSIMULACRA2 and CVVDP with an API, a vapoursynth plugin and an easy to
use binary

Vship is a recent tool that allows to compute expensive psychovisual
video metrics on GPU using HIP or Cuda. It can be used standalone with
FFVship (using ffms2 dependency) to compute metrics or with a
vapoursynth plugin or with a C Api.

I believe it would be interesting to have Vship added to apt for easy
use of it as it starts being used a dependency for various projects as
shown on the readme. It already possesses Arch Packages
(https://aur.archlinux.org/packages?O=0&SeB=nd&K=vship [1]) and rpm
packages
(https://copr.fedorainfracloud.org/coprs/flawlessmedia/av-rpm/packages/).
However I am not the maintainer of these.

with the recent update, there is a cuda version and a hip version of
libvship.so while FFVship is now built upon the library so that the
binary does not depend on cuda or hip and save binary space.

I have already tried creating a script for packaging that I attach to
the email. I hope they are not too incorrect. (I ship FFVship directly
with libvship which forces the ffms2 dependency to avoid adding too many
packages. But ideally FFVship would be a separate package that depends
on either libvship-amd and libvship-cuda which I believe is not possible
for good reasons).

The api is compatible and exactly the same between both amd and cuda
versions. However I do not know of a way to make them selected correctly
at install time, hence the requirement to add 2 packages instead of 1.

There is also a problem that I could not manage. How to add as a
dependency the amd gpu drivers (that have hip runtime) and cuda gpu
drivers (that have cuda drivers) to their respecting packages. I was not
able to find good packages corresponding to what I wished (the nvidia
packages have specific numbers and I don't want to add a specific
version). But maybe we want to suppose that gpu drivers are already
installed and neglect the issue.

I am sorry for the big message and I thank you in advance for reading
it,
Line

Links:
------
[1]
https://aur.archlinux.org/packages?O=0&SeB=nd&K=vship&outdated=&SB=p&SO=d&PP=50&submit=Go