Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
108 user(s) are online (44 user(s) are browsing Forums)

Members: 0
Guests: 108

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: Demos of the Week: Shaders on Mesa
Just can't stay away
Just can't stay away


See User information
Nice one (even if my 1st preferred is Felix and the second is CHasoTheory).

--
AmigaONE X1000 and Radeon RX 560
Sam460 and Radeon RX 560
MiST
FPGA Replay + 060 DB
Go to top
Re: Demos of the Week: Shaders on Mesa
Quite a regular
Quite a regular


See User information
@kas1e
HELL YEAH! Keep em coming, Thank You!

"fr-041: debris" would be EPIC."


Edited by khayoz on 2026/9/12 23:02:33
Edited by khayoz on 2026/9/19 17:54:41
1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX, Apollo V4SA, A1X5000/40 <-2026
Go to top
Re: Demos of the Week: Shaders on Mesa
Just popping in
Just popping in


See User information
Here are videos of the mentioned demos running on my Amiga X5000 with Radeon RX550 4GB

E - Departure - https://youtu.be/C-0lVp-xIp4
Felix Workshop - https://youtu.be/gMURMf73t1w
Chaos Theory - https://youtu.be/qDl1TBlNXNA

Also the extreme test of Mesa Showcase demo - https://youtu.be/lBNQD9n0I58

I am still mad about the poor analog audio quality recording out of my AmigaOne X1000 and X5000, because there is still no audio through HDMI driver after all these years! Recording with AHI to audio file is a solution, but it can lead to desynced video. I've tried 3.5 mm, XLR, HDMI embedders and always have this hum. Only not tested method yet is capturing of optical audio signal, but need to buy separate sound card for this.

Go to top
Re: Demos of the Week: Shaders on Mesa
Home away from home
Home away from home


See User information

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Demos of the Week: Shaders on Mesa
Quite a regular
Quite a regular


See User information
If you have the CPU/GPU power!
Run it it from shell with this -

fr-038_theta fr-038_theta --high --texture-quality ultra

Thanks again kas1e, looking forward to Debris! ;)


Edited by khayoz on 2026/9/19 20:15:05
1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX, Apollo V4SA, A1X5000/40 <-2026
Go to top
Re: Demos of the Week: Shaders on Mesa
Home away from home
Home away from home


See User information
@All
Another one, again from ctrl+atl+del French group. Called H-Immersion:





For the AOS4 port, I had to do some heavy lifting: initial generation of textures was taking some time on the CPU,
so I first used them as external files, but it was about 30 MB of data: no way! So, at first I converted all textures
to WebP while keeping 1:1 quality, but it was still 22 MB. Then the small ones were embedded in the binary as WebP,
while the large ones were moved to be generated directly on the GPU, where I calculate many pixels in parallel and keep
the results ready for rendering, without the need for slow CPU generation and extra memory copies.

Music also comes as an external Opus file, as the original SSE-based synthesizer is quite heavy when ported to 20 years
old PPC CPUs. Opus was chosen over MP3 just to save a bit more space as well.

The binary itself also had some work done: getting rid of C++ baggage in file I/O by replacing it with C equivalents,
and shrinking SDL2, which I use together with Mesa.

So all this brings the package down to a reasonable size, while keeping loading/generation time reasonable
(~35s on X1000, ~30s on X5000, but still ~90s on Sam460), and ,thanks to Mesa, all the visuals, shaders and co. remain 1:1 the same.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Demos of the Week: Shaders on Mesa
Quite a regular
Quite a regular


See User information
Thank you for this weeks demo port !
Very nice atmosphere in this one.

Edit: And very interesting to read the explanation on what it takes to port a demo size wize!


Edited by khayoz on 2026/9/24 17:25:49
1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX, Apollo V4SA, A1X5000/40 <-2026
Go to top
Re: Demos of the Week: Shaders on Mesa
Home away from home
Home away from home


See User information
@All
Next one for this week!

This time it some mind blowing demo from wellknown demo group "Andromeda Software Development". Demo called LifeForce and were released at Assembly
2007, where it took a well deserved first place. It were shown on Pianeta Amiga 2026 as well, so it's about to time to release:






For the AmigaOS4 port, I reconstructed the demo from the original Windows binary and the supplied Cg shader files. Since the rest of the source code was missing,
with Ghidra's help,i produced a byte-identical reconstruction of the original executable,then translated the recovered routines into C++ and got the demo running on
x86 under WSL2.From there,a native PPC version with the necessary endian fixes were build.

To make it work fast on our old machines, the original CPU-heavy rendering was changed to offload much of the work to the GPU. For example, static meshes stay
in GPU memory, while shaders and compute handle geometry expansion, fluid simulation, cloth, curves and tubes: this removes CPU calculations and repeated
geometry uploads. To avoid hiccups and micro-stalls in the process,the demo compiles and loads all the shaders at once, right at the start, before the demo actually
starts. As a result, it takes about 60-65 seconds to load up on an X1000 at 2 GHz, but in turn you get around 300-500 FPS over the whole demo, with no hiccups.

The whole demo originally used external textures, music and meshes,and the packed size of the original demo was 27 MB. I didn't try to lower it much; I just reduced
the binary size a bit by getting rid of unnecessary C++ baggage and unused SDL2 functions, as well as getting rid of the CgEffects directory, as all the shaders are
now internal. And while the original shaders are no longer used,the final visual result is 1:1 identical to the original demo.

Grab it from os4depot while it hot !

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Demos of the Week: Shaders on Mesa
Quite a regular
Quite a regular


See User information
@kas1e

Thank you!

1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX, Apollo V4SA, A1X5000/40 <-2026
Go to top
Re: Demos of the Week: Shaders on Mesa
Just can't stay away
Just can't stay away


See User information
@kas1e

Thanks for these great demos—it's really impressive to see all the possibilities we now have with Mesa. More of this, please...

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Demos of the Week: Shaders on Mesa
Quite a regular
Quite a regular


See User information
@kas1e

LifeForce didn't like GART enabled on the Sam460, kept getting random DSI errors.
Worked great with it switched off.
Another really good watch.

Cheers

Go to top

  Register To Post
« 1 2 (3)

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project