xemu
xemu copied to clipboard
Star Wars: Obi-Wan crashes with ((seg_spb + 1) == samples_per_block)
Title
https://xemu.app/titles/4156000f/#Star-Wars-Obi-Wan
Bug Description
When trying to start a new game the game crashes with this assertion: https://github.com/mborgerson/xemu/blob/5faa2419e7cfca1e03a8e3113de2df6453caf2e5/hw/xbox/mcpx/apu.c#L1892
Steps to reproduce 1.Insert disk 2.Start new game from main menu
Expected Behavior
Should make it In-game.
xemu Version
Version: 0.6.2 Branch: master Commit: 5faa241 Date: Sat Nov 20 08:53:11 UTC 2021 Last-known Working: Unknown
System Information
| Field | Value |
|---|---|
| OS | Windows 10 64-bit (21H1) |
| CPU | AMD Ryzen 5 2600 Six-Core Processor @ 3.40GHz |
| Graphics Device | AMD Radeon RX 5700 XT |
| Graphics Driver | 4.0.148202 Core Profile Context 21.3.2 27.20.15003.5017 |
Additional Context
No response
Tried changing name of player when opening game and was unable to successfully load the first level without the emulator crashing. Left name as Jedi 1, and was able to load the first level, however after finishing the first level, emulator crashes on the second load.
Device: Steam Deck OS: SteamOS Holo 5.13 x86_64 (kernel 5.13.0-valve10.3-1-neptune-02) CPU: AMD Custom APU 0405 (8) @ 2.800 GHz Graphics Device: AMD ATI 04:00.0 VanGough Graphics Driver: 4.6 (Core Profile) Mesa 21.3.8
Xemu version Version: 0.7.6 Branch/Commit: aec2883c6b239cb4725d38d02f85e92df6598b67 Date: Wed May 11 01:03:39 PM UTC 2022
Since this is pretty old, just dropping in to report that I don't have this issue but do run into #380 instead (which I was able to work around: https://github.com/xemu-project/xemu/issues/380#issuecomment-1989532725).
Build info
Version: 0.7.119 Branch: master Commit: 0c21a5f3b48be3de0aff8ca125d239b9743ac6f4 Date: Sun Mar 10 05:34:36 UTC 2024
System info
CPU: AMD Ryzen 7 7840U w/ Radeon 780M Graphics
OS Platform: Linux
OS Version: Fedora Linux 39 (Workstation Edition)
Manufacturer: AMD
GPU Model: AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.7.6-200.fc39.x86_64)
Driver: 4.6 (Core Profile) Mesa 23.3.6
Shader: 4.60
I pressed Ignore when the "Assertion failed" crash message appeared and the game continued to run.
On the 2nd level there were multiple "Assertion failed" messages immediately after the level loaded. Again pressed Ignore and the game continued to run.
Version: 0.7.120 CPU: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz OS Platform: Windows 10 GPU Model: NVIDIA GeForce RTX 3050/PCIe/SSE2 Driver: 4.0.0 NVIDIA 551.76 Shader: 4.00 NVIDIA via Cg compiler
This crash also affect nba inside drive 2002 when pause multiple time ingame. Also happens when enabling real time gp/ep more reliable to hit the assertion
xemu-v0.8.5-x86_64.appimage: ../hw/xbox/mcpx/apu.c:1911: voice_get_samples: Assertion (seg_spb + 1) == samples_per_block' failed.