Announcement

Collapse
No announcement yet.

xf86-video-modesetting TearFree Page-Flipping Merged

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • xf86-video-modesetting TearFree Page-Flipping Merged

    Phoronix: xf86-video-modesetting TearFree Page-Flipping Merged

    The xf86-video-modesetting work covered a month ago over "TearFree" page flipping support has been merged to the X.Org Server for whenever the next release ends up happening...

    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

  • #2
    By the way, in the Intel driver TearFree worked perfectly, and then I noticed that when I switched to modesetting, there was no TearFree support.

    Comment


    • #3
      So, it was as easy as adding just one tiny option to the X server? And no Wayland was needed after all?

      (/s)

      Comment


      • #4
        It would be super nice if that feature could be just "flipped" runtime without the need to restart the whole server.
        Or I would just use a light compositor.

        Comment


        • #5
          Originally posted by kokoko3k View Post
          It would be super nice if that feature could be just "flipped" runtime without the need to restart the whole server.
          Or I would just use a light compositor.
          xrandr --output DisplayPort-0 --set TearFree on

          Comment


          • #6
            Originally posted by awesz View Post

            xrandr --output DisplayPort-0 --set TearFree on
            This is great, so one can get vsync or not in games as he please with an efficient vsync implementation based on hw capabilities, versus a more generic one that would be otherwise used by the in-game vsync and also switch it on and off on the fly.
            This is what i get from the article and your answer.
            Correct!?

            Comment


            • #7
              Originally posted by awesz View Post

              xrandr --output DisplayPort-0 --set TearFree on
              Why not use xorg.conf?

              Code:
              Section "Device"
                  Identifier  "Intel Graphics"
                  Driver      "modesetting"
                  Option      "AccelMethod"    "glamor"
                  Option      "TearFree"       "on"
              EndSection​

              Comment


              • #8
                Originally posted by kokoko3k View Post

                This is great, so one can get vsync or not in games as he please with an efficient vsync implementation based on hw capabilities, versus a more generic one that would be otherwise used by the in-game vsync and also switch it on and off on the fly.
                This is what i get from the article and your answer.
                Correct!?
                Try it for yourself. I imagine it would make no difference since TearFree is not V-Sync, but I can't speak from experience.​

                Originally posted by Monsterovich View Post

                Why not use xorg.conf?

                Code:
                Section "Device"
                Identifier "Intel Graphics"
                Driver "modesetting"
                Option "AccelMethod" "glamor"
                Option "TearFree" "on"
                EndSection​
                They wanted to know if this could be toggled at runtime.

                Comment


                • #9
                  Wayland fanboys: X.org is not maintained, is dead.

                  X.org:

                  Comment


                  • #10
                    Originally posted by Monsterovich View Post
                    By the way, in the Intel driver TearFree worked perfectly
                    It did not, it broke with every app triggering page flipping and likely still does. Xorg on Intel is extra terrible, probably worse than Nvidia.

                    Comment

                    Working...
                    X