Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
195 user(s) are online (180 user(s) are browsing Forums)

Members: 0
Guests: 195

more...

Support us!

Headlines

Forum Index


Board index » All Posts (afxgroup)




Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


https://www.amigasoft.net/temp/scummvm_clib4.lha

new version. Remember to copy (and overwrite) clib4.library to libs:

@Maijestro
technically you can't because this SDL2 version is patched to use GL4ES. *but* Theoretically you could download the non SDL2 so object from here: https://github.com/AmigaLabs/libs-ports/tree/main/sdl2 rename it and overwrite the existent one in SOBJS file of scummvm for clib4. it *should* work. Feel free to test it

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


@Maijestro

I've used my version with clib4. (in the meanwhile i've also fixed the crash at exit and I'll reupload soon)

@Raziel
I've used SDL2 patched with GL4ES use to gain the maximum speed and compatibility against OpenGL. There are no other way to do this at moment since no one is working to an updated MiniGL version

However for example with Gemini Rue on Sam460 with rain I always get 5fps while on X5000 i get 20fps. I think that something is drawn using software renderer or not optimized

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Long Journey works perfectly and smoothly on X5000

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


My version is using a patched sdl2 version that use Gl4es. That's why most probably it is so fast compared yours. You should use sdl2+Gl4es and see the difference

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Well, not really. Opengl enable also hardware acceleration when rendering the game. It isn't only for 3d games.

https://docs.scummvm.org/en/latest/adv ... /understand_graphics.html

You can read here some informations about Opengl rendering in scummvm

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Try it:

https://www.amigasoft.net/temp/scummvm_clib4.lha

Before running it copy clib4.library to LIBS:

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Almost fixed 30fps on Sam460 and however never less than 27-28 only on location transition the fps are around 15

However i've noticed that there is an error on shutdown. failed assertion "bd != nullptr && "No renderer backend to shutdown, or already shutdown?""
on backends/imgui/backends/imgui_impl_opengl3_scummv.cpp:378

Edit2:
yes.. the version on os4depot is really slow.. also on Sam460. But are you sure it is working OpenGL? I've used OpenGL in graphics setup just to be sure but no difference.. it is really slow

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


The problem is that I don't have these games..
I've tried Gemini Rue and with rain i get 20/40fps, in the other parts 40/40fps
Let me find the other games

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Everything is compiled except 3 engines since I have to compile some libraries first. I was trying to load strangeland to test the game but scummvm says it isn't compatible and to report the game. Now i'm trying to test some other games

Just tried:
Gabriel Knight the beast within and it plays smooth (also the video)
Riven 2 and plays smooth

If you tell me which games I could try it is better


Edited by afxgroup on 2024/3/21 11:09:05
Edited by afxgroup on 2024/3/21 11:22:24
i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


with -flto i can't link at all and I have to remove it
Now i'm compiling all plugins and there are something to change (just few things) but they doesn't seems related to CLIB, just some problems in plugins

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Just compiled ScummVM with clib4 and SDL2_GL4ES

Resized Image

i'm really tired...
Go to top


Re: Raylib v4.5.0
Amigans Defender
Amigans Defender


First of all it needs glfw (https://github.com/afxgroup/glfw) so you have to compile it first. Then you can comile glfw. Theoretically no particular clib is needed since most of the code is from OS4 SDK. However in my tests i've always used clib4

i'm really tired...
Go to top


Re: Raylib v4.5.0
Amigans Defender
Amigans Defender



i'm really tired...
Go to top


Re: Astromenace - AmigaOne X5K Game - Amiga OS 4.1
Amigans Defender
Amigans Defender


@sailor

My A1 (you know it..) has played that game years ago.. I compiled it but never released in the past because it was too slow..

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


@balaton

I've installed Fedora 12 ppc under windows and I've tried gcc with -pg and gprof and everything is working correctly.
But as I told you, I don't know how it works under linux. If it is using a timer, an interrupt or something else. I can only say that on linux (using windows) it is working.

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


@balaton

I've just tried Fedora 12 with qemu ppc and profiling is working correctly. I don't know how it works on linux the profiling but at least the CPU should be configured correctly.
So most probably is something related to interrupts

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


@balaton

I don't know the internal details because I don't have access to the kernel source code. I can only try to explain to you how the code is working now:

https://github.com/afxgroup/clib2/blob ... /library/profile/profil.c

On line 110 you have:
IPM->SetInterruptVector(1, &CounterInt);

That is enabling that interrupt (CounterInt is an Interrupt) and that should call CounterIntFn function.
But while on a real pegasos2 that function is called, on qemu is never called. So I suppose that interrupt is never enabled

If you tell me how, I could try to "grep" something useful for you.

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


On real peg2 everything is working correctly. It seems that an interrupt is never called and so profiling doesn't work correctly. Or better. Time is always zero. While function count is working correctly. I don't know if you need more informations. However I don't know how performance monitor works internally and which registers are used. But I'm almost sure that interrupt is never executed

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


I've tried to use gprof with newlib under qemu and pegasos2. But while functions are shown the time is always 0.00. Of course i've used the -Ttext=0x00000000 to compile the exe file to avoid the problem we have on OS4.
Is it possible to use profiling under qemu? Do I have to use specific flag? I've also tried 7447 and apollo7 cpu but with same result

i'm really tired...
Go to top


Re: gcc 9 and 10
Amigans Defender
Amigans Defender



i'm really tired...
Go to top



TopTop
« 1 ... 6 7 8 (9) 10 11 12 ... 62 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project