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

Low GPU utilization when "Optimize game latency" turn on #2326

Open
5 tasks
G00dog opened this issue Aug 13, 2024 · 6 comments
Open
5 tasks

Low GPU utilization when "Optimize game latency" turn on #2326

G00dog opened this issue Aug 13, 2024 · 6 comments
Labels
bug Something isn't working windows This seems to be window-specific

Comments

@G00dog
Copy link

G00dog commented Aug 13, 2024

When I enable the "Optimize game latency", my FPS drops, and GPU utilization decreases.
When I disable "Optimize game latency," FPS is stable, and GPU utilization increases, but the latency becomes inconsistent, making it difficult to use.

The picture is the difference when looking at exactly the same place.
optimize on optimize off
Maybe it's the same issue. [(https://github.com//issues/1901)]

Is there a solution for this problem?

Description

General Troubleshooting

  • I carefully followed the instructions in the README and successfully completed the setup wizard
  • I read the ALVR GitHub Wiki

Environment

Hardware

CPU : Intel(R) Xeon(R) Gold 6238R CPU @ 2.20GHz

GPU : NVIDIA RTX A6000 X2

GPU Driver Version : 552.74

Audio :

Installation

ALVR Version : 20.5

ALVR Settings File :

SteamVR Version : 2.74

Install Type:

  • Packaged (exe, deb, rpm, etc)
  • Portable (zip)
  • Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions):
Window 10

@zarik5
Copy link
Member

zarik5 commented Aug 13, 2024

Can you show the latency and fps graphs for both with and without "optimize game render latency"?

@G00dog
Copy link
Author

G00dog commented Aug 13, 2024

optimize on
optimize off

Looks like a needle is turning off the optimization game render latency

@zarik5
Copy link
Member

zarik5 commented Aug 13, 2024

Yeah that bug seems to be caused by SteamVR not respecting the framerate we set. To be honest though, disabling that setting is wrong usage of the OpenVR driver API (the implementation details are quite complex). This works on Windows, but on Linux the implementation is completely different and that part of the code is skipped altogether.

So I think at this point we should remove the option as forcing it to true.

Anyway your first graph looks perfect (apart from the staircase issue, which will be fixed). I don't see any fps drop.

@Vixea
Copy link
Collaborator

Vixea commented Aug 13, 2024

I think the issue is frame pacing here if you look at the graph even if the avg server fps is the clients I wouldn't be surprised if those small dips are noticeable?

@Vixea
Copy link
Collaborator

Vixea commented Aug 13, 2024

Anyway I don't get the lower util as being a bug its not its like complaining your browser isn't using 100% of your cpu

@G00dog
Copy link
Author

G00dog commented Aug 15, 2024

optimize on optimize off

This image shows the difference in frame drops when 'Optimize Game Render Latency' is turned on versus turned off.
I thought that if the GPU usage was as high with 'Optimize Game Render Latency' turned on as it is when it's turned off, it might result in better performance.
(Please understand that I’m not very knowledgeable about computers.)

@The-personified-devil The-personified-devil added windows This seems to be window-specific bug Something isn't working labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows This seems to be window-specific
Projects
None yet
Development

No branches or pull requests

4 participants