Project

General

Profile

Emulator Issues #8956

Memory stride is too small

Added by GodofGrunts over 4 years ago. Updated about 4 years ago.

Status:
Fixed
Priority:
High
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name? Paper Mario: Thousand Year Door

Game ID? G8ME01

What's the problem? Describe what went wrong in few words.

Try to talk to a guy that shows you where to go, game crashes with error message "Warning: Memory stride is too small"

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

4.0-7670

What are your PC specifications?

AMD FX(tm)-8350 Eight-Core Processor @ 4.0GHz
GK104 [GeForce GTX 680]
8GBs of RAM

Is there any other relevant information?

At request of IRC, I tried with dual-core turned off, but that did not help. I have cheats enabled and all of the ones available turned on.

I can only upload 5MBs for some reason, but here is a link to the save state

https://drive.google.com/file/d/0BwsxjZgoR544cXFCM2IxZ2F1S1U/view?usp=sharing


Related issues

Has duplicate Emulator - Emulator Issues #9075: Super Paper Mario crashes during the prologDuplicate

Has duplicate Emulator - Emulator Issues #9078: Wreckless: The Yakuza Missions - Memory Stride Too SmallDuplicate

Has duplicate Emulator - Emulator Issues #9095: Spider-Man (TM): Memory Stride Too SmallDuplicate

Has duplicate Emulator - Emulator Issues #9084: Metroid Prime Trilogy - Metroid Prime infinite Warning messages: "Memory stride is too small"Duplicate

History

#1 Updated by phire over 4 years ago

  • Status changed from New to Accepted

Error message was added in 4.0-7630, Happens when the game tries to do a copy with a stride smaller that the width of the texture.
Actually there is a slight bug, so the stride has to be 32 times smaller than the width to trigger this assert.

The correct behavior for a copy where the stride is less than the width of the texture is unknown, do we pad the stride up, truncate the width or is the game expecting a corrupted texture?

#2 Updated by phire over 4 years ago

So, the game is trying to do a 1024x1024 efb copy, with a stride of 1 cacheline (32 bytes)
Which is kind of invalid.

Note: 1024x1024 is the size you get when you write 0xffffffff (or -1) to the efb copy size register.

#3 Updated by phire over 4 years ago

It would be helpful if I could also get the memory card gci from the save point just to the right of that location as it would be more portable across versions.

I would make it myself, but the game isn't letting me without the original memory card.

#4 Updated by GodofGrunts over 4 years ago

Helios747 said that my memory card file would be fine to give you. This is the save point just right of the location like you asked.

https://drive.google.com/file/d/0BwsxjZgoR544M1pqNlRlbUZfY1E/view?usp=sharing

#5 Updated by dexsword over 4 years ago

Am also receiving the error for the same reason

#6 Updated by phire over 4 years ago

#7 Updated by phire over 4 years ago

  • Milestone set to Current

#8 Updated by phire over 4 years ago

  • Regression changed from No to Yes

#9 Updated by JMC4789 over 4 years ago

#10 Updated by wildgoosespeeder over 4 years ago

I can confirm this issue is still present in 4.0-8137.

#11 Updated by JosJuice over 4 years ago

#12 Updated by MayImilae over 4 years ago

  • Has duplicate Emulator Issues #9084: Metroid Prime Trilogy - Metroid Prime infinite Warning messages: "Memory stride is too small" added

#13 Updated by MayImilae over 4 years ago

  • Has duplicate deleted (Emulator Issues #9084: Metroid Prime Trilogy - Metroid Prime infinite Warning messages: "Memory stride is too small")

#14 Updated by MayImilae over 4 years ago

  • Related to Emulator Issues #9084: Metroid Prime Trilogy - Metroid Prime infinite Warning messages: "Memory stride is too small" added

#15 Updated by MayImilae over 4 years ago

#16 Updated by MayImilae over 4 years ago

#17 Updated by MayImilae over 4 years ago

#18 Updated by MayImilae over 4 years ago

#19 Updated by MayImilae over 4 years ago

#20 Updated by MayImilae over 4 years ago

#21 Updated by MayImilae over 4 years ago

  • Related to deleted (Emulator Issues #9084: Metroid Prime Trilogy - Metroid Prime infinite Warning messages: "Memory stride is too small")

#22 Updated by MayImilae over 4 years ago

  • Has duplicate Emulator Issues #9084: Metroid Prime Trilogy - Metroid Prime infinite Warning messages: "Memory stride is too small" added

#23 Updated by kolano over 4 years ago

This also effects Surf's Up (Wii).

#24 Updated by BTR over 4 years ago

Got this on "Rainbow Islands Towering Adventure", PAL version
Appears in story mode, after Dr. Crescent appears (first cutscene before gameplay in story mode)

Dolphin 4.0 - 8490
Win7
i5-4570 @ 3.20GHz
8,00GB RAM
GeForce GTX 760

#25 Updated by delroth over 4 years ago

  • Status changed from Accepted to Work started
  • Assignee set to phire

#26 Updated by phire over 4 years ago

  • Status changed from Work started to Fix pending
  • Assignee deleted (phire)

Fix pending in pull request #3480

#27 Updated by phire over 4 years ago

  • Assignee set to phire

#28 Updated by JosJuice over 4 years ago

  • Status changed from Fix pending to Fixed

#29 Updated by DimentioDecipher about 4 years ago

JosJuice wrote:

Should be fixed by 4.0-8849. https://dolphin-emu.org/download/dev/cf20ff48aa84750e0c8b549d9d4ce846d76a1f47/
I have downloaded this, and it wasn't fixed.
It no longer says "Memory stride is too small", but instead just crashes.

#30 Updated by phire about 4 years ago

@DimentioDecipher Could you please open a new bug report all the details about which game is crashing and where, and details about your hardware/operating system

Also available in: Atom PDF