21 December 2023, 19:09 | #181 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,643
|
You're welcome.. Looking at the table, it seems your engine has an affinity for 030
Quote:
It showed 17 FPS on screen by the way. |
|
21 December 2023, 19:16 | #182 |
Registered User
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,639
|
@ hooverphonique
|
21 December 2023, 19:20 | #183 |
Registered User
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,639
|
|
21 December 2023, 20:32 | #184 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,643
|
|
21 December 2023, 20:51 | #185 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,478
|
|
21 December 2023, 21:56 | #186 |
Registered User
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,639
|
|
21 December 2023, 22:53 | #187 | ||
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Quote:
Quote:
|
||
21 December 2023, 22:54 | #188 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
|
22 December 2023, 11:02 | #189 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Given that now PVE has been tested on a wide range of machines, I have just released it officially. The changelog below summarizes what we discussed here. Many thanks to everybody!
https://retream.itch.io/ped81c v1.1 (22.12.2023) * Reworked screen buffering, so that the raster data is more efficiently written to CHIP RAM when bitplanes DMA is inactive. * Improved 68030 caches handling. * Added 68040 and 68060 caches handling. * Added MMU handling to avoid that the MMU affects the speed negatively. * Optimized rendering core by making it write the dots sequentially. * Made a little 68060-specific code optimization. * Ensured 68060 susperscalar dispatch is enabled. * Added live-toggable staggered lines video filter, which helps see better colors on devices that do not support SHRES and reduces the jailbars effect on devices that support SHRES (to enable/disable: [F1]). * Made fps indicator live-togglable (to enable/disable: [F2]). * Made quitting from the voxel screen return to the splash screen. * Replaced mouse controls with keyboard controls. * Added benchmark function. * Added command line switches to control the CPU caches. * Fixed bug that caused a longword to be written to a random location when the fps indicator was on. * Fixed an innocuous initialization bug. * Made cleanup code more robust. * Updated, extended and fixed documentation. Last edited by saimo; 22 December 2023 at 11:08. |
22 December 2023, 23:32 | #190 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Rasterization on top of rasterization - while AGA can do chunky just fine considering the platform: CPU and chipset. (PPC is a different platform and fantasy CPU/same CPU with emu increase framerate, and will be appreciated by fans of those platforms.)
I appreciate another take. You are competing with Demoscene fame finding a more efficient way since 1994/1995 (even if many are not demonstrating realtime usage). I will put a comment on your videos to supply HW specs in description. It is relevant if you want to compete with software tech on a specific platform. (Otherwise not.) Cheers |
23 December 2023, 11:16 | #191 | |||
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Could you elaborate on this, please? Graphics are rasterized only once.
Quote:
Chunky on AGA always demands some compromises, so I wouldn't say "just fine". Quote:
Quote:
|
|||
01 January 2024, 15:26 | #192 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Just released a new version of PVE which is a trifle faster (about 0.07 fps) on my 68030.
v1.2 (01.01.2024) * Optimized slightly background rendering. * Corrected benchmark fps calculation (312 rasterlines were considered instead of 313). * Built against latest custom framework. * Updated, extended and fixed documentation. |
01 January 2024, 22:43 | #193 |
Registered User
Join Date: Jul 2021
Location: Slovenia
Posts: 10
|
Just tried PVE(1.2) on my Amiga
Amiga1200 Blizzard1260@50 rev.1 setpatch, w/o SS Here are the results: rb 31.872 rb cc 31.330 rb cs 30.039 rb cc cs 30.032 |
02 January 2024, 00:40 | #194 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
@deluxe1260
Cool, thanks! I have added a line with your figures to the table in the manual. After I gather some more updated data, I'll release it. |
27 March 2024, 23:34 | #195 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
It was ages that I intended to dig up some 20+ years old code and use it to play with PED81C a little more. Finally I got around to do it and came up with a new test program called Zoomaniac.
Details in the video and in the manual excerpt below. Download available at https://retream.itch.io/ped81c. [ Show youtube player ] Code:
-------------------------------------------------------------------------------- OVERVIEW Zoomaniac has been written to evaluate the performance on a stock Amiga 1200 of a general-purpose texture scaling routine that writes directly to a PED81C raster. -------------------------------------------------------------------------------- PERFORMANCE The following results are relative to the full screen effect that zooms the cosmonaut in and out. On a stock Amiga 1200, the execution speed is between 25 and 26 fps. If the staggered lines are turned on, the performance drops by about 1 fps (which was unexpected, since all that such option adds is a Copper WAIT and a Copper MOVE for each rasterline). Given that the DMA load caused by PED81C is "double" (see its documentation for the details), a version that uses only half the number (2) of bitplanes has been made to check the performance as if the Amiga had a native chunky video mode. Surprisingly, the performance did not improve at all: relatively to the CHIP bus access, the scaling code must interleave so nicely with the bitplane data fetches that having more bus cycles available does not make any/much difference. An Amiga 1200 equipped with a 68030 clocked at 50 MHz and 60 ns FAST RAM easily performs at steady 50 fps. To find out the maximum performance, new tests were made with special versions of the program that had the video synchronization code disabled. The speed when running the program normally was between 77 and 78 fps. The staggered lines option lowered the fps by about 2. The 2 bitplanes versions performed better, reaching 80-81 fps or, with the staggered lines on, 79-80 fps. Like on the stock Amiga 1200, the extended Copperlist that implements the staggered lines causes a small and similar performance drop. Instead, the halving of the bitplanes DMA load did produce a speed increase. The following table sums up the results. S = stock Amiga 1200 E = Amiga 1200 68030 @50 MHz / 60 ns FAST RAM (Blizzard 1230 IV) 2 = 2 bitplanes on 4 = 4 bitplanes on L = staggered lines on | 4 | L4 | 2 | L2 --+-------+--------+-------+------- S | 25-65 | 24-25 | 25-26 | 24-25 E | 77-78 | 75-76 | 80-81 | 79-80 Notes: * when FAST RAM is detected, an alternative and more suitable scaling routine is used (although writes still happen to CHIP RAM); * on (some?) machines equipped with FAST RAM an even faster strategy would be rendering to FAST RAM and then simply copying at the maximum speed the rendered frame to the CHIP RAM raster. -------------------------------------------------------------------------------- TECHNICAL NOTES * The scaling routine fits any rectangle from a texture into a rectangle of any size and ratio of another texture with nearest-neighbor matching. * Logic and rendering are totally asynchronous: the logic runs always at 50 Hz and the rendering never stops (unless it reaches the limit of 50 fps, imposed by the display refresh rate), thus exploiting the machine's full potential. * The screen buffering employs three buffers in CHIP RAM. * The screen resolution is 1020x256 SHRES pixels, which correspond to 255x256 LORES-sized physical dots and to 128x256 logical dots. * The code is 100% assembly. * The program takes over the system entirely and returns to AmigaOS cleanly. |
28 March 2024, 05:08 | #196 |
Registered User
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,639
|
@ saimo
thanks again |
28 March 2024, 07:00 | #197 |
Registered User
Join Date: May 2020
Location: Figueira da Foz
Posts: 424
|
Great job saimo, as always!
|
28 March 2024, 08:32 | #198 |
Retro Freak
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,665
|
Very nice...
Pistorm32 2.2Ghz : [ Show youtube player ] As with the landscape demo, very nice. On actual CRT looks much better than the video (even though the video is not that bad either, this is captured via a cheap chinese RGB->HDMI converter to 1080p then via an a bit less cheap but still cheap HDMI->USB grabber ) |
28 March 2024, 11:13 | #199 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,468
|
@saimo Amazing work.
@Tom-Cat What's it like with the "no-limit" option? |
28 March 2024, 11:20 | #200 |
Retro Freak
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,665
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No native AGA screens on PIV since P96 v3 upgrade | LoadWB | support.Apps | 0 | 30 October 2020 01:57 |
Extra bottom line on native screens, chipset feature or WinUAE? | PeterK | support.WinUAE | 5 | 11 September 2019 21:21 |
My pseudo 3D jump code | Brick Nash | Coders. AMOS | 24 | 03 September 2016 00:18 |
Chunky to Planar (C2P) -- USELESS GIMMICK?! | crosis38 | support.Hardware | 10 | 09 July 2016 04:17 |
Pseudo Ops Viruskiller | Promax | request.Apps | 0 | 28 July 2010 22:21 |
|
|