Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
835 user(s) are online (336 user(s) are browsing Forums)

Members: 0
Guests: 835

more...

Support us!

Headlines

 
  Register To Post  

Unreal AmigaOs4.1
Just can't stay away
Just can't stay away


See User information
Hi,

I got Unreal Engine 1 running on my X5000 (fgsfdsfgs/UE1 sources, cross-compiled with GCC 13.4.0 via walkero's Docker toolchain). It renders, it's playable, and it exits cleanly. Took a lot of debugging to get here.
The last problem is sound. When I enable audio (UseSound=True, NOpenALDrv), the window opens and then the whole system freezes — 100% CPU, no crash log, have to reboot. With sound off, everything works fine.
I'm using OpenAL-Soft 1.23.1 with the SDL2 backend, linked against the SDK's SDL2. Just before the freeze I get:
[ALSOFT] Failed to set 44100hz, got 48000hz instead
[ALSOFT] No capture backend available!
I already ruled out my own threading code (custom sem_t and gthread stubs for GCC 13) — a standalone sem_wait/sem_post stress test runs fine on the real machine.
I think it's the SDL2 audio backend on AmigaOS4. Questions:

Has anyone had a similar freeze with OpenAL-Soft's SDL2 backend?
Would building OpenAL-Soft against a native AHI backend instead of SDL2 be the better way?
The MorphOS port by BeWorld/BSzili uses the same OpenAL+SDL2 setup and mentions an early "audio bug" fix — does anyone know if that applies to AmigaOS4 or was it MorphOS-only?

Thanks for any help.




MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Unreal AmigaOs4.1
Home away from home
Home away from home


See User information
@Maijestro
OpenAL surely works (i use it in many projects), but just what you can try firstly is:

At first, be sure you use static build of whole exe, i.e. when you do "ppc-amigaos-readelf -d yourfile.exe", you have "no dynamic" listed. That by itself can solve lots of issues

Also, use this version: https://os4depot.net/share/development ... ary/audio/openal-soft.lha . This one from Salas00, and his ports always of high-quality (and i use exactly this version always).

ps. And don't forget to have stack cookie of 2mb, i always use it for any more or less "big" projects, just to never worry about possible stack issues which can cause all sort of weird issues too.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Unreal AmigaOs4.1
Just popping in
Just popping in


See User information
@Maijestro

Wow, good work.

I'm looking forward to playing that myself, compared to
Doom3 it seems to run very well.

I do have a retro PC with a Voodoo 5 5500 though, which I'm currently playing the game on

Nice icons by the way you have in desktop

Go to top
Re: Unreal AmigaOs4.1
Just popping in
Just popping in


See User information
@Maijestro

Amazing work! Thank you for this.

Go to top
Re: Unreal AmigaOs4.1
Home away from home
Home away from home


See User information
@Maijestro

We had a similar problem with Woof (Doom Port)
https://github.com/fabiangreffrath/woof/issues/1285

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project