DGP-Studio / Snap.Hutao

实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
https://hut.ao
MIT License
3.9k stars 185 forks source link

[Bug]: 场景切换后锁60帧 #1867

Closed DER329 closed 1 month ago

DER329 commented 1 month ago

检查清单

Windows 版本

22631.3880

Snap Hutao 版本

1.10.7.0

设备 ID

F3575DA245C7CA3F8C4EB09611DBDBFA

问题分类

其它

发生了什么?

在经典帧率解锁方式下 刚进入游戏能正常解锁高帧, 但只要切换场景后(秘境、尘歌壶等)后就会锁定60帧。 配置12700+3050笔记本(排除高温撞墙,游戏++跑了一遍) 在注入方式下 未出现以上问题 nv驱动536.45 官服

你期望发生的行为?

请留意

最后一步

dgp-bot[bot] commented 1 month ago

device_id: F3575DA245C7CA3F8C4EB09611DBDBFA

Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 58
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 152
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 115
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 58
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 152
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 115
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): 拒绝访问。

   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 58
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 152
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 115
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Masterain98 commented 1 month ago

使用注入模式

github-actions[bot] commented 1 week ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.