Project

General

Profile

Actions

Emulator Issues #13680

open

Custom textures do not load when "Prefetch custom textures" is on

Added by SuperlimiNacho 27 days ago. Updated 26 days 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?

Mario Kart Wii

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

RMCP01

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

(Wiimmfi-patched and I didn't keep the original dump, so MD5 hash is likely irrelevant)

What's the problem? Describe what went wrong.

Using a HD texture pack, "Use custom textures" is checked.
When booting the game with "Prefetch custom textures" activated, the "Loaded 2646 textures" toast show up, but no custom texture is actually displayed ingame (only original ones).
When booting the game without "Prefetch custom textures" on, the "Found 2646 custom textures" toast appears, and custom textures are shown ingame (althrough the game is slower due to prefetching being disabled).

What steps will reproduce the problem?

  • Install this texture pack in {data-folder}/Load/Textures/RMC

  • Tick "Use custom textures" in Graphics

  • Tick "Prefetch custom textures" in Graphics

  • Launch RMCP01

  • RESULT : While "Loaded 2646 textures" is shown in the top left corner, no custom texture is used ingame. Only original textures.

  • Untick "Prefetch custom textures" in Graphics

  • Launch RMCP01

  • RESULT : Textures are shown correctly.

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, present in 2409-316

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

Yes, present in 2407

If the issue isn't present in the latest release, which is the first broken version?

Unknown, but at least reproducible since 2407.76

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

Fifologs in attachments.

To better distinguish between custom textures and vanilla ones, here's what custom main splash screen looks like :

And here's what vanilla looks like :

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

Main system :
CPU : Intel Core i7-1260P
GPU : Inte Iris Xe
OS : Fedora (Flatpak)

Successfully reproduced on :
CPU : Intel Core i5-3570k
GPU : Nvidia GTX 1060 3GB
OS : Batocera v40


Files

FIFO-without-preloading (4.06 MB) FIFO-without-preloading SuperlimiNacho, 11/24/2024 07:01 PM
FIFO-with-preloading (4.06 MB) FIFO-with-preloading SuperlimiNacho, 11/24/2024 07:01 PM
clipboard-202411242004-yk99n.png (209 KB) clipboard-202411242004-yk99n.png SuperlimiNacho, 11/24/2024 07:04 PM
clipboard-202411242005-crvpz.png (179 KB) clipboard-202411242005-crvpz.png SuperlimiNacho, 11/24/2024 07:05 PM
Actions #1

Updated by SuperlimiNacho 26 days ago

UPDATE : Textures do load after 20 to 30 minutes of playing the game. It seems to be a really slow background loading process.

Actions #2

Updated by iwubcode 26 days ago ยท Edited

That is the longest I've ever heard of, usually users will complain about a 30 second or 1 minute load. That CPU is over 10 years old though (released in 2012 ).

I did optimize the system with this PR: https://github.com/dolphin-emu/dolphin/pull/12916 which I would hope would resolve this issue. However, even that can be optimized.

So I am currently working on a new approach. This will replace the current asset management system and allow for Dolphin to be able to manage asset memory (something never attempted before) and improve performance further.

Actions

Also available in: Atom PDF