xemu-project / xemu

Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
https://xemu.app
Other
2.71k stars 270 forks source link

[Assertion] segment_offset != 0 #380

Open Triticum0 opened 3 years ago

Triticum0 commented 3 years ago

Title Information

Bug Description

The games crash early in-game with this assertion: https://github.com/mborgerson/xemu/blob/7cde5a222cd77864b3bea5424970f6e86c85c28d/hw/xbox/mcpx/apu.c#L1885

Steps to reproduce this issue:

  1. Insert disk
  2. start the main mode from the main menu
  3. The game crashes

Expected Behavior

Should make not crashes in-game.

Version

System Information

Field Value
OS Windows
CPU AMD Ryzen 7 2700X Eight-Core Processor
Graphics Device GeForce GTX 1080/PCIe/SSE2
Graphics Driver 3.3.0 NVIDIA 457.51

Additional Context

Fabxx commented 2 years ago

Reporting title with same issue: https://xemu.app/titles/5553005e/#Tom-Clancy-s-Splinter-Cell-Double-Agent

ERROR:../hw/xbox/mcpx/apu.c:1885:voice_get_samples: assertion failed: (segment_offset != 0)
Fabxx commented 2 years ago

Adding a log from gdb with the error specifications: assertion.txt

Fabxx commented 2 years ago

@Triticum0 i've been able to fix the crash in double agent by doing the following reported here, restoring the EEPROM gets rid of the segment offset error: https://github.com/mborgerson/xemu/issues/869

SonOfKorriban commented 9 months ago

Same problem with Star Wars: Obi-Wan image

alexbainter commented 6 months ago

I was able to get around this for Star Wars: Obi-Wan using xemu v0.7.119 by enabling Real-time DSP processing (Settings > Audio > Quality > Real-time DSP processing) as suggested by #1076, and I didn't notice any of the audio distortion mentioned in that issue.