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

Laptop Unable to Switch Between Integrated Graphics and GPU When WakaTime Extension is Enabled #179

Open
l-Nuril-l opened this issue Oct 18, 2024 · 3 comments

Comments

@l-Nuril-l
Copy link

l-Nuril-l commented Oct 18, 2024

Description:
I am experiencing an issue with my ASUS TUF Gaming A17 (2023) laptop when using the WakaTime extension in Visual Studio. Specifically, the following problems occur:

  1. When the WakaTime extension is enabled, my laptop cannot switch between the integrated graphics and the dedicated GPU (NVIDIA GeForce RTX 40xx). This switching normally happens automatically based on the workload but stops functioning with the extension active.

  2. Even after I close Visual Studio, a background process related to the extension seems to persist, which prevents my laptop from functioning properly. Without the WakaTime extension, Visual Studio closes completely without leaving any residual processes, and my laptop behaves as expected.

Steps to Reproduce:

  1. Install WakaTime extension in Visual Studio.
  2. Use Visual Studio for some time and monitor graphics switching.
  3. Close Visual Studio and check for any leftover processes in Task Manager or system monitor.

Expected Behavior:

  • The laptop should be able to switch between the integrated graphics and GPU as needed.
  • Visual Studio should close completely without leaving background processes after exiting.

Actual Behavior:

  • The laptop is stuck on one GPU and cannot switch between the integrated graphics and the dedicated GPU.
  • A leftover process remains running after Visual Studio is closed, causing performance issues.

System Info:

  • Laptop: ASUS TUF Gaming A17 (2023)
  • GPU: AMD Integrated and NVIDIA GeForce RTX 4050
  • Operating System: Windows 11
  • Visual Studio Version: 17.11.4
  • WakaTime Extension Version: 13.5.3

Additional Info:
The issue only occurs when the WakaTime extension is enabled. Disabling or uninstalling the extension resolves the issue completely.
In Visual Studio Code the extension works fine.

image
image

@gandarez
Copy link
Member

WakaTime does not require GPU time to work, so I think it's not directly related to the extension itself.

@alanhamlett
Copy link
Member

@l-Nuril-l can you re-install the WakaTime extension in your VS and see if it's still happening? The extension is pretty basic, executing wakatime-cli same as the vscode extension so there's no reason it should interact or block your GPU settings.

@l-Nuril-l
Copy link
Author

@l-Nuril-l can you re-install the WakaTime extension in your VS and see if it's still happening? The extension is pretty basic, executing wakatime-cli same as the vscode extension so there's no reason it should interact or block your GPU settings.

It's still happening. The issue hasn't been resolved even after reinstalling the WakaTime extension in VS.

@alanhamlett alanhamlett reopened this Nov 20, 2024
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