Project

General

Profile

Actions

Emulator Issues #12664

open

Skylanders: Trap Team videos log "Memory stride too small (0 < 1280)" and fail to playback in fifologs unless "immediately present XFB" is enabled

Added by pokechu22 about 3 years ago. Updated about 2 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?

Skylanders: Trap Team (rev 1)

Game ID?

SK8E52

MD5 Hash?

1dd69ec30fc8fbb18cccd503ee721cb9

What's the problem? Describe what went wrong.

"Memory stride too small (0 < 1280)" is logged during prerendered videos. Also, fifologs of these videos don't play properly unless "immediately present XFB" is enabled.

What steps will reproduce the problem?

  1. Start the game with the Video Backend log type enabled and the log level at Error or lower.
  2. Observe the log; "Memory stride too small (0 < 1280)" will be spammed during the Activison and Toys for Bob videos.

Is the issue present in the latest development version?

Yes, 5.0-15105

Is the issue present in the latest stable version?

The log message itself doesn't show up in 5.0, but the fifolog playback issue does exist; however, XFB defaults to disabled in 5.0, and this issue only shows up when XFB is enabled (though it happens with both virtual and real XFB).

What are your PC specifications?

  • CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz, 2592 Mhz, 6 Core(s), 12 Logical Processor(s)
  • GPU: NVIDIA GeForce GTX 1650 Ti
  • Operating System: Windows 10.0.19042.1165

Is there anything else that can help developers narrow down the issue?

The "Memory stride too small" message should show up in 5.0, as it was added before then

This game uses Bink Video 2; it does exhibit video artifacts associated with that, but this issue happens even when those are fixed.

The video in question is movies/tfb_logo_640x456.mov, which the file command identifies as Bink Video 2 rev.i, 640x448, 300 frames at rate 1/30, 1 audio track 14848Hz mono. As this is a 30fps video but the game runs at 60fps, every other frame has no actual content. BPMEM_MIPMAP_STRIDE is set to 0 on those frames, while it's set to 0 instead of 0x28. All frames trigger an EFB copy with Clear and Copy to XFB enabled and mipmaps disabled.


Files

SkylandersTrapTeam.7z (338 KB) SkylandersTrapTeam.7z Fifologs from 5.0 and 5.0-15105 pokechu22, 09/13/2021 08:08 PM
Actions

Also available in: Atom PDF