Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
147 user(s) are online (113 user(s) are browsing Forums)

Members: 1
Guests: 146

beworld, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 27 28 29 (30) 31 32 33 34 »
Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


See User information
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.
Home away from home
Home away from home


See User information
@afxgroup

regaring OpenGL...of course not with the WME games (they are 2D), WME3D isn' t ready yet and even then OpenGL would only work for 3D games

For OpenGL you need either Grim Fandango, The Longest Journey or other 3D games

Primordia is as slow gameplay-wise, the intro is snappier though
Bickadoodle i am jealous of
It runs 30-35 fps locked

and i get the same crash

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


See User information
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.
Home away from home
Home away from home


See User information
@afxgroup

ok then,scummvm uses ogles2...or minigl, but minigl is mostly locked out because its too old and limited

so you need, i think, the enhancer driver and stuff to make use of it

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


See User information
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.
Home away from home
Home away from home


See User information
@afxgroup

whete can i find that patched version, newlib style, and was it enough to simply compile it with that sdl?

i remember having massive problems with it, thats why it was instead "built in"...

but maybe im mixing things up and *need* to use the patched version to really gain the speed of gl4es???

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just popping in
Just popping in


See User information
@Raziel trying to send you a pm but don't know if its working.
Can you check, and if nothing there try to PM me and I'll respond...

Dave

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@davec555

yes, worked and replied, thank you

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


See User information
Long Journey works perfectly and smoothly on X5000

i'm really tired...
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Raziel
Wait, but arent we already 1 or 2 years ago sort all the things and you already use patched sdl2 with gl4es, both in newlib version ?

All in all gl4es can be used only with patched sdl1/2, original sdl only use minigl and ogles2, so if you want pure fast opengl , the you use gl4es + patched sdl

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

It just recently (read: a few hours) dawned on me that i might have used the whole gl4es target wrong, or better yet, not at all.

I was under the impression, since ScummVM implemented a new way to distinguish between GL targets, that this was enough...i might have been wrong all along.

I thought that the changes in ScummVM would suffice to pick up gl4es library, if available, and do all it's magic itself from there...probably, or obviously not(?)

Seems i stil need to compile with the gl4es patched sdl2 library to really make it use gl4es...

if that should be the case (compiling a test version as we speak) then it was a huge misunderstanding on my part

I'll get back when i got something to show

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Raziel
If scummvm go casual ogles2 route (they call it opengl with shaders if i remember right), then no gl4es need to be used, as ogles2 used directly. If one want go pure opengl route, then you use or minigl (pure sdl2) or gl4es (need modified sdl2 telling to use gl4es instead of minigl).

Question is what route you choose and where. If i remember right, we did use both ways: gl4es for parts where opengl used to have opengl 2.x, and pure ogles2 for "opengl with shaders", and even minigl for old cards and its auto choisen in scummvms amigaos opengl code.

At least that how i build it myself when we fight with shaders back then.

Anyway, if you want to know what you use, check if you link against -lgl4es and -lsdl2_gl4es (that how with my gl4es sdk, to not misunderstood with plain sdl2)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

upto now always built against standard SDL2, no .lGL or -lgl4es involved

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@afxgroup

Quote:
afxgroup wrote:Long Journey works perfectly and smoothly on X5000


Thank you for testing it I will forward it to another forum. Have you tested it with your compiled version of ScummVM Clib4? Or are you already using a different version.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

so, before i waste any more time.

would there be a benefit compiling ScummVM against the patched gl4es SDL2 version or is it already handled within ScummVM?

and if it is, could a clib4 build really make that of an impact speed-wise?

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Raziel
If you want to use in your build opengl then gl4es fo sure need it: it faster much, at least when we comoare fos before it were 3 times faster in monkey island, grim, etc. For "opengl with shaders" we already use ogles2 directly (via standard, unpatched sdl, already).

Maybe you go no gl4es way because you want to use or minigl for those who didnt have modern card, or ogles2 directly (without needs of gl4es, which is faster).

Gl4es usually used when app do not provide direct opengles2 usage, but only opengl. Scummvm do handle opengles2 route well, so maybe that were reasson to not use gl4es. But, you then should use in scummvm "opengl with shaders", not pure opengl (which then will be minigl in your case)

As for clib4 usage i not sure it will give major benefits in terms of 3d, but it still good to use as any issues can be fixed, and we not forced to newlib only now, and more devs using it better gor all us :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

understood (i said that the last time aswell)

once i build with sdl2_gl4es i lock out all users who dont have enhancer.

i guess that was why i stopped trying...and scummvm falls back to what is available (probably at the cost of some speed)

well, i cant anyway mix .so and .a, so before i fry my sdk, ill leave it as it is

maybe clib4 is the way to go on the future

...i wonder ig afxgroup built against vanilla sdl2 or gl4es sdl2

thank you for clearing that up...again

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


See User information
@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.
Just can't stay away
Just can't stay away


See User information
@afxgroup

Quote:

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



If it's not too much to ask and takes too much of your time, I would be happy if you could also add software rendering like Raziel's builds can do.

Otherwise, many thanks for some of the corrections you have already made.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


See User information
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

  Register To Post
« 1 ... 27 28 29 (30) 31 32 33 34 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project