Announcement

Collapse
No announcement yet.

Page-Flipping Is Flipped On In The ATI DDX Driver

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

  • Page-Flipping Is Flipped On In The ATI DDX Driver

    Phoronix: Page-Flipping Is Flipped On In The ATI DDX Driver

    With the Linux 2.6.38 kernel DRM update having been pulled into the mainline tree last night by Linus Torvalds, AMD's Alex Deucher pushed the page-flipping support from the DDX X.Org driver side into the mainline xf86-video-ati tree...

    http://www.phoronix.com/vr.php?view=OTAwNA

  • #2
    Code:
    commit 122536ee0aeb1eef1a9d80d5e464dcb423dc2837
    Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Date:   Mon Nov 22 04:11:07 2010 +0100
    
        ddx/ati: Add option "SwapbuffersWait" to control vsync of DRI2 swaps.
        
        A new optional kms driver option "SwapbuffersWait" is defined
        for xorg.conf, which defaults to "on". If "on", DRI2 bufferswaps
        will be synchronized to vsync, otherwise not.
        
        This currently only affects copy-swaps, not pageflipped swaps.
        It also requires a swap_interval setting of zero by the OpenGL
        client.
        
        Ideally, we'd provide a way for dri2 to pass the current swap
        interval to the ddx so we could change this dynamically.
    So SwapbuffersWait is enabled by default also.

    Comment


    • #3
      I love the title. It's, eh, creative!

      Comment


      • #4
        I'm still looking forward to somebody working on pageflip support for NV50 series cards: GeForce 8100, 8200, 8300, 8400, 8500, 8600, 8700, 8800, 9300, 9400, 9600, 9800, 100, 120, 130, 140, 150, 205, 210, 220, 230, 240, 250, 260, 275, 280, 285, 295, 310, 315, 320, 340.

        Cards Released from November 2006 to February 2010 (GeForce 315) - http://en.wikipedia.org/wiki/Compari...ocessing_units

        "Implement the pageflip ioctl. nv0x-nv4x should be mostly fine, nv50 doesn't work yet." - http://nouveau.freedesktop.org/wiki/PageFlipDevelopment

        Comment


        • #5
          Gosh, can't wait for the 2.6.38!!!

          Comment


          • #6
            Yes... it seems to be a very interesting release...

            Comment


            • #7
              WOW,

              i had try ,

              on my rv620 chipset (dell laptop), Nexuiz jump from +-35fps to +-60fps !

              (with SwapbuffersWait off).


              with SwapbuffersWait on, 45fps.


              can't wait for hyper-z

              Comment


              • #8
                Tiling - so the micro tiling means full 2D tiling, right? Is that just for the limited places it's been used in on the older cards, or is it for full textures as well?

                Comment


                • #9
                  Page flipping needs 2.6.38.x, but what else is there?

                  Does this page-flipping DDX merge provide anything new which doesn't need a 2.6.38.x kernel?

                  Comment


                  • #10
                    Only 1D tiling is implemented in the ddx at the moment, and it's still off by default.

                    Comment


                    • #11
                      Originally posted by agd5f View Post
                      Only 1D tiling is implemented in the ddx at the moment, and it's still off by default.
                      Uh? "but now the R600 and newer ASICs have support for micro tiling enabled by default." Isn't it enabled by default now?
                      ## VGA ##
                      AMD: X1950XTX, HD3870, HD5870
                      Intel: GMA45, HD3000 (Core i5 2500K)

                      Comment


                      • #12
                        How SwapbuffersWait and EnablePageFlip relates to EXAVSync? I suppose SwapbuffersWait and EnablePageFlip are only used with 3D apps, while EXAVSync is used only for 2D (EXA) rendering?

                        Comment


                        • #13
                          Originally posted by darkbasic View Post
                          Uh? "but now the R600 and newer ASICs have support for micro tiling enabled by default." Isn't it enabled by default now?
                          Macro- and micro-tiling are 3xx-5xx concepts. For 6xx and higher the corresponding modes are 1D and 2D (where 1D is sort of like micro-tiled macro-linear and 2D is sort of like micro-tiled macro-tiled, I think).

                          As I understand it some tiling is turned on by default for 3xx-5xx but not for 6xx and higher.

                          Comment


                          • #14
                            So, the latest news for r600+ is that 1D tiling is implemented and will be on by default from now on, 2D tiling is WIP, and texture tiling is also WIP?

                            Comment


                            • #15
                              Tiling is not on by default on r6xx+ asics. That's an error in the article. At the moment there is only support for 1D tiled render buffers which has been there for several months. Support for 2D tiling and tiled textures is a WIP. 1D tiles are 8x8 micro tiles, 2D tiles are macro tiles made of the 8x8 micro tiles (tiled tiles).

                              Tiling on r3xx-r5xx is on by default and has been for a while now.

                              Comment

                              Working...
                              X