[Feature Request/BUG resolvement] Allow to use iGPU (Integrated GPU) instead of dGPU (Dedicated GPU)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
There was already an issue for this but it is closed and seems to be ignored - so hereby a feature request to get it solved:
https://github.com/microsoft/WSL/issues/8931
I and many others are having the issue with Notebooks/Tablets which have a iGPU and dGPU that WSL is always using the dGPU - which causes the battery to drain really fast - in my case, when connected to a dockingstation at work, the docking station cannot keep the battery charged when my Nvidia RTX 3080 TI gets used by WSL even though the only thing running is a terminal and that's it.
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
One or multiple of the following solutions:
1. Allow setting a default GPU to use
2. Allow switching the GPU to be used during the WSL session (for example if you need more performance)
3. Allow setting the GPU to be used per application/command in WSL - as you can already do in Window's Graphics Settings
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
1. Using my Notebooks ECO mode (it's a Asus Zephyrus M16, so it allows me to turn off the dGPU, but sometimes you simply forget and get an empty battery).
2. Tried setting it using Windows Graphics Settings - both `wsl.exe` and `wslg.exe` - but it seems something else get's launched as I see below in my Armory Crate:

**Additional context**
Add any other context or screenshots about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by reviewing the linked WSL issue and the wsl.exe and wslg.exe GPU-launch behavior described here, then determine where GPU selection is controlled. Done should include a supported way to select iGPU or dGPU by default, session, or command, with behavior that avoids unintended dGPU battery drain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100