English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 10 October 2017, 14:24   #21
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
Leave only this line in whdload.prefs:

ExecuteStartup=uae-configuration cpu_speed real cachesize 0

And start a whdload game then quit, and run sysinfo.
Do it in both Winuae and fs-uae. Then you will know if it works or not.
nobody is offline  
Old 10 October 2017, 14:30   #22
Retro-Nerd
Missile Command Champion
 
Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,450
Easiest workaround: Use FS-UAE 2.6.1 or lower. Or ask Toni if he could update "uae-configuration", so that the newer FS-UAE jit commands are valid too.
Retro-Nerd is offline  
Old 10 October 2017, 14:49   #23
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Quote:
Originally Posted by nobody View Post
Leave only this line in whdload.prefs:

ExecuteStartup=uae-configuration cpu_speed real cachesize 0

And start a whdload game then quit, and run sysinfo.
Do it in both Winuae and fs-uae. Then you will know if it works or not.
No, you won't. Speed isn't the issue - JIT is the issue. Setting cpu_speed real will just slow down the emulator to a 7Mhz '040 so the games will be slower, but graphical glitches due to JIT are still present - c.f. Carrier Command.

Carrier Command runs fine if running from a config with cpu_speed set to max and jit_compiler = 0. Setting JIT on is what causes the graphical errors.

I'll test your suggestion above.

...And the results are in. With WHDLoad prefs set, Dhrystones after running Carrier Command - 9742 in Sysinfo. Carrier Command is still broken.

Disabling JIT, but leaving cpu_speed=max in the fs-uae config file: Carrier Command works fine, no graphical glitches but the screen update speed is much quicker (not as quick as JIT, but still good). Sysinfo after running shows dhrystones of 33690.

So it seems that there is no way (currently known) of disabling/enabling JIT while emulation is running.
Dunny is offline  
Old 10 October 2017, 14:52   #24
Retro-Nerd
Missile Command Champion
 
Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,450
Not with the current FS-UAE versions and uae-configuration. As i said (haven't tried it though). FS-UAE 2.6.1 or lower should work as discussed earlier.
Retro-Nerd is offline  
Old 10 October 2017, 14:57   #25
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
WinUAE







FS-UAE Linux






The results are almost the same.
nobody is offline  
Old 10 October 2017, 15:03   #26
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Yes, Nobody, but you're not disabling JIT - that option doesn't work. You're setting "cpu_speed real" which is where the slowdown is coming from.

And slowing down the CPU doesn't fix OCS games. Disabling JIT does. At least for mine.

Test again without the cpu_speed parameter. Set cachesize to 0 and then to 8192 and test each.
Dunny is offline  
Old 10 October 2017, 15:54   #27
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
Well if you use only cachesize it does nothing. Seems he disabled this feature in newer fs-uae.
nobody is offline  
Old 10 October 2017, 16:26   #28
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Quote:
Originally Posted by nobody View Post
Well if you use only cachesize it does nothing. Seems he disabled this feature in newer fs-uae.
Yeah, and that was what disabled JIT previously. I'm gonna trawl through the fs-uae sources tonight and see if I can figure out what he replaced it with - seems that uae-configuration just sends textual config items to the host, so with luck we should be able to get it disabled with the right command.
Dunny is offline  
Old 11 October 2017, 11:50   #29
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
It works in latest fs-uae "development" linux version.

When I run
uae-configuration cachesize 0
Speed goes from 60x A4000/040 to 2x.
nobody is offline  
Old 11 October 2017, 13:29   #30
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Oh, excellent. I'll see if I can procure a Linux build from somewhere (don't really want to have to install Linux just to build it!)
Dunny is offline  
Old 11 October 2017, 13:34   #31
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
Maybe I will just inject that version in amilator USB upload. In fact I already have that working in a USB.
nobody is offline  
Old 11 October 2017, 14:10   #32
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Please do. That would round things off nicely.
Dunny is offline  
Old 11 October 2017, 19:46   #33
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Would it be a case of simply unsquashing the filesystem, copying fs-uae (and fs-uae.dat) over the already existing files and using mksquashfs to recompress? If so, I may give it a try on the mac.
Dunny is offline  
Old 11 October 2017, 20:26   #34
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
No it's not enough. You need to run Linux to do it properly.
nobody is offline  
Old 11 October 2017, 20:59   #35
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Well, it worked anyway.

I now have full speed JIT for productivity and workbench use, and WHDLoad games run at 3x a 4000 '040 speed...

...And Carrier Command works a treat now, thanks!
Dunny is offline  
Old 11 October 2017, 21:24   #36
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
Ok that's good. When I used windows to uncompress and compress the filesystem it was failing. Anyway I use apt and dpkg so I have to use Linux.
nobody is offline  
Old 11 October 2017, 22:29   #37
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,013
Quote:
Originally Posted by nobody View Post
Ok that's good. When I used windows to uncompress and compress the filesystem it was failing. Anyway I use apt and dpkg so I have to use Linux.
I used the mac

Windows couldn't decompress the filesystem properly due to some flags being super-user status. Mac managed it fine.

Be aware that a few things have changed as far as native graphics are concerned, too. keep_aspect no longer functions (though it should do) but now you can set stretching and scaling via options. Check the source changes here for details.

Now that I have pretty much perfect games (aside from some, like Buggy Boy, needing a 68000 for proper speed, but that's a known bug on the whdload tracker) it's time to look at getting this installed on the internal HDD. But before that can be done, I need to figure out some way to be able to modify the config while the emulation is running...

And I need to research how to use gfxboot to get a decent intro in there. A bouncing boing-ball would be nice
Dunny 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
Disabling go.microsoft.com/DirectX ? thellier support.WinUAE 10 03 June 2015 16:16
jit less compatible with games turrican3 support.WinUAE 4 19 December 2012 23:44
Problem with games when JIT enabled Skirner support.WinUAE 19 08 January 2010 17:22
whdload instructions? [where to put WHDLoad games for GameBase Amiga v1.4] luke_70it project.GameBase Amiga 8 28 October 2009 06:36
Disabling Cyberstorm MK I THX1138 support.Hardware 7 04 May 2006 09:57

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 09:38.

Top

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