Who's Online
39 user(s) are online (
30 user(s) are browsing
Forums )
Members: 1
Guests: 38
3VILC ,
more...
Headlines
imp3.lha - audio/play
Dec 5, 2025
vasmm68k_mot.lha - development/cross
Dec 5, 2025
vasmm68k_std.lha - development/cross
Dec 5, 2025
vasmppc_std.lha - development/cross
Dec 5, 2025
vlink.lha - development/cross
Dec 5, 2025
amissl-sdk.lha - development/misc
Dec 5, 2025
amiarcadia.lha - emulation/gamesystem
Dec 5, 2025
whdload-to-uae.lha - emulation/utility
Dec 5, 2025
polarpaint.lha - graphics/edit
Dec 5, 2025
polarpaint_small.lha - graphics/edit
Dec 5, 2025
Topic options
View mode
Newest First
Re: SDL2
Posted on:
2022/5/14 17:38
#1221
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
@jabirulo Please take a look at testnative example. You need to open a native window yourself and pass window pointer to SDL2.
Re: SDL2
Posted on:
2022/5/15 8:58
#1222
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 2025/12/1 13:52
From Donostia (SPAIN)
Group:
Registered Users
@Capehill ok, just compiled testnative and will look what it does. THX
Re: SDL2
Posted on:
2022/5/19 4:19
#1223
Home away from home
Joined: 2007/9/11 11:31Last Login
: 2025/12/4 16:00
From Russia
Group:
Registered Users
@Capehill Have you any idea of how to deal correctly with the situation when we play the video on 8 bit screens ? As we do use all those renderers/surfaces of 16-32 bits , when we try to play it on 8bit screens we have broken colors instead. Maybe SDL2 have some funtions/tags/helpers to help handle 8bit screenmodes ?
Re: SDL2
Posted on:
2022/5/20 6:02
#1224
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
@kas1e
Maybe SDL_Renderer should be skipped in that kind of scenario. Perhaps (8-bit?) source surface can be blitted to window directly:
https://wiki.libsdl.org/SDL_GetWindowSurface Not sure about how palette will behave. I'm guessing application is setting up the palette itself?
Re: SDL2
Posted on:
2022/8/21 21:39
#1225
Home away from home
Joined: 2007/9/11 11:31Last Login
: 2025/12/4 16:00
From Russia
Group:
Registered Users
@Capehill Btw, will it make sense to change a bit functional of that simple prefs:SDL tool, when "save" is clicked ? I.e. now when you click "save" nothing visually happens. Instead, maybe it will be better to auto-close prefs window once use hit "save" ? So it will give necessary feadback, and anyway when one click "save" it offten (or all the time?) mean exit as well.
Re: SDL2
Posted on:
2022/8/22 6:43
#1226
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
@kas1e Maybe, or some status label.
Re: SDL2
Posted on:
2022/8/22 13:33
#1227
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 2025/12/1 13:52
From Donostia (SPAIN)
Group:
Registered Users
Re: SDL2
Posted on:
2022/8/28 10:03
#1228
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 2025/12/1 13:52
From Donostia (SPAIN)
Group:
Registered Users
Re: SDL2
Posted on:
2022/8/28 13:26
#1229
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
@jabirulo Thank you for your contributions. It seems this patch is based on some older version of prefs code (radiobuttons were removed, some things changed) and I need to resolve conflicts + make coding style consistent before locale support can be merged.
Re: SDL2
Posted on:
2022/8/28 13:33
#1230
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
2.24.0 RC1 is available:
https://github.com/AmigaPorts/SDL-2.0/ ... /tag/v2.24.0-rc1-amigaos4 Please give it some testing and be aware of the version jump from 2.0.22 to 2.24.0 which affects especially shared object users. 2.24.0 should be backwards compatible so you could make a link from libSDL2-2.0.so to libSDL2-2.24.so or keep both shared object versions installed.
Re: SDL2
Posted on:
2022/8/28 14:39
#1231
Home away from home
Joined: 2006/12/2 3:55Last Login
: Yesterday 22:38
From Italy, Perugia
Group:
Registered Users
@Capehill SDLbenchmark crash on Sam440 after completing the test Function --> OS4_CloseWindow.isra.0 Probably because i have MiniGL by default and not opengles?
Re: SDL2
Posted on:
2022/8/28 15:14
#1232
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
@samo79 Do you have a complete crashlog? Are you using the official minigl.library? I cannot test MiniGL apps at the moment due to RadeonRX card. Sdl2benchmark works otherwise for me.
Re: SDL2
Posted on:
2022/8/28 15:25
#1233
Home away from home
Joined: 2006/12/2 3:55Last Login
: Yesterday 22:38
From Italy, Perugia
Group:
Registered Users
@Capehill Yes i saved somewhere, i'm using latest MiniGL 2.24 from OS4Depot
Anonymous
Re: SDL2
@Capehill
Why do you always time your releases to when I'm at work???
Thank you very much for the ongoing development.
Any pointers for the newly added Screenblanker hint?
Re: SDL2
Posted on:
2022/8/28 15:47
#1235
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
@Raziel
Bad luck I guess :)
Anyway, ideally you shouldn't need to do anything if it's OK to disable blanker by default.
I wrote in readme this:
Quote:
Screensaver control: setenv SDL_VIDEO_ALLOW_SCREENSAVER 1 # Enable setenv SDL_VIDEO_ALLOW_SCREENSAVER 0 # Disable Please check also SDL2 preferences program.
Re: SDL2
Posted on:
2022/8/28 15:50
#1236
Home away from home
Joined: 2006/12/2 3:55Last Login
: Yesterday 22:38
From Italy, Perugia
Group:
Registered Users
@Capehill
Here the crashlog:
https://files.fm/u/6k2aa32k7 Btw, by versioning the latest controllermap binary test present in latest archive, it ask for the availibility of the old libSDL2-2.0.so ?
"Failed to find canonical name for libSDL2-2.0.so"
I was cancelled It by thinking it was unnecessary ..
Edit: ops just read better :-p
Edited by samo79 on 2022/8/28 16:10:18
Anonymous
Re: SDL2
@Capehill Woohoo, controlled by an envvar...even better, thanks a lot
Re: SDL2
Posted on:
2022/8/28 16:51
#1238
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 2025/12/1 13:52
From Donostia (SPAIN)
Group:
Registered Users
@Capehill
ok (fixed) and reuploaded
http://jabirulo.byethost13.com/temp/sdl2/SDL2prefs_V1.5.7z -Removed radionbutton stuff
-Added images to menu option
-Added MenuImageSize envvar to resize menu images
OK, tried to "follow" coding style, sorry for the hassle.
Re: SDL2
Posted on:
2022/8/28 16:54
#1239
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: Yesterday 19:12
From Lothric
Group:
Registered Users
@samo79 Thanks for the log. Unfortunately line numbers don't seem to be correct. For example this [src/video/amigaos4/SDL_os4window.c:674] AmigaOS4:SObjs/libSDL2-2.24.so:OS4_CloseWindow.isra.0()+0x1c (section 11 @ 0xC4ED4) points just to the beginning of the function. I don't know what isra means. If you are able to reproduce issue, maybe you can use libSDL2-2.24_debug.so instead of libSDL2-2.24.so to get some more serial logs? controllermap: I forgot to replace this binary for RC1.
Re: SDL2
Posted on:
2022/8/28 17:12
#1240
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 2025/12/1 13:52
From Donostia (SPAIN)
Group:
Registered Users
@Capehill
yep noticed by downloading your latest sdl2, sorry :-/
Trying to update/fix to lastest sdlPrefs now, will upload updated ASAP.
EDIT: updated to latest version sdl2prefs, same link as previous (
http://jabirulo.byethost13.com/temp/sdl2/SDL2prefs_V1.5.7z )
Edited by jabirulo on 2022/8/28 17:51:08
Currently Active Users Viewing This Thread:
2
(
0 members
and 2 Anonymous Users
)