Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tomb Raider 2013 Incorrect rendering #324

Open
rox4d opened this issue Nov 25, 2018 · 12 comments
Open

Tomb Raider 2013 Incorrect rendering #324

rox4d opened this issue Nov 25, 2018 · 12 comments

Comments

@rox4d
Copy link

rox4d commented Nov 25, 2018

with gm107 (nouveau with patch from https://lists.freedesktop.org/archives/mesa-dev/2018-November/210359.html) it looks like upscaled from lower resolution with superfluous red lines across a screen.
d3d9 trace from windows:
https://drive.google.com/file/d/1CGd-CR5vQmwe4jy4Fsux-jDypJUHJP7-/view
not sure if it is useful, but replaying with nine show a problem.

@iiv3
Copy link

iiv3 commented Nov 28, 2018

It seems like another nouveau problem, as the trace plays perfectly with R600 driver (HD5670 Evergreen Redwood).

Have you tried playing the trace without the samplers patch? Do you get the same problems. Aka are these problems existing or caused by the patch?

@rox4d
Copy link
Author

rox4d commented Nov 28, 2018

This patch make a same visual affect that a workaround from #308 for nouveau, i do not see any visual regressions from it, but improvements are very noticeable.
P.S. By the way, this trace looks not perfect with rx560, but breakages completely differ.

@rox4d rox4d closed this as completed Nov 28, 2018
@rox4d rox4d reopened this Nov 28, 2018
@rox4d
Copy link
Author

rox4d commented Nov 29, 2018

yes, It is plays fine with R600 (rv730).

@orbea
Copy link

orbea commented Dec 2, 2018

Is this fixed with the mesa master now?

@rox4d
Copy link
Author

rox4d commented Dec 2, 2018

No, this report is not about nouveau d3d9 regression (just fixed).
screenshot

@axeldavy
Copy link

axeldavy commented Dec 2, 2018

Did it work before the gallium patch that caused nouveau to regress ?
Does it work if you disable antialiasing ?

@rox4d
Copy link
Author

rox4d commented Dec 2, 2018

I was not trying it then.
This trace was made with antialiasing disabled in settings.

@rox4d
Copy link
Author

rox4d commented Dec 3, 2018

I was compiling several older version mesa (from git before nine was broken with nouveau) to check whether it regression, but it seems that d3dadapter9 was not good enough there (crash). Binary mix from old mesa dri + (d3dadapter9.so.1.0.0 from newer git + nouveau workaround) looks like screenshot.

@orbea
Copy link

orbea commented Dec 3, 2018

A nouveau developer was looking at this the other day as discussed in irc, but he also ran into crashes. Maybe it was the same issue?

@rox4d
Copy link
Author

rox4d commented Dec 3, 2018

Who knows:), for me d3dretrace.exe crashes while trying to replay this trace with nine disabled (wine-staging-nine-3.18).

@orbea
Copy link

orbea commented Dec 3, 2018

The crashes when replaying the trace were also discussed in irc, I think diagnosing and potentially fixing the crashes when replaying the trace or starting the game would make it easier to fix this issue.

@rox4d
Copy link
Author

rox4d commented Dec 3, 2018

The game is works for me in wine (windows version steam installed), in winecfg OS is Windows XP, and these dlls are disabled: d3d10, d3d10_1, d3d10core, d3d11, dxgi. The registry key "HKEY_CURRENT_USER\Software\ Crystal Dynamics\Tomb Raider\Graphics\RenderAPI" are equal 9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants