1

(426 replies, posted in Using SVP)

@Sinity

I feel as though just using libsvpflow directly is more nix-like since it's declarative, and creating an mpv script package for home-manager would be better. It would let you configure svp using a .nix file instead of through svp-manager.

2

(426 replies, posted in Using SVP)

Works now with ROCM after patching the .so files, very cool smile

SVPManager still exits out though with "This option is not available. Please see --help for all possible usages." with --help being broken as well.

For reference, the package I modified: https://github.com/Maxwell-lt/machine-c … efault.nix

3

(426 replies, posted in Using SVP)

I have SVP running on nixos with the CPU, running into issues using rocm. I have image support (confirmed in clinfo) which is baked into rocm-runtime as of 3.7.

The only error I get:

[vapoursynth] vapoursynth.Error: SVSmoothFps: unable to init GPU-based renderer - code 255

Also since SVPManager is currently not working on nix, I'm using svpflow (whatever version is packaged with 4.3.191) through mpv vapoursynth.

4

(426 replies, posted in Using SVP)

Okay I think I may have figured it out. we both have two gpus (I have 2x nvidia cards). I had SVP running off my second gpu and when I switched it to the first it stopped crashing and running at a couple fps. This is why the performance monitor was crashing too (and still does), it would run the tests for the first gpu but then would crash immediately when querying the second one.

Now I'm back to stable svp + 100% fps when running off my primary gpu.

Hopefully that fixes his problem as well.

5

(426 replies, posted in Using SVP)

I'm also having the same issues since the latest update.

Crashes with QT so I did the scale fix, works but now crashes with the performance monitor.

Thread 1 "SVPManager" received signal SIGFPE, Arithmetic exception.
0x000000000055a824 in SystemInfo::readPerformanceInfo() ()

It doesn't always happen but most of the time.

Same thing happens when I try to make new profiles, my mpv also lags like crazy and dropping frames

6

(426 replies, posted in Using SVP)

Chainik wrote:

> hr-seek-framedrop="no"

it's interesting how much this affects Windows and macOS hmm

What happens? Did this help track down some of the vapoursynth desyncing issues?

7

(426 replies, posted in Using SVP)

Alright, I finally found a fix for the audio desyncing with mpv. Holy crap I tried so many different options (among mpv's gajillion different settings).

I couldn't find a fix for this anywhere, my audio would end up 5 seconds ahead of the video. I finally noticed that it doesn't happen when I used the arrow keys to seek and only when I used the gui seek bar. It had to be precise seeking so I turned it off.

 hr-seek-framedrop="no"

And voila! No more desyncing issues. Not even with save-position-on-quit. Don't see this anywhere in the wiki or forums.

Here's my full config:

# enable vapoursynth / svp
input-ipc-server = "/tmp/mpvsocket"

# quality and performance
profile = "opengl-hq"
vo = "opengl"
hwdec = "vdpau-copy"
deinterlace = "auto"
save-position-on-quit = "yes"
scale = "ewa_lanczossharp"
vd-lavc-threads = 32

# fix audio desync
hr-seek-framedrop = "no"
hr-seek = "no"

# fix darkness
brightness = 1
contrast = 5
gamma = 10
saturation = 5

# default language
alang = jpn,jap,jp,Japanese,en,eng,English
slang = en,eng,English

# youtube-dl
ytdl = "yes"
ytdl-format = "bestvideo+bestaudio/best"