GNOME Developers New Code Takes On Cursor Stutters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67377

    GNOME Developers New Code Takes On Cursor Stutters

    Phoronix: GNOME Developers New Code Takes On Cursor Stutters

    It's been one year since Canonical desktop engineer Daniel van Vugt, who is known for his upstream GNOME contributions, touched his patch-set implementing dynamic deadline evasion support. But this week brought the long-awaited third iteration of the patches that aim to eliminate cursor stutters from the Mutter compositor's KMS thread...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • rene
    Senior Member
    • Jul 2015
    • 1505

    #2
    Funny how X11 had low-latency Silken mouse already some 20 odd years ago ;-)

    Comment

    • user1
      Senior Member
      • Sep 2019
      • 1109

      #3
      Seems like there are a lot of conditions and software / hardware combos that can trigger cursor stuttering on Gnome Wayland.

      Back in April I also opened this bug report - in my case the stuttering has started after a specific Mutter commit.

      Hopefully this new merge request will finally eliminate cursor stuttering for good.

      Comment

      • kpedersen
        Senior Member
        • Jul 2012
        • 2712

        #4
        Originally posted by rene View Post
        Funny how X11 had low-latency Silken mouse already some 20 odd years ago ;-)
        The Wayland ecosystem still has a Way to go before people even 20 years ago would be happy with it.

        Comment

        • royce
          Senior Member
          • Aug 2018
          • 657

          #5
          These issues aren't wayland-related, or rather wayland-caused. It's just crappy code in GNOME.

          Comment

          • Scotty_Trees
            Junior Member
            • Jul 2023
            • 38

            #6
            "it won't work though for the NVIDIA driver due to lacking necessary KMS timestamps."

            well bollocks me then!

            Comment

            • Gabbb
              Phoronix Member
              • Aug 2023
              • 94

              #7
              Cursor on Wayland is such a giant mess. Both in terms of pointer latency or cursor theming, it's really not working very well. It's a bit better than a year ago on most DE's WMs, but I don't want better, I want perfect..
              Last edited by Gabbb; 13 August 2024, 12:30 AM.

              Comment

              • oiaohm
                Senior Member
                • Mar 2017
                • 8472

                #8
                Originally posted by rene View Post
                Funny how X11 had low-latency Silken mouse already some 20 odd years ago ;-)
                Hi everyone, I want to ask is it is it normal that NVIDIA kind of stutter almost on everything under x11? Like dragging windows,folders around the screen, opening folders and such all the animations are not smooth, stuttering. I jumped to Endeavour OS not long ago. At that time it already installed with KDE 6.xx. I know NVIDIA can be a bit difficult at times with Linux and KDE 6.xx is pretty new, so I wonder who is at fault here and if there is a way to fix it or just wait for KDE to be update...


                rene you statement is garbage. X11 has for it complete time of it existence had a stutters problems. Please note 1990s and early 2000s ice-stations issues makes the minor mouse stutters today seam like minor problems. Ice-station this is where your complete X11 comes non responsive to all inputs for min to hours at a time.

                Basically you need to take off rose color glasses and install a 20 year old Linux distribution on hardware from the time and see how bad mouse could be back then.

                Wayland mouse issues are really making issues that are more random to trigger with modern x.org X11 server trigger way more often.

                This is one of the problems. Lot of cases where people say that X11 is better than Wayland with X issue the X issue turns out to be something that x.org X11 server has had work around after work around after work around added without addressing the real core problem so making the issue less visible without fixing it correctly. Yes this include proper handling of mouse so it cannot freeze/stutter.

                Yes this Gnome fixed does not work with Nvidia graphics because Nvidia graphics does not provide the timing information by KMS interfaces to allow compositor to adjust mouse cursor display.

                Yes mouse cursor not be in it own thread has also been a long term x.org X11 server issue causing random issues as well.

                Comment

                • oiaohm
                  Senior Member
                  • Mar 2017
                  • 8472

                  #9
                  Originally posted by kpedersen View Post
                  The Wayland ecosystem still has a Way to go before people even 20 years ago would be happy with it.
                  The X11 I was using 20 years ago put head to head with a modern wayland with minor stuttering I would class as an improvement.

                  So no 20 year old X11 is in a lot of ways not better than current day Wayland. Please note this is not me saying that Wayland implementations don't need to do better.

                  X11 got most of it mouse cursor freezing issues fixed in the 2014s with Nvidia hacks and AMD/Intel driver work arounds. So x.org X11 mouse cursor being somewhat reasonable is a fairly new thing. Please note fixed take with a serous grain of salt here it been a game of wack a mole don't fix the real problem just keep on altering stuff until users don't commonly open tickets about the issue. Yes tickets are still being open about X11 x.org mouse curser messing up on poor random people.
                  Last edited by oiaohm; 12 August 2024, 10:03 AM.

                  Comment

                  • user1
                    Senior Member
                    • Sep 2019
                    • 1109

                    #10
                    Originally posted by royce View Post
                    These issues aren't wayland-related, or rather wayland-caused. It's just crappy code in GNOME.
                    Are you sure about that? Cause I heard cursor stuttering is also a thing on KDE Wayland. Idk, maybe they've already fixed it for good on their side, but saying that it's something specific to Gnome is wrong. I actually think this is rather due to Wayland's frame perfect design and the reliance on atomic mode-setting.

                    Comment

                    Working...
                    X