View Single Post
Old 04 February 2018, 10:25   #15
Amiga68k
Registered User
 
Amiga68k's Avatar
 
Join Date: Oct 2017
Location: Amsterdam
Posts: 231
Toni,

Symptom: Fullscreen D3D11 720x576 resolution has correct Aspect-Ratio, Fullscreen D3D11 1024x768 resolution image is stretched.

I did a comparison between the two. Log entries when going Fullscreen with 720x576:

Code:
39-668 [471 000-000]: D3D11 free start
39-668 [471 000-000]: D3D11 freed3d start
39-668 [471 000-000]: D3D11 freed3d end
39-674 [471 000-000]: D3D11 free end
39-677 [471 000-000]: WM_ACTIVATEAPP inactive 00DC0EE2
39-677 [471 000-000]: D3D11_resize -1 0 0 (0)
39-680 [471 000-000]: D3D11_resize 0 1 -1 (0)
39-719 [471 000-000]: D3D11 free start
39-721 [471 000-000]: D3D11 freed3d start
39-722 [471 000-000]: D3D11 freed3d end
39-724 [471 000-000]: D3D11 free end
39-728 [471 000-000]: SetCursorPos 360x288
39-730 [471 000-000]: WM_ACTIVATEAPP active 00950A78
39-731 [471 000-000]: D3D11_resize 1 1 -1 (0)
39-744 [471 000-000]: D3D11 init start. (720*576) (720*576) RTG=1 Depth=32.
39-751 [471 000-000]: D3D11 found matching fullscreen mode. SLO=1 S=0. Default refresh rate.
39-751 [471 000-000]: D3D11 Highest freq: 148351648/2475000=59.00 W=720 H=576
39-752 [471 000-000]: D3D11 FindClosestMatchingMode1() 148351648/2475000=59.94 SLO=1 W=720 H=576
39-753 [471 000-000]: D3D11 Device: Intel(R) HD Graphics 4600 [\\.\DISPLAY1] (0,0,1920,1080)
39-758 [471 000-000]: D3D11CreateDevice succeeded with level 11.1. Hardware accelerated.
39-764 [471 000-000]: D3D11 2 00000002 00000057
39-766 [471 000-000]: D3D11_resize 1 1 0 (0)
39-769 [471 000-000]: D3D11_resize 0 1 1 (0)
39-770 [471 000-000]: D3D11_resize -> fullscreen
40-095 [471 000-000]: D3D11 freed3d start
40-097 [471 000-000]: D3D11 freed3d end
40-110 [471 000-000]: D3D11 resize 720x576, 720x576 2 00000002 FS=1
40-147 [471 000-000]: D3D11 initd3d start
40-154 [471 000-000]: -> -360.000000 288.000000 360.000000 -288.000000 1.000000 1.000000
40-155 [471 000-000]: D3D11 initd3d end
40-171 [471 000-000]: D3D11 720x576 main texture allocated
40-175 [471 000-000]: D3D11 Shader and extra textures restored
40-176 [471 000-000]: POS (0 0 720 576) - (0 0 720 576)[720,576] (0 0) S=720*576 B=720*576
40-177 [471 000-000]: 0 0 1 1
40-179 [471 000-000]: -> -360.000000 288.000000 360.000000 -288.000000 1.000000 1.000000
40-184 [471 000-000]: D3D11 init end
40-189 [471 000-000]: D3D11 720x576 main texture allocated
40-189 [471 000-000]: POS (0 0 720 576) - (0 0 720 576)[720,576] (0 0) S=720*576 B=720*576
40-191 [471 000-000]: 0 0 1 1
40-193 [471 000-000]: -> -360.000000 288.000000 360.000000 -288.000000 1.000000 1.000000
40-196 [471 000-000]: Buffer size (720*576) RTG
40-201 [471 000-000]: NTSC mode V=59.2804Hz H=15590.7473Hz (227x262+1) IDX=-1 (<?>) D=0 RTG=1/1
40-202 [471 000-000]: RTGFREQ: 262*59.2804 = 15531.4666 / 59.3 = 262
40-223 [472 000-000]: D3D11 Shader and extra textures restored
Log entries when going Fullscreen with 1024x768:
Code:
25-888 [1144 000-000]: D3D11 free start
25-889 [1144 000-000]: D3D11 freed3d start
25-889 [1144 000-000]: D3D11 freed3d end
25-895 [1144 000-000]: D3D11 free end
25-899 [1144 000-000]: WM_ACTIVATEAPP inactive 00570956
25-903 [1144 000-000]: D3D11_resize -1 0 0 (0)
25-904 [1144 000-000]: D3D11_resize 0 1 -1 (0)
25-946 [1144 000-000]: D3D11 free start
25-948 [1144 000-000]: D3D11 freed3d start
25-949 [1144 000-000]: D3D11 freed3d end
25-949 [1144 000-000]: D3D11 free end
25-951 [1144 000-000]: SetCursorPos 512x384
25-953 [1144 000-000]: WM_ACTIVATEAPP active 006109E0
25-955 [1144 000-000]: D3D11_resize 1 1 -1 (0)
25-970 [1144 000-000]: D3D11 init start. (1024*768) (1024*768) RTG=1 Depth=32.
25-972 [1144 000-000]: D3D11 found matching fullscreen mode. SLO=1 S=0. Default refresh rate.
25-972 [1144 000-000]: D3D11 Highest freq: 78750000/1049600=75.00 W=1024 H=768
25-973 [1144 000-000]: D3D11 FindClosestMatchingMode1() 78750000/1049600=75.03 SLO=1 W=1024 H=768
25-973 [1144 000-000]: D3D11 Device: Intel(R) HD Graphics 4600 [\\.\DISPLAY1] (0,0,1920,1080)
25-980 [1144 000-000]: D3D11CreateDevice succeeded with level 11.1. Hardware accelerated.
25-986 [1144 000-000]: D3D11 2 00000002 00000057
25-987 [1144 000-000]: D3D11_resize 1 1 0 (0)
25-988 [1144 000-000]: D3D11_resize 0 1 1 (0)
25-989 [1144 000-000]: D3D11_resize -> fullscreen
26-294 [1144 000-000]: D3D11 freed3d start
26-295 [1144 000-000]: D3D11 freed3d end
26-298 [1144 000-000]: D3D11 resize 1024x768, 1024x768 2 00000002 FS=1
26-319 [1144 000-000]: D3D11 initd3d start
26-333 [1144 000-000]: -> -512.000000 384.000000 512.000000 -384.000000 1.000000 1.000000
26-335 [1144 000-000]: D3D11 initd3d end
26-363 [1144 000-000]: D3D11 1024x768 main texture allocated
26-364 [1144 000-000]: POS (0 0 1024 768) - (0 0 1024 768)[1024,768] (0 0) S=1024*768 B=1024*768
26-365 [1144 000-000]: 0 0 1 1
26-368 [1144 000-000]: -> -512.000000 384.000000 512.000000 -384.000000 1.000000 1.000000
26-369 [1144 000-000]: D3D11 init end
26-378 [1144 000-000]: D3D11 1024x768 main texture allocated
26-378 [1144 000-000]: POS (0 0 1024 768) - (0 0 1024 768)[1024,768] (0 0) S=1024*768 B=1024*768
26-380 [1144 000-000]: 0 0 1 1
26-382 [1144 000-000]: -> -512.000000 384.000000 512.000000 -384.000000 1.000000 1.000000
26-382 [1144 000-000]: Buffer size (1024*768) RTG
26-389 [1144 000-000]: NTSC mode V=59.2804Hz H=15590.7473Hz (227x262+1) IDX=-1 (<?>) D=0 RTG=1/1
26-390 [1144 000-000]: RTGFREQ: 262*59.2804 = 15531.4666 / 59.3 = 262
26-409 [1145 000-000]: D3D11 Shader and extra textures restored
The only difference that I spot is with "D3D11 Highest freq":

Code:
720x576: 148351648/2475000=59.00
1024x768: 78750000/1049600=75.00
Going Fullscreen with D3D9 gives minimal output (Aspect Ratio is correct though):
Code:
57-693 [1160 000-000]: SetCursorPos 512x384
57-711 [1160 000-000]: Device name: 'Intel(R) HD Graphics 4600' 140013000f12e3.6
58-183 [1160 000-000]: D3D9Ex: 00000056 00020800 E0020000 00000720 ALPHA DYNAMIC SCANLINE
58-185 [1160 000-000]: D3D9Ex: PS=3.0 VS=3.0 1024*768*0p FS VS=0 B=1I 32-bit 0 (8192x8192)
58-212 [1160 000-000]: D3D9Ex: pixelshader filter 'C:\DATA\WinUAE\plugins\_winuae.fx':-1 enabled
58-221 [1160 000-000]: D3D9Ex: 1024*768 main texture, depth 32
58-225 [1160 000-000]: Buffer size (1024*768) RTG
58-233 [1160 000-000]: NTSC mode V=59.2804Hz H=15590.7473Hz (227x262+1) IDX=-1 (<?>) D=0 RTG=1/1
58-236 [1160 000-000]: RTGFREQ: 262*59.2804 = 15531.4666 / 59.3 = 262
Could this very well just be a display driver bug?
Amiga68k is offline  
 
Page generated in 0.05872 seconds with 12 queries