22 April 2018, 20:10 | #221 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,347
|
With Windows desktop set to portrait orientation, start emulation in full-screen D3D9 mode. Press F12 to open the settings window. The Amiga display behind is messed up: rotated 90 degrees anti-clockwise and squashed horizontally (= vertically if monitor isn't physically in portrait orientation). Doesn't happen with 3.6.1.
|
22 April 2018, 20:22 | #222 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Quote:
Quote:
|
||
22 April 2018, 20:58 | #223 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,347
|
This config should show the problem:
Code:
http://www.media!fire.com/file/eudds5tzd1j2liu/A500_1.2_test_D3D9_FS.uae.zip Something which may be related: line mode is "double, fields+", no vsync. With emulation running, on WinUAE 3.6.1 the display "shimmers" due to the different refresh rates of emulated PAL Amiga vs 60Hz PC. That's normal, to be expected. However with 4.0.0b5, the shimmering is different in vertical regions across the screen. |
22 April 2018, 21:08 | #224 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Problem is that there is no functional D3D9 changes so you need to have more proof and guarantee it isn't something weird going on your system. And which beta was first?
|
22 April 2018, 21:33 | #225 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,347
|
I think that was a false alarm and the issue isn't beta-specific. The problem seems to happen (on Windows 10 1709) when "Disable full-screen optimisations" is checked in the program/shortcut properties. When not checked (which is the default), the Amiga display looks correct on pressing F12. Strange that the issue only happened in portrait orientation though.
|
22 April 2018, 21:52 | #226 |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
@mark_k
Just curious, are you doing your tests with "disable fullscreen optimizations" set for the winuae.exe or not? Apparently since the Fall Creators update fullscreen optimizations are forced on for all applications by default. When I did some testing very recently with winuae in d3d9 mode and fullscreen without vsync on a 60hz display I noticed there's no longer tearing. Apparently some sort of vsync is forced. Ticking the "disable fullscreen optimizations" on the compatability tab for the WinUAE exe solved it (non-vsync mode in d3d9 showed tearing again). Google search show a lot of hits for this feature. Apparently it has a benefit that the compositor is skipped in certain cases. But evidently it also forces vsync in situations where it shouldn't. Fullscreen optimizations might be hurting your game performance in Windows 10 Why you should disable Fullscreen Optimizations on Windows 10 Here's a way apparently to disable it system wide instead of going through every exe (haven't tried it myself yet): Disable Fullscreen Optimizations in Windows 10 @Toni I'm not sure how (or whether) this may be affecting lagless vsync for certain users, but it seems the feature is aggressive enough that it may interfere in some way / situations at least. Probably best thing to do for now is to make sure this "fullscreen optimizations" feature is disabled for the winuae.exe when doing lagless vsync testing in Windows 10. Just to be on the safe side... |
22 April 2018, 22:20 | #227 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Use D3D11, it should not affect DXGI fullscreen.
I haven't disabled it and both D3D9 and D3D11 works just fine. (It is also possible next soon officially released Windows 10 update improved it) Note that as usual, I don't support any Windows hacks. Don't do it just because some web site says so. |
24 April 2018, 04:47 | #228 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
I checked the latest beta and lagless vsync looks to be working very nice under d3d11.. no more tearing & lower cpu usage
One new problem introduced. I use startup/cleanup args to change cpu settings on the fly when launching & exiting whd games. WinUAE will now crash & exit whenever I quit a game and attempt to switch from CE mode back to JIT & fastest possible. |
24 April 2018, 11:22 | #229 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Quote:
Does same happen in windowed mode? (without vsync) |
|
24 April 2018, 13:51 | #230 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Yes, preferably I would use D3D11 solely. There's an exception though for me to use D3D9 when using the CRT shader by guest.r (this one) on my Atom portable, as the shader
- looks better in d3d9 when used with the modified winuae.fx (mask applied in gamma space, see here). The modified winuae.fx doesn't seem to have an effect with d3d11. - and more importantly the crt-guest-low-res.fx shader is much slower when used in d3d11 mode on the Atom compared to d3d9 mode, to the point where audio will start to crackle periodically in d3d11 mode, where in d3d9 mode it runs flawless. And I need to use this CRT shader when I'm away from my real CRT Quote:
I think my main gripe as a "power user" is that this is all done silently in the background and leave us guessing and spending hours to find out why an application is showing unexpected behaviour. |
|
24 April 2018, 15:03 | #231 | |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
Quote:
whdload.prefs is default, tooltypes used are; executestartup=uae-configuration cpu_speed real cachesize 0 cycle_exact true executecleanup=uae-configuration cpu_speed max cacheszie 8192 cycle_exact false |
|
24 April 2018, 16:30 | #232 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Don't enable RTG lagless vsync, it isn't implemented yet.
|
24 April 2018, 17:03 | #233 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
Ok I tried with RTG completely disabled and still the same problem.
(I havn't been launching games via RTG screen anyway, it is early startup menu launcher via native output). |
24 April 2018, 20:23 | #234 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Fixed. Lagless vsync timing method now changes depending on CPU mode (approx/ce or fastest possible) and it had missing check..
|
25 April 2018, 10:52 | #235 |
Registered User
Join Date: Mar 2012
Location: Australia
Age: 44
Posts: 1,126
|
Excellent, thanks Toni
|
27 April 2018, 20:11 | #236 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,021
|
Quote:
The capacity returned by READ CAPACITY is doubled. For example a 32 GB harddrive appears as 64 GB. TD_GETGEOMETRY does not fill the dg_TotalSectors and dg_Cylinders fields. CMD_READ and SCSI READ(10) commands seem to always succeed although they cannot return any meaningful values. READ(10) even succeeds if the requested block is far beyond the disk size, for example it can read block 4294967295. The sector size in the DosList entry does not match that returned by READ CAPACITY and TD_GETGEOMETRY. It's always 512. |
|
27 April 2018, 20:44 | #237 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Do you have test program? (This is how it works, final fixes only when good test case is available )
|
27 April 2018, 23:06 | #238 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,021
|
Quote:
It probably gives too much information for your needs, but that's how I found out about it. I can make a smaller program tomorrow. |
|
28 April 2018, 09:00 | #239 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Should be fixed now. (I didn't get wrong capacity but wrong blocksize probably could have caused it depending on size of drive)
|
28 April 2018, 14:10 | #240 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,021
|
Last edited by thomas; 28 April 2018 at 14:16. Reason: False alarm: network shares were not mounted |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE 3.2.2 beta series | Toni Wilen | support.WinUAE | 21 | 20 December 2015 17:35 |
WinUAE 3.1.0 beta series | Toni Wilen | support.WinUAE | 305 | 06 June 2015 23:25 |
WinUAE 2.3.3 beta series | Toni Wilen | support.WinUAE | 124 | 17 September 2011 15:48 |
WinUAE 2.0.0 beta series | Toni Wilen | support.WinUAE | 445 | 13 December 2009 14:46 |
WinUAE 1.6.1 beta series | Toni Wilen | support.WinUAE | 54 | 18 June 2009 11:05 |
|
|