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

Application not detecting discrete GPU usage #4

Open
vadi2 opened this issue Jul 30, 2024 · 1 comment
Open

Application not detecting discrete GPU usage #4

vadi2 opened this issue Jul 30, 2024 · 1 comment

Comments

@vadi2
Copy link

vadi2 commented Jul 30, 2024

Description:
I am using nvtop to monitor my GPU usage. When I launch a game via Steam, nvtop shows that the game is indeed utilizing the discrete GPU. However, the application in question does not seem to recognize this and displays a message indicating otherwise.

Steps to Reproduce:

  1. Launch nvtop to monitor GPU usage.
  2. Start the game via Steam.
  3. Observe nvtop confirming the game is using the discrete GPU.
  4. Check the application's GPU usage status.

Expected Behavior:
The application should detect and display that the game is using the discrete GPU.

Actual Behavior:
The application does not recognize that the game is using the discrete GPU, as shown in the attached screenshot.

Screenshot:
image

System Information:

  • OS: Ubuntu 24.04 LTS
  • Hardware: Framework 16
@HenrikPoulsen
Copy link

HenrikPoulsen commented Aug 30, 2024

I think the description of what this tool does is wrong.
It doesn't actually check which gpu is being used.
From what I can see it only checks if the DRI_PRIME variable is set (it doesn't even check what value it has).
There's programs like for example slack, chrome, steam (not games, steam itself), discord that by default uses the dGPU, thus keeping it awake.
This tool will completely miss that since those applications do not have DRI_PRIME configured.
And if you configure DRI_PRIME to pick the iGPU this tool falsely flags that they are using the dGPU, since it doesn't look at what the actual value is

Edit:
Oh and the above applications ignore DRI_PRIME and will still use the dGPU regardless of what you try to do, so DRI_PRIME can't even be trusted it seems

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