Announcement

Collapse
No announcement yet.

MLAA For Mesa Is Ready For Testing

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

  • #31
    The test app sets vblank_mode to 0 to avoid vsync. Swapbufferswait can't be overridden from the app though.

    Comment


    • #32
      Originally posted by curaga View Post
      The test app sets vblank_mode to 0 to avoid vsync. Swapbufferswait can't be overridden from the app though.
      Yeah, I was wondering why it didn't cause the sphere to run at 60FPS without MLAA.

      Results without SwapbuffersWait:
      low: Average on fps 86.40, average off fps 811.24
      high: Average on fps 162.36, average off fps 1540.74

      Comment


      • #33
        Some more data points:

        RV570 / r300g
        Ran 60.835s, average fps 360.19, min 1

        Average on fps 181.47, average off fps 574.93

        G45/Eaglelake / i965
        Ran 112.156s, average fps 79.93, min 1

        Average on fps 20.30, average off fps 199.95

        MLAA isn't rendering correctly with i965 as seen on this screenshot: (ignore the tearing)
        http://dl.dropbox.com/u/28577999/Scr...d%20Window.png

        Not sure if it's of any interest, I guess you're targeting G3D-drivers?

        Comment


        • #34
          Yeah, inside Mesa it's gallium only. But if i965 claims to support the required extensions, you might want to report the bug.

          Thanks for the testing whizse

          Comment


          • #35
            Code:
            Irrlicht Engine version 1.7.2
            Linux 3.0.0-0300rc2-generic #201106081532 SMP Wed Jun 8 16:21:54 UTC 2011 i686
            Creating X window...
            ATTENTION: default value of option vblank_mode overridden by environment.
            ATTENTION: default value of option vblank_mode overridden by environment.
            ATTENTION: option value of option vblank_mode ignored.
            Visual chosen: : 276
            Using renderer: OpenGL 2.1
            Gallium 0.4 on ATI RS480: X.Org R300 Project
            OpenGL driver version is 1.2 or better.
            GLSL version: 1.2
            Loaded texture: AreaMap33
            Unsupported texture format
            GLSL shader failed to compile
            0:4(12): warning: extension `GL_ARB_shader_texture_lod' unsupported in fragment shader
            0:0(0): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'
            0:16(86): error: `return' with wrong type , in function `tex2Doffset' returning vec4
            0:0(0): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'
            0:72(48): error: type mismatch
            0:72(48): error: `return' with wrong type , in function `Area' returning vec2
            0:0(0): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'
            0:88(54): error: type mismatch
            0:0(0): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'
            0:89(54): error: type mismatch
            0:0(0): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'
            0:103(54): error: type mismatch
            0:0(0): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'
            0:104(54): error: type mismatch
            
            Quit message received.
            
            Ran 160.744s, average fps 67.58, min 1
            
            Average on fps 8.91, average off fps 109.41
            Does not seem to do anything on mine image quality wise (I guess it's that shader warning up there). No visible image distortion/artifacts.

            Mesa 7.12
            RS480 (200M) on r300g
            swapbufferswait off
            vblank_mode 0

            Comment


            • #36
              r500+ ?

              I think that GL_ARB_shader_texture_lod is only available on SM 3.0 (r500) cards and higher.

              Comment


              • #37
                [stephen@goodt60 MLAA-test-app]$ ./mlaatest
                Irrlicht Engine version 1.7.2
                Linux 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 27 22:01:13 CEST 2011 i686
                ATTENTION: default value of option vblank_mode overridden by environment.
                ATTENTION: default value of option vblank_mode overridden by environment.
                Using renderer: OpenGL 2.1
                Gallium 0.4 on ATI RV515: X.Org R300 Project
                OpenGL driver version is 1.2 or better.
                GLSL version: 1.2
                Loaded texture: AreaMap33
                Unsupported texture format
                Quit message received.

                Ran 10.341s, average fps 187.40, min 1


                Still reporting MLAA as being off, and still jagged edges.

                This is with the latest git master mesa, on an X1400 (r500). I'm using KDE4, and turning composting on/off doesn't change the result.
                Last edited by TheCycoONE; 07-07-2011, 11:05 PM.

                Comment


                • #38
                  Originally posted by TheCycoONE View Post
                  Still reporting MLAA as being off, and still jagged edges.
                  You can toggle MLAA with pressing 'm' on your keyboard

                  Comment


                  • #39
                    Originally posted by smitty3268 View Post
                    I think that GL_ARB_shader_texture_lod is only available on SM 3.0 (r500) cards and higher.
                    Yeah, the minimum hw is r500/gf6. Not sure what's the minimum on intel.

                    Comment


                    • #40
                      Originally posted by droste View Post
                      You can toggle MLAA with pressing 'm' on your keyboard
                      Thanks, with MLAA I get good output (including smoothing) and 20fps. KDE feels really sluggish while it's on and I get a warning that desktop effects are being disabled due to bad performance, but CPU utilization is low.

                      Comment

                      Working...
                      X