Project

General

Profile

Actions

Emulator Issues #13410

open

Arbitrary mipmap detection not working correctly with D3D11 and OGL backends

Added by TheManuel 5 months ago. Updated 5 months ago.

Status:
New
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 Sunshine (easiest to check), perhaps others.

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

GMSE01

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

0c6d2edae9fdf40dfc410ff1623e4119

What's the problem? Describe what went wrong.

With D3D11 and OGL backends, the water on the savefile selection screen looks white up to a certain distance, whereas it is supposed to look blue/green, as described on the wiki:
https://wiki.dolphin-emu.org/index.php?title=Super_Mario_Sunshine#Texture_Filtering
With Vulkan, the water looks as intended.

What steps will reproduce the problem?

  1. Start dolphin with a brand new user folder, i.e., everything at default settings (which includes OpenGL as backend)
  2. Launch Super Mario Sunshine, skip video, click start on the title screen and look at the water in the background on the savefile selection screen
  3. Water will look white as in the attached picture with "OGL" at the end of the title
  4. Close game and repeat exercise with Direct3D11 backend, which should produce white water again, and compare to attached picture with "D3D11" at end of title
  5. Close game and repeat exercise once more with Vulkan backend, which will show greenish water and no white, as in attached pic with "VK" at end of title

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

Verified with latest development as of now: 5.0-20487

Is the issue present in the latest stable version?

Yes, verified also with Beta version: 5.0-20347

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.)

[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)

Intel Core i7-9700K, AMD RX 5700, 16GB DDR4 SDRAM, Windows 11 Pro

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

It's pretty easy to reproduce. Just let me know if you need anything else.


Files

Actions #1

Updated by pokechu22 5 months ago

I can't reproduce; everything looks normal for me. I'm guessing there are additional settings that are relevant.

Actions #2

Updated by TheManuel 5 months ago

pokechu22 wrote in #note-1:

I can't reproduce; everything looks normal for me. I'm guessing there are additional settings that are relevant.

Do you mean settings on the emulator or somewhere else?
I'm using an auto-created user folder for these tests to ensure everything is at defaults. I also played around with AMD driver settings, but nothing made any difference.
Is your GPU Intel or AMD?

Actions #3

Updated by pokechu22 5 months ago

I was referring to the dolphin settings, but driver settings could also be relevant in some cases.

I have an Nvidia GPU, but I also couldn't reproduce with my laptop's integrated Intel GPU+D3D11. I don't have easy access to an AMD GPU.

Actions #4

Updated by TheManuel 5 months ago

Thanks for checking, but how could we be testing with different dolphin settings if we both start with a new user folder?

Actions #5

Updated by pokechu22 5 months ago

Oh, I actually missed that you originally used a new user folder, my mistake (and thanks for doing it that way, as that is the best way to get into a consistent state... I just missed it). I tried testing with a new user folder on my side. So it's definitely a driver or GPU hardware difference.

Actions #6

Updated by TheManuel 5 months ago

Oh, bummer! It sounds like I might be out of luck.
Then perhaps a recent Radeon driver update must have broken it, because I used to have this working correctly with D3D11.
I'll have to check again every once in a while.

Thank you for trying to reproduce the issue.

Actions

Also available in: Atom PDF