Opened 2 years ago

Closed 2 years ago

#6525 closed defect (fixed)

OpenGL ARB causes big slow down

Reported by: Langbart Owned by: Vladislav Belov
Priority: Should Have Milestone: Alpha 26
Component: Core engine Keywords:
Cc: Patch: Phab:D4635

Description

Testing latest GIT version and noticed a big slowdown when using openGL ARB on the Ratumacos map.

to reproduce

  1. Download the attached replay ratumacos.zip
  2. Set the Renderer backend in the graphics options to OpenGL ARB
  3. Start the replay, set the view to paria and click Follow Player
  4. Notice the extreme slowdown
  5. The replay is only 2:42mins long, but counting the real time it takes 3:34mins with OpenGL ARB and only 2:55mins with OpenGL to complete the replay.

bisect

[26815]
(On [26814] the times to complete the replay are more similar between OpenGL and OpenGL ARB.)

related IRC conversation

IRC 0ad-dev 2/May/22

10:48 < Vladislav> Langbart: according to profiling data chopiness might be because of shadows

Attachments (2)

ratumacos.jpg (387.4 KB ) - added by Langbart 2 years ago.
ratumacos.zip (8.7 KB ) - added by Langbart 2 years ago.

Download all attachments as: .zip

Change History (6)

by Langbart, 2 years ago

Attachment: ratumacos.jpg added

by Langbart, 2 years ago

Attachment: ratumacos.zip added

comment:1 by Langbart, 2 years ago

Patch: Phab:D4635

comment:2 by Stan, 2 years ago

Does that make GLSL slower ?

in reply to:  2 comment:3 by Vladislav Belov, 2 years ago

Replying to stanislas69:

Does that make GLSL slower ?

No, it affects only ARB binding.

comment:4 by Vladislav Belov, 2 years ago

Owner: set to Vladislav Belov
Resolution: fixed
Status: newclosed

In 26849:

Removes ARB switch optimization as it triggers slow down. Fixes #6525

Tested By: Langbart

Differential Revision: https://code.wildfiregames.com/D4635

Note: See TracTickets for help on using tickets.