Announcement

Collapse
No announcement yet.

DRI2 vs. DRI3 Radeon Linux OpenGL Performance

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

  • #21
    Originally posted by Pontostroy View Post

    Option "DRI" "3"

    like on intel

    Wrong:

    Option "DRI3" "1"

    Comment


    • #22
      I tried this DRI 3 option. With team fortress 2 the system is stable, but firefox freezes with videos. On AMD trinity

      Comment


      • #23
        Originally posted by arabek View Post


        Wrong:

        Option "DRI3" "1"
        tell me more
        Code:
         man radeon|grep DRI
               Option "DRI" "integer"
                      Define the maximum level of DRI to enable. Valid values are 2 for DRI2 or 3 for DRI3.  The default is 2 for DRI2.
                      Enable DRI2 page flipping.  The default is on.  Pageflipping is supported on all radeon hardware.

        Comment


        • #24
          For me

          Option "DRI3"

          is working.
          (Manjaro)

          Comment


          • #25
            Originally posted by Pontostroy View Post
            tell me more
            Code:
            man radeon|grep DRI
            Option "DRI" "integer"
            Define the maximum level of DRI to enable. Valid values are 2 for DRI2 or 3 for DRI3. The default is 2 for DRI2.
            Enable DRI2 page flipping. The default is on. Pageflipping is supported on all radeon hardware.
            Weird; my man entry says it's a boolean for radeon (Fedora 23):

            Option "DRI3" "boolean"
            Enable the DRI3 extension. The default is off.

            Comment


            • #26
              Originally posted by Pontostroy View Post
              tell me more
              Code:
              man radeon|grep DRI
              Option "DRI" "integer"
              Define the maximum level of DRI to enable. Valid values are 2 for DRI2 or 3 for DRI3. The default is 2 for DRI2.
              Enable DRI2 page flipping. The default is on. Pageflipping is supported on all radeon hardware.
              Code:
              src/radeon.h
              
              [FONT=monospace][COLOR=#54ff54][B]typedef[/B][/COLOR][COLOR=#000000] [/COLOR][COLOR=#54ff54][B]enum[/B][/COLOR][COLOR=#000000] { [/COLOR]
                 OPTION_ACCEL,
                 OPTION_SW_CURSOR,
                 OPTION_PAGE_FLIP,
                 OPTION_EXA_PIXMAPS,
                 OPTION_COLOR_TILING,
                 OPTION_COLOR_TILING_2D,
              [COLOR=#5454ff][B]#ifdef RENDER[/B][/COLOR][COLOR=#000000] [/COLOR]
                 OPTION_RENDER_ACCEL,
                 OPTION_SUBPIXEL_ORDER,
              [COLOR=#5454ff][B]#endif[/B][/COLOR][COLOR=#000000] [/COLOR]
                 OPTION_ACCELMETHOD,
                 OPTION_EXA_VSYNC,
                 OPTION_ZAPHOD_HEADS,
                 OPTION_SWAPBUFFERS_WAIT,
                 OPTION_DELETE_DP12,
                 [COLOR=#000000]OPTION_DRI[/COLOR][COLOR=#000000]3, [/COLOR]
                 [COLOR=#000000]OPTION_DRI[/COLOR][COLOR=#000000], [/COLOR]
                 OPTION_SHADOW_PRIMARY,
                 OPTION_TEAR_FREE,
              } RADEONOpts;[/FONT]
              and
              Code:
              src/radeon_kms.c
              
              [FONT=monospace][COLOR=#54ff54][B]const[/B][/COLOR][COLOR=#000000] OptionInfoRec RADEONOptions_KMS[] = { [/COLOR]
                 { OPTION_ACCEL,          [COLOR=#ff54ff][B]"Accel"[/B][/COLOR][COLOR=#000000],            OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_SW_CURSOR,      [COLOR=#ff54ff][B]"SWcursor"[/B][/COLOR][COLOR=#000000],         OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_PAGE_FLIP,      [COLOR=#ff54ff][B]"EnablePageFlip"[/B][/COLOR][COLOR=#000000],   OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_COLOR_TILING,   [COLOR=#ff54ff][B]"ColorTiling"[/B][/COLOR][COLOR=#000000],      OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_COLOR_TILING_2D,[COLOR=#ff54ff][B]"ColorTiling2D"[/B][/COLOR][COLOR=#000000],    OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_RENDER_ACCEL,   [COLOR=#ff54ff][B]"RenderAccel"[/B][/COLOR][COLOR=#000000],      OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_SUBPIXEL_ORDER, [COLOR=#ff54ff][B]"SubPixelOrder"[/B][/COLOR][COLOR=#000000],    OPTV_ANYSTR,  {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
              [COLOR=#5454ff][B]#ifdef USE_GLAMOR[/B][/COLOR][COLOR=#000000] [/COLOR]
                 { OPTION_ACCELMETHOD,    [COLOR=#ff54ff][B]"AccelMethod"[/B][/COLOR][COLOR=#000000],      OPTV_STRING,  {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_SHADOW_PRIMARY, [COLOR=#ff54ff][B]"ShadowPrimary"[/B][/COLOR][COLOR=#000000],    OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
              [COLOR=#5454ff][B]#endif[/B][/COLOR][COLOR=#000000] [/COLOR]
                 { OPTION_EXA_VSYNC,      [COLOR=#ff54ff][B]"EXAVSync"[/B][/COLOR][COLOR=#000000],         OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_EXA_PIXMAPS,    [COLOR=#ff54ff][B]"EXAPixmaps"[/B][/COLOR][COLOR=#000000],       OPTV_BOOLEAN,   {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_ZAPHOD_HEADS,   [COLOR=#ff54ff][B]"ZaphodHeads"[/B][/COLOR][COLOR=#000000],      OPTV_STRING,  {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_SWAPBUFFERS_WAIT,[COLOR=#ff54ff][B]"SwapbuffersWait"[/B][/COLOR][COLOR=#000000], OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_DELETE_DP12,    [COLOR=#ff54ff][B]"DeleteUnusedDP12Displays"[/B][/COLOR][COLOR=#000000], OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE}, [/COLOR]
                 { [COLOR=#000000]OPTION_DRI[/COLOR][COLOR=#000000]3,           [/COLOR][COLOR=#ff54ff][B]"DRI3"[/B][/COLOR][COLOR=#000000],             OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { [COLOR=#000000]OPTION_DRI[/COLOR][COLOR=#000000],            [/COLOR][COLOR=#ff54ff][B]"DRI"[/B][/COLOR][COLOR=#000000],              OPTV_INTEGER, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { OPTION_TEAR_FREE,      [COLOR=#ff54ff][B]"TearFree"[/B][/COLOR][COLOR=#000000],         OPTV_BOOLEAN, {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE }, [/COLOR]
                 { -[COLOR=#ff54ff][B]1[/B][/COLOR][COLOR=#000000],                    [/COLOR][COLOR=#ff54ff][B]NULL[/B][/COLOR][COLOR=#000000],               OPTV_NONE,    {[/COLOR][COLOR=#ff54ff][B]0[/B][/COLOR][COLOR=#000000]}, FALSE } [/COLOR]
              };[/FONT]
              You will find the usage of OPTION_DRI3 and OPTION_DRI down in radeon_kms.c

              Comment


              • #27
                Originally posted by arabek View Post


                Wrong:

                Option "DRI3" "1"
                http://cgit.freedesktop.org/xorg/dri...5441f2b5790c29

                Comment


                • #28
                  Originally posted by Espionage724 View Post

                  Weird; my man entry says it's a boolean for radeon (Fedora 23):

                  Option "DRI3" "boolean"
                  Enable the DRI3 extension. The default is off.
                  For me on arch man radeon | grep DRI gives:
                  Code:
                  Enable DRI2 page flipping.  The default is on.  Pageflipping is supported on all radeon hardware.
                  very strange indeed.

                  Comment


                  • #29
                    And this article proves exactly why rendering way above screen refresh is stupid. It doesn't matter. I'll bet you that if time was taken to configure the game for best settings to get close to 60hz average they would perform exactly the same. Which means that what has been taken as overall performance has been wrong all along.

                    The only metrics that make sense measuring are those that you'll be playing at.

                    Comment


                    • #30
                      Originally posted by boffo View Post
                      I tried this DRI 3 option. With team fortress 2 the system is stable, but firefox freezes with videos. On AMD trinity
                      Do you have xcb 1.11.1?

                      Originally posted by Adriannho View Post
                      For me on arch man radeon | grep DRI gives:
                      Code:
                      Enable DRI2 page flipping. The default is on. Pageflipping is supported on all radeon hardware.
                      very strange indeed.
                      That is 7.5 ddx and you need git version.

                      Originally posted by duby229 View Post
                      And this article proves exactly why rendering way above screen refresh is stupid. It doesn't matter. I'll bet you that if time was taken to configure the game for best settings to get close to 60hz average they would perform exactly the same. Which means that what has been taken as overall performance has been wrong all along.

                      The only metrics that make sense measuring are those that you'll be playing at.
                      You know that some people have 144Hz monitors, there are now also Freesync monitors with 30Hz-144Hz range so higher then 60 does matter.

                      Comment

                      Working...
                      X