Deus Ex - Human Revolution

Questions about Wine on Linux
Locked
ls_boy
Level 2
Level 2
Posts: 45
Joined: Sat Dec 12, 2015 3:24 pm

Deus Ex - Human Revolution

Post by ls_boy »

It work for me about 5 months ago. Now, with several wine upgrades it doesn't work for me. The screen
goes black, crashes and brings up the debugger. Wine tricks and the "Strict draw ordering" variable, as
the app data base gives as tips, were tried. I even tried to change the dll's to builtin and back again to
native via winecfg.

Yes, I tried to disable the steam overlay. Something new: I had to disable the d3d11.dll. That gave different
output but didn't stop the crash.

The console give two interesting lines.
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
ls_boy
Level 2
Level 2
Posts: 45
Joined: Sat Dec 12, 2015 3:24 pm

Re: Deus Ex - Human Revolution

Post by ls_boy »

The back trace gives:

=>0 0x00000000 (0x0033e528)
1 0x021c7216 in gameoverlayrenderer (+0x97215) (0x0033e540)
2 0x004b2e89 in dxhr (+0xb2e88) (0x0033e864)
Modules:
PE 400000- 2045000 Export dxhr
PE 2050000- 212f000 Deferred dfengine
PE 2130000- 2254000 Export gameoverlayrenderer
PE e310000- e44a000 Deferred steam

The full console output is here.
ls_boy
Level 2
Level 2
Posts: 45
Joined: Sat Dec 12, 2015 3:24 pm

Re: Deus Ex - Human Revolution

Post by ls_boy »

SOLVED!

I simply started off with fresh prefix. I set it to win7. Then I installed steam.
I used winetricks to install some dll's. The tips were give by 'an anonymous user'
on Dec 05 2015. This user submitted test data on the AppDB. His winetricks
line worked. One last thing I did was to delete the 'redist' folder out of the install
of DE:HR. This stopped the game from installing any new dll's.

I looked at the state of the libraries with winecfg. The dll overrides looked vastly
different. wintricks marked most directx dll as 'native'. With the old non-working
prefix the 'existing overrides' box is empty. This suggest that they are marked as
builtin in the old prefix.

I could talk about this some more. Maybe find a way to fix my old prefix.
But, I'm happy.
Image
ls_boy
Level 2
Level 2
Posts: 45
Joined: Sat Dec 12, 2015 3:24 pm

Re: Deus Ex - Human Revolution

Post by ls_boy »

I fixed my old prefix. I created a reg file.
It turns out the log posted above wouldn't have help
to solve this. Those line are still in my logs.

Code: Select all

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*atl90"="native,builtin"
"*d3dcompiler_43"="native"
"*d3dx10_33"="native"
"*d3dx10_34"="native"
"*d3dx10_35"="native"
"*d3dx10_36"="native"
"*d3dx10_37"="native"
"*d3dx10_38"="native"
"*d3dx10_39"="native"
"*d3dx10_40"="native"
"*d3dx10_41"="native"
"*d3dx10_42"="native"
"*d3dx10_43"="native"
"*d3dx11_43"="native"
"*d3dx9_26"="native"
"*d3dx9_28"="native"
"*d3dx9_31"="native"
"*d3dx9_35"="native"
"*d3dx9_36"="native"
"*d3dx9_39"="native"
"*d3dx9_42"="native"
"*d3dx9_43"="native"
"*mscoree"="native"
"*msvcm90"="native,builtin"
"*msvcp90"="native,builtin"
"*msvcr90"="native,builtin"
"*vcomp90"="native,builtin"
"*xinput1_1"="native"
"*xinput1_2"="native"
"*xinput1_3"="native"
"*xinput9_1_0"="native"
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Deus Ex - Human Revolution

Post by Bob Wya »

@ls_boy,

I've become one of the maintainers WineHQ AppDB - Deus Ex: Human Revolution. This was after I read your original post and relised the existing AppDB maintainers for this game have effectively "retired" from duty. :lol:

So I've updated the recommendations for the game - based on the latest Wine / Wine Staging release (2.0-rc5 when I did the tests).

To summarise you've got way too much unnecessary junk (Windows native overrides) installed in your Wineprefix. Doing this tends to lead to stability issues. :shock: :cry:

Bob
ls_boy
Level 2
Level 2
Posts: 45
Joined: Sat Dec 12, 2015 3:24 pm

Re: Deus Ex - Human Revolution

Post by ls_boy »

Those overrides were generated by winetricks.
It's seems hackish, I'll admit. However, one or more
is necessary. Not using wintricks and letting Steam and
DE:HR install dll's is enough for me to run into the problem
again.
Locked