Can't install daily build past 2018-08-08

Subforum for discussion and help with ScummVM's Playstation Vita port

Moderator: ScummVM Team

Post Reply
pepijn
Posts: 3
Joined: Sat Aug 18, 2018 8:58 pm

Can't install daily build past 2018-08-08

Post by pepijn »

I am not sure if it's a bug or I'm doing someting wrong but if I try any new build after 08 of august it just craches.

The error is: "An error has occurred in the following application.
(C2-12828-1)
Saved Core File Succeeded."

here is the psp2dmp(from psp2-master-aaf3aeeb) not sure if it will help:

Exception Prefetch abort exception
Thread ID 0x40010003
Thread name VSCU00001
EPC 0x01019B74
Cause 0x00030003
BadVAddr 0x00000000
a1: 0x82980F9C a2: 0x00000000 a3: 0x0000004C a4: 0xDEADBEEF
v1: 0xDEADBEEF v2: 0xDEADBEEF v3: 0x82980FE8 v4: 0x00000000
v5: 0x00000000 v6: 0xDEADBEEF v7: 0xDEADBEEF v8: 0xDEADBEEF
ip: 0xDEADBEEF sp: 0x82980F98 lr: 0x81052D87 pc: 0x01019B74
digitall
ScummVM Developer
Posts: 1175
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

Hmm, not sure, but there are no PSP related changes to backend code around that date. However, it was the date that the new Startrek engine was merged into the tree.

I have checked and the PSP build is monolithic, so wonder if we are hitting a memory limit since the EBOOT.BIN inside the VPK is now 15M...

One solution would be to disable the startrek engine for now and see if the build is usable again. If so, we will need to look at multiple builds for different engines and/or plugins for engines on PSP (and by we, I meant the PSP porters).
digitall
ScummVM Developer
Posts: 1175
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

Ah sorry. Minor braino on my part, but PS Vita uses the psp2 backend which is a variant of the SDL platform backend i.e. it is based on SDL.

However, my previous conclusions still stand i.e. there are no changes to the backends around 8th August so this is most likely due to addition of Startrek engine and thus size increase in binary.

Will add code to the buildbot to disable the startrek engine for PS Vita.

pepijn: Can you test with the next nightly build and see if this now works again?
digitall
ScummVM Developer
Posts: 1175
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

AHA ... So this has been an issue before. Will restore the hack or similar to get the binaries working again.


https://github.com/scummvm/scummvm-site ... 6902500d66

https://github.com/scummvm/scummvm-site ... f8a4d97fb0

https://github.com/scummvm/scummvm-site ... 8ec93eda73
rsn8887
Posts: 75
Joined: Sat Jan 23, 2016 1:56 am

Post by rsn8887 »

Yes, -Os optimization removed the need for the hack, but startrek might have pushed it over the edge again.

I think the star trek engine is already playable. Maybe other, unplayable engines should be disabled instead?
digitall
ScummVM Developer
Posts: 1175
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

rsn8887: Well, we first need to see if disabling the Startrek engine fixes the issue for now. After that, we can switch around as per your 8ab80a3eec27e545bc5d607d7877bc6902500d66 commit to disable unplayable engines... I don't think you can do --disable-unstable-engines as that covers all the engines still in WIP like Startrek which it would be useful to compile test at least.

Is there any way to detect the "too large binary" issue at compile time or by running a tool from the SDK on the binary produced? So we can detect the condition and fail the build in those cases? i.e. maybe objdump or similar to give segment statistics with a bit of shell in make rule to check..

As I said before, the real final solution would be to implement plugin loading (--enable-plugins --default-dynamic passed to configure) as per PSP i.e.
http://wiki.scummvm.org/index.php/Compi ... n_Portable
pepijn
Posts: 3
Joined: Sat Aug 18, 2018 8:58 pm

Post by pepijn »

digitall wrote: pepijn: Can you test with the next nightly build and see if this now works again?
thx works for now again :D
Revolutioneve
Posts: 2
Joined: Sat Mar 12, 2022 10:16 am

Re: Can't install daily build past 2018-08-08

Post by Revolutioneve »

Sorry for bringing this up again: but it seems the newest ports cannot be installed again (memory limit?). At least on my Vita. Maybe the same problem again?
rsn8887
Posts: 75
Joined: Sat Jan 23, 2016 1:56 am

Re: Can't install daily build past 2018-08-08

Post by rsn8887 »

Revolutioneve wrote: Fri Mar 18, 2022 8:49 am Sorry for bringing this up again: but it seems the newest ports cannot be installed again (memory limit?). At least on my Vita. Maybe the same problem again?
Yes this is again the memory limit on Vita. Just stick to 2.5.1 release for now. Also note there's an "unused engines" build on the official release page now, in case you want to try engines that have been removed because of the memory limit: https://www.scummvm.org/downloads/#release
eviltrooper
Posts: 13
Joined: Mon Apr 18, 2022 6:12 pm

Re: Can't install daily build past 2018-08-08

Post by eviltrooper »

I tried newest build.
Is there a solution to get it work again?
rsn8887
Posts: 75
Joined: Sat Jan 23, 2016 1:56 am

Re: Can't install daily build past 2018-08-08

Post by rsn8887 »

I am testing to disable tsage engine to keep executable size of daily builds below the limit. It might work.

EDIT: Ok disabling tsage engine on buildbot builds seemed to have worked. The daily buildbot build should start working again in a day or two, hopefully.

Thanks for the notification.

Note: I would recommend using the latest stable release to play your games. The buildbot builds often contain WIP bugs, and are more for bugtesting.
eviltrooper
Posts: 13
Joined: Mon Apr 18, 2022 6:12 pm

Re: Can't install daily build past 2018-08-08

Post by eviltrooper »

Works, already.. thank you
Post Reply