English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 04 December 2022, 11:25   #241
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by jotd View Post
I remember you fixing issues with code wrongly detected as SMC even when caches were flushed. I don't know exactly in which version it was but it's pretty recent.
Beta thread requirement is to find the version that had the difference. Otherwise the usual response is "works for me" or something as useless.

I think I know what you mean but you really shouldn't use RAM above 16M with SMCD or if you really need more RAM, use mainboard RAM space ($08000000) which is much lower in address space then Z3 RAM.

Next beta has different logic that does not require whole buffer clear when cache is flushed which should help.

Quote:
Originally Posted by Ponki1986 View Post
I made speed measurements using SortBench. I hope this program is more reliable than SysInfo.
Could you check also AIBB? Does all tests show similar reduction in performance or only some?

Was that JIT enabled or not? Does both show similar difference?

I can't see anything obvious in b5 changes (interrupt was the most obvious but it can't explain it because sysinfo tests are running with interrupts disabled). One possibility is compiler update or something similar. I also noticed odd behavior in sysinfo, sometimes tests results can be -10/+10%, rerunning the tests always returns mostly same result but shutting down winuae and restarting sometimes can return different results.. Possibly reason might be winuae main thread running on different core with different max boost limit? (Ryzen 7950X)
Toni Wilen is offline  
Old 04 December 2022, 11:31   #242
Ponki1986
Registered User
 
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
Quote:
Originally Posted by Toni Wilen View Post
Can't duplicate. Probably need config and log.
EDIT: of course I managed to duplicate it after posting this..

winuae.7z fixed.



I'll upload test version tomorrow.
Can I download now?
Same link: https://download.abime.net/winuae/files//b/winuae.7z ?
Ponki1986 is offline  
Old 04 December 2022, 11:42   #243
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by freddy View Post
Toni, can you activate the string for translation ?
Done

Quote:
Originally Posted by Ponki1986 View Post
Can do now. (Normally winuae.7z is not fully optimized build, full optimized uploaded about 10 minutes ago)
Toni Wilen is offline  
Old 04 December 2022, 12:11   #244
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
It's not necessarily beta related, but since you discuss speed variations, there are wild speed swings in Full-windowed mode on my system. Exclusive Fullscreen has rock solid performance.
rutra80 is offline  
Old 04 December 2022, 12:39   #245
Ponki1986
Registered User
 
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
Quote:
Originally Posted by Toni Wilen View Post
Done



Can do now. (Normally winuae.7z is not fully optimized build, full optimized uploaded about 10 minutes ago)
Now Overlay using Direct3D 9 is good.

Other things like PiP, MIDI playback, FloppyBridge, Direct3D 11 work fine.

The AIBB gave a score of 3888959 Dhrystones. Version 4.9.1 scored 449531 Dhrystones
Attached Thumbnails
Click image for larger version

Name:	IMG_20221204_123541.jpg
Views:	113
Size:	1,021.5 KB
ID:	77311  

Last edited by Ponki1986; 04 December 2022 at 14:05.
Ponki1986 is offline  
Old 04 December 2022, 18:41   #246
vulture
Registered User
 
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,840
Hi Toni,

DamienD has tested all 51 x games in his collection that have JIT enabled.

These are now no longer working and freeze with beta 8:

... Cave Story [RTG] [Windows conversion]
... Command & Conquer - Tiberian Sun & The Covert Operations Mission Pack [RTG] [Vanilla Conquer]
... Curse of Monkey Island, The [AGA] [ScummVM]
... Day of the Tentacle [AGA] [ScummVM]
... Descent - Freespace - The Great War [AmigaCD] [RTG]
... Descent [RTG] [D1X_Rebirth]
... Dig, The [AGA] [ScummVM]
... Feeble Files, The [AmigaCD] [RTG]
... Full Throttle [AGA] [ScummVM]
... Griffon Legend, The [RTG] [Windows conversion]
... Heart of Darkness [RTG] [Windows conversion]
... Heretic & Hexen [AmigaCD] [RTG] [MS-DOS conversion]
... Hydra Castle Labyrinth [RTG] [3DS conversion]
... Lands of Lore - The Throne of Chaos [AGA] [ScummVM]
... Legend of Kyrandia, The - Book 2 - The Hand of Fate [AGA] [ScummVM]
... Legend of Kyrandia, The - Book 3 - Malcom's Revenge [AGA] [ScummVM]
... Legend of Zelda, The - Navi's Quest [RTG] [Windows conversion]
... Legend of Zelda, The - Oni Link Begins [RTG] [Windows conversion]
... Legend of Zelda, The - Return of the Hylian (Enhanced) [RTG] [Windows conversion]
... Legend of Zelda, The - Return of the Hylian [RTG] [Windows conversion]
... Legend of Zelda, The - Time to Triumph [RTG] [Windows conversion]
... Mini Slug Project [RTG] [Arcade conversion]
... Retrobattle [RTG] [Windows conversion]
... Sam & Max Hit the Road [AGA] [ScummVM]
... Tyrian [RTG] [OpenTyrian]
... Ultima VII - The Black Gate + The Forge of Virtue & Serpent Isle + The Silver Seed [RTG] [Exult]

If you require configs, HDFs, logs or anything else then please let me know.
vulture is offline  
Old 04 December 2022, 19:41   #247
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by vulture View Post
Hi Toni,

DamienD has tested all 51 x games in his collection that have JIT enabled.

These are now no longer working and freeze with beta 8:
More information is needed. Which beta? Is it reproducible? JIT related problems usually depend on also host CPU speed which can make debugging it difficult without knowing which version work and which don't and if there are anything interesting in the logs. (and weird config is not allowed, especially modified CPU speed adjustments)

I don't have any of above but it also should not be too big. (PC ports are generally annoying to debug)
Toni Wilen is offline  
Old 05 December 2022, 08:23   #248
vulture
Registered User
 
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,840
Hi Toni,

Beta8 is when the issue starts after the recent JIT changes you made. All games are fine in previous betas.

Definitely reproducible every time. Totally understand that PC ports are annoying to debug.

I've uploaded the following configurations / gamedirs for you:

... Descent - Freespace - The Great War [AmigaCD] [RTG]
... Feeble Files, The [AmigaCD] [RTG]
... Sam & Max Hit the Road [AGA] [ScummVM]

https://mega.nz/file/JqAQzTJS#Ol-j96...IV7c3qlaApuW58

Many thanks for your time, appreciated.
vulture is offline  
Old 05 December 2022, 11:17   #249
Ponki1986
Registered User
 
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
Quote:
Originally Posted by vulture View Post
Hi Toni,

DamienD has tested all 51 x games in his collection that have JIT enabled...

... Descent
... Heart of Darkness
... Heretic & Hexen
... NBlood
... Mini Slug Project
... JFKDuke3D
... AmiQuake 2
I too have checked a few of the games in the list above and confirm that they work worse. Up to version 4.9.9 Beta 7 dated 26.11.2022 the games work fine. Later versions of the Beta make the sound in games seem intermittent, jerky and you can also hear a strange echo. It is then clear that there is not enough power to make the game run smoothly. Of course, someone can always say that if something runs slowly it is the hardware's fault. But up until Beta 7 of 26.11.2022 everything worked fine on my hardware. On version 4.9.1 all games ran even too fast. I am attaching the log and configuration files. Maybe they will be useful.

Logs...
Ponki1986 is offline  
Old 05 December 2022, 17:17   #250
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
SMC detector changes look very good , and this may already be fixed, but you've left in some debugging code (line 3364 in debug.cpp)
if (addr < 0x100 || addr > 0x200)
that makes it not work in the current preview version.
Not beta related, but spotted an issue a bit further down in the same function:
Code:
		if (regs.irc == 0x4e75 || regs.irc == 4e74 || regs.irc == 0x4e72 || regs.irc == 0x4e77)
			return; /* RTS, RTD, RTE, RTR */
Should check against 0x4e74 and 0x4e73 for the middle two ones.

And Test/x64 gives an asan hit in romlist_cleanup due to i ending up reading past the end of roms, changing the condition to
while (i < sizeof(roms)/sizeof(*roms) && roms[i].name)
fixes it.
paraj is offline  
Old 05 December 2022, 18:30   #251
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by vulture View Post
Beta8 is when the issue starts after the recent JIT changes you made. All games are fine in previous betas.
Fixed. Hopefully without no other side-effects. JIT requirements are difficult to keep when everything else changes around it..

Quote:
past the end of roms, changing the condition to
while (i < sizeof(roms)/sizeof(*roms) && roms[i].name)
fixes it.
Thanks.

(i < j && roms[i].name) should be enough ("i < j" is needed or most roms get marked as not complete)
Toni Wilen is offline  
Old 06 December 2022, 13:56   #252
vulture
Registered User
 
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,840
Now everything works fine!

Many thx for the fix Toni!
vulture is offline  
Old 06 December 2022, 14:01   #253
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Well thanks to Paraj in this case, Toni normally but nice to see others lending a hand..
Mclane is offline  
Old 06 December 2022, 14:16   #254
Ponki1986
Registered User
 
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
Quote:
Originally Posted by Toni Wilen View Post
Fixed...
I confirm that everything works great. A big thank you for your work and patience needed while reading our requests.
Ponki1986 is offline  
Old 06 December 2022, 20:15   #255
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
Thanks, everything seems fixed, except the super minor romlist_cleanup thing:

Quote:
Originally Posted by Toni Wilen View Post
(i < j && roms[i].name) should be enough ("i < j" is needed or most roms get marked as not complete)
Is still off by one (for my rom list). The i<j loop exits fine, but ends with i==0x215 then i is incremented once more an it's past the end.
paraj is offline  
Old 07 December 2022, 19:20   #256
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by Ponki1986 View Post
I've decided to upload a picture of the JIT message here as it may prove useful. I have encountered a similar situation in this thread before. As recommended, I have set with StackAttack2 an even bigger stack than the author recommends. In contrast, now the error message showed up when I started SnoopDOS and enabled logging. I then started Voodoo-X for archiving and wanted to check if it was missing something, because when I unzip something the progress window is empty. Unfortunately while running Voodoo-X that SnoopDOS in the background everything crashed.
Unfortunately these kind of JIT problems don't tell anything useful except that either PC was corrupted or memory was corrupted (listed opcode is obviously bogus but is it corrupted code or data. You can try disassembling around the bogus instruction to see if there are valid code nearby)

Use stack command to increase stack. Those helper programs can't work in all situations. And try without JIT. If it crashes or misbehaves (usually differently than with JIT): it is Amiga side problem.
Toni Wilen is offline  
Old 07 December 2022, 19:32   #257
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
https://download.abime.net/winuae/fi...nuae_4990b9.7z
https://download.abime.net/winuae/fi...ae64_4990b9.7z

Beta 9 (RC1):

- Direct3D9 mode overlay mode didn't show Amiga screen in most configurations.
- JIT interrupt handling fix part 2.
- Debugger SMC detector cache flush does not anymore clear whole SMC state array (which can be huge if Amiga RAM is located in Z3 space). When state array needs to be reset, reset only RAM and ROM regions. Max SMC array size is now automatically same as highest RAM address.
- Autoresolution didn't do anything unless gfx_windowed_multi or gfx_fullscreen_multi had non-zero values (b1)
- Autoscale worked incorrectly in programmed modes. (b1)
- Disable GUI Wait for blitter checkbox in 68000/010 cycle-exact modes. Previously it was allowed but did nothing.
- CDTV/CD32 Quickstart didn't use new NVRAM Files -path (b1)
- Added Supra AMAB2 ROM to ROM scanner. (Seems to support at least 2000DMA and AutoBoot models). AMAB1 is still missing, previously added 2000DMA ROM most likely isn't AMAB1 because it only supports 2000DMA. 2000DMA ROM selection now also lists all AMAB roms because AMAB2-4 have 2000DMA support (AMAB5/6 dropped 2000DMA support) and ROM scanner selection logic does not support filtering ROMs that have same type.
Toni Wilen is offline  
Old 08 December 2022, 21:48   #258
Maijestro
Registered User
 
Join Date: Aug 2022
Location: Germany
Posts: 36
Hi Toni,

AmigaOs 4.1 FE Update 2 no longer boots with WinUae 4.9.9 beta I only get a green screen when booting.

It runs fine with WinUae 4.9.1.

winuaebootlog.txt
Maijestro is offline  
Old 09 December 2022, 09:18   #259
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by Maijestro View Post
Hi Toni,

AmigaOs 4.1 FE Update 2 no longer boots with WinUae 4.9.9 beta I only get a green screen when booting.

It runs fine with WinUae 4.9.1.

Attachment 77363
Unfortunately bootlog.txt won't help. You need to include both config and winuaelog.txt (easiest way is to tick "Enable full logging" in Paths panel, then load your config and start emulation, when it hangs, open Paths panel again, click Save All to generate file that includes both logs and config)
Toni Wilen is offline  
Old 09 December 2022, 13:27   #260
aribeth23
Registered User
 
Join Date: Oct 2021
Location: Germany
Posts: 12
Hey really like where this is going but I still have trouble with DblPAL screenmode (640x512) I cannot get a good scaling with any 4.9 betas.


With 4.4 I used these settings which provided the best experience for me:
Code:
gfx_colour_mode=32bit
gfx_width_fullscreen=native
gfx_height_fullscreen=native
gfx_autoresolution=0
gfx_lores=false
gfx_resolution=hires
gfx_fullscreen_amiga=fullwindow
gfx_center_horizontal=smart
gfx_center_vertical=smart
gfx_filter_keep_autoscale_aspect=1
gfx_filter_keep_aspect=tv
gfx_filter_autoscale=integer_auto
gfx_filter_aspect_ratio=4:3
But that produces a picture even more off than with these settings (fresh config created only in the WinUAE config)


Is this something that is on the todo list? Am wondering because latest beta is considered RC1.


I also had a crash playing with the settings on the Filter config screen (with the WinUAE created config).

The Attachment winuae4.4_codeblock-reference.jpg shows how it looks in 4.4 with the settings of the above code block

The last picture shows how my config looks with 4.9 Beta9 RC1

The screenmode I use is:
"DBLPAL:High Res No Flicker"
0xA9004
Attached Thumbnails
Click image for larger version

Name:	winuae_beta_scaling.jpg
Views:	82
Size:	403.3 KB
ID:	77367   Click image for larger version

Name:	winuae4.4_codeblock-reference.jpg
Views:	74
Size:	370.4 KB
ID:	77371   Click image for larger version

Name:	winuae_b9-with-MY4.4conf.jpg
Views:	58
Size:	699.7 KB
ID:	77372  
Attached Files
File Type: dmp winuae_4.9.9_bBeta 9_2022.12.09_12.25.52.dmp (156.6 KB, 20 views)

Last edited by aribeth23; 09 December 2022 at 13:59. Reason: Added screenshot and screenmode info
aribeth23 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
WinUAE 4.9.0 beta series (Was 4.5.0) Toni Wilen support.WinUAE 1068 07 December 2021 17:45
WinUAE 4.1.0 beta series Toni Wilen support.WinUAE 105 04 December 2018 20:36
WinUAE 4.0.0 beta series Toni Wilen support.WinUAE 472 19 June 2018 22:54
WinUAE 1.6.1 beta series Toni Wilen support.WinUAE 54 18 June 2009 11:05
WinUAE 1.5.0 beta series Toni Wilen support.WinUAE 453 19 June 2008 09:05

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 15:30.

Top

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