English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 November 2018, 12:01   #1
Octopus66
Registered User

 
Join Date: Feb 2016
Location: London
Posts: 80
Beamrace Lagless Stability

Hi Toni,

The most exciting development for WinUAE in recent years must be the beam racing lagless latency which has been implemented from version 4 onwards. I love this feature however I am struggling to get a solid picture with no tearing 100% of the time. It seems that it will work 95% and then tear randomly.

I think I have a fairly good PC set-up (i5-6500 3.2Ghz) with cheap but ok GFX card (GV-N1030D5-2GL) and I am only trying slices of 4 or 2 to make this fully stable. I am using HDMI out to get 50Hz.

Are there any tips on how to make this rock solid?
Does this work in full screen and full window with same stability?
Do the CPU settings have an impact? Is only exact recommended?
What other factors play a part in getting this working perfectly?
Would old config files mess anything up?

Thanks!
Octopus66 is offline  
Old 28 November 2018, 12:02   #2
Octopus66
Registered User

 
Join Date: Feb 2016
Location: London
Posts: 80
I have been using the latest beta too - which appears to change the behavior somewhat but I still cannot get it rock solid.
Octopus66 is offline  
Old 28 November 2018, 12:18   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,129
Start with A500 quickstart config, use some game that works fine without cycle-exact (so that there is not much CPU usage), full screen mode (native resolution).

Try different slice numbers, press END+F9 to enable debug colors.

EDIT: also check nvidia control panel and test if setting power management mode = optimal power helps.

Last edited by Toni Wilen; 28 November 2018 at 12:34.
Toni Wilen is online now  
Old 28 November 2018, 12:41   #4
Octopus66
Registered User

 
Join Date: Feb 2016
Location: London
Posts: 80
Thanks - I have been playing with the power management settings for the graphics card which did seem to help (I found this is an old beta thread, forgot to say), but not still not perfect.

When I press END+F9 what is supposed to happen exactly? I see a black horizontal line on screen sometimes. Should I hold END+F9? I don't see any colours...?
Octopus66 is offline  
Old 28 November 2018, 14:26   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,129
END+F9 toggles debug colors that shows slice change positions in real time. The less vertical jittery, the more stable it is.
Toni Wilen is online now  
Old 28 November 2018, 14:36   #6
Octopus66
Registered User

 
Join Date: Feb 2016
Location: London
Posts: 80
When I press END+F9 I see a black horizontal line (maybe 1 pixel) on the screen at various heights for a split second. I cannot make an assessment of how "jittery" the line is because it vanishes almost immediately.

Not sure how to interpret this...?
Octopus66 is offline  
Old 28 November 2018, 14:37   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,129
There should be large colors bars at both edges of horizontal border. Make sure your filter mode does not hide them.
Toni Wilen is online now  
Old 28 November 2018, 14:46   #8
Octopus66
Registered User

 
Join Date: Feb 2016
Location: London
Posts: 80
Ah! Yes, I see it now. Yes the bars are quite jittery. At 10 slice or 2 slice the bars seem to be quite jittery, but similar jitter levels - is this normal? Any ideas on techniques to reduce the jitter?
Octopus66 is offline  
Old 28 November 2018, 14:51   #9
Retro-Nerd
Missile Command Champion

Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 46
Posts: 11,235
I noticed it too. But before i start to test more. It's began with the update to Windows 10 v1809 a few days ago. Did they screw something in the last two years? Happens to some other emulators (mostly D3D renderer) too. W10 v1607 was rock solid in that department.
Retro-Nerd is online now  
Old 28 November 2018, 15:20   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,129
It is a hack (or abuse of common side-effect of immediate buffer swap) that wants line accurate tearing that is "hidden" by having both previous and next frame identical around the buffer swap point.

Which unfortunately means any driver or Windows update may change lagless vsync behavior without breaking any documented driver behavior rules..
Toni Wilen is online now  
Old 28 November 2018, 15:34   #11
Retro-Nerd
Missile Command Champion

Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 46
Posts: 11,235
Ah, ok. Didn't know that.

Edit: Ok, did some testing (also a few days ago). The good thing: Via standard quickstart settings and loading games (OCS and AGA) from disk everthing's smooth, no tearing. Loading WHDLoad via 68020/30 WB setup (most compatible settings of course) causes a moderate tearing, mostly horizontal. But if i disable cycle exact settings it's 99,9% tearing-free. I know, WHDLoad isn't a good test case. But as i said it worked flawlessly with the same PC running W10 v1607. Maybe it only needs a tiny bit of tweeking.

Last edited by Retro-Nerd; 28 November 2018 at 16:08.
Retro-Nerd is online now  
Old 28 November 2018, 18:35   #12
Octopus66
Registered User

 
Join Date: Feb 2016
Location: London
Posts: 80
Just for clarity, I have never had this working perfectly with any version of Windows 10. Is there anything I can try to improve the stability of the coloured bars?
Octopus66 is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Synchronize to native audio rate in lagless vsync mode Dr.Venom support.WinUAE 2 17 October 2018 15:58
ACA620 Stability Help solarice support.Hardware 29 26 July 2018 21:47
stability question ? Kyon support.WinUAE 2 24 December 2009 22:23
Looking for tetris-stability game Rochabian Looking for a game name ? 2 09 November 2006 21:27
Opitimisation and stability for A4060 Tony Landais support.Hardware 5 10 July 2005 17: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 17:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07412 seconds with 13 queries