GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    djsumdog (djsumdog@djsumdog.com)'s status on Monday, 07-Jul-2025 13:25:28 JST djsumdog djsumdog
    The OpenGL rendering in PyQt6 appears broken when trying to use it with mpv, and PyQt6 doesn't support the new QQuickRhiItem / Rhi methods. ... kinda debating if I should just migrate the entire project from PyQt6 to PySide6 :agummythink:
    In conversation about a month ago from djsumdog.com permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Monday, 07-Jul-2025 14:04:06 JST djsumdog djsumdog
      in reply to
      Holy shit. That was way easier than I thought it would be. I'm shocked everything .. seems to work.
      In conversation about a month ago permalink

      Attachments


      1. https://djsumdog.com/media/c1/4a/b0/c14ab04f4e7bf1a2c26c180b1f1b6b331c47b9eb23e264eacb13205858d4e336.png

      2. https://djsumdog.com/media/4d/ce/e0/4dcee039217f6a842b73a4188061fda9918f1b2240efa492373053c8d87326b7.png
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Monday, 07-Jul-2025 14:52:01 JST djsumdog djsumdog
      in reply to

      Huh, the example I found is for QQuick/qml, but my applications is traditional QWidgets. It doesn't look like using QQuickItems inside a QWidget is supported. There is a QOpenGLFrameBufferObject but it doesn't look at all like the QQuickFramebufferObject. No createRenderer function.

      In conversation about a month ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 08-Jul-2025 03:56:36 JST djsumdog djsumdog
      in reply to
      Well, it's time to go over to StackOverflow:

      https://stackoverflow.com/questions/79693305/how-do-i-use-python-mpv-with-pyslide6-using-gl-rendering-for-wayland

      Let's see if this toxic shit site actually has someone who can give me a real solution to a real problem.
      In conversation about a month ago permalink

      Attachments


    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 08-Jul-2025 04:08:50 JST djsumdog djsumdog
      in reply to
      Why? Why is there already a -1? No comment, just a -1. There is a fucking complete question there.
      In conversation about a month ago permalink

      Attachments


      1. https://djsumdog.com/media/c2/1e/bb/c21ebb60c5561426905137046ec84c96ab55a0095d4e2ad95f635998fc71b145.png
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 08-Jul-2025 04:24:56 JST djsumdog djsumdog
      in reply to
      • Vokainen
      The LLMs are good at known solutions. I don't think anyone has published an actual solution to this problem (that I can find). I don't have any LLM subscriptions right now, but I'm almost certain it will give me non-working trash or something that says "Insert your GL framebuffer implementation here." I could use one of the local models that runs on my 3080-Ti via Ollama (and IntelliJ plugins), but that answer would probably be worse than useless.
      In conversation about a month ago permalink
    • Embed this notice
      Vokainen (vokainen099@cawfee.club)'s status on Tuesday, 08-Jul-2025 04:24:57 JST Vokainen Vokainen
      in reply to
      @djsumdog May very well be a bug, they shouldn't have axed their GL support still.

      As for stackoverflow, don't hold your breath, the site is botted and a shadow of its former self

      You could use an AI though (That's what the cool kids do :airismile: )
      In conversation about a month ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 08-Jul-2025 04:24:58 JST djsumdog djsumdog
      in reply to
      • Vokainen
      The examples I found do work on my i3/X11 box and my KDE/Wayland box. The trouble is, the example is for QQuick and my existing application is made for traditional QWidgets. I can't figure out how to get mpv to render with a QOpenGLWidget (as opposed to a QQuickFramebufferObject).
      In conversation about a month ago permalink
    • Embed this notice
      Vokainen (vokainen099@cawfee.club)'s status on Tuesday, 08-Jul-2025 04:24:59 JST Vokainen Vokainen
      in reply to
      @djsumdog Don't forget to check if you install the new Wayland module for qt6. Had applications not launching because the qt5 equivalent doesn't work even with qt6-qt5compat (Or whatever that package is named) installed
      In conversation about a month ago permalink
    • Embed this notice
      Vo (vo@noauthority.social)'s status on Tuesday, 08-Jul-2025 04:26:10 JST Vo Vo
      in reply to

      @djsumdog wayland spotted, downvote applied

      In conversation about a month ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 08-Jul-2025 04:26:10 JST djsumdog djsumdog
      in reply to
      • Vo
      The question says X11 and Wayland. My app works fine on X11. I do need it to work on Wayland so other people actually use it. Also, switching from X Window Handles to OpenGL or Vulkan will benefit it on X11 as well.
      In conversation about a month ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Friday, 11-Jul-2025 16:51:53 JST djsumdog djsumdog
      in reply to

      So I did find a solution to this. I didn't update the question with an answer because fuck Stack Overflow. Now I just have two remaining issues.

      1. I can't send mouse clicks to the on-screen-controls in MPV. I'm not sure if this is even possible. I haven't gotten any responses in #mpv on IRC. I opened an SO question, but doubt anyone will look at it seriously:

      https://stackoverflow.com/questions/79697620/is-it-possible-to-send-mouse-events-clicks-to-the-on-screen-controls-osc-in-an

      1. Fullscreening the QOpenGLWidget that's rendering the mpv video gives me a black screen. I can use other Python/Qt OpenGL examples and they fullscreen fine, so something weird is going on with the GL rendering context for MPV. I have so little 3D background I don't know where to start with this. I might have to break down and start using Microsoft™ Github again, because that's the only place where OSS like mpv and python-mpv have any support forums.
      In conversation about 22 days ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Saturday, 12-Jul-2025 15:52:26 JST djsumdog djsumdog
      in reply to
      Finally broke down and asked on the official forums after I couldn't get any help on IRC. I hate that no one has a fucking mailing list any more and we're all reduced to using Microsoft Github. The open source devs of the 1990s would be appalled.

      https://github.com/mpv-player/mpv/discussions/16531

      https://github.com/jaseg/python-mpv/issues/299
      In conversation about 21 days ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        Is it possible to send commands to the on-screen-controls via a command? · mpv-player/mpv · Discussion #16531
        I'm currently updating my mpv frontend to work with Wayland via OpenGL rendering (using python-mpv). I have the following QtOpenGLWidget: https://gitlab.com/djsumdog/mediahug/-/blob/f6eb6cf889450d1...
      2. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        When trying to use libmpv in a QOpenGLWidget, fullscreen leads to black/no video · Issue #299 · jaseg/python-mpv
        I was taking a look at the PySide/opengl render example that was linked from the Gtk4/Wayland issue: https://github.com/trin94/qtquick-mpv Unfortunately my application doesn't use QQuick, but I was...
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Saturday, 12-Jul-2025 16:02:47 JST djsumdog djsumdog
      in reply to
      • hazlin no plap pirate
      Yep: https://gitlab.com/djsumdog/mediahug
      In conversation about 21 days ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: gitlab.com
        Sumit Khanna / mediahug · GitLab
        Media Browser
    • Embed this notice
      hazlin no plap pirate (hazlin@shortstacksran.ch)'s status on Saturday, 12-Jul-2025 16:02:48 JST hazlin no plap pirate hazlin no plap pirate
      in reply to
      @djsumdog like, interacting with a GUI?
      In conversation about 21 days ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Sunday, 13-Jul-2025 16:45:42 JST djsumdog djsumdog
      in reply to

      Well, all my OpenGL issues were due to not enabling shared OpenGL contexts.

      QApplication.setAttribute(Qt.ApplicationAttribute.AA_ShareOpenGLContexts)

      Without that, you can move a Qt OpenGL widget between different windows/layouts. No A.I. or search could point that out. That required going through the documentation.

      In conversation about 20 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.