-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
WPF applications will prevent Nvidia Control Panel to change display modes #9286
Labels
External Non-WPF Issue
External issue, not caused by WPF
Investigate
Requires further investigation by the WPF team.
Comments
I think a better way to solve this problem is to connect NVIDIA for help. We can keep gathering some more information and collect more reports while we wait to connect NVIDIA for help. |
This was referenced Jun 25, 2024
Open
I think the second to last link states it pretty clearly:
|
@miloush Yeah, but maybe Nvidia can fix it. And I test the empty wpf application with software render also can repro this issues. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
External Non-WPF Issue
External issue, not caused by WPF
Investigate
Requires further investigation by the WPF team.
Description
We have identified a recurring issue with applications developed using the WPF, which prevents the NVIDIA Control Panel from changing display modes on laptops.
Specifically, when the WPF-based application (v2rayN) is running, the NVIDIA Control Panel fails to automatically switch between integrated and dedicated GPUs.
This issue has been observed across multiple versions of the v2rayN application and various laptop models and configurations
Attempts to resolve this issue by modifying hardware acceleration settings in the WPF application have been failed.
https://github.com/2dust/v2rayN/pull/3493/files#diff-96773009aed874ddc50e8da8fb0d2a82ba83e862fb01c323de31a8e573bbadfdR203
Reproduction Steps
Click this message to enter the NVIDIA control panel, and a pop-up window will appear saying "Applications blocking display mode change". v2rayN will be listed in the window.
This is a minimal example of creating a WPF program without any modifications using Visual Studio
2dust/v2rayN#5255 (comment)
Expected behavior
It should not have any impact on the automatic switching feature of this display mode
Actual behavior
See a pop-up message in the bottom left corner saying "Unable to change display mode"
Regression?
No response
Known Workarounds
No response
Impact
Probably a laptop with an Nvidia graphics card and an integrated graphics card.
Although my previous laptop also had this configuration (R7 5800H, RTX 3060), but there were no relevant settings in the Nvidia Control Panel and I couldn't test them
Configuration
Other information
Related issue:
2dust/v2rayN#5255
2dust/v2rayN#3695
2dust/v2rayN#2981
QL-Win/QuickLook#1126
QL-Win/QuickLook#1450 (comment)
microsoft/PowerToys#31825
microsoft/PowerToys#27684
microsoft/PowerToys#14677
Closing Blocking Programs
NVIDIA Advanced Optimus Overview
Steamwebhelper.exe blocking Advanced Optimus notebook display mode switch
The text was updated successfully, but these errors were encountered: