-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(ddprobe): allow to manually specify gpu preference #3521
Conversation
@RebelliousX If you have time I have added a very stupid thing I would like to test regarding the ddprobe. Could you please try this build and see if it works (also with the ddprobe version that should supposedly fix the issue). That aside, I will soon add a manual override option and would also like you to test it. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3521 +/- ##
=========================================
- Coverage 8.44% 8.44% -0.01%
=========================================
Files 90 90
Lines 16069 16074 +5
Branches 7633 7636 +3
=========================================
Hits 1357 1357
- Misses 14214 14218 +4
- Partials 498 499 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sure thing, I am happy to test 😊 Using this PR's build installer, I didn't change the
Sunshine Log: GPU Preference is -1 (default)
Sunshine Log: GPU Preference is 0, works fine
Sunshine Log: GPU Preference is 1, not working
Sunshine Log: GPU Preference is 2, works fine
|
# Conflicts: # src/platform/windows/display_base.cpp
@RebelliousX ty for the testing! @ReenigneArcher I have reverted the |
If I make a suggestion here too. The current WebUI is not really user friendly (or noob friendly). Instead of asking the user to run This can be done when
And then parse the output text files for avaliable GPUs, Audio Outputs and Available Monitors too. The user shouldn't run these manually and should be able to select them from the WebUI. |
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
@RebelliousX I think that can be considered in another PR. Can you add it as a feature request? https://github.com/orgs/LizardByte/discussions |
For screen we have this PR #2490 But it would be great to have it for everything if we have the possibility to have the information. |
I will, it was not my intention to go off topic, I thought it was related to this that is why I mentioned this here. 👍🏻 @FrogTheFrog I believe the default value should be The streaming will be okay on both monitors (the physical and the virtual one) and on both GPUs (the dGPU -in my case the Nvidia GTX 1050ti, or the iGPU Intel UHD 630). What I mean by this, everything is chosen automatically and working fine when the value is 0. If I specify the Virtual monitor (VDD which has dGPU attached to it) with UUID and leave Adapter Name empty, and default GPU preference is If I leave the The current default value of |
I personally have no opinion on this. It probably works because VDD by MTT allows you to specify GPU or who knows... @ReenigneArcher opinions on this? |
Yeah, I kind of agree, and it is hard for you to determine which is best since you don't have a hybrid GPU setup to test. But it seems value of 0 is safe. The current default value of -1 is defaulting to 1 according to the logs from above and causes problems. Edit: Also what do you think about a drop down menu instead with values:
But again, -1 and 1 are the same according to the logs 🤔 So actual valid values are { 0, 1, 2 }. |
I think the current numbering is correct.
It would be difficult to have a drop down value, because there's no limit to how high the number can technically go. |
…rdByte#3521)" This reverts commit 6a233cb.
…rdByte#3521)" This reverts commit 6a233cb.
…aks DDA (LizardByte#3530) * Revert "feat(ddprobe): allow to manually specify gpu preference (LizardByte#3521)" This reverts commit 6a233cb. * Keep display revert delay input type change from 6a233cb * Remove ddprobe * feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA
Description
At the moment
ddprobe
does not always work (see #3414). This PR allows to manually specify the GPU preference instead of relying on theddprobe
.Screenshot
Issues Fixed or Closed
Type of Change
.github/...
)Checklist