Project

General

Profile

Actions

Emulator Issues #8956

closed

Memory stride is too small

Added by GodofGrunts about 9 years ago. Updated over 8 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 4 (0 open4 closed)

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

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

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

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

Actions
Actions #1

Updated by phire about 9 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?

Actions #2

Updated by phire about 9 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.

Actions #3

Updated by phire about 9 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.

Actions #4

Updated by GodofGrunts about 9 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

Actions #5

Updated by dexsword almost 9 years ago

Am also receiving the error for the same reason

Actions #6

Updated by phire almost 9 years ago

Actions #7

Updated by phire almost 9 years ago

  • Milestone set to Current
Actions #8

Updated by phire almost 9 years ago

  • Regression changed from No to Yes
Actions #9

Updated by JMC4789 almost 9 years ago

Actions #10

Updated by wildgoosespeeder almost 9 years ago

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

Actions #11

Updated by JosJuice almost 9 years ago

Actions #12

Updated by MayImilae almost 9 years ago

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

Updated by MayImilae almost 9 years ago

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

Updated by MayImilae almost 9 years ago

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

Updated by MayImilae almost 9 years ago

Actions #16

Updated by MayImilae almost 9 years ago

Actions #17

Updated by MayImilae almost 9 years ago

Actions #18

Updated by MayImilae almost 9 years ago

Actions #19

Updated by MayImilae almost 9 years ago

Actions #20

Updated by MayImilae almost 9 years ago

Actions #21

Updated by MayImilae almost 9 years ago

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

Updated by MayImilae almost 9 years ago

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

Updated by kolano almost 9 years ago

This also effects Surf's Up (Wii).

Actions #24

Updated by BTR almost 9 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

Actions #25

Updated by delroth almost 9 years ago

  • Status changed from Accepted to Work started
  • Assignee set to phire
Actions #26

Updated by phire almost 9 years ago

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

Fix pending in pull request #3480

Actions #27

Updated by phire almost 9 years ago

  • Assignee set to phire
Actions #28

Updated by JosJuice almost 9 years ago

  • Status changed from Fix pending to Fixed
Actions #29

Updated by DimentioDecipher over 8 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.

Actions #30

Updated by phire over 8 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

Actions

Also available in: Atom PDF