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

[OpenGL] Bioshock Infinite only renders new frames when the mouse is moved #614

Open
K0bin opened this issue Oct 17, 2021 · 5 comments
Open

Comments

@K0bin
Copy link

K0bin commented Oct 17, 2021

When running the Bioshock Infinite Linux version with MangoHud, the game only renders new frames when it receives input events. So unless I press a key or move the mouse, I'm just seeing a static image.

Here's a short video of the behavior: https://www.youtube.com/watch?v=v3F5NBHByqI
The game itself does not freeze up. As soon as I move the mouse, I instantly get a new frame and as long as I keep moving it, it runs normally. As soon as I stop, the game also stops rendering (or presenting?) new frames.
Note that the beviour also happens in fullscreen mode.

Nvidia GTX 1070 with driver 495.29.05
MangoHud 0.6.5 (from chaotic-aur)
Arch Linux
32 bit game using OpenGL

@jackun
Copy link
Collaborator

jackun commented Oct 17, 2021

Dafuq, some strange side effect of glXQueryDrawable.
Set gl_size_query=viewport in config file.

@TanapTheTimid
Copy link

TanapTheTimid commented Oct 25, 2021

I am having the same exact issue. Setting MANGOHUD_CONFIG="gl_size_query=viewport" Doesn't seem to fix it.

@TanapTheTimid
Copy link

TanapTheTimid commented Oct 25, 2021

The problem for me persisted even after disabling (and even uninstalling) mangohud. Fixed it by running it through lutris instead using the script on lutris website, although I have no idea why it works.

Edit: My bad, lutris did not use the nvidia gpu even with the prime option checked. Still does not work.

@Terseus
Copy link

Terseus commented Dec 17, 2021

I can reproduce the issue with Bioshock Infinite and XCOM: Enemy Unknown.

Dafuq, some strange side effect of glXQueryDrawable. Set gl_size_query=viewport in config file.

Thanks a lot, it works in both games ^_^
MANGOHUD_CONFIG="read_cfg,gl_size_query=viewport" also works.

@coffeecrisp
Copy link

coffeecrisp commented Jan 2, 2022

I have encountered this issue today. The last time that I played Bioshock Infinite, it was fine. I also had MangoHud activated.
I had Kubuntu 20.04, Steam (I don't know the version). I had MangoHud v0.6.1.
This time, I have MangoHud v0.6.5.
I uninstalled 0.6.5 and installed 0.6.1 but the problem was still present, so maybe there is something else going on?

I tried
MANGOHUD_CONFIG="read_cfg,gl_size_query=viewport" %command% -ReadTexturePoolFromIni

and that seems to work.
You still have to move around the mouse or touch your keyboard for the first seconds to get the game started up. It starts showing the animation about 2K interactive, then you can let go of the mouse.

Weird.

//EDIT: I spoke too soon. Looks like it read_cfg,gl_size_query=viewport doesn't do much.
Sometimes it works and sometimes not.
This does the same thing
%command% -ReadTexturePoolFromIni
(Sometimes it works, sometimes not. Sometimes, the intro stuff plays but instead of reaching the menu, it gives a black screen. I have to go to Steam and press Stop to stop the process. I press on Play again. Sometimes it works on the second try. Sometimes the 3rd. In each case, in the beginning, you have to shake the mouse for 1 or 2 s so that the game runs.
When you try to Quit, again, it freezes up. You have to shake the mouse for 1 or 2 s and then process quits.)

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

5 participants