Emulator Issues #13654
openLaunching Mario Kart from Wii Menu results in lower resolution
0%
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
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.
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.)
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.