-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Description:
Hi, I'm trying to use interSubs (v2.7) on WSL2 with mpv and VCXsrv, and I’ve followed all installation and troubleshooting steps. The script starts correctly, video plays fine, and the F5 key toggles interSubs, but subtitles only show when I disable interSubs. When it’s active, nothing is displayed on screen.
Here’s what I’ve verified and done:
✅ My Setup:
WSL2 (Ubuntu) with VCXsrv running in Windows host
DISPLAY=:0 and LIBGL_ALWAYS_INDIRECT=1 are correctly exported
python3, pyqt5, numpy, requests, lxml, socat, xdotool, etc., are all installed
xeyes and mpv render correctly in the X server window
xcompmgr fails with “Another composite manager is already running (Weston WM)”, but I confirmed Weston is not running anymore
interSubs is correctly installed under ~/.config/mpv/scripts/
I run everything as normal user (not root)
🧪 Behavior Observed:
mpv plays the video and loads subtitles (tested separately)
Pressing F5 runs interSubs and hides default subtitles as expected
But nothing is displayed from interSubs — no translated subs, no overlay
When I press F5 again to stop it, the normal subtitles appear again
No error is printed in the terminal or MPV logs when pressing F5
🧩 Investigation Results:
Socket file (e.g. /tmp/mpvsocket_12345678) is not always created
Subtitle file (e.g. /tmp/mpv_sub_12345678) is created but remains empty (0 bytes)
Running:
echo '{ "command": ["get_property", "sub-text"] }' | socat - /tmp/mpvsocket_*
returns no response, suggesting IPC is not working
Both MPV and interSubs are run in the same environment (same user, same session)
I verified that the Lua script calls the Python script with correct arguments using mp.msg.warn(...)