Blinue / Magpie

An all-purpose window upscaler for Windows 10/11.
GNU General Public License v3.0
9.69k stars 496 forks source link

Magpie doesn't scale at all #967

Open Bibe10 opened 4 months ago

Bibe10 commented 4 months ago

Magpie version 程序版本

0.11.1

Windows version 系统版本

Windows 11

Related screenshot (optional) 相关截图(可选)

No response

Reproduction steps 复现步骤

So I download Magpie for the first time, I used the short keys shift, windows and A to scale. Everything was okay. I changed the hotkeys to something simple like shift S. It worked 2 times and than suddenly magpie doesn't react to my game. Not with hotkeys or just scaling after 5 seconds. I reinstalled but still everything the same.

Log files 日志文件

magpie.1.log

Bibe10 commented 4 months ago

So It scales again but after a few times switching between the apps it doesn't scale anymore, the "Scale after 3s" is also disabled

Blinue commented 4 months ago

You've configured the scaling mode to scale by 30 times, but the GPU can't handle such a large image. I recommend adjusting your configuration to match the setup shown in the image below:

image

Bibe10 commented 4 months ago

The game scales but my main problem is that after a while it doesn't scale anymore. The scaling timer is also disabled and all what I can do is restart my computer which is frustrating.

Bibe10 commented 3 months ago

Can you please help me?

Blinue commented 3 months ago

Sorry for the delayed response. Could you provide new logs to help me troubleshoot the issue?

Bibe10 commented 3 months ago

magpie.1.log

Blinue commented 3 months ago

Does this issue occur with every game or only with RPCSims2?

Bibe10 commented 3 months ago

I only use it with sims 2. It is frustrating that the game doesn't scale anymore after switching a few times between the game and the webbrowser

Blinue commented 3 months ago

I'm not sure what happened, but the logs show some oddities.

Firstly, the logs indicate that Magpie does not try to disable the round corner during capture. This code is always executed on Windows 11, yet no log entry was created, suggesting that Magpie may have detected a different OS version.

https://github.com/Blinue/Magpie/blob/e7fa43a158ec2ebb3979b1e41e7a00f3ac0e306f/src/Magpie.Core/FrameSourceBase.cpp#L84-L96

logs:

2024-07-31 18:43:21.247|info|Renderer.cpp:426|_InitFrameSource|当前捕获模式: Graphics Capture 2024-07-31 18:43:21.546|info|GraphicsCaptureFrameSource.cpp:90|_Initialize|GraphicsCaptureFrameSource 初始化完成

Secondly, Magpie immediately attempted to rescale after the foreground window changed, which doesn't align with the code logic.

logs:

2024-07-31 18:43:40.601|info|ScalingWindow.cpp:481|_CheckSrcState|前台窗口已改变 2024-07-31 18:43:40.601|info|ScalingWindow.cpp:318|Render|源窗口状态改变,退出全屏 2024-07-31 18:43:45.429|info|ScalingOptions.cpp:40|Log|缩放选项 IsWindowResizingDisabled: false IsDebugMode: false ...

Are you running Magpie in a special environment, such as a virtual machine or compatibility mode?