http://bugs.winehq.org/show_bug.cgi?id=34495
Bug #: 34495 Summary: Total War: Shogun 2 character models are fixed sideways Product: Wine Version: 1.7.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: thebenj88@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
All the in-game character (Advisers, generals, agents, in-battle units) models are fixed sideways. I've uploaded several screenshots of the issue here: http://imgur.com/a/RQnRM
I'm currently using a NVIDIA GTX 660ti with the 325.15 driver, and wine 1.7.1, though I have tried other wine versions with no success (1.4, 1.5.28, 1.6rc3, 1.6).
Several other users have also reported this same issue, though all have reported using NVIDIA cards. I've not heard from any AMD users about this issue.
Aside from that, suspect that this issue may be a regression, as previous test data from NVIDIA users did not mention this bug.
http://bugs.winehq.org/show_bug.cgi?id=34495
Ben thebenj88@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thebenj88@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #1 from Rico kgbricola@web.de 2013-09-13 14:30:27 CDT --- What happens if you use native d3dx9_36.dll? Does this fix the issue?
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #2 from Ben thebenj88@gmail.com 2013-09-13 18:57:17 CDT --- (In reply to comment #1)
What happens if you use native d3dx9_36.dll? Does this fix the issue?
No dice. The current wineprefix already has d3dx9_*.dll installed as native. http://i.imgur.com/mmRI4f5.png
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #3 from Rico kgbricola@web.de 2013-09-14 05:00:20 CDT --- Then it's likely a directx-d3d bug ( see http://bugs.winehq.org/describecomponents.cgi?product=Wine ).
As we don't know if it is an nvidia binary driver bug, could you try the following: - How does it look if you use mesa software rendering? - How does it look with nouveau? - Does the demo have the same issue (if it could get running)?
Did you rate the app "Platinum"? Have you tried wine 1.5.17 as in the test? Every user (also me) who looks in the appdb thinks the game should run without any issues with that version? So should be pretty easy to find the regression, shouldn't it? What did you change between that test and now?
Were there some game updates?
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #4 from Ben thebenj88@gmail.com 2013-09-20 02:57:41 CDT --- (In reply to comment #3)
Then it's likely a directx-d3d bug ( see http://bugs.winehq.org/describecomponents.cgi?product=Wine ).
As we don't know if it is an nvidia binary driver bug, could you try the following:
- How does it look if you use mesa software rendering?
- How does it look with nouveau?
- Does the demo have the same issue (if it could get running)?
Did you rate the app "Platinum"? Have you tried wine 1.5.17 as in the test? Every user (also me) who looks in the appdb thinks the game should run without any issues with that version? So should be pretty easy to find the regression, shouldn't it? What did you change between that test and now?
Were there some game updates?
I've attempted to run the game with the Nouveau driver, but it was unable to make it to the main menu (d3d call failed (0x8876086c) : D3DERR_INVALIDCALL).
I've not tried the demo yet, I'll get onto that soon.
As for the review I submitted (Wine version 1.5.17), I was using an AMD card at the time with the Catalyst driver. Using wine 1.5.17 with the NVIDIA drivers has not solved the problem.
However, there have been a number of small game updates since that test. So it's possible that the game updates are causing the issue, or it could be a NVIDIA driver problem.
The earlist NVIDIA test data that I can find is using wine 1.5.4 and NVIDIA 302.07. The test did not mention this issue, had a platinum rating. Unfortunately, I have no details from any other AMD users, so I don't know if this is a NVIDIA-specific issue.
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #5 from Rico kgbricola@web.de 2013-09-20 06:05:30 CDT --- (In reply to comment #4)
I've attempted to run the game with the Nouveau driver, but it was unable to make it to the main menu (d3d call failed (0x8876086c) : D3DERR_INVALIDCALL).
This may be a separate bug either in wine or in nouveau (I think a WINEDEBUG=+d3d9,+d3d log with nouveau would probably help to decide that).
How does it look if you use software rendering? (use LIBGL_ALWAYS_SOFTWARE=1 - see http://www.mesa3d.org/envvars.html ) Does it fail the same way as nouveau?
I've not tried the demo yet, I'll get onto that soon.
If that works, the tester base could be increased dramatically... (it may be worth to look at bug 27365 )
As for the review I submitted (Wine version 1.5.17), I was using an AMD card at the time with the Catalyst driver. Using wine 1.5.17 with the NVIDIA drivers has not solved the problem.
Ok, so we need someone with an AMD or with an Intel card. Maybe one of the nvidia users has an optimus system and could try to run it on the intel card?
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #6 from Ben thebenj88@gmail.com 2013-10-12 06:42:16 CDT --- Small update: I attempted to test this with my onboard intel graphics (HD 4600, mesa 9.2.1), but it crashed after the intro videos.
I'll try and find someone with an AMD card to test this.
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #7 from Ben thebenj88@gmail.com 2013-10-12 18:53:03 CDT --- I've recieved a response from an AMD user:
Sure I am using the beta driver located here http://support.amd.com/en-us/download/desktop?os=Linux%20x86_64 Latest Beta Driver 13.11 Beta 10/8/2013 the AMD Catalyst™ Display Driver With wine 1.7.3
The only thing I have done in wine is the steam work around to allow text to be seen in steam. I also have set up empire total war since then and it is working but not with version 1.7.3
To get it working I needed to do a strange work around but works great to can do the campaign map and battle map with no noticeble lag. But if you try to run it on 1.7.3 campaign works pretty well but it crashes on entering battle. the version I have to run that is 1.5.22
The user stated that he/she was using an amd A8-3870k APU.
So it seems that this may be NVIDIA-specific after all.
http://bugs.winehq.org/show_bug.cgi?id=34495
Mark Strout streetmg@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |streetmg@hotmail.com
--- Comment #8 from Mark Strout streetmg@hotmail.com 2013-10-14 12:39:44 CDT --- A strange bit of info related to this bug:
I launch Steam/Wine normally, and then launch Shogun 2: no crazyleg sideways guys
I launch Steam/Wine (same wineprefix) in a separate X session (xinit blah blah -- :1) and then launch Shogun 2: crazylag sideways guys
nVidia GTX460, 331.13 driver, Wine 1.7.1 (CSMT patched - I'll confirm with an unpatched source when CSMT is mainlined).
Hope that's useful to someone.
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #9 from Ben thebenj88@gmail.com 2013-10-14 20:25:20 CDT --- Not sure why, but after creating a fresh wineprefix and installing shogun 2 in it, the character models are not fixed in the proper position.
Wine 1.7.1 (CSMT patched), with NVIDIA 325.15.
I'll post this to the appdb page and if this 'fix' is reproducible, I'll mark this as resolved.
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #10 from Ben thebenj88@gmail.com 2013-11-08 19:27:33 CST --- Update: I've continued testing this bug in recent versions of WINE (1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6), and the bug is still continuing to appear.
The only fix so far has been to use WINE 1.7.1 with the CSMT patches from Stefan Dösinger.
http://bugs.winehq.org/show_bug.cgi?id=34495
shadedarkken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shadedarkken@gmail.com
--- Comment #11 from shadedarkken@gmail.com 2013-11-09 00:37:33 CST --- This bug exists with Nouveau driver too.
Nvidia 9800GT, wine 1.7.5, nouveau-dri 9.2.2 (Archlinux)
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #12 from Ben thebenj88@gmail.com 2013-12-07 21:22:40 CST --- Issue is still occurring as of WINE 1.7.8
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #13 from Mark Strout streetmg@hotmail.com --- (In reply to comment #10)
Update: I've continued testing this bug in recent versions of WINE (1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6), and the bug is still continuing to appear.
The only fix so far has been to use WINE 1.7.1 with the CSMT patches from Stefan Dösinger.
I can confirm this result. Bug is present on nVidia hardware in recent stock versions of Wine, and bug is absent with 1.7.1-CSMT and 1.7.4-CSMT.
http://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #14 from Ben thebenj88@gmail.com --- Issue is still occurring in WINE 1.7.14 & NVIDIA 334.21
http://bugs.winehq.org/show_bug.cgi?id=34495
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |http://store.steampowered.c | |om/app/201270/ CC| |focht@gmx.net Summary|Total War: Shogun 2 |Total War: Shogun 2 |character models are fixed |(Steam): character models |sideways |are fixed sideways Ever confirmed|0 |1
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
NVIDIA GeForce GT 425M Driver Version: 304.119
$ wine --version wine-1.7.17-42-g24c5728
Regards
https://bugs.winehq.org/show_bug.cgi?id=34495
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #16 from Béla Gyebrószki gyebro69@gmail.com --- The Steam demo for Shogun 2: Total War was added to URL to reproduce the problem. The demo, however hits bug #18490 so you can't get in the game unless you patch Wine with the hack from bug #18490.
I tested the demo after applying the hack and was able to get in the game, but models were rendered correctly.
The question is: is this still an issue with Wine 1.7.35 (or newer)? If so, what gfx card/drivers are you using?
Fedora 21 Nvidia binary drivers 340.65 wine-1.7.35-24-g3873c93
https://bugs.winehq.org/show_bug.cgi?id=34495
djvw321@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |djvw321@gmail.com
--- Comment #17 from djvw321@gmail.com --- Happening for me too. Manjaro Linux Nvidia drivers 340.65 Graphics Card Nvidia GeForce 9800GT Tested with wine 1.7.33 and 1.7.35
https://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #18 from Ben thebenj88@gmail.com --- Issue is still occurring in WINE 1.7.45, Fedora 22, NVIDIA driver 352.09 with 660Ti.
https://bugs.winehq.org/show_bug.cgi?id=34495
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |herrtimson@yahoo.de
https://bugs.winehq.org/show_bug.cgi?id=34495
leo.charles.p@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leo.charles.p@gmail.com
--- Comment #19 from leo.charles.p@gmail.com --- Has any progress been made on this issue? I tried the demo version, and it did not have this bug.
https://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #20 from Ben thebenj88@gmail.com --- Main version of the game still suffering from this issue as of Wine version 1.9.16.
https://bugs.winehq.org/show_bug.cgi?id=34495
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=34495
jpalces12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jpalces12@gmail.com
--- Comment #21 from jpalces12@gmail.com --- This bug is still happening to me on 1.9.16
Video Card: NVidia GTX 960M Driver: Version 361.42 Distro: Kubuntu 16.04
https://bugs.winehq.org/show_bug.cgi?id=34495
Julien Humbert julroy67@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julroy67@gmail.com
--- Comment #22 from Julien Humbert julroy67@gmail.com --- Using Wine staging with CSMT activated fixes this bug.
https://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #23 from Ben thebenj88@gmail.com --- Confirming that the issue is no longer occurring using WINE 2.0-rc2 staging with CSMT enabled and NVIDIA driver 375.26
I'm not sure if this is a result of a NVIDIA driver update or of a WINE update.
https://bugs.winehq.org/show_bug.cgi?id=34495
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #24 from fjfrackiewicz@gmail.com --- (In reply to Ben from comment #23)
Confirming that the issue is no longer occurring using WINE 2.0-rc2 staging with CSMT enabled and NVIDIA driver 375.26
I'm not sure if this is a result of a NVIDIA driver update or of a WINE update.
Does this still happen with the non-Staging version of Wine 2.0-rc2?
https://bugs.winehq.org/show_bug.cgi?id=34495
--- Comment #25 from Ben thebenj88@gmail.com --- (In reply to fjfrackiewicz from comment #24)
(In reply to Ben from comment #23)
Confirming that the issue is no longer occurring using WINE 2.0-rc2 staging with CSMT enabled and NVIDIA driver 375.26
I'm not sure if this is a result of a NVIDIA driver update or of a WINE update.
Does this still happen with the non-Staging version of Wine 2.0-rc2?
Bug is occurring in the 2.0-rc2 non-staging release.
https://bugs.winehq.org/show_bug.cgi?id=34495
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #26 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with latest wine (4.0-rc6)?
https://bugs.winehq.org/show_bug.cgi?id=34495
Lorenzo Ferrillo lorenzofer@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lorenzofer@live.it
--- Comment #27 from Lorenzo Ferrillo lorenzofer@live.it --- The bug seems fixed in both DX9 and DX11 modes
https://bugs.winehq.org/show_bug.cgi?id=34495
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Summary|Total War: Shogun 2 |Total War: Shogun 2 |(Steam): character models |(Steam): character models |are fixed sideways |are fixed sideways with | |NVIDIA drivers
--- Comment #28 from Anastasius Focht focht@gmx.net --- Hello folks,
the issue was only present with NVIDIA hardware/drivers. On Intel GPU with Mesa the character models were displayed correctly even in old Wine 1.x versions. I just retested it.
The problem was fixed in between Wine 3.1 and 3.2 release.
https://source.winehq.org/git/wine.git/shortlog/refs/tags/wine-3.2
Could be one of the follwing commits:
--- snip --- $ git log -Swined3d --oneline wine-3.1...wine-3.2
2936f3f9bb (tag: wine-3.2) Release 3.2. de9ebcff70 wined3d: Use renderbuffers when resolving multisample textures with conversion. 280ea40aab d3d9: Introduce a d3d9_texture_cleanup() function. b5d0cad40d d3d9: Explicitly translate resource map flags. 8a1a94cd20 d3d8: Explicitly translate resource map flags. 72c31c146b ddraw: Explicitly translate resource map flags. b6f917b102 d3d11: Set resource access based on usage and CPU access flags. 1b3b2b2268 wined3d: Introduce structure for dummy textures. d612495a72 dxgi: Translate swap effects in dxgi_factory_CreateSwapChainForHwnd(). 5057df1f3e d3d9: Explicitly translate swap effects. f097091670 d3d8: Explicitly translate swap effects. 9a13d48e4e wined3d: Get rid of legacy mipmap autogeneration support. 3d6eb8cf1d d3d9: Handle D3DUSAGE_AUTOGENMIPMAP textures entirely in d3d9. f08342f573 wined3d: Use the global memory allocation helpers. 882742e17a wined3d: Introduce a WINED3DFMT_FLAG_GEN_MIPMAP flag. b6573e9f03 d3d11: Implement d3d10_device_ResolveSubresource(). 410ffa37f2 d3d11: Implement d3d11_immediate_context_ResolveSubresource(). 2f42f5c911 wined3d: Implement multisample resolve for typed resources. 2fd86a17bb wined3d: Create multisample textures. 11dd0601c5 wined3d: Add registry setting to enable multisample textures. 1b7f06acb1 wined3d: Update the depth/stencil resource location for stencil clears as well. eb83a7c993 wined3d: Get rid of wined3d_get_draw_rect(). 96432c4cc2 d3d9: Use wined3d_buffer_create() in d3d9_device_prepare_vertex_buffer(). cd5f8f786b wined3d: Fix resinfo for multisample textures. dec8b87c94 d3d11: Use wined3d blend state objects. 350a757e37 wined3d: Introduce blend state object. 6187de0143 d3d9: Use wined3d_buffer_create() in vertexbuffer_init(). 5fc8b43c8a d3d8: Use wined3d_buffer_create() in vertexbuffer_init(). 31250d6d4d d3d9: Use the global memory allocation helpers. cbd1aaafa0 ddraw: Use wined3d_buffer_create() in d3d_execute_buffer_SetExecuteData(). f181da61a0 d3d9: Use wined3d_buffer_create() in d3d9_device_prepare_index_buffer(). b5f1d3085f wined3d: Factor out wined3d_texture_get_gl_sample_count() function. 9ab04c564e wined3d: Use wined3d_bit_scan() in context_apply_compute_state(). dea7b8890c wined3d: Use wined3d_bit_scan() in wined3d_enable_clip_distances(). e8d2febaad wined3d: Introduce wined3d_bit_scan(). 86baab093c d3d9: Use wined3d_buffer_create() in indexbuffer_init(). 9801f09b57 d3d8: Use wined3d_buffer_create() in indexbuffer_init(). a3ca7a308a ddraw: Use wined3d_buffer_create() in d3d_execute_buffer_execute(). c0f92bd318 wined3d: Implement wined3d_buffer_create_ib() on top of wined3d_buffer_create(). 1377e7a608 wined3d: Implement wined3d_buffer_create_vb() on top of wined3d_buffer_create(). --- snip ---
$ wine --version wine-3.2
Regards
https://bugs.winehq.org/show_bug.cgi?id=34495
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.8.