I have a rather peculiar problem here, I have svp setup w/ vapoursynth enabled mpv.
I have all the required applications settings and applications (lsof).
but still I get the unable to find mpv's pid.
I don't see anything that's wrong, apart from it not working ofc.
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 86) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 99) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 39) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 39) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 70) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 21) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 4) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 3) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\2\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 2) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\2\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 2) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 2) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\n\0\0\0\0\0\0\0", 16) = 8
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 39
connect(39, {sa_family=AF_UNIX, sun_path="/tmp/mpvsocket"}, 110) = -1 ECONNREFUSED (Connection refused)
close(39) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 39
connect(39, {sa_family=AF_UNIX, sun_path="/tmp/cmdrkotori.mpc-qt.mpv"}, 110) = -1 ENOENT (No such file or directory)
close(39) = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 2) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 2) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 100) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 99) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 98) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 98) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}], 6, 49) = 0 (Timeout)
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 39
connect(39, {sa_family=AF_UNIX, sun_path="/tmp/mpvsocket"}, 110) = 0
getsockname(39, {sa_family=AF_UNIX}, [28->2]) = 0
getpeername(39, {sa_family=AF_UNIX}, [2->17]) = 0
getsockopt(39, SOL_SOCKET, SO_TYPE, [1], [4]) = 0
fcntl(39, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(39, F_SETFL, O_RDWR|O_NONBLOCK) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
pipe2([40, 41], O_CLOEXEC) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
pipe2([42, 43], O_CLOEXEC) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
pipe2([44, 45], O_CLOEXEC) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
pipe2([46, 47], O_CLOEXEC) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
getcwd("/home/<username>", 4096) = 12
statx(AT_FDCWD, "/home/<username>/~/.scripts/lsof", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffdc29bf940) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib/cw/lsof", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0755, stx_size=726, ...}) = 0
access("/usr/lib/cw/lsof", X_OK) = 0
pipe2([48, 49], O_CLOEXEC) = 0
eventfd2(0, EFD_CLOEXEC) = 50
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f22915eaad0) = 7885
write(50, "*\0\0\0\0\0\0\0", 8) = 8
close(50) = 0
close(47) = 0
close(40) = 0
fcntl(41, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl(41, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
close(43) = 0
fcntl(42, F_GETFL) = 0 (flags O_RDONLY)
fcntl(42, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
close(45) = 0
fcntl(44, F_GETFL) = 0 (flags O_RDONLY)
fcntl(44, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
ppoll([{fd=46, events=POLLIN}], 1, {tv_sec=60, tv_nsec=0}, NULL, 8) = 1 ([{fd=46, revents=POLLHUP}], left {tv_sec=59, tv_nsec=999998669})
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
read(46, "", 12) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
close(46) = 0
ppoll([{fd=-1}, {fd=42, events=POLLIN}, {fd=44, events=POLLIN}, {fd=48, events=POLLIN}], 4, {tv_sec=60, tv_nsec=0}, NULL, 8) = 1 ([{fd=42, revents=POLLIN}], left {tv_sec=59, tv_nsec=851643201})
ioctl(42, FIONREAD, [765]) = 0
read(42, "\33[00;36m\33[01;32mp\33[01;36m5690\33[0"..., 765) = 765
ppoll([{fd=-1}, {fd=42, events=POLLIN}, {fd=44, events=POLLIN}, {fd=48, events=POLLIN}], 4, {tv_sec=59, tv_nsec=852000000}, NULL, 8) = 2 ([{fd=42, revents=POLLHUP}, {fd=44, revents=POLLHUP}], left {tv_sec=59, tv_nsec=751600696})
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7885, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
waitid(P_ALL, 0, {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7885, si_uid=1000, si_status=0, si_utime=0, si_stime=0}, WNOHANG|WEXITED|WNOWAIT, NULL) = 0
wait4(7885, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, {ru_utime={tv_sec=0, tv_usec=62039}, ru_stime={tv_sec=0, tv_usec=62094}, ...}) = 7885
write(49, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0W\362\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 152) = 152
close(49) = 0
waitid(P_ALL, 0, 0x7ffdc29bf3d0, WNOHANG|WEXITED|WNOWAIT, NULL) = -1 ECHILD (No child processes)
rt_sigreturn({mask=[]}) = 2
ioctl(42, FIONREAD, [0]) = 0
read(42, "", 1) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
close(42) = 0
ioctl(44, FIONREAD, [0]) = 0
read(44, "", 1) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
close(44) = 0
ppoll([{fd=-1}, {fd=-1}, {fd=-1}, {fd=48, events=POLLIN}], 4, {tv_sec=59, tv_nsec=750000000}, NULL, 8) = 1 ([{fd=48, revents=POLLIN|POLLHUP}], left {tv_sec=59, tv_nsec=749999074})
read(48, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0W\362\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 152) = 152
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
close(48) = 0
close(41) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1900, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1900, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1900, ...}) = 0
write(2, "18:10:29.736 [E]: VideoPlayer: u"..., 5618:10:29.736 [E]: VideoPlayer: unable to find mpv's PID
I just edited my username to be <username> for anonymity.
At first, the connect fails, due to mpv not running (ECONNREFUSED), then when I start mpv
we can se that there is no error for the connect: