Opened 4 months ago

Last modified 3 months ago

#14772 new defect

M4: Orion Burger - Gfx mesh and crash on BE target

Reported by: raziel- Owned by:
Priority: normal Component: Engine: M4
Version: Keywords: Orion Burger, Endian
Cc: Game:

Description

ScummVM 2.9.0git (Dec 30 2023 18:06:49)
Using SDL backend with SDL 2.28.4
Features compiled in: TAINTED Vorbis FLAC MP3 RGB zLib MPEG2 MikMod Theora VPX AAC A/52 FreeType2 FriBiDi JPEG PNG GIF cloud (servers, local) ENet SDL2 TinyGL OpenGL (with shaders)

I get the attached gfx mesh in the intro (and a crash just about when the line, 'I'm on it, Boss' comes up)

User picked target 'burger' (engine ID 'm4', game ID 'burger')...

Looking for a plugin supporting this target... M4

WARNING: SearchSet::add: archive 'shaders.dat' already present!
Running Orion Burger (DOS/English)
burger.has: 10c8064e9c771072122f50737ac97245, 730771 bytes.

AmigaOS4 - PPC - Big Endian
gcc (adtools build 11.3.0) 11.3.0

Attachments (3)

scummvm_002.png (594.2 KB ) - added by raziel- 4 months ago.
Crashlog_scummvm_2024-01-15_19-32-59.txt (42.7 KB ) - added by raziel- 3 months ago.
gdb-orion-burger-fr-ppc-big-endian.txt (17.7 KB ) - added by dwatteau 3 months ago.
GDB backtrace when starting the game on big-endian PowerPC

Download all attachments as: .zip

Change History (15)

by raziel-, 4 months ago

Attachment: scummvm_002.png added

comment:1 by dreammaster, 3 months ago

I've made some commits in the last week which may help this, but I can't really do any further fixes since I don't have a BE system, unfortunately.

comment:2 by raziel-, 3 months ago

I'll sure test when I get back home.

Thanks a lot

comment:3 by raziel-, 3 months ago

@dreammaster

Unfortunately now i get a crash wehn trying to run the game (crashlog attached)
I'm pretty certain it's still because of some BE issue.

No graphics come up anymore, black screen

I'm not on discord, but i know one member of the team has access to a BE MAC or LINUX machine. Maybe you could ask for help there too?
I'm always willing to test BE stuff, but i'm pretty limited when it comes to coding itself...mostly test monkey here :-)

comment:4 by dreammaster, 3 months ago

We'll have to see if anyone volunteers. Fingers crossed.

comment:5 by raziel-, 3 months ago

@dreammaster

@dwatteau was the kind soul who cross checked on his PPC BE machine in the past...maybe he'd still be willing to do so again?

comment:6 by TrivialBalderdash, 3 months ago

I'd be happy to test on a G4 PPC w/ Mac OSX 10.4.11. What's the best way to get a daily build to test? I've compiled ScummVM on Linux, but I'm not very confident in my ability to correctly compile on or for a PPC Mac.

comment:7 by raziel-, 3 months ago

@TrivialBalderdash

thank you for stepping in

daily builds are available from the buildbot
https://buildbot.scummvm.org/#/dailybuilds

but im not sure if there is a special ppc mac build available

comment:8 by TrivialBalderdash, 3 months ago

Thanks @raziel-

There's isn't a daily build for PPC Mac that I could find.
I'll reach out to dwatteau / Tsomi for advice.
https://forums.scummvm.org/viewtopic.php?t=16431

comment:10 by raziel-, 3 months ago

ah, sorry, release doesnt support syberia yet

comment:11 by dwatteau, 3 months ago

Unfortunately, my PPC systems are now in their cardboards before I relocate, so it may take me weeks (or more) before I can have a look at this, but I'd suggest following this guide for big-endian tests, instead:

https://wiki.scummvm.org/index.php/HOWTO-Debug-Endian-Issues

It's slower than a native PPC system, but it can be run by anyone from any desktop thanks to QEMU. You do need to ask for the link to the QEMU image, though. I guess it could be given through a Discord PM.

by dwatteau, 3 months ago

GDB backtrace when starting the game on big-endian PowerPC

comment:12 by dwatteau, 3 months ago

Well, I still got the time to do a quick backtrace in GDB, in case this helps figuring out where the issue may lie.

I can't do any more meaningful test at the moment, though.

Note: See TracTickets for help on using tickets.