English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 10 July 2020, 22:18   #1
WDeranged
Registered User
 
WDeranged's Avatar
 
Join Date: Sep 2009
Location: Staffs, UK
Posts: 55
WinUAE very slow when starting in beamraced mode

If I load a config that has beamracing enabled I'm getting extremely slow emulation. Restarting in standard vsync and then changing to beamraced is fine. Anyone know what's going on?
WDeranged is offline  
Old 11 July 2020, 15:25   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
I think someone else had same problem. I don't remember any details, unfortunately. Lagless vsync depends on technically undefined behavior of display driver so anything is possible.

Attach both winuaelog.txt (tick misc panel logging option) and winuaebootlog.txt:
- when directly booting to lagless vsync
- when booting to normal vsync first and then switching to lagless.
Toni Wilen is offline  
Old 11 July 2020, 16:52   #3
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,079
I had that problem back on Windows 7, I had to load a non beamraced windowed config first, then my fullscreen beamraced config, if I didn't emulation would crawl to a halt.

Not a problem on 10 though.
Retroplay is offline  
Old 11 July 2020, 20:00   #4
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Did someone ever had the time/will to a do comparative test between:
g-synced WinUAE fullscreen VS lagless vsync (beamraced) mode?
hexaae is offline  
Old 11 July 2020, 20:55   #5
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
But what would you like to test?
rutra80 is offline  
Old 12 July 2020, 00:19   #6
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
How slow is g-sync fullscreen compared to lagless vsync beamraced...
hexaae is offline  
Old 12 July 2020, 00:45   #7
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Freesync/gsync/VRR has no speed penalty - it's as fast as no vsync. How would you want it to be comapred?
rutra80 is offline  
Old 12 July 2020, 22:28   #8
WDeranged
Registered User
 
WDeranged's Avatar
 
Join Date: Sep 2009
Location: Staffs, UK
Posts: 55
Quote:
Originally Posted by Toni Wilen View Post
I think someone else had same problem. I don't remember any details, unfortunately. Lagless vsync depends on technically undefined behavior of display driver so anything is possible.

Attach both winuaelog.txt (tick misc panel logging option) and winuaebootlog.txt:
- when directly booting to lagless vsync
- when booting to normal vsync first and then switching to lagless.
Ok, here you go. Windows 7 x64 by the way.
Attached Files
File Type: zip Beamrace.zip (9.7 KB, 116 views)
File Type: zip Vsync first.zip (10.3 KB, 110 views)
WDeranged is offline  
Old 13 July 2020, 20:11   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
I have 1080Ti and it works fine in lagless vsync mode (Windows 10) so most likely reason is Windows version. Windows 8.1+ introduced new DXGI features that most likely helps this mode.

Does Direct3D 9 mode work? (Misc panel). If it won't activate: make sure full DirectX9 redistributable is installed.

Try also without any shader filters.
Toni Wilen is offline  
Old 13 July 2020, 21:02   #10
WDeranged
Registered User
 
WDeranged's Avatar
 
Join Date: Sep 2009
Location: Staffs, UK
Posts: 55
Quote:
Originally Posted by Toni Wilen View Post
I have 1080Ti and it works fine in lagless vsync mode (Windows 10) so most likely reason is Windows version. Windows 8.1+ introduced new DXGI features that most likely helps this mode.

Does Direct3D 9 mode work? (Misc panel). If it won't activate: make sure full DirectX9 redistributable is installed.

Try also without any shader filters.
Yeah it's exactly the same in DX9 with shaders disabled. Oh well. It's not a big deal, I'll likely be upgrading to Windows 10 at the end of the year.
WDeranged is offline  
Old 13 July 2020, 22:34   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Also make sure you don't have forced vsync configured in nvidia control panel. Usually also any GPU power saving option must not be enabled.
Toni Wilen is offline  
Old 22 December 2021, 04:24   #12
r.cade
Registered User
 
r.cade's Avatar
 
Join Date: Aug 2006
Location: Augusta, Georgia, USA
Posts: 548
FWIW, this broke somewhere between the 4.2.1 -> 4.3.0 releases.
I don't know what beta version in that series since I didn't keep them all.

Summary:
4.2.1 works perfectly with lagless v-sync in Windows 7 from start of emulation.
4.3.0+ you have to start in non-lagless mode, then switch it after starting emulation. Then it works fine for the rest of the session.

It only affects Windows 7 (I didn't test 8/8.1, but it works on 10 and 11 fine).
I don't believe it's card specific (it did it on my desktop with GTX 770 and laptop with Intel)
DX9/DX11 setting doesn't help
No video card setting helped, that I could find.
Changing to 1 beamraced slice doesn't help.
I dropped the newer WinUAE exe into my 4.2.1 folder to make sure the config is exactly the same, this doesn't help.

I am happy to go through the 4.3.0 beta series and see where it may have broken, if you're interested in finding it. Let me know.

Last edited by r.cade; 23 December 2021 at 15:02.
r.cade is offline  
Old 04 January 2022, 23:24   #13
Mixon
Registered User
 
Join Date: Nov 2021
Location: Budapest
Posts: 45
I have this problem too on Win10, Nvidia Card, latest stable WinUAE.
Mixon is offline  
Old 05 January 2022, 20:43   #14
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Logs from last working (beta) and logs from current version would help + config file. Use single slice to keep it simple.
Toni Wilen is offline  
Old 06 January 2022, 01:25   #15
r.cade
Registered User
 
r.cade's Avatar
 
Join Date: Aug 2006
Location: Augusta, Georgia, USA
Posts: 548
Quote:
Originally Posted by Toni Wilen View Post
Logs from last working (beta) and logs from current version would help + config file. Use single slice to keep it simple.
I'd be happy to do that. However, the links in the 4.3.0 Beta thread appear to be dead. If that series of betas is made available, I will go through them.
r.cade is offline  
Old 06 January 2022, 18:55   #16
Seoman
Registered User
 
Join Date: Nov 2007
Location: Spain
Posts: 29
Quote:
Originally Posted by WDeranged View Post
If I load a config that has beamracing enabled I'm getting extremely slow emulation. Restarting in standard vsync and then changing to beamraced is fine. Anyone know what's going on?
Same problem too on Windows 11 with Nvidia card.
Seoman is offline  
Old 06 January 2022, 19:04   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by r.cade View Post
I'd be happy to do that. However, the links in the 4.3.0 Beta thread appear to be dead. If that series of betas is made available, I will go through them.
Links might be dead but files are not deleted (4.2 betas are oldest). Check 4.9 beta URLs and adjust them to match 4.3 urls.

Quote:
Originally Posted by Seoman View Post
Same problem too on Windows 11 with Nvidia card.
It isn't same if 4.3 does not work. There can be dozens of reasons because it is unsupported way to use D3D.
Toni Wilen is offline  
Old 10 January 2022, 03:04   #18
r.cade
Registered User
 
r.cade's Avatar
 
Join Date: Aug 2006
Location: Augusta, Georgia, USA
Posts: 548
OK, hopefully this will help.
Let me know if I messed anything up with the logs.

I have 4 bundles.

1) The last version that did not have the problem, which is 4.3.0 b4
2) The first version with the problem, 4.3.0 b5
3) The newest 4.9.1 b3.
4) The newest 4.9.1 b3 also, but is with me selecting non-BR mode first, then switching after emulation starts.

All were created with A500 quickstart and just changed to fullscreen BR mode only.

Note that I only experience this problem in Windows 7. The exact same PC with Windows 10 or 11, this problem doesn't occur.
Attached Files
File Type: zip winuae_debug_4.3.0b4.zip (12.8 KB, 49 views)
File Type: zip winuae_debug_4.3.0b5.zip (12.7 KB, 55 views)
File Type: zip winuae_debug_4.9.1b3-slowstart.zip (12.8 KB, 48 views)
File Type: zip winuae_debug_4.9.1b3-changed_to_BR_after.zip (13.6 KB, 50 views)
r.cade is offline  
Old 16 January 2022, 15:43   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
https://download.abime.net/winuae/files/b/winuae.7z

Add "-beamrace 1" command line parameter. This should enable pre-430b5 behavior.

Does it help? If not, attach logs.
Toni Wilen is offline  
Old 16 January 2022, 17:06   #20
r.cade
Registered User
 
r.cade's Avatar
 
Join Date: Aug 2006
Location: Augusta, Georgia, USA
Posts: 548
Quote:
Originally Posted by Toni Wilen View Post
https://download.abime.net/winuae/files/b/winuae.7z

Add "-beamrace 1" command line parameter. This should enable pre-430b5 behavior.

Does it help? If not, attach logs.
Yes, this does fix it for me.
r.cade 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
Starting in full screen mode from commandline fstltna support.FS-UAE 3 20 July 2017 14:02
SWOS 96-97 jams when starting Career Mode robinhood2013 support.Games 3 21 March 2014 16:05
WinUAE slow in fullscreen but fast in windowed mode carls support.WinUAE 12 03 March 2013 13:38
IDEFix Express- slow mode only spoUP support.Hardware 3 14 November 2011 08:23
Starting iGame automatically in fullscreen mode? emuola support.Apps 2 14 September 2010 19:46

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 01:50.

Top

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