Skip to content

Use libmpv's render API - #442

Draft
mtwebster wants to merge 1 commit into
masterfrom
native-render
Draft

mtwebster wants to merge 1 commit into
masterfrom
native-render

Conversation

@mtwebster

Copy link
Copy Markdown
Member

This allows running hypnotix as a native Wayland client, and we can remove our SDL-disable workaround.

  • mpvgl.py: MpvGLRenderer manages the render context and forwards mouse input so mpv's OSC keeps working.
  • mpv.py: pass pointer-type render params (wl_display/x11_display, needed for VA-API interop), matching upstream python-mpv 1.0.8.

ref: #424

This allows running hypnotix as a native Wayland client, and we
can remove our SDL-disable workaround.

- mpvgl.py: MpvGLRenderer manages the render context and forwards
  mouse input so mpv's OSC keeps working.
- mpv.py: pass pointer-type render params (wl_display/x11_display,
  needed for VA-API interop), matching upstream python-mpv 1.0.8.
@mtwebster

Copy link
Copy Markdown
Member Author

/generate-test-packages

@github-actions

Copy link
Copy Markdown

Test packages generated successfully!

Download from the workflow run (available for 7 days).

@mtwebster

Copy link
Copy Markdown
Member Author

Works well on real hardware, not so well in virtualbox so far.

@mtwebster
mtwebster marked this pull request as draft October 20, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant