Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
12 user(s) are online (8 user(s) are browsing Forums)

Members: 2
Guests: 10

samo79, Hans, more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: SDL3
Just popping in
Just popping in


See User information
@Capehill

Thank you very much! RC2 fixes the crashes of the test programs when started from WB.

Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
3.2.8 is available https://github.com/AmigaPorts/SDL/releases/tag/v3.2.8-amigaos4

AmigaOS 4 main changes:

Quote:

Fix issue with window size after SetWindowPosition
Prefs: add AISS images to menus (#48)
Ignore destination alpha for target textures (#150)
Remove constructor / destructor workarounds
Improve OS4_DebugPrintF
sdl3benchmark: reset random seed before every test
Support SDL_PROP_APP_METADATA_NAME_STRING and SDL_HINT_APP_NAME (#115)
Improve timer resolution from milliseconds to microseconds
Cleanup code and makefiles


https://github.com/AmigaPorts/SDL/rele ... /v3.2.8-amigaos4/SDL3.lha

Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
SDL 3.2.14 is available: https://github.com/AmigaPorts/SDL/releases/tag/v3.2.14-amigaos4

Quote:

Fix 4th/5th buttons in global mouse state
Fix pointer visibility issue in relative mouse mode
Improve process code
Workaround testasyncio slowness


https://github.com/AmigaPorts/SDL/rele ... v3.2.14-amigaos4/SDL3.lha

Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@Capehill

yesss, thxAlot!!!
Keep the good work mate

Go to top
Re: SDL3
Home away from home
Home away from home


See User information
@capehill

Way cool!

Go to top
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
May I ask you if you have seen SDL3 being slower or faster than SDL2? Do you have any benchmark comparison between the two?

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@walkero

It's a broad question. Did you have some specific subsystem / feature in mind?

Go to top
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
Not really. Yesterday I ported the latest Lite XL 2.1.8, which is the first version the original team released, that uses SDL3, and it is a lot slower in scrolling and animations. Now, it might not be the SDL3 to blame here, which I am discussing with them. I just wanted to know if you have any information on performance benchmarks or something else, that show how well SDL3 is working on our system.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@walkero

With or without LITE_USE_SDL_RENDERER? If with LITE_USE_SDL_RENDERER, then does SDL_RENDER_DRIVER have impact?

Go to top
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
The LITE_USE_SDL_RENDERER is for the darwin systems, so I do not use it in AmigaOS 4 port. I used the SDL_RENDER_DRIVER with ogles2, but there was no impact.

Most probably will be a problem from the latest code in Lite XL itself, which is something I am discussing with the original team.

By the way, I saw in your makefile you have the following comment

CATCOMP = catcomp # TODO: is there a cross-compiler version?

There is flexcat which can be used with cross-compilers
https://github.com/adtools/flexcat

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
If I use the libSDL3_debug.a when I link it statically with my app, should I be able to profile the called SDL functions? Maybe using the Profyler (https://os4depot.net/?function=showfil ... opment/debug/profyler.lha)

Is it the same for libSDL3_debug.a, because I tried it and I couldn't get any info?

I am trying to understand if there are SDL slowdowns on the functions used by Lite XL, and if there is a difference between SDL2 and SDL3

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@walkero

Debug variant has only serial debug added. Please use the non-debug lib for profiling to avoid logging overhead. Both libraries contain debug symbols.

CatComp vs. FlexCat: okay I will investigate this at some point.

Go to top
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
Thank you for your prompt reply. Should I be able to see how much time was spent in SDL libraries with profiling programs, like the Profyler I mentioned above? I am asking, because I tried with the non-debug version, and I couldn't get a clear usage of the SDL_ methods in the app list.

Do you have any other way or tool I should test, that you know would work better?

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@walkero

Yes, I just tested with sdl3benchmark, BUT, you need to enable profiling first. It's not very hard:

1) Read Profyler guide, it's awesome.
2) Build libprofyle.a and copy to SDK:local/newlib/lib/
3) Build SDL3 with -finstrument-functions added in Makefile.amigaos4
4) Build your app with -finstrument-functions and add -lprofyle
5) Start Profyler
6) Start your app
7) Quit your app
8) If you did 3), then it might take some time to get the results.

If you can't or don't want to do step 3, then I can provide you the libs later.

Go to top
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
Thanks a lot for the guide. I will test it and let you know.

What is the sdl3benchmark? Is there an sdl2benchmark? Do these benchmark SDL2 and SDL3 on various methods? Do you see any performance differences on OS4?

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@walkero

sdl2/3benchmark is a simple tool to test SDL_Renderer subsystem, so this probably doesn't help if LiteXL is using frame buffer drawing.

Here are the links:

https://github.com/AmigaPorts/SDL/blob/SDL2/test/sdl2benchmark.c
https://github.com/AmigaPorts/SDL/blob/main/test/sdl3benchmark.c

Binaries should be in SDL2/3 release archives.

Go to top

  Register To Post
« 1 (2)

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project