Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 57

Thread: MLAA For Mesa Is Ready For Testing

  1. #31
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    4,988

    Default

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

  2. #32
    Join Date
    Jul 2009
    Location
    Germany
    Posts
    480

    Default

    Quote 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

  3. #33
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    983

    Default

    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?

  4. #34
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    4,988

    Default

    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

  5. #35
    Join Date
    Dec 2007
    Location
    Merida
    Posts
    1,099

    Default

    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

  6. #36
    Join Date
    Oct 2008
    Posts
    3,029

    Default r500+ ?

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

  7. #37
    Join Date
    May 2010
    Posts
    121

    Default

    [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 at 11:05 PM.

  8. #38
    Join Date
    Jul 2009
    Location
    Germany
    Posts
    480

    Default

    Quote 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

  9. #39
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    4,988

    Default

    Quote 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.

  10. #40
    Join Date
    May 2010
    Posts
    121

    Default

    Quote 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •