English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 26 December 2017, 09:18   #261
Genju
Registered User
 
Genju's Avatar
 
Join Date: Mar 2005
Location: Germany
Age: 43
Posts: 73
I've been having problems with some DX9 shaders in DX11 mode as well, xBR shaders especially. There are some fuzzy edges in the image (best seen on the Kickstart 1.3 startup screen) that aren't there in DX9 mode.

I've attached my test config, the shader file and winuaelog.txt.
Attached Thumbnails
Click image for larger version

Name:	dx9.png
Views:	183
Size:	30.7 KB
ID:	55940   Click image for larger version

Name:	dx11.png
Views:	182
Size:	72.6 KB
ID:	55941  
Attached Files
File Type: txt 5xBR-v3.8c.fx.txt (7.1 KB, 66 views)
File Type: uae shader_test.uae (13.6 KB, 78 views)
File Type: txt winuaelog.txt (10.9 KB, 77 views)
Genju is offline  
Old 26 December 2017, 10:03   #262
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
Does it become correct if you do following change:

MinFilter = POINT;
MagFilter = POINT;

->

Filter = MIN_MAG_MIP_POINT;
Toni Wilen is offline  
Old 26 December 2017, 10:08   #263
Genju
Registered User
 
Genju's Avatar
 
Join Date: Mar 2005
Location: Germany
Age: 43
Posts: 73
Yes, seems fine now after making that change, thanks!
Genju is offline  
Old 26 December 2017, 10:22   #264
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
Perfect. I'll try to make this conversion automatic. (MinFilter/MagFilter=POINT/LINEAR to FILTER = MIN_MAG_MIP_POINT/MIN_MAG_MIP_LINEAR)

EDIT: Done.

Last edited by Toni Wilen; 26 December 2017 at 14:55.
Toni Wilen is offline  
Old 26 December 2017, 16:30   #265
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
Quote:
Originally Posted by mark_k View Post
Did you experiment with DXGI_SWAP_EFFECT_FLIP_DISCARD too?

Testing winuae.exe 2017-12-23 21:11 on Windows 10 1709, AMD FirePro W5100 in D3D11 mode:
- With "No buffering" vsync is now forced in full-window mode. Before (with 3.6.0b14) there was tearing in full-window mode with No buffering.
- With "Double buffering" there is still tearing in full-window mode (same as 3.6.0b14).
- Still in full-window mode, running emulation with double buffering, opening setttings, changing to no buffering and continuing emulation results in the previous image remaining static on-screen but sound playing. So emulation runs but the display is not updated at all.
I can't see any difference with DXGI_SWAP_EFFECT_FLIP_DISCARD (I was originally going to use it but RTG did partial updates and could not have worked, since then a lot has changed and now there is separate "staging texture" that custom emulation code updates, after update it is blitted to another texture that is used for rendering. Which mean _DISCARD will work fine in any mode)

Blit model is now only used if DXGI 1.5 tearing mode is not available.
Toni Wilen is offline  
Old 27 December 2017, 19:54   #266
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
http://www.winuae.net/files/b/winuae_3600b15.7z
http://www.winuae.net/files/b/winuae64_3600b15.7z

I think 3.6 is getting complete enough, estimated release date: January 2018.

Beta 15:

- Debugger 68040/060 MMU table dump command (mmud) didn't support 8k page size. Mask out page descriptor bit 3 (unused) and 4 (M) when checking for descriptor flag differences to generate more useful output from Fusion Forty boot ROM generated page tables.
- Debugger memory string routines now also use MMU mapping mode if enabled.
- Fusion Forty memory flag fixed (It does not use processor slot ram and it must not be enabled). Fixes boot crash if MMU emulation is enabled. Note that it will crash (nothing to do with emulation) if MMU is enabled and 32-bit RAM (except board's onboard RAM is enabled) or any Z3 boards are enabled. Real A2000 can't have those.
- D3D11 no-buffer mode now selects blit model (instead of flip model) if DXGI 1.5+ allow tearing mode is not available.
- D3D11 low latency vsync partially implemented. No calibration, it uses Windows reported value because they should be accurate (reported as fractional number)
- D3D11 black frame insertion support implemented. (which probably isn't working very well..)
- D3D11 mode will now reload shader(s) automatically on the fly if they are modified.
- D3D11 mode D3D9 to D3D11 compatible shader conversion now also converts D3D9-only migfilter/magfilter lines.
- D3D11 mode D3D9 to D3D11 compatible shader modification is completely skipped if technique10 or technique11 is found.
- D3D11 mode fullscreen alt-tab reliability improved, it was still possible to get blank or partially blank window after alt-tab.
Toni Wilen is offline  
Old 27 December 2017, 21:12   #267
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
Quote:
Originally Posted by Toni Wilen View Post
Blit model is now only used if DXGI 1.5 tearing mode is not available.
Blit model allowing tearing (which I guess you see with Nvidia GPU?) doesn't seem to be universal. It may well be driver/hardware-dependent. Flip may always happen in vsync with AMD drivers. So on some hardware there will be no benefit to using blit vs flip. I wonder what the Intel graphics driver does.
mark_k is offline  
Old 28 December 2017, 01:40   #268
Saghalie
Registered User
 
Saghalie's Avatar
 
Join Date: Nov 2014
Location: FT Lewis, WA
Posts: 374
I am getting a virus hit on winuae_3600b15.7z Type: Trojan:VBS/Foretype.A!ml

See attached.
Attached Thumbnails
Click image for larger version

Name:	Trojan.jpg
Views:	137
Size:	46.9 KB
ID:	55970  
Saghalie is offline  
Old 28 December 2017, 09:16   #269
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
Looks like weird Windows defender false positive because it reports .7z file as being a virus, not the contents of archive!

I disabled real-time scanning, downloaded it, scanned it manually: virus found, test 7z file, all ok, unpack 7z file, manually scan winuae.exe: nothing found.

virustotal.com does not report anything.

EDIT: I reported it using manual sample submit option.

Last edited by Toni Wilen; 28 December 2017 at 09:27.
Toni Wilen is offline  
Old 28 December 2017, 11:21   #270
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
running another OS than Windows on Windows is like a virus to Microsoft
jotd is offline  
Old 28 December 2017, 21:17   #271
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
Quote:
Originally Posted by Toni Wilen View Post
- D3D11 low latency vsync partially implemented. No calibration, it uses Windows reported value because they should be accurate (reported as fractional number)
With low-latency vsync and "No buffering", emulation seems to run at double the correct speed. Happens in windowed, full-window and full-screen modes. Double and triple buffering seem fine. (AMD graphics card, Windows 10 1709.)

Edited to add...

With emulation running in D3D11 full-screen mode, press F12. Desktop reappears and settings window opens. Minimise the settings window. It moves to a small titlebar-height window at the lower left of the screen, just above the taskbar. (It doesn't minimise to the taskbar as it should.)

With emulation running in D3D11 full-screen mode, press F12. Desktop reappears and settings window opens. The settings window is always on top of other windows, even if "GUI window always on top" is not enabled in misc settings.

With emulation running in D3D11 full-screen mode, press F12. Click Reset. WinUAE returns to full-screen mode and emulation continues (the emulated machine resets of course), but the screen is just black. Press F12 again, see settings window on desktop. This time just click OK and emulation continues correctly.

Last edited by mark_k; 28 December 2017 at 22:03.
mark_k is offline  
Old 29 December 2017, 04:12   #272
turrican3
Moon 1969 = amiga 1985
 
turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
thank you tony for the last update,
i'll have a test.
sorry i'm too late for the logs... I'm a little busy those times.hopefully Genju was there.
edited: fast test, black screen with dx11, not picture at all but sound. link the logs beta 15
edited 2 : exactly same test but with beta 14, same result than before : dx11 display but badly. logs added. Perhaps it will be be easier to debug.
Attached Files
File Type: txt winuaelog.txt (83.9 KB, 90 views)
File Type: txt winuaebootlog.txt (24.4 KB, 66 views)
File Type: txt winuaelogb14.txt (62.9 KB, 71 views)
File Type: txt winuaebootlogb14.txt (23.9 KB, 77 views)

Last edited by turrican3; 29 December 2017 at 04:27.
turrican3 is offline  
Old 29 December 2017, 05:22   #273
Saghalie
Registered User
 
Saghalie's Avatar
 
Join Date: Nov 2014
Location: FT Lewis, WA
Posts: 374
Quote:
Originally Posted by Toni Wilen View Post
Looks like weird Windows defender false positive because it reports .7z file as being a virus, not the contents of archive!

I disabled real-time scanning, downloaded it, scanned it manually: virus found, test 7z file, all ok, unpack 7z file, manually scan winuae.exe: nothing found.

virustotal.com does not report anything.

EDIT: I reported it using manual sample submit option.
Thanks!
Saghalie is offline  
Old 29 December 2017, 08:49   #274
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
Quote:
Originally Posted by turrican3 View Post
thank you tony for the last update,
i'll have a test.
sorry i'm too late for the logs... I'm a little busy those times.hopefully Genju was there.
edited: fast test, black screen with dx11, not picture at all but sound. link the logs beta 15
edited 2 : exactly same test but with beta 14, same result than before : dx11 display but badly. logs added. Perhaps it will be be easier to debug.
Quote:
shader.code(49,2-19): Deprecated DX9 state 'MinFilter' is being ignored for fx_5_0; use state 'FILTER' instead
Automatic conversion can't handle include files (it would not be good idea to modify them on disk automatically), you need to manually update shader.code:

MinFilter = LINEAR
MagFilter = LINEAR

->

Filter = MIN_MAG_MIP_LINEAR

and

MinFilter = POINT
MagFilter = POINT

->

Filter = MIN_MAG_MIP_POINT

If this does not help: attach config file.
Toni Wilen is offline  
Old 29 December 2017, 12:30   #275
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
Quote:
Originally Posted by Toni Wilen View Post
Looks like weird Windows defender false positive because it reports .7z file as being a virus, not the contents of archive!
I got mostly useless status report back which practically only says "No malware detected". I guess it was also fixed, 7z is now detected as clean.
Toni Wilen is offline  
Old 29 December 2017, 12:52   #276
turrican3
Moon 1969 = amiga 1985
 
turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
Quote:
Originally Posted by Toni Wilen View Post
Automatic conversion can't handle include files (it would not be good idea to modify them on disk automatically), you need to manually update shader.code:

MinFilter = LINEAR
MagFilter = LINEAR

->

Filter = MIN_MAG_MIP_LINEAR

and

MinFilter = POINT
MagFilter = POINT

->

Filter = MIN_MAG_MIP_POINT

If this does not help: attach config file.
config file attached + a dump file.
ps: i detected others problems. will report 2 night.
I hope you have everything you need.
Attached Files
File Type: dmp winuae_x64_3.6.0_b15_2017.12.29_12.33.18.dmp (198.6 KB, 74 views)
File Type: txt winuaebootlog.txt (23.8 KB, 60 views)
File Type: txt winuaelog.txt (21.8 KB, 65 views)
File Type: uae turrican3 whdload dx11.uae (27.4 KB, 91 views)
turrican3 is offline  
Old 29 December 2017, 17:56   #277
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Toni I think you fixed AGA display, cos a lot of AGA games had a trashed display with previous beta. Now it runs fine !

Also note that you fixed the crash on turning off bluetooth/inserting USB peripheral that I reported some time ago. Latest beta rocks!

thanks again for all this

Last edited by jotd; 29 December 2017 at 18:04.
jotd is offline  
Old 29 December 2017, 18:35   #278
mcbpete
Zone Friend
 
mcbpete's Avatar
 
Join Date: Oct 2004
Location: London, England
Age: 42
Posts: 239
Send a message via MSN to mcbpete Send a message via Yahoo to mcbpete
In the latest beta build I've finally switched all my profiles from dx9 to dx11 and swapped the video filter from 'PAL' to 'd3d: Lanczos16' (seemed to 'blend' the colours and soften the pixels closer to how I remember things being on my TV back in the 90s!), and the CPU has dropped from ~40-50% right down to ~0-5% (frequently remains at 0%). Flipping magical witchcraft !

Last edited by mcbpete; 29 December 2017 at 18:42.
mcbpete is offline  
Old 29 December 2017, 18:43   #279
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Holidays are always beneficial for amiga projects
jotd is offline  
Old 31 December 2017, 11:15   #280
Amiga68k
Registered User
 
Amiga68k's Avatar
 
Join Date: Oct 2017
Location: Amsterdam
Posts: 231
I have two configurations that I use on a regular basis:

'Games' setup: RTG 720 x 576
'Productivity' setup: RTG 1024 x 768

When I change Display settings of the first one to Full-window the mouse is 'off'. When clicking on the screen it 'activates' the click further to the right. Second symptom is I can move the mouse on the black parts of the screen on the left and right side.

With 1024 x 768 in Full-window mode, the mouse is correct and I cannot move the mouse to the left and right black parts.

Attached you can find the files that correspond to the first scenario.
Attached Files
File Type: uae OS3.1_Amiga1200_68030_Picasso96.uae (12.9 KB, 69 views)
File Type: txt winuaebootlog.txt (12.5 KB, 65 views)
File Type: txt winuaelog.txt (29.8 KB, 78 views)
Amiga68k 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 Development. Better than the real thing...yet? antiriad76 support.WinUAE 6 18 May 2017 14:25

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:27.

Top

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