[Bug] Unity Game Scaling Issue #567

Open
opened 2025-01-22 17:40:14 +00:00 by GregoireLD · 4 comments
GregoireLD commented 2025-01-22 17:40:14 +00:00 (Migrated from github.com)

Description of the issue

When using the Metal Backend, with non-native scaling, the screen gets cropped proportionally, and the rest of the screen is either mostly black of flashing depending on the context.

I know the metal backend is still early in the work, and I don't expect a quick fix, I just wanted to make sure this was appropriately documented.

Reproduction steps

Select the Metal Backend, then select any scaling factor beside the native one.
Start any game, part of the game screen should remain blank.

Log file

Ryujinx_Canary_1.2.285_2025-01-22_18-29-07.log

OS

macOS

Ryujinx version

1.2.285

Game version

No response

CPU

Apple M1 Max

GPU

Apple M1 Max

RAM

32Go

List of applied mods

No response

Additional context?

2x scaling:
Image

4x scaling:
Image

### Description of the issue When using the Metal Backend, with non-native scaling, the screen gets cropped proportionally, and the rest of the screen is either mostly black of flashing depending on the context. I know the metal backend is still early in the work, and I don't expect a quick fix, I just wanted to make sure this was appropriately documented. ### Reproduction steps Select the Metal Backend, then select any scaling factor beside the native one. Start any game, part of the game screen should remain blank. ### Log file [Ryujinx_Canary_1.2.285_2025-01-22_18-29-07.log](https://github.com/user-attachments/files/18509561/Ryujinx_Canary_1.2.285_2025-01-22_18-29-07.log) ### OS macOS ### Ryujinx version 1.2.285 ### Game version _No response_ ### CPU Apple M1 Max ### GPU Apple M1 Max ### RAM 32Go ### List of applied mods _No response_ ### Additional context? 2x scaling: ![Image](https://github.com/user-attachments/assets/421f79ff-1acf-44d3-9ded-74b972355f4b) 4x scaling: ![Image](https://github.com/user-attachments/assets/e7a26029-a15a-4092-853b-025864a8b86b)
GreemDev commented 2025-01-22 17:40:57 +00:00 (Migrated from github.com)

As a temporary workaround I'll probably just clamp the scaling to 1 when the selected backend is Metal.

As a temporary workaround I'll probably just clamp the scaling to 1 when the selected backend is Metal.
GreemDev commented 2025-01-29 21:24:16 +00:00 (Migrated from github.com)

Oh it's a Unity game.
Unity games have this scaling issue on any backend it seems.

Oh it's a Unity game. Unity games have this scaling issue on any backend it seems.
GregoireLD commented 2025-01-30 01:07:05 +00:00 (Migrated from github.com)

Oh true ! I didn't notice that. Indeed the issue is (as far as my tests goes) only seen on Unity games.
Yet, there might be scaling issues on the other backends, but so far, this specific "blacking" issue only occurred on Metal for me (Balatro, Cat Quest, 7 billion humans to list a few). Hope it helps

Oh true ! I didn't notice that. Indeed the issue is (as far as my tests goes) only seen on Unity games. Yet, there might be scaling issues on the other backends, but so far, this specific "blacking" issue only occurred on Metal for me (Balatro, Cat Quest, 7 billion humans to list a few). Hope it helps
Otozinclus commented 2025-02-02 20:28:27 +00:00 (Migrated from github.com)

You can fix this issue by manually selecting the resolution under the "View" tab in the UI, after the game launched

You can fix this issue by manually selecting the resolution under the "View" tab in the UI, after the game launched
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MeloNX/Ryujinx-ryubing#567
No description provided.