Project

General

Profile

Actions

Emulator Issues #12787

closed

GPU Texture Decoding is incompatible with Arbitrary MipMaps.

Added by Mario32 over 2 years ago. Updated over 2 years ago.

Status:
Won't fix
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?

Super Mario Galaxy 2

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

SB4E01

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

09a28c6fc53435b2d478516aac50055c

What's the problem? Describe what went wrong.

I looked at the wiki and saw the section https://wiki.dolphin-emu.org/index.php?title=Super_Mario_Galaxy_2#Higher_IR_Affects_Fog. It describes how issue 9712 details that the fog was broken when the Internal Resolution was set above 1x -- getting worse the higher it went. It and issue 9712 say that this bug was fixed by 5.0-5745 (https://dolphin-emu.org/download/dev/master/5.0-5745/) in 2017. However I am running the latest development version and the problem looks exactly like the screenshots on the wiki. I first noticed this in July 2021, when I was running 14344, so this is probably not an extremely new problem (though it was certainly fixed at one point as seen in the last screenshot of this section https://dolphin-emu.org/blog/2017/11/03/dolphin-progress-report-october-2017/#50-5745-add-heuristic-for-detecting-custom-mipmaps-by-tomcc).

What steps will reproduce the problem?

Go to the character select screen in the game. Set resolution to 1x, other settings don't seem to matter at all (this happens with default ones for sure). Look at the clouds behind the file symbols. Increase resolution to 2x, 3x, 4x, etc. and see how they progressively disappear.

Also----- may warrant another issue but I noticed that turning on anisotropic filtering to any setting other than 1x causes the same kind of problem and when combined it gets even worse.

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. I am running 15731 from like an hour ago.

Is the issue present in the latest stable version?

Presumably -- there wasn't even an attempt to fix this until after 5.0 came out.

If the issue isn't present in the latest stable version, 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.)

N/A

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

Here's an Imgur gallery with screenshots from the file select (today) and Starship's deck (taken in July). Anisotropic examples at the end: https://imgur.com/a/3Lqu2lg

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

Windows Version 10.0.19043 Build 19043

RTX 2070

Intel Core i7-10750H CPU @ 2.60GHz, 2592 Mhz, 6 Core(s), 12 Logical Processor(s)

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

N/A

Actions #1

Updated by AdmiralCurtiss over 2 years ago

You need to turn on the 'Arbitrary Mipmap Detection' option (under Graphics -> Enhancements) for this to work, IIRC.

Actions #2

Updated by AdmiralCurtiss over 2 years ago

(GPU Texture Decoding under Hacks needs to be off too, the two options are not cross-compatible.)

Actions #3

Updated by Mario32 over 2 years ago

Pikachu025 wrote:

(GPU Texture Decoding under Hacks needs to be off too, the two options are not cross-compatible.)

Ah! ok yeah I turned off the GPU thing and it's gone now. Neither IR nor Filtering mess it up now. Arbitrary Mipmap Detection also needs to be on for it to work.

I'm curious, why does it need to not have GPU decoding on and could that be fixed? GPU would be faster on my computer and many others (though idk if this is significant enough for performance to bother messing with).

Thanks for the quick reply!

Actions #4

Updated by JMC4789 over 2 years ago

  • Subject changed from Non-native IR and >1x Anisotropic Filtering still mess up mipmap fog in Super Mario Galaxy 2 to GPU Texture Decoding is incompatible with Arbitrary MipMaps.
  • Status changed from New to Won't fix

Because we need to be able to look at the mipmaps with the CPU in order to tell if they are mucked with. The reason GPU texture decoding is faster is that the CPU is no involved, so if we check the mipmaps, the whole benefit of GPU Texture decoding is lost.

This is just the reality of the situation.

Actions

Also available in: Atom PDF