Genymobile / Genymobile/scrcpy
Select Default GPU to render stream in command line argument.
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.8k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
- [x] I have checked that a similar [feature request](https://github.com/Genymobile/scrcpy/issues?q=is%3Aopen+is%3Aissue+label%3A%22feature+request%22) does not already exist.
**Is your feature request related to a problem? Please describe.**
display window keeps switching gpus to render stream.
i'm unable to pin scrcpy to a single gpu to use, even setting preferred gpu in windows graphics settings does not work.
i run a multi monitor setup, so normally i move the display window to another monitor.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
if i run another gpu resouce intensive app on the same gpu as scrcpy, both suffers.
scrcpy also changes which gpu to render on when moving to different monitors and maximising window.
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
add arguments to the command line on which gpu to use, and it will render the stream using that gpu.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
selecting preferred gpu to use in windows graphic settings in windows settings.
**Additional context**
Add any other context or screenshots about the feature request here.
i hope the attached following is helpful.
https://stackoverflow.com/questions/69466240/how-to-specify-particular-gpu-device-to-be-used-at-the-time-of-running-a-program
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Start by tracing scrcpy's command-line option handling and desktop rendering initialization, then determine how GPU selection behaves when the window moves between monitors or is maximized. Done means a documented command-line choice keeps rendering on the selected GPU in those cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, desktop, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100