Opened 6 months ago

Closed 4 weeks ago

Last modified 4 weeks ago

#14772 closed defect (fixed)

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

Reported by: raziel- Owned by: dreammaster
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 (4)

scummvm_002.png (594.2 KB ) - added by raziel- 6 months ago.
Crashlog_scummvm_2024-01-15_19-32-59.txt (42.7 KB ) - added by raziel- 5 months ago.
gdb-orion-burger-fr-ppc-big-endian.txt (17.7 KB ) - added by dwatteau 5 months ago.
GDB backtrace when starting the game on big-endian PowerPC
gdb-m4-burger-fr-big-endian-32f3bfea6c05.txt (15.5 KB ) - added by dwatteau 4 weeks ago.
GDB crash log on big-endian ppc (commit 32f3bfea6c0)

Download all attachments as: .zip

Change History (21)

by raziel-, 6 months ago

Attachment: scummvm_002.png added

comment:1 by dreammaster, 5 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-, 5 months ago

I'll sure test when I get back home.

Thanks a lot

comment:3 by raziel-, 5 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, 5 months ago

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

comment:5 by raziel-, 5 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, 5 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-, 5 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, 5 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-, 5 months ago

ah, sorry, release doesnt support syberia yet

comment:11 by dwatteau, 5 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, 5 months ago

GDB backtrace when starting the game on big-endian PowerPC

comment:12 by dwatteau, 5 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.

comment:13 by dwatteau, 4 weeks ago

FWIW, I see that @dreammaster pushed some M4 endian fixes lately, so here's an updated GDB log, based on commit 32f3bfea6c05aebf2e5ca132fd977395f808bc4b.

It still crashes in the first seconds of the intro, but it's getting better.

by dwatteau, 4 weeks ago

GDB crash log on big-endian ppc (commit 32f3bfea6c0)

comment:14 by dreammaster, 4 weeks ago

Demo now gets in-game, so feel free to let me know if any further crashes happen.

comment:15 by dwatteau, 4 weeks ago

Thank you very much!

Updating to the latest HEAD changes, my French full copy of the game all looks good on my big-endian setup. Sound appears to be fine, too. Exchanging savegames between little and big-endian systems also appears to be OK.

So I think this can be closed. Thanks again for your work.

@raziel-: Can you reopen this ticket if you still have problems with this game and an up-to-date Git tree on AmigaOS?

comment:16 by dwatteau, 4 weeks ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

comment:17 by raziel-, 4 weeks ago

will do, thank you

Note: See TracTickets for help on using tickets.