Cxbx-reloaded: bisect turok

Created on 14 Mar 2018  路  11Comments  路  Source: Cxbx-Reloaded/Cxbx-Reloaded

Turok menus regressed - bisect and report findings here

HLE

Most helpful comment

I use GTX 750ti works up to PR 954, perhaps PR https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/pull/956 broken.

PR 956 broken
turok
PR 954
turokok

All 11 comments

I'm not sure what type of Regression you have on Turok, but I've had serious graphical corruption since a Commit back in February.

On Appveyor, it's called "GetVertexBufferSize wasn't taking offset into account: This fixes Zapper!"

The Videos play fine, but almost all the Menu is Black, running at around 4fps and also makes my Desktop flicker like crazy. It is the same from that one right up to the latest version. It was fine and mega fast before that Commit.

Specs:
i5 2500 3.3Ghz
8gb Dual Channel DDR2
512mb 9500gt DDR2 Driver 341.44

If your wondering why such a bad Card with that CPU, I did have a GTX 560ti till it died, leaving me with this old Relic lol.

Video playing fine:
video

Bad Commit Menu:
bad

Previous Good Commit Menu:
good

Thanks for digging into this! Am I correct assuming the is the culprit ? https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/151c5963bae96adff0c880799b17f3af400bcc43

Yes that's the one. I'm confused though. JohnGoodGames used a more recent version than that, and it's fine. His Video is on YouTube. He uses a GTX 1080 though. Perhaps 151c596 broken old DX10 Cards only?

I can't verify your findings - for me the menu has been corrupted much longer. I'm doing a bisect too...

I use GTX 750ti works up to PR 954, perhaps PR https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/pull/956 broken.

PR 956 broken
turok
PR 954
turokok

Thanks. Let's see if others can reproduce that too..

@LukeUsher If indeed #956 broke Turok menus, then perhaps that's due to the removal of the StateBlock patches?

Luke is working on this - his result looked like this a few days ago :

Turok regressed when we switched over to the Dxbx based pixel shader conversion. The issue is related to when titles use RenderState/TextureState functions to modify the shader.

Fixing this functionality restores Turok, but breaks JSRF.

Maybe we need to port the RenderState code from WIP_LessVertexPatching so we can remove those patches and read from the D3D state directly.

I can confirm it's rendering correctly again - but I'm not entirely sure which commit actually fixed it...

EDIT: It might be fixed thanks to this : https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/pull/1216

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LukeUsher picture LukeUsher  路  3Comments

Margen67 picture Margen67  路  3Comments

PatrickvL picture PatrickvL  路  4Comments

PatrickvL picture PatrickvL  路  3Comments

gandalfthewhite19890404 picture gandalfthewhite19890404  路  3Comments