English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 November 2022, 17:17   #221
GetBoinged!
Registered User
 
Join Date: Dec 2016
Location: Germany
Posts: 16
Quote:
Originally Posted by Toni Wilen View Post
Does it stop happening if you set NOBLITTER=YES in uaegfx.info? (I suspect b1 uaegfx updates that implement previously unsupported less common drawing operations are not fully correct)
The glitches are also present with the option.
GetBoinged! is offline  
Old 28 November 2022, 18:02   #222
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by GetBoinged! View Post
The glitches are also present with the option.
Strange (also I noticed RTG blitter was always disabled since b4.. winuae.7z updated).

Which AmigaOS version, Picasso96 version and what is that program that shows the corruption?
Toni Wilen is offline  
Old 29 November 2022, 09:30   #223
GetBoinged!
Registered User
 
Join Date: Dec 2016
Location: Germany
Posts: 16
Quote:
Originally Posted by Toni Wilen View Post
Strange (also I noticed RTG blitter was always disabled since b4.. winuae.7z updated).

Which AmigaOS version, Picasso96 version and what is that program that shows the corruption?
Solution found!

Responsible for the image artifacts is the switched on option of the visual effects in AmigaOS 4.1.
To be found under SYS:Prefs/GUI/Effects.

The functions of Picasso96 are included in the graphics.library of AmigaOS 4.1. So there is no Picasso96 under OS4.1 anymore, so to speak.

You can see the image artifacts by opening the SYS:LIBS folder, for example, and then moving the Intuition GUI bar to the right.

However (I still need to test this extensively), switching to optimize on: -> video memory usage helps.
Also to be found in the GUI adjuster under Effects.

** translated from DeepL **
GetBoinged! is offline  
Old 29 November 2022, 13:42   #224
enigma776
Bringer of Death
 
enigma776's Avatar
 
Join Date: Apr 2017
Location: Peterborough, UK
Age: 40
Posts: 434
Quote:
Originally Posted by GetBoinged! View Post
Solution found!

Responsible for the image artifacts is the switched on option of the visual effects in AmigaOS 4.1.
To be found under SYS:Prefs/GUI/Effects.

The functions of Picasso96 are included in the graphics.library of AmigaOS 4.1. So there is no Picasso96 under OS4.1 anymore, so to speak.

You can see the image artifacts by opening the SYS:LIBS folder, for example, and then moving the Intuition GUI bar to the right.

However (I still need to test this extensively), switching to optimize on: -> video memory usage helps.
Also to be found in the GUI adjuster under Effects.

** translated from DeepL **
I have those effects working with a Voodoo 3 as the RTG card without corruption on Beta6 but holy hell does it bring everything to a grinding stop. Introduces a lot of slow down.
enigma776 is offline  
Old 29 November 2022, 18:04   #225
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Emulating GPU per pixel effects using CPU is usually painfully slow.

Voodoo 3 emulation is not by me (only exception is missing big-endian parts). As usual: I don't want to know how 3D hardware works in low level. It is someone else's problem.

(btw, always test with previous official version before posting in this thread)
Toni Wilen is offline  
Old 30 November 2022, 07:28   #226
Ponki1986
Registered User
 
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
Quote:
Originally Posted by Toni Wilen View Post
Sysinfo is useless test (JIT speed won't change without host CPU/memory speed upgrades...
I made speed measurements using SortBench. I hope this program is more reliable than SysInfo.

Quote:
SORTBENCH 1.1 (Gunnar von Boehn)
Its a CPU benchmark that stresses CPU, DCache and branch prediction.
-------------------------------------------------------------

WinUAE x86 4.9.9 Beta 7 27.11.2022
1 K Element : 231.20 MB/sec
2 K Element : 231.39 MB/sec
4 K Element : 231.20 MB/sec
8 K Element : 230.55 MB/sec
16 K Element : 230.92 MB/sec
32 K Element : 230.61 MB/sec


WinUAE x86 4.9.9 Beta 7 26.11.2022
1 K Element : 231.72 MB/sec
2 K Element : 231.98 MB/sec
4 K Element : 231.90 MB/sec
8 K Element : 231.98 MB/sec
16 K Element : 231.85 MB/sec
32 K Element : 231.84 MB/sec


WinUAE x86 4.9.9 Beta 6 19.11.2022
1 K Element : 230.90 MB/sec
2 K Element : 231.35 MB/sec
4 K Element : 231.32 MB/sec
8 K Element : 231.24 MB/sec
16 K Element : 231.22 MB/sec
32 K Element : 230.78 MB/sec


WinUAE x86 4.9.9 Beta 5 06.11.2022
1 K Element : 261.18 MB/sec
2 K Element : 261.43 MB/sec
4 K Element : 260.99 MB/sec
8 K Element : 261.07 MB/sec
16 K Element : 261.05 MB/sec
32 K Element : 260.60 MB/sec


WinUAE x86 4.9.1 02.02.2022
1 K Element : 258.17 MB/sec
2 K Element : 258.36 MB/sec
4 K Element : 257.99 MB/sec
8 K Element : 257.93 MB/sec
16 K Element : 257.64 MB/sec
32 K Element : 257.59 MB/sec


WinUAE x86 4.9.0 06.12.2021
1 K Element : 259.41 MB/sec
2 K Element : 259.56 MB/sec
4 K Element : 259.56 MB/sec
8 K Element : 259.51 MB/sec
16 K Element : 259.53 MB/sec
32 K Element : 259.23 MB/sec

WinUAE x86 4.4.0 01.07.2020
1 K Element : 259.72 MB/sec
2 K Element : 260.01 MB/sec
4 K Element : 259.69 MB/sec
8 K Element : 259.05 MB/sec
16 K Element : 259.40 MB/sec
32 K Element : 259.28 MB/sec

WinUAE x86 4.3.0 19.12.2019
1 K Element : 259.89 MB/sec
2 K Element : 261.48 MB/sec
4 K Element : 261.19 MB/sec
8 K Element : 261.25 MB/sec
16 K Element : 261.10 MB/sec
32 K Element : 260.90 MB/sec

WinUAE x86 4.2.1 16.05.2019
1 K Element : 257.67 MB/sec
2 K Element : 258.17 MB/sec
4 K Element : 257.99 MB/sec
8 K Element : 257.55 MB/sec
16 K Element : 256.69 MB/sec
32 K Element : 256.75 MB/sec

WinUAE x86 4.2.0 08.04.2019
1 K Element : 260.34 MB/sec
2 K Element : 260.59 MB/sec
4 K Element : 260.17 MB/sec
8 K Element : 260.12 MB/sec
16 K Element : 260.06 MB/sec
32 K Element : 259.87 MB/sec


WinUAE x86 4.1.0 05.12.2018
1 K Element : 258.87 MB/sec
2 K Element : 258.80 MB/sec
4 K Element : 258.76 MB/sec
8 K Element : 258.56 MB/sec
16 K Element : 258.37 MB/sec
32 K Element : 258.19 MB/sec
Ponki1986 is offline  
Old 03 December 2022, 15:03   #227
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
https://download.abime.net/winuae/fi...nuae_4990b8.7z
https://download.abime.net/winuae/fi...ae64_4990b8.7z

Beta 8:

- RTG to chipset mode (non-interlaced) switch didn't enable native mode filter (b7)
- If CIA-A TOD counting was PSU tick based, ticks that were delayed until next scan line (due to CIA internal TOD counting delays) were lost. (b1)
- Added GVP A1208 Z2 RAM + SCSI board. It is basically GVP Series II Z2 SCSI controller + RAM expansion in different form. Uses usual GVP Series 2 SCSI ROMs. If A1208 is emulated and Z2 RAM is enabled, Z2 RAM gets GVP A1208 Z2 RAM autoconfig data. A1208 GVP internal device ID is 0x97.
- JIT mode interrupt handling restored, JIT needs "different" interrupt handling than non-JIT modes for best performance. (b5)
- uaegfx blitter emulation was accidentally disabled since b4.
- uaegfx b1 update had wrong operator in masked 8-bit DST=SRC blitter function (Turbotext scrolling in 8-bit) (b1)
- uaegfx non-basic blitter functions (for example mask set or not commomly used) didn't handle overlapping source and destination correctly. (Turbotext scrolling in 8-bit mode)
- gfx_left_windowed and gfx_top_windowed config file entries replaced with gfx_x_windowed and gfx_y_windowed. Reason was swapped coordinates but to keep backwards compatibility, new config entries have been added instead of fixing it by swapping them. Old config entries still work.
- A4000 Quickstart mode set PSU tick CIA-A TOD timing but A4000 does not have PSU tick hardware.
- 68020 cycle-exact timing adjustment (Lionheart whdload slave v2.3)
- Increased A1200 68020 approximate speed slightly. (Many AGA demos had slowdowns). CE mode is not changed.
- Rare SupraDrive 2000DMA boot ROM was finally dumped. Support added.
- Debugger memwatch command parsing changed. Some parameters got skipped. Value match is now V<value>.
- Debugger string to integer parser error condition support added. Potentially dangerous commands are now aborted if expected address can't be parsed (like 'g <typo in hex address that does not parse>'), previously failed string to integer conversion returned zero value.

This version should restore performance (CPU and uaegfx) back to 4.9.1 levels.

If there is no major issues left, official should get released in next 2 weeks. Plan that rarely works but maybe this time..
Toni Wilen is offline  
Old 03 December 2022, 15:09   #228
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Thanks Toni, I can only imagine how nice it will be to see a final of this particular cycle of the emulator.

Your work and time is always appreciated..
Mclane is offline  
Old 03 December 2022, 16:42   #229
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
beta8 with Jit is better now than 4.9.2 b1, non-Jit has the best results now Thanks!
Code:
        020/noJit 020/Jit  040/60  020/PAL

4.4.0     2.88     0.511    0.504   1.638
4.9.0     2.96     0.545    0.540   2.182  Jit/RTG 107%, PAL 133%
4.9.1     2.88     0.543    0.541   2.24
4.9.2 b1  3.00     0.593    0.587   2.24   Jit/RTG 116%, PAL 137%
4.9.9 b4  2.756    0.593    0.575   freeze                                      noJit 96%
4.9.9 b5  2.714    0.774    0.875   2.628  Jit/RTG 151%, PAL 160%, 040/60 174%, noJit 94%
4.9.9 b6  2.69     0.772    0.873   2.663                                       noJit 93%
4.9.9 b7  2.732    0.790    0.88    2.639  Jit/RTG 155%, PAL 161%, 040/60 175%
4.9.9 7z  3.056    0.605    0.603   2.76
4.9.9 b8  2.626    0.584    0.581   2.21   Jit/RTG 114%, PAL 135%, 040/60 115%, noJit 91%
PeterK is offline  
Old 03 December 2022, 18:13   #230
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Useless info, but I once got WinUAE hang with RectFill() in P96Speed.
JIT, AmigaOS 3.2.1, uaegfx, 2560x1440x32
Couldn't reproduce once more...
rutra80 is offline  
Old 03 December 2022, 18:18   #231
Ponki1986
Registered User
 
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
After enabling a PNG image as Overlay, the image is black in Direct3D 9 mode. Native modes display correctly without Overlay. In Direct3D 11 mode everything is OK.SortBench shows similar performance to Beta6, SysInfo gives a score of 430 MIPS.

You can see a big increase in performance while using Wazp3D. The GLExcess demo runs very fast compared to version 4.9.1
Attached Thumbnails
Click image for larger version

Name:	IMG_20221203_180843.jpg
Views:	67
Size:	384.0 KB
ID:	77305  
Ponki1986 is offline  
Old 03 December 2022, 18:25   #232
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,099
Hi Toni,
I think something got messed up with the JIT code in the latest beta.
For example with quickstart A4000/68030+best compatibility, disabling interrupts+dma and then changing color00 in a loop makes WinUAE hang (no crash dump).
Running a debug build it looks like random memory corruption with a crash from:
Code:
>	winuae.exe!is_color_changes(draw_info * di) Line 3676	C++
 	winuae.exe!pfield_draw_line(vidbuffer * vb, int lineno, int gfx_ypos, int follow_ypos) Line 3748	C++
 	winuae.exe!draw_frame2(vidbuffer * vbin, vidbuffer * vbout) Line 4528	C++
 	winuae.exe!finish_drawing_frame(bool drawlines) Line 4739	C++
 	winuae.exe!vsync_handle_redraw(int long_field, int lof_changed, unsigned short bplcon0p, unsigned short bplcon3p, bool drawlines) Line 4951	C++
 	winuae.exe!vsync_handler_render() Line 11083	C++
 	winuae.exe!vsync_display_render() Line 11149	C++
 	winuae.exe!hsync_handler() Line 13137	C++
 	winuae.exe!do_cycles_slow(int cycles_to_add) Line 296	C++
 	winuae.exe!do_nothing() Line 5322	C++
 	winuae.exe!m68k_run_jit() Line 5464	C++

-		di	winuae.exe!0x03f13548 {first_sprite_entry=0x000006f8 last_sprite_entry=0x00000000 first_color_change=...}	draw_info *
		first_sprite_entry	0x000006f8	int
		last_sprite_entry	0x00000000	int
		first_color_change	0x00bbbb88	int
		last_color_change	0x000006f8	int
		nr_color_changes	0x00000000	int
		nr_sprites	0x00bbbb99	int
Might be caused by commit f58dc0463f71283b86f255141cbbe7178fadb5d4 (reverting it seems to fix it, but only tested very lightly). To reproduce run the attached executable for ~10 seconds.

EDIT: can't attach the binary for some reason, but it's simply:
Code:
    lea.l       $00DFF000,a6
    move.w      #$7FFF,d0
    move.w      d0,$009A(a6)
    move.w      d0,$009C(a6)
    move.w      d0,$0096(a6)
.l: move.w      d0,$0180(a6)
    addq.w      #1,d0
    bra.b       .l
paraj is offline  
Old 03 December 2022, 18:34   #233
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
JIT + too much compatibility can get tricky because if JIT is too fast, it can overflow buffers doing impossible things like writing to custom registers thousands of times/scanline.

Attach your config, explaining the config is not enough to guarantee exactly matching config. (Possibly this config shouldn't even allow JIT)
Toni Wilen is offline  
Old 03 December 2022, 18:44   #234
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,099
20221203.uae is "repro" configuration, "20221203_actual.uae" is the one I actually use. 20221203-log.txt is log output.

Noticed it because I had done a whdload install and left the game disk inserted, rebooted and it hung on a flashing loading screen. Then reproduced it, wasn't trying to be difficult

EDIT: Rechecked, and isn't new in b8 like I thought, sorry. Seems to work in 4.9.1 but maybe just because that one was slower.
Attached Files
File Type: uae 20221203.uae (13.2 KB, 22 views)
File Type: uae 20221203_actual.uae (13.4 KB, 20 views)
File Type: txt 20221203-log.txt (31.7 KB, 19 views)

Last edited by paraj; 03 December 2022 at 19:07.
paraj is offline  
Old 03 December 2022, 19:10   #235
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
SMC detector is now super-slow. It used to log addresses and fly, but now it's crawling.

I know it's been fixed to take caches into account in a previous beta.
jotd is offline  
Old 03 December 2022, 19:25   #236
freddy
Registered User
 
freddy's Avatar
 
Join Date: Apr 2008
Location: France
Posts: 28
Toni, can you activate the string for translation ?
Attached Thumbnails
Click image for larger version

Name:	Winuae.jpg
Views:	78
Size:	127.8 KB
ID:	77309  
freddy is offline  
Old 03 December 2022, 20:13   #237
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by jotd View Post
SMC detector is now super-slow. It used to log addresses and fly, but now it's crawling.

I know it's been fixed to take caches into account in a previous beta.
"now" means what? Previous beta didn't have any SMC changes.
Toni Wilen is offline  
Old 03 December 2022, 20:59   #238
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by Ponki1986 View Post
After enabling a PNG image as Overlay, the image is black in Direct3D 9 mode. Native modes display correctly without Overlay.
Can't duplicate. Probably need config and log.
EDIT: of course I managed to duplicate it after posting this..

winuae.7z fixed.

Quote:
I made speed measurements using SortBench
I'll upload test version tomorrow.

Quote:
You can see a big increase in performance while using Wazp3D. The GLExcess demo runs very fast compared to version 4.9.1
No interest whatsoever in these things, sorry.

Last edited by Toni Wilen; 03 December 2022 at 21:36.
Toni Wilen is offline  
Old 03 December 2022, 21:35   #239
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
Quote:
Originally Posted by Toni Wilen View Post
"now" means what? Previous beta didn't have any SMC changes.

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.
jotd is offline  
Old 04 December 2022, 11:20   #240
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
Paraj tested it too and here's his conclusions

Quote:
Regarding SMC detection being slow in WinUAE. I tried it on the slave, and it is crazy slow if you have Z3 fast mem enabled (all the cache flushes are killing emulator performance), and maybe there's something about 040+. It's fine with 030+8MB Z2 though.
jotd 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 01:20.

Top

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