Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
109 user(s) are online (63 user(s) are browsing Forums)

Members: 0
Guests: 109

more...

Headlines

 
  Register To Post  

SDL/Open GL
Quite a regular
Quite a regular


See User information
Hello everyone,

what the status of SDL/OpenGl on AmigaOS4.

What is supported atm? What version should be used as example in Linux to easily port to AmigaOS4?

Thank you very much

Retired
Go to top
Re: SDL/Open GL
Home away from home
Home away from home


See User information
@AmigaBlitter

We have both versions of SDL updated to the latest official release (2.0.14 and 1.2.16)

https://github.com/AmigaPorts/SDL/releases

I believe today our SDL implementation is quite mature :')

For latest MiniGL you can found the changelog in the Update 2 archive.. but recently not much changed aniway

Go to top
Re: SDL/Open GL
Quite a regular
Quite a regular


See User information
@AmigaBlitter

I'm thinking that would depend on whether you are targeting "all accelerated" or merely the Radeon HD bunch.

Go to top
Re: SDL/Open GL
Quite a regular
Quite a regular


See User information
@Thematic

Thank you all for the reply.

I mean what OpenGL version are supported in SDL2?

MiniGL? OpenGLES? Wich version?


Retired
Go to top
Re: SDL/Open GL
Home away from home
Home away from home


See User information
@AmigaBlitter
Quote:

I mean what OpenGL version are supported in SDL2?

MiniGL? OpenGLES? Wich version?


It supports both and MiniGL and OpenGLES renderers. MiniGL is the same old 1.x OpenGL API, and OpenGLES is OpenGL ES 2. For example, the latest port of DosBOX i do some months ago (on os4depot) does support many renderers: software, compositing, OpenGL (MiniGL), and OpenGL ES2 (so ogles2+warp3dnova) one. SDL2 in that terms VERY matured and for now, it's on the level of quality/stable things. Capehill put a lot of effort into it in the last 2 years.

There is also GL4ES SDK, which gives you the ability to use OpenGL 2.x and some of OpenGL 3.x through ogles2.library:
http://os4depot.net/share/development ... ry/graphics/gl4es_sdk.lha

That means of course only cards that support Warp3DNova such as RadeonHD and RadeonRX (as ogles2.library works over warp3dnova).

GL4ES SDK comes with SDL2 and SDL1 specific versions (the same as usual SDL2 and SDL1, just all the stuff routes via ogles2.library). And it's very matured and well-tested already, and I port via this such stuff as:

http://os4depot.net/?function=showfil ... e=game/driving/hcraft.lha
http://os4depot.net/?function=showfil ... /night_of_the_zombies.lha
http://os4depot.net/?function=showfil ... /board/foobillardplus.lha
http://os4depot.net/?function=showfil ... /driving/supertuxkart.lha
http://os4depot.net/?function=showfil ... me/shmup/frikingshark.lha
http://os4depot.net/?function=showfil ... =game/shmup/prototype.lha
http://os4depot.net/?function=showfil ... ary/graphics/irrlicht.lha
http://os4depot.net/?function=showfil ... e=game/misc/neverball.lha
http://os4depot.net/?function=showfil ... me/roleplaying/barony.lha

And those all are OpenGL 2.X+some of them even have parts of OpenGL 3.X usage.

In other words, you need to choose if you want to support everyone (then best to use compositing renderers), or everyone accelerated (so minigl), or everyone with modern cards (so opengles2 or gl4es).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL/Open GL
Quite a regular
Quite a regular


See User information
Skirting the topic...
six years ago I built a partial (no networking) Quakespasm on top of SDL 1.2. The project has SDL2 supported, too and seems to have had many new versions since. Excerpt from changelog:
"Raised MAXALIASTRIS from 2048 to 4096, so that the Slayer's Testaments mod works." Ie. new game mods want new or weird things.

What I remember doing was making some changes regarding minigl missing stuff, and on top of that I think I failed to have multitexturing, too.

So that could be an engine version for both GPU/driver types.

Go to top
Re: SDL/Open GL
Home away from home
Home away from home


See User information
@all

I get buggy OpenGL output with a ScummVM test suite explicitly targeting OpenGL, so I'd like to ask users with different setups to test this, please.

https://c.web.de/@309311521245107413/P3YGGQDXQw-rLfB6ziBL2g

In the normal window that is opened, the cube is displayed just fine, but once I enhance the window I can see drawing issues in the back and even on the front.
(Seems like there is some geometry issue going on, but I don't know realky)


If the window is even more resized, nearly at 2560x1440 in size, then the most prominent bugs become visible.

Is this something known in our minigl?
Or does this bug stem from within scummvm?

Thanks a lot

Btw: you may need to adjust the path to playground3d.
Otherwise simply start "playground3d"



Setup:

Radeon 7950
Enhancer 2.1 gfx driver


Edited by Raziel on 2021/11/27 10:34:45
Edited by Raziel on 2021/11/27 10:41:47
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SDL/Open GL
Just can't stay away
Just can't stay away


See User information
@Raziel

Dunnot if minigl it uses Warp3D or 3DNova wrapper/bridge, but here on my SAM460ex (betasystem) moves smooth and fine the cube.

Radeon RX550.

will do some more tests.

EDIT: so here it uses warp3dnova bridge and runs fine. I have a very poor low resultion video capture uploaded (http://jabirulo.byethost13.com/temp/output.mkv)

and your ScummGL output:
WARNING: You are missing a valid 'translations.dat' file. GUI translation will not be available!
WARNING: GUI: Could not find 'gui-icons.dat'!
WARNING: Could not find theme 'scummremastered' falling back to builtin!
User picked target 'playground3d' (engine ID 'playground3d', game ID 'playground3d')...
Looking for a plugin supporting this target... Playground 3d: the testing and plaground environment for 3d renderers
Running Playground 3d: the testing and plaground environment for 3d renderers (DOS/English)
...
INFO: OpenGL Vendor: The MiniGL Team (minigl.library 2.24)
INFO: OpenGL Renderer: MiniGL/Warp3D Warp3D Nova Bridge
INFO: OpenGL Version: 1.3
INFO: OpenGL Red bits: 0
INFO: OpenGL Green bits: 0
INFO: OpenGL Blue bits: 0
INFO: OpenGL Alpha bits: 0
INFO: OpenGL Z buffer depth bits: 0
INFO: OpenGL Double Buffer: 0
INFO: OpenGL Stencil buffer bits: 8
WARNING: Could not parse GLSL version 'Huh?'!
...

Go to top
Re: SDL/Open GL
Home away from home
Home away from home


See User information
@jabirulo

The test build was explicitely build with only OpenGL, no gl4es wrapper involved (if that's what you meant?).

That's why i need the tests on different platforms, maybe it's the gfx driver from enhancer?

I need to collect more data to know for sure and file a bug report to whomever it may concern.

Thanks for testing


EDIT:
Sorry, i don't have anything to play that file.

Did you resize the window to max too?


EDIT 2:
I didn't bother with the extras for the test build and the OpenGL output is fine.


@all

Could you also please post your setups?

Thanks

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SDL/Open GL
Just can't stay away
Just can't stay away


See User information
@Raziel

emotionDemo should play them:
http://www.os4depot.net/share/video/play/emotion_demo.lha


Got the "empty" faces problems see here on those 2 poor videos I made:

http://jabirulo.byethost13.com/temp/output2.mkv

http://jabirulo.byethost13.com/temp/output3.mkv

Maybe Hans de Ruiter can help.


EDIT2: my system is SAM460ex; 2GB RAM; Radeon RX550; screen resolution 1920x1080@32


Edited by jabirulo on 2021/11/27 11:15:44
Go to top
Re: SDL/Open GL
Home away from home
Home away from home


See User information
@jabirulo

Thanks (i still can't play those back) for confirming

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SDL/Open GL
Site Builder
Site Builder


See User information
It works pretty good on my system with the Radeon HD I have currently installed

WARNINGYou are missing a valid 'translations.dat' fileGUI translation will not be available!
WARNINGGUICould not find 'gui-icons.dat'!
WARNINGCould not find theme 'scummremastered' falling back to builtin!
User picked target 'playground3d' (engine ID 'playground3d'game ID 'playground3d')...
   
Looking for a plugin supporting this target... Playground 3dthe testing and plaground environment for 3d renderers
Running Playground 3d
the testing and plaground environment for 3d renderers (DOS/English)
PLAYGROUND3Dd41d8cd98f00b204e9800998ecf8427e0 bytes.
WARNINGCould not parse GLSL version 'Huh?'!
INFOOpenGL VendorThe MiniGL Team (minigl.library 2.24)
INFOOpenGL RendererMiniGL/Warp3D AMD Radeon HD Southern Islands
INFO
OpenGL Version1.3
INFO
OpenGL Red bits0
INFO
OpenGL Green bits0
INFO
OpenGL Blue bits0
INFO
OpenGL Alpha bits0
INFO
OpenGL Z buffer depth bits0
INFO
OpenGL Double Buffer0
INFO
OpenGL Stencil buffer bits8
WARNING
Could not parse GLSL version 'Huh?'!
INFOOpenGL VendorThe MiniGL Team (minigl.library 2.24)
INFOOpenGL RendererMiniGL/Warp3D AMD Radeon HD Southern Islands
INFO
OpenGL Version1.3
INFO
OpenGL Red bits0
INFO
OpenGL Green bits0
INFO
OpenGL Blue bits0
INFO
OpenGL Alpha bits0
INFO
OpenGL Z buffer depth bits0
INFO
OpenGL Double Buffer0
INFO
OpenGL Stencil buffer bits8
WARNING
Could not parse GLSL version 'Huh?'!
INFOOpenGL VendorThe MiniGL Team (minigl.library 2.24)
INFOOpenGL RendererMiniGL/Warp3D AMD Radeon HD Southern Islands
INFO
OpenGL Version1.3
INFO
OpenGL Red bits0
INFO
OpenGL Green bits0
INFO
OpenGL Blue bits0
INFO
OpenGL Alpha bits0
INFO
OpenGL Z buffer depth bits0
INFO
OpenGL Double Buffer0
INFO
OpenGL Stencil buffer bits8
Initializing OpenGL Renderer

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL/Open GL
Home away from home
Home away from home


See User information
@walkero

Could you resize the window to at least max of your resolution (which would that be btw?) and see if you encounter those geometry errors in the back of the cube?

Thanks

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
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-2023 The XOOPS Project