this post was submitted on 26 Feb 2024
13 points (88.2% liked)

Linux

48239 readers
503 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
13
SVP + MPV + Wayland (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by shadowintheday2@lemmy.world to c/linux@lemmy.ml
 

I was wondering if anyone else has had luck configuring SVP with MPV on wayland (AMD). I followed the archwiki https://wiki.archlinux.org/title/Mpv

This is ~/.config/mpv/mpv.conf

autofit-larger=100%x100%
hwdec=auto-copy
profile=svp
vf=format=fmt=yuv420p

[svp]
input-ipc-server=/tmp/mpvsocket     # Receives input from SVP
hr-seek-framedrop=no                # Fixes audio desync
watch-later-options-remove=vf       # Do not remember SVP's video filters
no-resume-playback

When SVP takes control of the video it pauses and never gets playing again

mpv stdout shows (pause) for a single sec, then proceeds normally, but the video stays frozen

[autoconvert] Converting nv12 -> yuv420p
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 3840x2160 yuv420p

SVP has no option to control the video at all; it just says "playing whatever at 60fps"

top 1 comments
sorted by: hot top controversial new old
[–] shadowintheday2@lemmy.world 4 points 8 months ago

I figured the root cause of the problem and a workaround. Journalctl shows this info when starting SVP:

  • Video: 0 GPU OpenCL device(s) on rusticl [OpenCL 3.0] (Mesa/X.org)*

this thread says rusticl is broken

https://www.svp-team.com/forum/viewtopic.php?id=3167&p=17

therefore disabling hardware acceleration, for now, makes svp work again