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

Horizon Zero Dawn not starting (black screen) the second launch after a long play session when mangohud is used #1276

Open
mmbossoni opened this issue Mar 31, 2024 · 6 comments

Comments

@mmbossoni
Copy link

Describe the bug
After playing Horizon Zero Dawn, letting PC resting and then launching game again only yields a black screen (I have no suspend/resume set, only monitor shutdown)
I couldn't find any clear steps that make it happen other than it happens after I've played at least once.
If I remove mangohud from the game launch parameters game launches normally.
I've noticed once that mangohud was also misplaced (I have it horizontal on the top, but this time I noticed it rendering down by 40 to 80 pixels... maybe game resized the window?)

List relevant hardware/software information

  • Linux Distribution: Arch
  • MangoHud version: Git (0.7.1.r29.g1baecfc-1)
  • GPU: AMD RX 6750XT

To Reproduce
Steps to reproduce the behavior:

  1. Play the Game for some time.
  2. Exit the game
  3. Let the PC rest
  4. Launch the game again

Expected behavior
Game launches normally

Logs of a "bad" launch (black screen) vs a good launch
steam-1151640_bad.log
steam-1151640_good.log

@flightlessmango
Copy link
Owner

What is a long play session? are we talking a few hours?

@mmbossoni
Copy link
Author

I would say couple hours at most.

@fakhraldin
Copy link

Same black screen issue happens with "Senuas Saga Hellblade II" and "Satisfactory". But when MangoHud is deactivated both titles launch regularly again.

Here is the attached wine log for SSHII.
MangoHud - black screen when activated - wine log.txt

@fakhraldin
Copy link

I think i found the cause. Goverlay seems to corrupt MangoHud by certain settings or layout presets.

When launching latest Goverlay v1.2 and selecting the "Basic" layout preset, both aforementioned titles launch regularly together with MangoHud.

But when i select the "Full" layout preset, both titles launch with a black screen. MangoHud shows up but with empty values and freezes.

And as described before, my "Custom" layout made both titles launch with a black screen completely without MangoHud showing up at all. I upload this bad custom config here in case someone wants to reproduce the issue. Please rename this .txt file to MangoHud.conf.
MangoHud.conf - blackscreen.txt

Then make sure to backup or rename your old /home/(your-profile)/.config/MangoHud/MangoHud.conf then paste my bad config. After that instruct your wine-manager to load MangoHud config from there.

But first launch Goverlay v1.2 and select the "Basic" layout preset to check if this resolves the black screen issue as it did for me.

@fakhraldin
Copy link

Okay folks, i think i was able to bisect and narrow down the cause. It seems that activating "FPS Average" under the "Performance" tab in the section "Information" is causing a black screen. Deactivating it results in regular function again.

Please test this on your machine for confirmation.

@flightlessmango
Copy link
Owner

It seems that activating "FPS Average"

Interesting, could be a memory leak in that section

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