01 December 2023, 09:46 | #41 |
Registered User
Join Date: May 2020
Location: Figueira da Foz
Posts: 424
|
I cannot get it to run in WinUAE, is there any special setting one should be aware?
|
01 December 2023, 11:54 | #42 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
:/
Just to make sure: did the red band look similar to the on in my previous video? Two more things to try (later): * No Allocate Mode for disabling the data cache (fetching the map data by 16-byte lines is counterproductive, and this is in fact why on 68030 the cache burst gets disabled); * squeezing some cycles by means of better pipelining (if possible at all). Last edited by saimo; 02 December 2023 at 01:27. |
01 December 2023, 11:56 | #43 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
|
01 December 2023, 11:59 | #44 | |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Quote:
Requirements-wise, basically you need 68020+, AGA, PAL SHRES and 4 MB of FAST RAM. |
|
01 December 2023, 13:19 | #45 | |
Registered User
Join Date: May 2020
Location: Figueira da Foz
Posts: 424
|
Quote:
|
|
01 December 2023, 13:27 | #46 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
The screenmode prefs are irrelevant, as the program hits the hardware directly. But they could be useful for a test: what happens if you set the Workbench screenmode to PAL SHRES? Maybe your RTG card has trouble dealing with it. Also, it would be great if you could show me a picture.
|
01 December 2023, 15:04 | #47 | |
Registered User
Join Date: May 2020
Location: Figueira da Foz
Posts: 424
|
Quote:
On: pvm.png pvm02.png I then switch to WinUAE>display>resolution>SuperHires In: 01 Workbench_004.png 01 Workbench_005.png 01 Workbench_006.png Last edited by pixie; 01 December 2023 at 15:29. |
|
01 December 2023, 18:07 | #48 | |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Quote:
You found the solution: the last two pictures look correct |
|
02 December 2023, 01:33 | #49 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
New test build: on 68040 and 68060, this one disables the data cache altogether when the frame is being rendered; this avoids many useless data fetches as the map data is almost never read by consecutive locations.
I've also checked whether the core loop could be made to exploit the 68060 pipelines better, but it looks like there isn't any room for improvement (I did swap around a couple of instructions, though, but the result should be just the same). It would be great to get test results from machines mounting those CPUs and - why not - also 68020s. Note: for easier testing, the attached archive includes also the data files. Last edited by saimo; 02 December 2023 at 23:03. Reason: Removed attachment, as I provided a newer version later. |
02 December 2023, 20:02 | #50 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,217
|
New version crashes (just black screen after starting, doesn't allow exit). Don't see any red part of screen with version from post #38.
|
02 December 2023, 23:13 | #51 | ||
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Quote:
Also, to make benchmarking easier, I have added two command line options. Template: BLINDBENCHMARK=BB/S,FULLBENCHMARK/FB BLINDBENCHMARK: run benchmark without copying the data to the PED81C raster FULLBENCHMARK: run benchmark without skipping anything The functions make PVE render 100 frames, quit to AmigaOS and print the results to the standard output. During the execution of benchmarks, joystick and keyboard must not be operated to not affect the results. Finally, I have reworked the controls: * replaced mouse with keyboard; * [FIRE] to start; * [ESCAPE] to quit; * [F1] to turn the staggered lines on/off; * [F2] to turn the fps indicator on/off. Quote:
Last edited by saimo; 03 December 2023 at 18:05. Reason: Removed attachment as I provided a newer one later. |
||
03 December 2023, 04:52 | #52 |
Registered User
Join Date: Jul 2023
Location: Domsjö/Sweden
Posts: 56
|
Very cool!
FULLBENCHMARK result: 30.48 fps on 70MHz 030. |
03 December 2023, 07:14 | #53 |
Registered User
Join Date: Dec 2016
Location: Italy
Posts: 769
|
Congratulations Saimo, I have no words.
Excellent voxel engine for the Amiga !!! |
03 December 2023, 12:20 | #54 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
|
03 December 2023, 12:23 | #55 |
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
|
03 December 2023, 12:58 | #56 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,480
|
|
03 December 2023, 14:34 | #57 |
Registered User
Join Date: Jul 2023
Location: Domsjö/Sweden
Posts: 56
|
|
03 December 2023, 17:07 | #58 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,480
|
Quote:
|
|
03 December 2023, 17:37 | #59 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,217
|
Works again, but speed is unchanged:
bb: 19.15 fb: 17.42 In your blind benchmark, you're not copying to chipmem, is that correctly understood? Seems weird that it's so much slower on (my) 060, and chip copy has so little impact. Are you doing any CacheControl stuff or lots of cache flushes? |
03 December 2023, 18:20 | #60 | |||
Registered User
Join Date: Aug 2010
Location: Italy
Posts: 854
|
Thanks once again.
Quote:
Quote:
Quote:
Can you try also the attached version, please? It simply ensures that the superscalar dispatch is enabled and has a little dbf -> subq+bpl optimization for the 68060 code. I don't expect much difference, though. Last edited by saimo; 04 December 2023 at 22:06. Reason: Removed attachment as I provided a newer version later. |
|||
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 |
|
|