all 5 comments

sorted by: hot top controversial new old
[–] 10 points 16 hours ago (1 child)

Do you want to say something about this? Maybe give a little context or reasoning as to why you personally recommend this piece of software? Otherwise it's just link dumping.

Thanks in advance! ⭐

  • source
  • hideshow 2 child comments
  • [–] 3 points 16 hours ago* (last edited 15 hours ago) (1 child)

    xdg-desktop-portals isn’t perfect on Gnome and in my testing it almost always captures frames below 60 FPS. On KDE it’s fine though.

    On some hardware, this does provide the ability to access the frame buffer at its frame rate. Though, in the past, I’ve seen KDE developers claim this is an unreliable hack (that shouldn’t be a preference) and will often produce garbage data and artifacts. (with the recommendation to use the portal instead)

    edit: Expanding on this topic.

    xdg-desktop-portals often supports DmaBuffers on popular desktop envrionments. These buffers are access to frames that are stored on the GPU. The portal itself connects to pipewire streams. The developer of the recorder can choose to save frames however they desire. As an example, they could keep the data on the GPU and use a GPU specific video encoder, or they could copy the buffer from the GPU to CPU memory and save each frame as a lossless image like a PNG.

    The GPU recorder in the example skips the xdg-desktop-portals when necessary, it uses a GPU encoder, and it will use raw access to the frame buffer when necessary. All of this to record at (or closer to) the rendering rate.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 14 hours ago (1 child)

    Would this be better somehow from a technical standpoint than, say, OBS Studio?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 13 hours ago (1 child)

    It's dependent on the Desktop Environment.

    OBS just uses xdg-desktop-portal. I think OBS allows you to to configure which encoder to use. So, for the most part, there really shouldn't be interesting differences in performance.

    But like I said, KDE is fine, but Gnome's implementation for xdg-desktop-portals has issues. This is a work item on mutter demonstrating OBS failing to record at 60 FPS. There have been issues all the way back to 2020 on Gnome's screen recorder not performing well.

    My best guess for why this happened is that Gnome's recorder was originally written for remote desktop with low bandwidth and high latency environments as a focus. I think the goal was to only send frames when changes were detected to them. But when the FPS becomes too high, Gnome fails to provide frames fast enough because it's stuck doing damage detection or whatever.

    So in this case, it would be better for Gnome (for now), as it would allow at render rate FPS recordings.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 10 hours ago*

    I don't run a Desktop Environment, so I'm guessing as long as I'm using OBS I shouldn't be running into technical issues between OBS and this software here. Then it's all about the user experience, I suppose.

    I think I tried this software before, but on Wayland it was hard to get it to start recording due to Wayland not being great with global keyboard shortcuts. 😅

    I'll give this another go, because I think this would be easier to use than OBS...

  • source
  • parent