Project

General

Profile

Emulator Issues #12664

Updated by pokechu22 over 2 years ago

**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](https://github.com/dolphin-emu/dolphin/commit/74b772c3be4a724c12094c08d26466fdbb4f841b) 

 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.

Back