File-New-Project / EarTrumpet

EarTrumpet - Volume Control for Windows
https://eartrumpet.app
Other
8.87k stars 513 forks source link

EarTrumpet Blocking Display Mode Change NVIDIA #1464

Closed Reggie119 closed 7 months ago

Reggie119 commented 12 months ago

Summary

When the laptop is set to Automatic Display Mode Switch(Advanced Optimus or Hybrid Mode in my case through Lenovo Vantage) while EarTrumpet is running auto switching is blocked.

My laptop is the Lenovo LOQ i7 13700h RTX 4060

Screenshot 2023-10-06 014801

No problems when EarTrumpet is not running.

Steps to reproduce

Select hybrid mode on lenovo vantage software. Have eartrumpet running

Attempt to start a 3D application or game. In my case I used 3DMark.

NVIDIA will attempt to switch GPUs several times but fail due to EarTrumpet.

EarTrumpet version

2.3.0.0

Windows version

10.0.22621.2361

Additional information

NVIDIA Display Driver Version 537.42

Troubleshooting Data:

tmp364D.tmp.txt

riverar commented 12 months ago

That's interesting because we force the app into software rendering

https://github.com/File-New-Project/EarTrumpet/blob/bde6b6b6d698bbe85a55733f4e4de28129abceb9/EarTrumpet/App.xaml.cs#L45-L48

If you open that terrible GPU activity app (NVIDIA control panel > Desktop > Display GPU Activity In Notification Area), does EarTrumpet show up at all?

Reggie119 commented 12 months ago

Nope. EarTrumpet does not show up.

image
AudreyAP commented 10 months ago

I mistakenly commented on #771 as well, but I am having this issue on current eartrumpet.

I tested the latest dev release from actions (23.0.1.12) and the issue exists there too.

riverar commented 10 months ago

I can't reproduce this locally and NVIDIA doesn't seem to have any documentation on what this feature does. I'll ask around but it's going to be tough to move forward on this issue without more info.

Edit: Posted on NVIDIA developer forums https://forums.developer.nvidia.com/t/why-is-our-app-showing-in-the-nvidia-optimus-applications-blocking-display-mode-change-dialog/273941

AudreyAP commented 10 months ago

Not even Microsoft knows how to do it properly, apparently - the "phone link" app has the same issue.

mikooomich commented 10 months ago

This could have something to do with HDMI audio and/or putting the laptop to sleep. IIRC disabling all the HDMI audio outputs seems to resolve this on my end for the most part. My display outputs are routed through the dGPU.

blackk100 commented 9 months ago

I am also facing this issue on the latest EarTrumpet release (2.3.00); Windows 11 22631.2861; also on a Lenovo (Legion Slim 5 16APH8, Ryzen 7 7840HS, RTX 4060).

I can force the display output to change using the NVIDIA control panel/dynamic display mode tray icon, but Advanced Optimus fails. Disabling HDMI audio outputs doesn't resolve it in my case.

riverar commented 9 months ago

Thanks for the data @blackk100, I'm hoping for feedback from NVIDIA. The US is mostly on holiday break so I don't expect a response for a few additional weeks.

blackk100 commented 7 months ago

I no longer have this issue on v551.52 of the GeForce driver.

riverar commented 7 months ago

Thanks for the heads up @blackk100. I reached out to NVIDIA again but with their laser focus on AI at the moment, doubt we'll ever hear back. Closing this for now, but if anyone still has this issue with 551.52 or higher, please let us know.