English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 June 2018, 11:43   #1
bloodline
Registered User
 
bloodline's Avatar
 
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.
bloodline is offline  
Old 28 June 2018, 12:47   #2
Toni Wilen
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.
Toni Wilen is online now  
Old 28 June 2018, 13:11   #3
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by Toni Wilen View Post
Probably too difficult to debug but at least check if wine complains anything in its own log and also check winuae's log too.
Will do, cheers
bloodline is offline  
Old 01 July 2018, 00:03   #4
bloodline
Registered User
 
bloodline's Avatar
 
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?
Attached Files
File Type: zip winuae_x64_4.0.0_R_2018.06.30_22.56.27.dmp.zip (25.4 KB, 90 views)
File Type: zip winuaebootlog.txt.zip (3.7 KB, 83 views)

Last edited by bloodline; 01 July 2018 at 00:18.
bloodline is offline  
Old 01 July 2018, 00:56   #5
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by bloodline View Post
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).
Then compress / zip the Wine log and upload to a file hosting site for Toni to look at
DamienD is offline  
Old 01 July 2018, 07:59   #6
Toni Wilen
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)
Toni Wilen is online now  
Old 01 July 2018, 21:11   #7
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by DamienD View Post
Then compress / zip the Wine log and upload to a file hosting site for Toni to look at
I think Toni has better thinge to do than look through 200meg of my Winlog
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.
bloodline is offline  
Old 01 July 2018, 21:12   #8
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by bloodline View Post
I think Toni has better hing to do than look through 200meg of my Winlog
Well, I think Toni has better things to do than try to fix issues for people running WinUAE on MACs; using any means possible

Quote:
Originally Posted by bloodline View Post
I will submit this as a bug to the Wine team too (I wanted to get Toni's take on it first).
That should have been your first starting point really
DamienD is offline  
Old 01 July 2018, 22:05   #9
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by DamienD View Post
Well, I think Toni has better things to do than try to fix issues for people running WinUAE on MACs; using any means possible
True

Well WinUAE runs pretty much faultlessly on Wine... it's just the new new beamracing mode which causes issue.

Quote:

That should have been your first starting point really
Beamracing is such a new feature, I thought it might be best to give Toni a heads up first.

Attached the winuaelog.

And the wine log (for the brave)
https://drive.google.com/open?id=1bs...Y8D67QAf90cbib
Attached Files
File Type: zip winuaelog.txt.zip (2.7 KB, 84 views)
bloodline is offline  
Old 01 July 2018, 22:21   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Selected display mode does not have adapter data!
This is the problem. I think I can prevent the crash and generate close enough values.
Toni Wilen is online now  
Old 01 July 2018, 22:56   #11
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by Toni Wilen View Post
This is the problem. I think I can prevent the crash and generate close enough values.


Cheers Toni!
bloodline is offline  
Old 03 July 2018, 08:56   #12
Toni Wilen
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.
Toni Wilen is online now  
Old 03 July 2018, 12:28   #13
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Quote:
Originally Posted by Toni Wilen View Post
I tried current wine devel today and I get crashes (including with the above version) if I used D3D11. Works great with D3D9. Surprised how great it works actually. Only thing I couldn't really use was video recording.

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)
Attached Files
File Type: zip winuae.zip (21.5 KB, 75 views)
alpine9000 is offline  
Old 03 July 2018, 13:11   #14
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by Toni Wilen View Post
Thanks, will test when I get home tonight.
bloodline is offline  
Old 03 July 2018, 13:37   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by alpine9000 View Post
IDXGIOutput QueryInterface 80004002
Winuae does not seem to implement IDXGIOutput1 (which is part of DXGI 1.2 that WinUAE requires).

Crash fixed (=fallback to D3D9)
Toni Wilen is online now  
Old 03 July 2018, 22:32   #16
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by Toni Wilen View Post
Yes, this beta does work with Wine/CrossoverMac! Excellent, this works without fault.
bloodline is offline  
Old 04 July 2018, 12:01   #17
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Confirming beta 2 fixes this for me also.
alpine9000 is offline  
Old 04 July 2018, 14:09   #18
bloodline
Registered User
 
bloodline's Avatar
 
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
bloodline 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
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

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 21:13.

Top

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