26 November 2017, 08:43 | #1 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
Possible ocs/ecs chipset bug? (palette flicker)
Watching Seven Seas by Andromeda, I notice there some ugly palette flickering during fades between pictures. Very noticeable with title screen (see pic.)
There are videos on YT which suggest it's been behaving like this for very long time (7+ years). I usually only see this type of 'palette flicker' issue with AGA fastest possible/jit modes.. but in this case it is only AGA chipset displays the fades correctly(!). CPU type and cycle exact modes look to be irrelevant. Tested with standard quickstart configs. |
26 November 2017, 09:43 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
I can't see any flickering.
|
26 November 2017, 09:51 | #3 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
I have seen what may be palette flickering on OCS/ECS, but I think it's more how the routines for fading were written, like the odd-numbered colours were faded one step on one frame, with the even ones on another frame, if you know what I mean.
Some demos, especially AGA on faster models that can use JIT, have exhibited horrendous palette flickering when fading in and out, or even just animating the graphics. In that case, I find that turning off JIT is a good start to reduce it, and maybe slow down the CPU as well. One demo in particular gave me trouble this time last year ("Beats" by Loveboat) and the issue was well-discussed here then. Maybe look for "palette flickering" on these boards, especially UAE? |
26 November 2017, 10:29 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Flickery-like behavior can be normal in slow OCS/ECS fades due to limited color component range (4 bits), it also depends on fade algorithm.
|
26 November 2017, 11:49 | #5 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Exactly, Toni. I wouldn't worry, Ed, that flickering on fades on OCS/ECS is normal. Some just fade better than others.
|
26 November 2017, 12:23 | #6 |
Registered User
Join Date: Aug 2014
Location: Zagreb / Croatia
Posts: 302
|
If it is flickering as on original hardware that just means that emulation is good. Nothing to change.
|
26 November 2017, 12:42 | #7 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
It is not normal
Watch; first is AGA repeated x3.. then OCS/ECS x3 [ Show youtube player ] |
26 November 2017, 12:55 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
I don't care about videos, you never know what kind of extra processing is done by recorder or youtube..
Anyway, it still looks normal for slow OCS/ECS fade. |
26 November 2017, 14:46 | #9 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
I can only test on real a1200 (and it works fine).. but all my 500's have faulty drives - or no drive at all.
I don't remember it happening under OCS.. but it was at least 10 years ago and memory could be corrupt |
26 November 2017, 20:36 | #10 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
I already have that demo in my collection and I just checked it on A500 and A1200 for you on WinUAE, and I'm getting the same thing: the fade looks bad on A500 and good on A1200.
Checking Pouet.net for this prod (http://www.pouet.net/prod.php?which=5373), it came out long after AGA was released in Europe, so I can only assume that the group responsible for this slideshow programmed enhancements for AGA machines so it would look better? It's the best explanation I can think of. |
27 November 2017, 02:55 | #11 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
I must have watched a hundred times back in the day, my favourite slideshow!
Only reporting as 'possible bug' because it seems weird I've never noticed it before.. but maybe this is simply the case, don't know I'll try and resurrect one of my a500's. |
27 November 2017, 07:56 | #12 |
Registered User
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 821
|
|
27 November 2017, 09:31 | #13 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Exactly what I thought, Britelite.
|
27 November 2017, 10:40 | #14 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Cannot be the only reason.
Yes, there is 12/24 bits differences but not so accentuated, if properly written an ECS fade cannot be so wrong. I guessed there is a rounding error somewhere. So I inspected the copper list and found the problem. For some odd reason Andromeda guys zeroed the low bits color components (maybe not understanding AGA behavior?) so the colors are not the same in OCS/ECS and AGA! AGA designers did the only and right thing to maintain compatibility: mirror low bits with high values so tint are better spread an the b/w spectrum are saturated. This copper list break this rule . If you fade this different colors then obviusly there are rounding error when you have less bits available. [EDIT: in fact, watching the video carefully can be seen that all AGA colors are less saturated] Last edited by ross; 27 November 2017 at 10:50. Reason: [] |
27 November 2017, 10:42 | #15 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
Britelite: obvious to a coder perhaps
Well I managed to get a 500 working anyway; Behaves exactly the same as winuae, so only my memory that is bugged I also managed to find an stock a600 in the dungeon (it's a magic dungeon).. under ECS the title screen is completely trashed, as is every picture displayed afterwards. So not replicating winuae in this case. Useless information? Probably... at least I have the hardware ready to do proper testing now before boring Toni with premature assumption. |
27 November 2017, 10:46 | #16 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
|
27 November 2017, 12:00 | #17 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Well, effectively there is other strangeness.
On AGA, KILLEHB is used but the 32 high colors are the same tint as lows but with halfbrite self imposed . EDIT: can be explained in case of recycling of the copper list and images that actually have 64 real colors in the slideshow. But if your image is from start EHB why not use it in AGA? Two different fading routines is mandatory in this demo or a better one.. Last edited by ross; 27 November 2017 at 12:13. |
30 November 2017, 20:19 | #18 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Quote:
I still don't know why. Perhaps demo has strange AGA detection and misdetects it when only ECS Denise is installed? (EDIT: No, it isn't AGA detection) Or it writes to some ECS Denise/AGA registers that coder assumed are only in AGA? EDIT: That was really stupid bug. BPLCON2 ECS Denise new bits were ignored, only AGA enabled them. Demo sets KILLEHB. EDIT2: Fixed. Now palette is "correctly corrupted" if ECS Denise Last edited by Toni Wilen; 30 November 2017 at 21:36. |
|
01 December 2017, 05:55 | #19 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
Excellent Toni
Glad the thread had some use in the end |
01 December 2017, 16:49 | #20 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Quote:
So practically you have a BPL6PTx pointed DMA fetch that goes to "nothing" (if i'm not wrong is an ECS feature for a genlock mask). Is the last loaded value in BPL6DAT used to compose the final colour? (no, i'm not for an ECS only mask effect..) However, it looks a lot like a bug than a feature. Much better if they used a bit for "bitmap genlock mask active". This forces a specific control on the KILLEHB bit use. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What are the best games that were specifically designed for ECS chipset? | ceaser | support.Games | 17 | 13 July 2019 13:25 |
Menace - OCS Colour Palette | invent | Retrogaming General Discussion | 10 | 25 February 2015 21:28 |
WinUAE v2.5.0 - possible bug with Hardware configs, ECS Agnus chipset setting | SedrynTyros | support.WinUAE | 1 | 06 December 2012 21:29 |
Has anybody used the new Indivision OCS/ECS Flicker Fixer | barney | Amiga scene | 24 | 11 January 2010 18:45 |
Chipset type: OCS / ECS Agnus | Njinsa | support.WinUAE | 4 | 19 December 2005 00:29 |
|
|