wayland stops the whole program from working when it is not visible on the screen

wayland stops the whole program from working when it is not visible on the screen
this bugs with mpv, as mpv start to buffer so much memory that starts to hang the computer
this bugs with firefox, as any window that is not visible freezes everything else (including the visible windows)
this bugs with any fricking game because delta times becomes so fricking big that any movement will lead to out-of-bound situation

... when linux will stop being always in beta?

CRIME Shirt $21.68

Ape Out Shirt $21.68

CRIME Shirt $21.68

  1. 2 months ago
    Aspiring Investor

    >wayland
    Linux is a kernel. Wayland is userspace troonware.

    • 2 months ago
      Anonymous

      and before anyone say anything
      i tested on gnome, hyprland, dwl, all of them have this behavior and it is annoying, i simply can't play videos in background because of this

      a moronic kernel i might add, bsd is more consistent
      i'm only on linux because of drivers

  2. 2 months ago
    Anonymous

    wayland is a joke, i'm going to keep using xorg

  3. 2 months ago
    Anonymous

    It just stops rendering when there's nothing to render.

    • 2 months ago
      Anonymous

      no, minimize the window or move to another workspace and it simply stops rendering
      this breaks mpv

      i recorded a video showing this problem with a simple glfw program that just counts frames, and i even had to keep obs visible if it is not visible it stops working and does not record anything.

      all those applications don't support wayland properly then.
      i doubt the firefox issue though since i have many minimized firefox windows.

      From what i saw, this problem is indeed with the implementation of the protocol, as it does not send render events when it is not visible.

      • 2 months ago
        Anonymous

        There's nothing to render if it's minimized.

        • 2 months ago
          Anonymous

          mpv and all other programs for that matter uses frames as a way to consume stuff, for example: mpv uses frames as a way to consume the buffered data, games uses frames as a way to measure delta times, etc. if we don't use frames anymore, the whole point of the wayland is useless as everything will have to become unsynchronized again in the client-side just to solve this problem

      • 2 months ago
        Anonymous

        and just to stress a little bit more: this does happens with hyprland and dwl as well. It is not just a gnome problem.

      • 2 months ago
        Anonymous

        Is that really still an issue with mpv in current year? They rewrote everything to conform to what the wayland Black folk wanted.

      • 2 months ago
        Anonymous

        and just to stress a little bit more: this does happens with hyprland and dwl as well. It is not just a gnome problem.

        mpv and all other programs for that matter uses frames as a way to consume stuff, for example: mpv uses frames as a way to consume the buffered data, games uses frames as a way to measure delta times, etc. if we don't use frames anymore, the whole point of the wayland is useless as everything will have to become unsynchronized again in the client-side just to solve this problem

        >another basic functionality such as minimizing the fricking program is broken
        Waylandsisters...

      • 2 months ago
        Anonymous

        How new is your copy of mpv, does it have this fix?
        https://github.com/mpv-player/mpv/commit/99d387bbc81e36f60da26d63b96736e2461bcd2e

        • 2 months ago
          Anonymous

          when i'm seeing a video from youtube, for example, and minimize the mpv for a time, it holds the video frame and after i restore it back it just fast forwards every single frame to the current frame.
          i didn't debug this but i think it never reaches the talloc_free line.

      • 2 months ago
        Anonymous

        does setting damage_tracking to 0 help? i'm not going to try myself since i have no time to skim hyprland code to make sure there's nothing bad in it

        • 2 months ago
          Anonymous

          Tried here and still do have problem.
          Well, i will see this render event for myself.

  4. 2 months ago
    Anonymous

    all those applications don't support wayland properly then.
    i doubt the firefox issue though since i have many minimized firefox windows.

    • 2 months ago
      Anonymous

      >be wayland Black person
      >observe that every other windowing system does thing X
      >deduce that every existing application likely relies on X to work properly
      >do the opposite of X
      >blame and berate application authors when they don't work

  5. 2 months ago
    Anonymous

    while i understand why they'd want to do it, which is that ideally you would want to save resources and power by not rendering things which aren't visible, but i think for the sake of compatibility, this behaviour should not be the default, but rather something a program requests if it can handle it gracefully. tons of programs use rendered frames for timekeeping/pacing one way or another, which makes sense as in most cases graphics programs are most likely to be spending most of their time rendering, you should be pacing things based on the slowest component

    • 2 months ago
      Anonymous

      That one angry Valve contractor is trying to get a protocol in to fix this. The patches have been stuck in code review hell for years, with even angrier Wayland people stalling them, suggesting worse workarounds and getting into huge pissing contests with the Valve guy. It's kind of a fun read.

    • 2 months ago
      Anonymous

      great, another extension to the protocol

      • 2 months ago
        Fledgling Investor

        almost like X's "do whatever you want i don't care" approach just werks better

        That one angry Valve contractor is trying to get a protocol in to fix this. The patches have been stuck in code review hell for years, with even angrier Wayland people stalling them, suggesting worse workarounds and getting into huge pissing contests with the Valve guy. It's kind of a fun read.

        link?

        • 2 months ago
          Anonymous

          https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/99
          https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18359

          • 2 months ago
            Anonymous

            first line:
            >This protocol provides the ability for clients to know when their surfaces
            are suspended or restored.
            hang, on, they don't even /know/ if they're being suspended? how the frick was this ever meant to work?

          • 2 months ago
            Anonymous

            they stop receiving the frame callback and if they need to know they're suspended then they can implement a timeout

          • 2 months ago
            Anonymous

            You're not supposed to know. The wayland guys saw that every application has logic in the main event loop and decided this is stupid. You should be running that on other threads. And the world simply must be rewritten to conform to the wayland view. You know who believed in backwards compatibility? Hitler.

          • 2 months ago
            Anonymous

            HOW DO YOU EVEN MAKE A GAME WITHOUT PACING THE GAME WITH THE FRAMERATE?
            THEY ARE moronic?

          • 2 months ago
            Anonymous

            Well, to be fair, for games you want to cap the maximum delta anyway, because there are situations on all platforms where you can get fricked over by the window system not giving you callbacks (e.g. during resize on Windows).

          • 2 months ago
            Anonymous

            i've seen enough speedruns to know this to be true, plenty of games where intentionally causing a big enough lag spike can lead to clipping
            while i'm sure capping it would be fine (it would just mean gameplay slows down under the cap, but you can set it low enough that nobody would reasonably want to play the game under that rate anyway, like 10fps), that's something you'd have to change in the game itself, and that's not happening for existing/older games

          • 2 months ago
            Anonymous

            every single program in existence does the logic in the main loop

          • 2 months ago
            Anonymous

            sure, but what we're talking about is how games compensate for different fps by adjusting the speed of the gameplay, which allows for example to walk the same speed regardless of if the game is running at 30fps or 60fps, at 30fps you move twice as much per frame as 60fps, issues can pop up at very low fps, like how much would you move in one frame if the game lagged for half a second? doesn't sound like an issue, but this also affects physics, if you're walking towards a wall, and the game lags hard, maybe you'll just go right through the wall as on one frame you were on one side of it, and the next frame you were on the other size, because you moved a long way in one frame, it doesn't know what happened in between, those frames never existed

  6. 2 months ago
    Anonymous

    Wayland only exists to sabotage desktop linux now that its marketshare is making MS uncomfortable.

  7. 2 months ago
    Anonymous

    The Wayland case is so demoralising. I just switched to X and could count at least 6 bugs being instantly fixed.

  8. 2 months ago
    Anonymous

    Uhm based? If you are not looking, why should it do anything? That's like the programs are running behind your back.

    • 2 months ago
      Anonymous

      >moronic android user

  9. 2 months ago
    Anonymous

    >issue that was solved in windows 95 still exists in 2024

    • 2 months ago
      Anonymous

      It is worse, it was solved on linux too, but it returned because of wayland

  10. 2 months ago
    Anonymous

    Wayland is so fricking gay, it's got to be a joke by MS meant to kill Linux.

Your email address will not be published. Required fields are marked *