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

How to diagnose and fix why the fps is so low? #10

Open
simonhf opened this issue Dec 26, 2020 · 2 comments
Open

How to diagnose and fix why the fps is so low? #10

simonhf opened this issue Dec 26, 2020 · 2 comments

Comments

@simonhf
Copy link

simonhf commented Dec 26, 2020

I'm testing this library in Age of Empires 2: Definitive Edition on Ubuntu with Steam.

But no matter which settings I tweak then the most I get is 30 fps whether in the game menus or while playing. How to figure out where the bottleneck is and fix this?

I used these launch options from #5:

DXVK_HUD=full VK_INSTANCE_LAYERS="VK_LAYER_LUNARG_VkGHL" %command%

Screenshot from 2020-12-25 17-57-49

@pchome
Copy link
Owner

pchome commented Dec 27, 2020

Please note this layer is deprecated (see #9 ). I'm using libstrangle for a while too.

But no matter which settings I tweak then the most I get is 30 fps whether in the game menus or while playing. How to figure out where the bottleneck is and fix this?

Just a guess:

  • the game have it's own 30FPS cap;
  • you have FPS=30 env var set.

@simonhf
Copy link
Author

simonhf commented Dec 30, 2020

FYI I upgraded to a newer NVIDIA graphics driver; 450. This increased the FPS substantially, even up to 100 FPS or so. However, during a game then the FPS very slowly sank to about 4 FPS when it become unplayable :-( There must be a bug or something.

I checked for the env var but it wasn't set. I'm wondering if the game does have cap because I installed Windows 10 Pro dual boot to play and it too runs at 30 FPS... but with all graphic features switched on :-)

So if the game does have its own cap, I'm a little confused at how I managed to get 100 FPS on Linux. And also, somebody I know got a similar but higher FPS on a high end Windows gaming laptop...

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

2 participants