Project

General

Profile

Actions

Emulator Issues #11464

open

Immediately Present XFB + Toggle Load Custom Textures Freeze

Added by Admentus over 5 years ago. Updated over 5 years 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?

The Legend of Zelda: Ocarina of Time Master Quest

Game ID? (right click the game in the game list, properties, info tab)

D43E01

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

1e23afc69bff50a7d20f32c5b739dc06

What's the problem? Describe what went wrong.

So I found another issue.

When running The Legend of Zelda: Ocarina of Time Master Quest (D43E01) the game will completely freeze when enabling Load Custom Textures ingame if Immediately Present XFB is already enabled. Toggling the Load Custom Textures option will not freeze the game if Immediately Present XFB is not enabled. Enabling Load Custom Textures does not cause a freeze if you are in the pause menu, but as soon you exit the pause menu and go into gameplay again the game freezes. Disabling Load Custom Textures never causes a freeze. The game does not freeze if both Immediately Present XFB and Load Custom Textures were enabled prior to booting the game (custom textures load in perfectly).

If you are encountering a freeze, you can still control Dolphin itself. Only the game freezes, not Dolphin itself. You can actually load an earlier save state to get rid of the freeze. You can also of course open the settings or stop emulating the game. But once the game freezes, you can not unfreeze it by disabling Immediately Present XFB.

Of course, the issue only occurs if the texture pack for the game is being used and loaded. Prefetch Textures was disabled.

Used settings:

  • The DDS BC7 texture pack was used of the Zelda: Collector's Edition HD Texture Pack. Preliminary V2.6 (V2.5 and earlier versions have the same issue).
  • Prefetch textures were disabled. Doesn't matter if enabled.
  • Cheats were disabled.
  • The backend does not matter, tested with Vulkan, OpenGL and D3D11.
  • No save states were issued to trigger the issue.
  • Tested with default graphic settings, except for Immediately Present XFB of course (which is being enabled).

The game only requires Immediately Present XFB to fix a visual issue that only occurs during the booting of either Ocarina of Time (Normal Quest) or Master Quest (the disc contains two versions of Ocarina of Time). Without Immediately Present XFB enabled you would see a pink loading screen for a few seconds. The game never needs Immediately Present XFB afterwards during the game.

In addition with some further testing, the same issue also occurs if Prefetch Custom Textures is disabled during gameplay while Load Custom Textures and Immediately Present XFB were already enabled.

What steps will reproduce the problem?

  1. Download the Zelda: Collector's Edition HD Texture Pack, rename it D43 and place it in the folder for loading custom textures.
  2. Open Dolphin.
  3. Enable Immediately Present XFB and disable Load Custom Textures.
  4. Load The Legend of Zelda: Ocarina of Time Master Quest.
  5. Select your game version. Doesn't matter really. The issue occurs in both Ocarina of Time (Normal Quest) and Master Quest.
  6. Go to the File Select Menu and select a file.
  7. Make sure you are in control of Link. If it is a new file you should preferable wait until Link is in control.
  8. Open the Graphics Config menu, go to the Advanced tab and enable Load Custom Textures.
  9. Watch the game freeze, through Dolphin itself is still in control.

Alternatively:

  1. Redo steps 1-2.
  2. Enable Immediately Present XFB, enable Load Custom Textures and Prefetch Custom Textures instead.
  3. Redo steps 4-7.
  4. Open the Graphics Config menu, go the the Advanced tab and disable Prefetch Custom Textures instead.
  5. Watch the game freeze, through Dolphin itself is still in control.

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. 5.0-9117.

Is the issue present in the latest stable version?

No. Dolphin 5.0 did not support Hybrid XFB yet (and in specific Immediately Present XFB).

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

5.0-6568

5.0-6568 refers to -> Config: Set bMMU to true by default on x64
https://dolphin-emu.org/download/dev/43c92c8b1673eb1680fc059a973693c030061efc/

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)

Windows 10 x64
Intel Core i5-8600k 3.6 GHz
Nvidia Geforce GTX 1070, 8 GB VRAM
32 GB RAM, DDR4, 2400 MHz
Xbox One Wireless Controller (V3) with Wireless Windows Adapter, Keyboard & Mouse

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

Download and use the texture pack for The Legend of Zelda: Collector's Edition. The Texture pack thread on the forums is found at: https://forums.dolphin-emu.org/Thread-zelda-collector-s-edition-hd-texture-pack-v2-1-2018-03-27. The download link is found at: https://forums.dolphin-emu.org/Thread-zelda-collector-s-edition-hd-texture-pack-v2-1-2018-03-27?pid=483087#pid483087

Actions #1

Updated by Admentus over 5 years ago

Never mind the title. It should be "Immediately Present XFB + Toggle Load Custom Textures Freeze" instead.

Actions #2

Updated by JosJuice over 5 years ago

  • Subject changed from Thread Modes Immediately Present XFB + Toggle Load Custom Textures Freeze to Immediately Present XFB + Toggle Load Custom Textures Freeze
Actions #3

Updated by JMC4789 over 5 years ago

Interesting that it's causing the game itself to crash. It's probably a mistake somewhere in the XFB copy code...

Actions #4

Updated by JMC4789 over 5 years ago

  • Assignee set to Stenzek
Actions

Also available in: Atom PDF