Announcement
Collapse
No announcement yet.
DRI2 vs. DRI3 Radeon Linux OpenGL Performance
Collapse
X
-
Originally posted by arabek View Post
Wrong:
Option "DRI3" "1"
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
-
Originally posted by Pontostroy View Posttell 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.
Option "DRI3" "boolean"
Enable the DRI3 extension. The default is off.
Comment
-
Originally posted by Pontostroy View Posttell 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]
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]
Comment
-
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.
Code:Enable DRI2 page flipping. The default is on. Pageflipping is supported on all radeon hardware.
Comment
-
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.
- Likes 1
Comment
-
Originally posted by boffo View PostI tried this DRI 3 option. With team fortress 2 the system is stable, but firefox freezes with videos. On AMD trinity
Originally posted by Adriannho View PostFor me on arch man radeon | grep DRI gives:
Code:Enable DRI2 page flipping. The default is on. Pageflipping is supported on all radeon hardware.
Originally posted by duby229 View PostAnd 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
Comment