https://bugs.winehq.org/show_bug.cgi?id=41128
Bug ID: 41128 Summary: Art of Murder: Hunt for the Puppeteer (AoM: Cards of Destiny) doesn't stretch fullscreen properly Product: Wine Version: 1.9.16 Hardware: x86 URL: http://gamefront.online/files/13257786/AoM2_HuntForThe Puppeteer_Demo.zip OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: joseph.kucia@gmail.com Regression SHA1: cad279449c62a965a70a712a91b11ba52c4ff4f7 Distribution: ---
Created attachment 55334 --> https://bugs.winehq.org/attachment.cgi?id=55334 cropped menu screen
I usually run games using virtual desktop mode at 1440x900 resolution. The games in question have a graphical option 'Save the screen ratio'. When this option is enabled the game should automatically switch to 1440x900 after started (by default the game is opened in a 1024x768 window). This stretching feature doesn't work properly in Wine 1.9.16, resulting in a cropped game screen. The lower and right part of the screen is not visible.
The same problem happens when I start the game in Wine's fullscreen mode.
Terminal output: fixme:win:EnumDisplayDevicesW ((null),0,0x33e808,0x00000000), stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x166a40, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! fixme:d3d:wined3d_device_set_software_vertex_processing device 0x1c4a00, software 0 stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x166a40, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
Regression introduced by
commit cad279449c62a965a70a712a91b11ba52c4ff4f7 Author: Józef Kucia jkucia@codeweavers.com Date: Mon Aug 1 22:28:35 2016 +0200
wined3d: Extract wined3d_swapchain_set_fullscreen() from wined3d_device_reset().
The problem can be reproduced in the (Polish) demo version too. AoM2_HuntForThePuppeteer_Demo.zip sha1: 36525f5bc30a16dbe7b145610636e2b9171ab296
wine-1.9.16-161-gd6d0d96 Fedora 24 XFCE 4.12 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 367.35
https://bugs.winehq.org/show_bug.cgi?id=41128
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 55335 --> https://bugs.winehq.org/attachment.cgi?id=55335 Patch
Thanks for reporting. This patch should fix the issue.
https://bugs.winehq.org/show_bug.cgi?id=41128
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=41128
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Józef Kucia from comment #1)
Created attachment 55335 [details] Patch
Thanks for reporting. This patch should fix the issue.
The patch fixes the problem, thank you.
https://bugs.winehq.org/show_bug.cgi?id=41128
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |bdd7be374723bb92b7f2f735c5e | |d91827acd4cb2 Resolution|--- |FIXED
--- Comment #3 from Józef Kucia joseph.kucia@gmail.com --- Fixed with http://source.winehq.org/git/wine.git/commitdiff/910fc594d9e483143863e27eb74...
https://bugs.winehq.org/show_bug.cgi?id=41128
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|bdd7be374723bb92b7f2f735c5e |910fc594d9e483143863e27eb74 |d91827acd4cb2 |98dd26ccdd3d4
https://bugs.winehq.org/show_bug.cgi?id=41128
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.17.