Skip to content
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

XEMU resolution scaling prevents Metal Arms from booting #1029

Open
zstorm4 opened this issue Jun 4, 2022 · 5 comments
Open

XEMU resolution scaling prevents Metal Arms from booting #1029

zstorm4 opened this issue Jun 4, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@zstorm4
Copy link

zstorm4 commented Jun 4, 2022

Title

https://xemu.app/titles/5655000a/

Bug Description

Metal arms will not initialize FMVs/main menu unless scaling is turned off or below 4x at game start.

To reproduce issue:
Start game with scaling enabled
Wait for game to start
Continue waiting
Disable scaling, game starts immediately.

Additionally, scaling causes FMVs to play at a slower rate proportionally to scaling. 2x and 3x produces same results as 1x, but anything above causes stuttering that gets worse at higher scales.

Here is a video of the issue. For posterity's sake I didn't wait, but the loading screen has appeared for upward of 10 minutes.
https://youtu.be/2e-dTMTN_aU

Expected Behavior

Boot game, game loads into FMVs

xemu Version

Version: 0.7.28
Branch: master
Commit: 176b574

System Information

CPU: AMD Ryzen 7 3700X 8-Core Processor
OS Version: Windows 10
Manufacturer: NVIDIA Corporation
GPU Model: NVIDIA GeForce RTX 3070/PCIe/SSE2
Driver: 4.0.0 NVIDIA 511.79
Shader: 4.00 NVIDIA via Cg compiler

Additional Context

No response

@zstorm4 zstorm4 added the bug Something isn't working label Jun 4, 2022
@RinMaru
Copy link

RinMaru commented Jun 4, 2022

it boots just fine for me same build, FMVs do stutter though

RX6700XT
5600X
Windows 11

@zstorm4
Copy link
Author

zstorm4 commented Jun 5, 2022

it boots just fine for me same build, FMVs do stutter though

RX6700XT
5600X
Windows 11

Maybe a difference b/w Nvidia/AMD? I can recreate pretty reliably

@RinMaru
Copy link

RinMaru commented Jun 5, 2022

it boots just fine for me same build, FMVs do stutter though
RX6700XT
5600X
Windows 11

Maybe a difference b/w Nvidia/AMD? I can recreate pretty reliably

possibly cause aside from video lag i get ingame just fine

@zstorm4
Copy link
Author

zstorm4 commented Jun 12, 2022

Attached a video of the issue to the original description

@abaire
Copy link
Contributor

abaire commented Jun 14, 2022

I'd suggest looking at the depth buffer format used by this game to see if this is a dup of #278. There is something pathological with the AMD driver and 24s8 depth textures that causes massive amounts of time to be spent doing CPU-based conversion. I'd expect any increase in resolution to increase the amount of time spent.

You can also run a profiler to see if an unusual amount of time is spent in the driver in some other conversion function, comparing profiles at different resolutions to see if something jumps out when the scale is increased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants