Project

General

Profile

Actions

Emulator Issues #13654

open

Launching Mario Kart from Wii Menu results in lower resolution

Added by nibblet 2 months ago. Updated about 2 months ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?
Mario Kart Wii

Game ID? (right click the game in the game list, Properties, Info tab)

RMCP01 (00010004524d4350)

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

e7b1ff1fabb0789482ce2cb0661d986e

What's the problem? Describe what went wrong.

Game is loaded at a much lower resolution when launched from the Wii Menu compared to when lauched directly from dolphin.

What steps will reproduce the problem?

Directly launch the game from Dolphin, game is loaded at a high resolution. Close it, set it as Default ISO, then open Wii Menu. Launch game from the menu. Game is much lower resolution.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes - 2409-205

Is the issue present in the latest release? For future reference, please also write down the version number of the latest release.

Yes - 2409

If the issue isn't present in the latest release, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[First broken version number here (if applicable)]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

Processor 12th Gen Intel(R) Core(TM) i5-12450H 2.00 GHz
Installed RAM 16.0 GB (15.7 GB usable)
Device ID 9616E4E2-1A62-4E7D-9988-91871E60C206
GPU - NVIDIA GeForce RTX 3050 Laptop

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)


Files

Screenshot (143).png (1.25 MB) Screenshot (143).png When launched from Wii Menu nibblet, 10/21/2024 07:47 AM
Screenshot (142).png (1.23 MB) Screenshot (142).png When launched directly nibblet, 10/21/2024 07:47 AM
GFX.ini (731 Bytes) GFX.ini nibblet, 10/22/2024 04:31 PM
Actions #1

Updated by pokechu22 2 months ago

I'm unable to reproduce this issue, though I'm using the US version of the game and it's possible that something weird is happening with the European version. Can you attach your GFX.ini configuration file?

Actions #2

Updated by nibblet 2 months ago

pokechu22 wrote in #note-1:

I'm unable to reproduce this issue, though I'm using the US version of the game and it's possible that something weird is happening with the European version. Can you attach your GFX.ini configuration file?

Sure, here

Actions #3

Updated by pokechu22 about 2 months ago

  • Status changed from New to Accepted

Looks like this only happens with Internal Resolution set to Auto and Anti-Aliasing enabled. "Auto-adjust window size" may also need to be disabled.

Actions #4

Updated by pokechu22 about 2 months ago

Looks like this happens because the game changes while the screen is blanked, meaning the XFB height (given to VI) is set to 0. Normally, that doesn't cause issues, because we don't do anything when the game starts. But Mario Kart Wii has MSAA = 0 in the GameINI (apparently because it caused bloom issues?), so if antialiasing was enabled beforehand, we need to recreate the EFB by CheckForConfigChanges calling FramebufferManager::RecreateEFBFramebuffer. Since this happens while the screen is blanked, when RecreateEFBFramebuffer calls CreateEFBFramebuffer calls CalculateTargetSize calls Presenter::AutoIntegralScale, m_last_xfb_height is 0, so target_aspect_ratio is 640 / 0 which ends up being inf, which messes up everything.

We should probably check if the XFB size changed in Presenter::SetBackbuffer, in addition to the window size. I'm also not sure if we really need MSAA disabled on Mario Kart Wii (and other games), since I think Graphics Mods can handle the bloom. (And it seems like the graphics config widget isn't visually indicating that MSAA is being reset, which isn't good.)

Actions #5

Updated by nibblet about 2 months ago

pokechu22 wrote in #note-3:

Looks like this only happens with Internal Resolution set to Auto and Anti-Aliasing enabled. "Auto-adjust window size" may also need to be disabled.

Temporary fix would be to disable Anti-Aliasing then. Thanks.

Actions

Also available in: Atom PDF