View Issue Details

IDProjectCategoryView StatusLast Update
0005596The Dark ModGraphicspublic16.06.2021 06:36
Reporterduzenko Assigned To 
Status newResolutionopen 
PlatformPCOSWindowsOS Version10
Product VersionSVN 
Target VersionTDM 2.10 
Summary0005596: r_lockSurfaces broken
DescriptionI wonder if it used to work and when it got broken
It should be a useful tool when examining large areas performance problems
Steps To ReproduceBlackgrove Manor spawn location, looking at the mansion
invoke r_lockSurfaces 1

Expected: more or less regular render with ability to move camera
Observed: camera frozen, flickering
Additional InformationThe first obvious thing to fix is lockSurfacesCmd->viewDef, which will clear and reset next frame in idRenderWorldLocal::RenderScene by a R_ClearedFrameAlloc
I tried copying that to a static var, but then got backEnd.vLight->lightShader == null in the backend
TagsNo tags attached.




15.06.2021 02:06

developer   ~0014111

Dhewm3 has fixed this in his port as of June 14th 2021


15.06.2021 06:08

developer   ~0014112

So they don't switch SMP frames at all, huh


15.06.2021 12:47

developer   ~0014113

Last edited: 15.06.2021 12:54

Yes, no SMP yet.

Though Daniel appears to be ready to accept a patch request from another Doom 3 multi-threaded project so that might change in the near term.

I just brought the details here in case any of the changes might assist with your work.


16.06.2021 06:36

developer   ~0014114

Last edited: 16.06.2021 06:36

New Job - here it still seems to work with SMP and scissors off
Might have something to do with draw call count

Issue History

Date Modified Username Field Change
23.04.2021 06:59 duzenko New Issue
15.06.2021 02:06 nbohr1more Note Added: 0014111
15.06.2021 06:08 duzenko Note Added: 0014112
15.06.2021 12:47 nbohr1more Note Added: 0014113
15.06.2021 12:54 nbohr1more Note Edited: 0014113
16.06.2021 06:36 duzenko Note Added: 0014114
16.06.2021 06:36 duzenko Note Edited: 0014114