English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 12 September 2021, 20:58   #941
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by Mclane View Post
Just a quick question, has the billinear filter been wired up in the beta's. Can enable it but zero effect..
Yes. Also you should already know that "Quick questions" are not acceptable. EDIT: at least include if 4.4 works, did it ever work in any beta. D3D9 or D3D11. No weird filters enabled at same time and so on.. At least some background information that allows me to answer something better than "Yes/No" and "not enough information" (or variant of it).

Last edited by Toni Wilen; 12 September 2021 at 21:16.
Toni Wilen is online now  
Old 13 September 2021, 12:03   #942
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Sorry Toni, I shall hunt out a crystal ball and hit myself in the head with it
Mclane is offline  
Old 15 September 2021, 19:45   #943
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by Viceroy View Post
These pops / cracks in some games e.g:

... Alien Storm (1991)(U.S. Gold)[cr VF][t +6 LGD].adf [in cracktro but more so in trainer]
... Aladdin [AGA]

Start from beta 9 and continue to the latest beta. Pretty standard sound settings and using Direct X9.

Do you require logs or?
https://download.abime.net/winuae/files/b/winuae.7z now has part of b9 change reverted. Does it appear to work better?
Toni Wilen is online now  
Old 15 September 2021, 20:50   #944
Viceroy
Registered User
 
Join Date: Jul 2006
Location: Sunderland
Posts: 946
Yes, thank you Toni.

I no longer have crackles / pops with "Aladdin [AGA]" intro and also "Alien Storm" carcktro / trainer are fine; like with v4.4.0 ;-)
Viceroy is offline  
Old 15 September 2021, 23:47   #945
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
So it is not possible to have both, the stable frame rate and the sound w/o cracks & pops?
Now again the frame rate jumps between 48.x & 51.x! Before was stable at 49.9 all the time.

EDIT: Yea, the framerate with DSOUND is much stable than with WASAPI and when you add there's no more cracks and pops, I would say its better than before!

Last edited by amilo3438; 16 September 2021 at 11:50.
amilo3438 is offline  
Old 16 September 2021, 07:45   #946
Viceroy
Registered User
 
Join Date: Jul 2006
Location: Sunderland
Posts: 946
Quote:
Originally Posted by Viceroy View Post
Hi Toni,

Tested with the latest official 32-bit beta i.e. 31.

Managed to solve the "Aladdin [AGA]" pops / cracks in the intro... played with all settings. What worked in the end was changing from "WASAPI" --> "DSOUND". "WASAPI EX" also works but the volume is much quiter than other modes; why is that?

Also, still the 1 pixel far left and far bottom flashing line in RTG mode for "Quake II", see attached. Doesn't happen in "Windowed" but does in in "Fullscreen".
Did you manage to look at the Quake II RTG mode Toni? And do you require the HDF? Thanks ;-)
Viceroy is offline  
Old 16 September 2021, 23:52   #947
lifeschool
Local Moderator
 
lifeschool's Avatar
 
Join Date: Oct 2009
Location: Lancashire, UK
Age: 48
Posts: 1,591
Quote:
Originally Posted by amilo3438 View Post
So it is not possible to have both, the stable frame rate and the sound w/o cracks & pops?
Now again the frame rate jumps between 48.x & 51.x! Before was stable at 49.9 all the time.
Im not very clued up on this matter, but both MAME and VICE also oscillate between those values. This has been fixed with GroovyMame I think, or at least it is supposed to fix inaccuracies on CRT displays. Games were never meant to be played at a fixed FPS, as there were no digital (LCD) screens in the 1990s. So when you play them today on a fixed Hz display, you get sound sync errors. The Paula chip is analogue, and the Denise chip is also analogue, and meant for analogue (CRT) displays. V-sync is a way to inaccurately fudge the output to match a fixed display Hz on a modern screen, but at the expense of audio sync, hence the clipping.

So which one do you want, an exact analogue display with matching audio timings, at 49-51 fps, or an inauthentic digital display at 49.9Hz, and bad sound?
lifeschool is offline  
Old 17 September 2021, 08:22   #948
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by Viceroy View Post
Did you manage to look at the Quake II RTG mode Toni? And do you require the HDF? Thanks ;-)
No. Yes

Quote:
Originally Posted by lifeschool View Post
Im not very clued up on this matter, but both MAME and VICE also oscillate between those values. This has been fixed with GroovyMame I think, or at least it is supposed to fix inaccuracies on CRT displays. Games were never meant to be played at a fixed FPS, as there were no digital (LCD) screens in the 1990s. So when you play them today on a fixed Hz display, you get sound sync errors. The Paula chip is analogue, and the Denise chip is also analogue, and meant for analogue (CRT) displays. V-sync is a way to inaccurately fudge the output to match a fixed display Hz on a modern screen, but at the expense of audio sync, hence the clipping.

So which one do you want, an exact analogue display with matching audio timings, at 49-51 fps, or an inauthentic digital display at 49.9Hz, and bad sound?
49.92Hz is correct value (or 50.00 if interlace or 50.08 if short field) and it is 100% stable in real world.

Yes, it is much better to let frame rate change slightly than have audio glitches. Almost no one would notice without OSD anyway.. (and note that vsync uses different method that can introduce more sound glitches because it has to sync with video)

There are better ways to do this but it is not in next version and it most likely require changes that are not compatible with dsound anymore.
Toni Wilen is online now  
Old 17 September 2021, 14:07   #949
Viceroy
Registered User
 
Join Date: Jul 2006
Location: Sunderland
Posts: 946
Haha ;-) PM sent Toni
Viceroy is offline  
Old 19 September 2021, 00:28   #950
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by amilo3438 View Post
So it is not possible to have both, the stable frame rate and the sound w/o cracks & pops?
Now again the frame rate jumps between 48.x & 51.x! Before was stable at 49.9 all the time.

EDIT: Yea, the framerate with DSOUND is much stable than with WASAPI and when you add there's no more cracks and pops, I would say its better than before!
Agree. Also from my experience DSOUND gives much better fps smoothness without micro-lags/hiccups (e.g. for testing: Shadow of the Beast 1 main menu with never ending scrolling).
With b33 switching from WASAPI to DSOUND 99.99% eliminates small random hiccups in the scrolling...
I use display > fullscreen (with VSync options EMPTY!) for native resolutions and I have a g-sync display.

I opened a thread long time ago about sound sync issues: http://eab.abime.net/showthread.php?t=104310

Last edited by hexaae; 19 September 2021 at 00:44.
hexaae is offline  
Old 19 September 2021, 17:17   #951
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
https://download.abime.net/winuae/fi...uae_4900b34.7z
https://download.abime.net/winuae/fi...e64_4900b34.7z

Beta 34:

- Harmnless bug causing "Negative nr_color_changes.. " log messages fixed.
- Copper VBLANK startup was 2 cycles too early. (Previous fix was not correct)
- Partially reverted b9 sound update that caused worse sound stability on some systems. It also makes FPS value slightly less stable.
- Audio volume (from AUDxVOL) is only loaded to internal volume register when period counter is loaded. Volume changes during period counting don't affect audio until next period load.
- Copper writes to AUDxDAT in non-cycle exact modes had inaccurate timing.
- AUDxDAT undocumented feature: AUDxDAT write has 1 cycle delay, state machine==3 INTREQ test is done when period counter==1, not when it is zero. (Thanks to ross again, another weird test set )
- RTG screen was not fully cleared in some situations when switching modes (b25)
- Changed debugger "dp" to "dppc" (switch to PPC disassembly mode)
- Ateo Pixel 64 RTG board emulation. Another Cirrus Logic based RTG board. Very quickly done, only works with recent Picasso96 versions, does not work with drivers that need ateobus.library (will be done if someone disassembles it, I am too lazy, as usual). 256 color mode has wrong colors and right edge wraps around. Does not autoswitch.
- "Smooth Copper" works correctly again.
Toni Wilen is online now  
Old 19 September 2021, 19:24   #952
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Something is broken (even before b34) with display > Windowed: Filter with mask seems applied twice here in DX11, and even if Filter: Masks=none... Moreover there's a sort of strange bad buffering where I can see 2 frames constantly swapped (hard to explain)...
This happens in Windowed mode only.



EDIT: mmmh, seems more complicated to reproduce: only happens when you switch from Native Fullscreen to Native Windowed
EDIT2: from my early testings it started with b32

Last edited by hexaae; 19 September 2021 at 19:43.
hexaae is offline  
Old 19 September 2021, 19:27   #953
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
Formula 1 Grand Prix - The game get stuck at track 43! (again)

Quote:
Originally Posted by Toni Wilen View Post
- "Smooth Copper" works correctly again.
"Smooth Copper" hack works fully correct now with 68000! (or its not a hack anymore?! no way)


Quote:
Originally Posted by hexaae View Post
With b33 switching from WASAPI to DSOUND 99.99% eliminates small random hiccups in the scrolling...
The frame time seems to be more uniform with DSOUND that small random hiccups seems less noticeable I guess.

Last edited by amilo3438; 19 September 2021 at 19:38.
amilo3438 is offline  
Old 19 September 2021, 19:36   #954
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by amilo3438 View Post
Formula 1 Grand Prix - The game get stuck at track 43! (again)
Can't duplicate (I noticed that other thread but posting beta specific there isn't good idea). Also not enough information: exact image is always required.


Quote:
"Smooth Copper" hack works fully correct now with 68000! (or its not a hack anymore?! no way)
It still a hack because I don't wan to make it too generic implementation yet, lots of things can break pointlessly.
Toni Wilen is online now  
Old 19 September 2021, 19:43   #955
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
Quote:
Originally Posted by Toni Wilen View Post
Can't duplicate (I noticed that other thread but posting beta specific there isn't good idea). Also not enough information: exact image is always required.
Formula 1 Grand Prix.adf (CRC=3E1E6A69)(EDIT: Look in "The Zone!")!deleted after confirmation!

Quickstart A500 1.2 OCS 512 configuration.

EDIT: Fine in b31! (Btw. I always use 32-bit versions for testing!)

Last edited by amilo3438; 19 September 2021 at 20:51.
amilo3438 is offline  
Old 19 September 2021, 19:48   #956
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by amilo3438 View Post
The frame time seems to be more uniform with DSOUND that small random hiccups seems less noticeable I guess.
The strange thing is I noticed in the above mentioned thread that it all started with >=3.4.0b1. Up to 3.3.0 public, WASAPI was as smooth without stuttering and audio cracklings as DSOUND... (but this is off-topic here, let's talk about this problem in the other thread)
hexaae is offline  
Old 19 September 2021, 20:16   #957
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by amilo3438 View Post
Formula 1 Grand Prix.adf (CRC=3E1E6A69)(EDIT: Look in "The Zone!")

Quickstart A500 1.2 OCS 512 configuration.

EDIT: Fine in b31! (Btw. I always use 32-bit versions for testing!)
This is most likely caused by remaining problem, 68000 interrupt (IPL) pins sampling timing. Until it is exactly right, something will always break. (two or more wrongs can make it right in emulation)

I'll try to adjust this a bit that hopefully mostly fixes this (and Spectreparty demo which has same problem) but this can't be perfect until CPU interrupt timing is 100% perfect (t won't happen in this version).
Toni Wilen is online now  
Old 19 September 2021, 20:35   #958
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
Quote:
Originally Posted by Toni Wilen View Post
This is most likely caused by remaining problem, 68000 interrupt (IPL) pins sampling timing. Until it is exactly right, something will always break. (two or more wrongs can make it right in emulation)

I'll try to adjust this a bit that hopefully mostly fixes this (and Spectreparty demo which has same problem) but this can't be perfect until CPU interrupt timing is 100% perfect (t won't happen in this version).
So yeah, next week is an anniversary so it’s time for the final version, I guess!

Btw. Does this mean that there are still some unknown timing issues regarding the CPU? (or just IPL sampling)
EDIT: I have already found the answer here. (The message is: don't assume, always bother to check.)

Ps. Ok, same happens also with 4400, so no big deal.

Last edited by amilo3438; 20 September 2021 at 18:08.
amilo3438 is offline  
Old 21 September 2021, 17:53   #959
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
This is getting more, lets say, interesting. 68000 interrupt start up processing counted interrupt vector fetch cycle twice (extra 4 CPU clocks) and after fixing it, spectreparty demo flickers 10x+ more

Which means it can't be simple IPL sampling issue anymore. Need to debug this more..
Toni Wilen is online now  
Old 26 September 2021, 18:46   #960
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Some 68000 IPL timing updates added. Spectreparty does not flicker anymore and it does not seem to break anything else.

"Formula 1 Grand Prix (1988)(MicroValue)" also does not hang anymore. But oddly enough game menu's reaallllyy ssssslluggissh behavior is A500 confirmed. It polls for interrupt badly and I thought it was related to bad IPL timing in emulation.. That can't be what it was designed to do, perhaps it requires something unexpected..

I'll clean up the fix first before next official beta.
Toni Wilen is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WinUAE 4.0.1 beta series Toni Wilen support.WinUAE 64 15 July 2018 12:03
WinUAE 3.6.1 beta series Toni Wilen support.WinUAE 166 07 March 2018 22:48
WinUAE 3.2.0 beta series Toni Wilen support.WinUAE 385 08 November 2015 23:06
WinUAE 2.5.1 beta series Toni Wilen support.WinUAE 69 22 December 2012 10:22
WinUAE 2.2.0 beta series Toni Wilen support.WinUAE 119 28 June 2010 02:35

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:09.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.17339 seconds with 16 queries