28 June 2018, 11:43 | #1 |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
WinUAE 4.0.0 beam racing with Wine/CrossoverMac
I know running WinUAE on Wine is always going to have issues, but when I attempted to use the beam racing mode, the emulator is able to draw a single frame then crashes.
-edit- This happens using any number of slices. Last edited by bloodline; 28 June 2018 at 11:52. |
28 June 2018, 12:47 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Probably too difficult to debug but at least check if wine complains anything in its own log and also check winuae's log too.
|
28 June 2018, 13:11 | #3 |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
|
01 July 2018, 00:03 | #4 |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
The Wine Log is 200meg... and doesn't really mean much to me (It's a lot of system calls and I have no Windows coding experience).
I've attached the WinUAE dump file and log file... -Edit- Should I be looking for anything in particular in the Wine error log? Is the beam racing doing anything different from normal? Last edited by bloodline; 01 July 2018 at 00:18. |
01 July 2018, 00:56 | #5 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
01 July 2018, 07:59 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Crash is division by zero so probably some display parameter query API returns invalid zero value for screen height or refresh rate or something. Dump is isn't really telling anything else, I guess it isn't fully compatible.
winuaelog.txt is also missing. Use -logflush command line parameter (not sure if it helps under wine) |
01 July 2018, 21:11 | #7 | |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
Quote:
I will upload it though if anyone does want to have a look through, I'll also try and get WinUAE to produce a proper log file for Toni, which may be more helpful. I would guess that he is correct about Wine returning some screen parameter as 0... I will submit this as a bug to the Wine team too (I wanted to get Toni's take on it first). Last edited by bloodline; 01 July 2018 at 21:16. |
|
01 July 2018, 21:12 | #8 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
That should have been your first starting point really |
|
01 July 2018, 22:05 | #9 | ||
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
Quote:
Well WinUAE runs pretty much faultlessly on Wine... it's just the new new beamracing mode which causes issue. Quote:
Attached the winuaelog. And the wine log (for the brave) https://drive.google.com/open?id=1bs...Y8D67QAf90cbib |
||
01 July 2018, 22:21 | #10 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Quote:
|
|
01 July 2018, 22:56 | #11 |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
|
03 July 2018, 08:56 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
http://www.winuae.net/files/b/winuae.7z should fix the crash.
|
03 July 2018, 12:28 | #13 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Quote:
Added the dump and logs if you're interested. I am fine with using D3D9 however. Code:
D3D11 free start D3D11 freed3d start D3D11 freed3d end D3D11 free end Max hardware surface size: 16384x16384 Mon 0 allocated draw temp buffer (1600*1280*32) = 07DD2020 D3D11 init start. (720*568) (720*568) RTG=0 Depth=32. CheckFeatureSupport(DXGI_FEATURE_PRESENT_ALLOW_TEARING) = 80004001 0 IDXGIOutput QueryInterface 80004002 ExceptionFilter Trap: 00000000 C0000000 00000000 Access violation! (68KPC=00000000 HOSTADDR=00000000) |
|
03 July 2018, 13:11 | #14 | |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
Quote:
|
|
03 July 2018, 13:37 | #15 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
|
03 July 2018, 22:32 | #16 | |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
Quote:
|
|
04 July 2018, 12:01 | #17 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Confirming beta 2 fixes this for me also.
|
04 July 2018, 14:09 | #18 |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
Beam racing is an interesting feature!
Testing with Lemmings using compatible A500 (1.2 Kick) settings; the game executes very slightly faster than a normal PAL A500, and at times I can get the mouse pointer to tear if I move it around the screen fast enough (the frame rate can get a bit jerky randomly, I assume if the CPU gets bogged down)... but the input latency is completely eliminated (or at least imperceptible to me). I'm amazed it works so well! It makes DPaint a joy to use |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about new beam racing VSync | Torkio | support.WinUAE | 42 | 14 June 2020 19:06 |
Were there any Amiga games that were "racing the beam" the Atari2600 way? | Dr.Venom | Nostalgia & memories | 7 | 04 November 2016 12:36 |
WinUAE under Wine | gilgamesh | support.WinUAE | 14 | 12 June 2011 15:45 |
WinUAE in Wine under OS X? | pentad | support.WinUAE | 6 | 29 March 2010 20:45 |
wine and winuae | hit | support.WinUAE | 7 | 14 March 2009 13:01 |
|
|