![]() |
![]() |
#101 | |
Better than the Original
Join Date: May 2008
Location: Cairo, Egypt
Posts: 152
|
Quote:
BUT: It works fine if I select "Null Filter" instead of "none" filter. |
|
![]() |
![]() |
#102 |
Old retro god.
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 858
|
Hi Toni,
Will you be doing away with the old Vysnc totally as its missing in the latest Beta build? I only ask as the new sync method works really nicely on my P4 but only if I set it to my PC refresh rate, as I have only 60 and 75 I set it to 60 but as a PAL user it all sounds so fast. With the older Vysnc I could limit it to 50 under the software and the Vsync worked fine, ok it was an emulated vysnc but It was ok to watch and no crackle like I get now if I limit to 50. As you see its not a moan and yes I know I need a wondrous new PC but in my financial state that simply isn't going to happen any time soon, as it is the PC I have is a hand me down from a friend. If I have to either HAVE to use a non synced software generated 50hz screen or a 60Hz synced screen then fine but think of the poor please ![]() |
![]() |
![]() |
#103 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
It would be same as using normal non-vsync mode with at least double buffering enabled. |
|
![]() |
![]() |
#104 |
Old retro god.
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 858
|
Pass Toni,
I used to tick the FPS adjust at 50 and choose Vsync in the native Windowed settings, it gave me a 50fps and I didn't see any tearing. If I just don't choose either of the new vsync options and tick the 50fps box its tearing all over the place. Whatever the old Vsync did it seemed to work for me doing it that way.. If I do that now I get 50fps but the sound is awful crackling... |
![]() |
![]() |
#105 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
For some reason windowed mode was always set to "flip immediate" mode (even if buffering is double or triple) which can cause tearing. Apparently it is driver/pc/something specific because I didn't see any tearing. Quote:
http://www.winuae.net/files/b/winuae.zip |
||
![]() |
![]() |
#106 |
Better than the Original
Join Date: May 2008
Location: Cairo, Egypt
Posts: 152
|
No, the crash still happens.
|
![]() |
![]() |
#107 |
Old retro god.
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 858
|
Not here Toni re the crash..
If there's no filter used its an instant crash, turn on Null and its ok. I found this out by accident after deleting the registry key and the default cfg. It scanned the roms, gave me the beta warning and then if I chose a disk it just died.. Just re downloaded the winuae.zip in case I had a cached one.. Same issue.. |
![]() |
![]() |
#108 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Crash fix attempt n+1. Redownload winuae.zip and test, please.
|
![]() |
![]() |
#109 |
Better than the Original
Join Date: May 2008
Location: Cairo, Egypt
Posts: 152
|
|
![]() |
![]() |
#110 |
Registered User
Join Date: Aug 2009
Location: Germany
Posts: 27
|
i'm having the same problem. winuae crashes right after starting any disk.
|
![]() |
![]() |
#111 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Perhaps it is fixed now (make sure exe date is 24.12)
|
![]() |
![]() |
#112 |
Registered User
Join Date: Aug 2009
Location: Germany
Posts: 27
|
for me it is.
![]() |
![]() |
![]() |
#113 |
Old retro god.
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 858
|
Sorry for the late reply, Yes its fixed now Toni, thanks...
|
![]() |
![]() |
#114 | ||
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
The new sound code (latest 24/12 beta) is impressive... It manages to run A500 cycle exact at wasapi exclusive setting 1 (a buffer of 1024 samples on the X-FI card, as logged!), meaning audio latency of ~20ms while keeping the buffer relatively stable! With 2.3.3 it didn't achieve that low latency without constant clicks and plops... I say ![]() In A1200 fastest possible mode it has somehwat less stability, in the sense that at the very first start of WHDLoad games (from RTG workbench), it starves the buffer (red flashing led) resulting in crackling sound...After a few seconds it stabilizes and then manages to run WHDLoad games quite stable. Running AGA demos pronounces the effect of less stability/underruns on the other hand. This even at soundbuffer setting 4 (4096). Mainly tested with Big Time sensuality which wouldn't have problems in some of the earlier beta's. Quote:
![]() A last question on the sound buffer settings. Both setting 1 and 2 result in the same buffer size, i.e. 1024 samples, and thus the same latency? Setting 1 uses buffer blocks of 64 frames and setting 2 of 128 frames per block. So it seems you're requesting a buffer of 16 blocks of 64 frames at setting 1 and 8 blocks of 128 frames at setting 2. Given this, is either setting 1 or 2 to be prefererred, giving how the synchronization / new sound code works? Intuitively I would say more blocks of finer granularity (setting 1 in this case) will be preferred? Last edited by Dr.Venom; 24 December 2011 at 13:26. Reason: typo |
||
![]() |
![]() |
#115 |
Better than the Original
Join Date: May 2008
Location: Cairo, Egypt
Posts: 152
|
the crash is fixed now. sorry for replying late.
|
![]() |
![]() |
#116 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
Quote:
![]() EDIT: I am adding support for XAudio2. It is MS's "official" replacement for DirectSound but not sure if it is only targed for games (not so low latency). Last edited by Toni Wilen; 24 December 2011 at 14:11. |
||
![]() |
![]() |
#117 | |||
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
The weird thing is that in double and triple buffer I also get random slowdowns. So for example booting RTG workbench takes longer during the part where it's in native mode (when using double and triple buffer mode). About 4-5 times longer, rough estimate. Or loading a table in Slamtilt, the "loading" screen takes about 4-5 times the normal time. This happened several times (after fully quitting and restarting WinUAE). These slowdowns don't occur in no-buffering vsync. Also I had a few times where the Slamtilt intro, skipped parts by itself, and in a few seconds skipped to the menu screen. I don't know if it's related, but there were some instances, where the log stated "DSK: FIFO overflow!". Happened a few times, but I can't reproduce it consistently.. EDIT: Before pushing "submit reply", I thought I'd test changing the filter settings from "none" to "null filter" (as it was reported earlier as being a troublemaker) and this completely removes the random slowdowns with double and triple buffer settings! Sound issue with no buffer vsync and aga demos is not entirely fixed with it though (but seems less pronounced). Quote:
![]() Quote:
|
|||
![]() |
![]() |
#118 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
no filter: lock texture, emulate the frame directly to texture, unlock texture. null or other filter: emulate the frame to internal buffer, lock texture, copy the buffer to texture, unlock texture. "None" keeps the lock much longer and either page flip stalls while waiting for texture to unlock or texture lock stalls because page flip is still waiting for vsync. (in buffered mode). I am not sure if this can be fixed easily without doing something that isn't allowed (Not sure if you can keep textures locked while doing other D3D calls without causing deadlocks) Quote:
Add few sample buffers to voice buffer, check status of voice buffer in next frame and suddenly all queued buffers are reported as "played". I guess it periodically checks and processes queued buffers to internal output buffer. Very efficient but impossible to get correct buffer status. btw, WASAPI sound buffer log reported bytes, not samples, so better wait for next version. |
||
![]() |
![]() |
#119 | |||
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
Quote:
Quote:
Btw, since the A500 cycle exact emulation runs soo well at the lowest sound buffer setting currently, would it be possible to add an even lower buffer setting than the current setting 1 and 2 provide? On another note. In my experience the RawInput api is working so very well (having noticable lower input latency than DInput) that it might be an idea to promote it to the default input api for WinUAE? Or maybe provide it as a option in the configuration panel? |
|||
![]() |
![]() |
#120 | |||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
Quote:
Quote:
But I guess it is time to make it the default, but first I'll add small modification: always enumerate dinput devices and use dinput mode if device type does not have DIDEVTYPE_HID flag. |
|||
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE 2.5.1 beta series | Toni Wilen | support.WinUAE | 69 | 22 December 2012 10:22 |
WinUAE 2.3.3 beta series | Toni Wilen | support.WinUAE | 124 | 17 September 2011 15:48 |
WinUAE 2.3.2 beta series | Toni Wilen | support.WinUAE | 79 | 31 May 2011 19:39 |
WinUAE 2.3.0 beta series (was 2.2.1) | Toni Wilen | support.WinUAE | 229 | 22 September 2010 19:20 |
|
|