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

A Problem with The Sinking City #64

Closed
SR-dude opened this issue Jul 7, 2019 · 19 comments
Closed

A Problem with The Sinking City #64

SR-dude opened this issue Jul 7, 2019 · 19 comments

Comments

@SR-dude
Copy link

SR-dude commented Jul 7, 2019

There is a problem with Epic's exclusive title: The Sinking City.
See for yourself.
Screenshot from 2019-07-07 15-03-22

Another one.
Screenshot from 2019-07-07 15-02-26

That doesn't happen with mesa master. The glowing eyes with the black bars coming out of them are not constant. They flash. I managed to get a screenshot where the eyes looked
normal and no black bars.

@daniel-schuermann
Copy link
Owner

Thank you for reporting the issue. Would it be possible for you to take a renderdoc capture from this scene? Unfortunately, I don't own this game.

@SR-dude
Copy link
Author

SR-dude commented Jul 8, 2019

I'm trying to work on that. I currently don't have renderdoc. Is the optional python dependency PySide2 really necessary for renderdoc? I installed it with pip but renderdoc's cmake scripts can't seem to find it.

@daniel-schuermann
Copy link
Owner

renderdoc is quite hard to build, so I'd try to use the distro-provided or pre-build binaries.

@SR-dude
Copy link
Author

SR-dude commented Jul 9, 2019

The problem isn't present on the master branch. I previously reported while on the backend branch.
I'll try the backend branch again.

I have renderdoc but I haven't had much success at getting a capture. It is not a drm-free game and I already need to run Epic through Lutris. I even tried to install the Windows version of Renderdoc inside of Epic's Lutris generated prefix. The game just simply broke out of the prefix "jail" and claimed the Epic game launcher wasn't running. I'll ask for help from the community.

@daniel-schuermann
Copy link
Owner

ping. Hey, could you confirm that this issue is resolved on the backend branch as well? Or is it still an issue. Thx!

@SR-dude
Copy link
Author

SR-dude commented Jul 10, 2019

I was playing this game all day yesterday without issue on the master branch.
Yes, it is still a problem with the backend branch.
Screenshot from 2019-07-10 11-30-12
Screenshot from 2019-07-10 11-36-20

With the second screehshot one the gentleman's back is turned from the camera but still the eyes glow.

@daniel-schuermann
Copy link
Owner

Hi SR-dude,
would you like to test https://github.com/daniel-schuermann/mesa/tree/backend_issue_64 to confirm that the issue is not present on this branch? It is the same branch with one commit removed where we think might be the error. Thx!

@SR-dude
Copy link
Author

SR-dude commented Jul 11, 2019

I tried 'backend_issue_64' and the issue still occurs. Sorry.

@daniel-schuermann
Copy link
Owner

hm, okay. we only had a guess which commit it might be, but was apparently wrong. So, we updated the branch https://github.com/daniel-schuermann/mesa/tree/backend_issue_64 again where basically all changes from the backend branch are reverted, so that it's only a rebased master branch.
I'd appreciate if you could retest again, and if it then works and you find the time, would you be able bisect this branch to find the commit which is responsible for this regression? Thx alot!

@SR-dude
Copy link
Author

SR-dude commented Jul 11, 2019

Alright, no glowing eyes with backend_issue_64 branch as of now. Tell me again which branch you want me to bisect and which range of commits?

@daniel-schuermann
Copy link
Owner

this branch you just tested :)
it has a bunch of reverts as last commits. so, knowing which revert exactly made it work again would be gold! thx

@SR-dude
Copy link
Author

SR-dude commented Jul 11, 2019

The rebase ruled out a dirct bisect. Git complained about refs
not being direct ancestors of of newer commits But there were
only a hand full of commits to test. So, I did it manually.
These are the commits in order as git reports them. The first
good commit with no glowing eyes was 532679...

commit 9bc391c not glowing
commit a0e5ca7 didn't test
commit 4ea0889 didn't test
commit 17eb854 didn't test
commit 515538e not glowing
commit 5326794 not glowing
commit 3b7f3b5 glowing eyes
commit 69fe03a glowing eyes
commit bb40825 glowing eyes
commit 21326c9 glowing eyes
commit 8c6ebf6 glowing eyes

@daniel-schuermann
Copy link
Owner

SR-dude, thx for this investigation. I rewrote the part which happened to be the only case which was affected by the commit which apparently broke Sinking City (although I still don't really understand what could have gone wrong there). Would you retest the normal 'backend' branch? Thx

@SR-dude
Copy link
Author

SR-dude commented Jul 12, 2019

On the backend branch the eyes glow.
+
Let's talk about renderdoc. As far as I know there are two ways to work this suite.
First, you fill out the fields: Executable Path, Working Directory, Command-line
Arguments, and Finally Environment Variables. Second, you attach to an already
running process. That only works if you can attach before your vulkan instance is
created.

One big problem I have is isolating the main game binary from its DRM. I tried the
first approach only to be told be the game that Epic needed to be run and logged in.
I was but the game couln't see it. I'm not sure what to do here.

@daniel-schuermann
Copy link
Owner

Did you try to just set

  • ENABLE_VULKAN_RENDERDOC_CAPTURE=1
    and start the launcher from command line with this ENV var? For steam, this works with most games. If the drm is too strong, then I doubt we get it hooked :(

@daniel-schuermann
Copy link
Owner

daniel-schuermann commented Jul 12, 2019

Ok, I force-pushed to the backend_issue_64 branch, so that it is just the updated backend branch with the commit you bisected, reverted. Do you mind testing the backend_issue_64 branch again? I admit, I'm quite confused.
(if you pull, use -f because of the force-push)

@SR-dude
Copy link
Author

SR-dude commented Jul 12, 2019

Thank for the tip! Here it is.

https://drive.google.com/open?id=18aBQdgYYp_oFF5ds6JVm80Efg9RjOD9b

@pendingchaos
Copy link
Collaborator

Thanks, should be fixed with 0e22411

@SR-dude
Copy link
Author

SR-dude commented Jul 20, 2019

I'm about to permanently delete the renderdoc, unless anyone wants it. I'll give you 12 hours to grab it.

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

3 participants