http://bugs.winehq.org/show_bug.cgi?id=34008
Bug #: 34008 Summary: Bioshock Infinite won't start Product: Wine Version: 1.6-rc4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: eurekafag@eureka7.ru Classification: Unclassified
Created attachment 45192 --> http://bugs.winehq.org/attachment.cgi?id=45192 Bioshock Infinite log
Bioshock Infinite shows an empty message box on launch and closes after pressing OK button. Nothing else is shown. After making a dirty hack in commctrl.c (replaced pTaskConfig->pszMainInstruction with pTaskConfig->pszContent) I can see the messagebox saying that I should have DX10/11 compatible hardware and DX11 runtime: http://i.imgur.com/OxHDoKI.png
The log is attached. The game should be able to run on DirectX 10 as said on the Steam store page: http://store.steampowered.com/app/8870/ (OS: Windows Vista Service Pack 2 32-bit, Video Card: DirectX10 Compatible). DX10 seems to be supported by Wine quite well since the newest Mortal Kombat runs fine without any additional efforts and it can't be run on DX9.0c at all. Tried to disable DX11 libs including d3d11 itself, not much changes except the lines about fixme:d3d11:D3D11CreateDevice disappear. The messagebox stays the same.
http://bugs.winehq.org/show_bug.cgi?id=34008
Zhenya Zenitur@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Zenitur@yandex.ru
--- Comment #1 from Zhenya Zenitur@yandex.ru 2013-08-18 07:10:53 CDT --- Same error with Crossover 12.5. Tried to set Windows 7 in "/opt/cxoffice/bin/wine --bottle Steam winecfg" and UseGLSL = disabled in "/opt/cxoffice/bin/wine --bottle Steam regedit". NVIDIA 325.08.
Maybe we need a hack to make application see DX10?
http://bugs.winehq.org/show_bug.cgi?id=34008
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|Bioshock Infinite won't |Bioshock Infinite won't |start |start (needs | |D3D11CreateDevice | |implementation to support | |at least | |D3D_FEATURE_LEVEL_10_0) Ever Confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net 2013-10-29 04:30:21 CDT --- Hello folks,
confirming. The stub for D3D11CreateDevice() is not enough.
"needs DX10/11 compatible hardware and DX11 runtime"
You can force the game to use specific D3D_FEATURE_LEVEL through additional command line arguments. Arguments that are recognized by game code:
-d3d10 or -sm4 (shader model 4) -d3d11 or -sm5 (shader model 5) -forcePretendUserHasDX10Card -d3ddebug
"-forcePretendUserHasDX10Card" actually forces use of D3D_FEATURE_LEVEL_10_0
But even if you request dx10 feature set, D3D11CreateDevice() will be still used unconditionally. I debugged the game - there is no d3d10.dll fallback (hence the DX11 runtime requirement).
I quickly hacked something together, reusing D3D10CreateDevice code to return a stubbed ID3D11Device and ID3D11DeviceContext. This allows the game to overcome the initial checks (running much farther) but ending up really wanting fleshed out ID3D11Device methods (CheckFeatureSupport(), ...). I stopped at this point ...
$ wine --version wine-1.7.5-105-g1666087
Regards
http://bugs.winehq.org/show_bug.cgi?id=34008
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |34094
http://bugs.winehq.org/show_bug.cgi?id=34008
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34008
Adam Bolte boltronics@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |boltronics@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #3 from Zhenya Zenitur@yandex.ru --- http://source.winehq.org/git/wine.git/?a=search&h=HEAD&st=commit&...
D3D10CreateDevice1() was realized in Wine 1.7.13 in 2014-02-11.
fixme:d3d11:D3D11CreateDevice stub: adapter 0x1772d8, driver_type D3D_DRIVER_TYPE_UNKNOWN, swrast (nil), flags 0, feature_levels 0x1ece354, levels 0x2, sdk_version 7, device 0x1ece360, feature_level 0x1ece5f4, context 0x1ece364 fixme:win:EnumDisplayDevicesW ((null),0,0x1ecf6f8,0x00000000), stub! fixme:d3d11:D3D11CreateDevice stub: adapter 0x177380, driver_type D3D_DRIVER_TYPE_UNKNOWN, swrast (nil), flags 0, feature_levels 0x1ecf970, levels 0x2, sdk_version 7, device 0x1ecf97c, feature_level 0x1ecfc10, context 0x1ecf980 fixme:commctrl:TaskDialogIndirect 0x1ec7bb0, 0x1ec7b74, (nil), (nil)
http://bugs.winehq.org/show_bug.cgi?id=34008
7WCbywQg3N2H@dyweni.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |7WCbywQg3N2H@dyweni.com
http://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #4 from 7WCbywQg3N2H@dyweni.com --- *** Bug 36175 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=34008
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=34008
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- Hamilton's Great Adventure also fails to start:
fixme:d3d11:D3D11CreateDevice stub: adapter 0x134b08, driver_type D3D_DRIVER_TYPE_UNKNOWN, swrast (nil), flags 0, feature_levels 0x170e8c4, levels 0x4, sdk_version 7, device 0x1178204, feature_level 0x11781f4, context 0x1178210
Steam demo: http://store.steampowered.com/app/42140/
Fedora 20 Nvidia 250 / drivers 337.12 Wine 1.7.18
http://bugs.winehq.org/show_bug.cgi?id=34008
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pierre@reactos.org
--- Comment #6 from Anastasius Focht focht@gmx.net --- *** Bug 36452 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=34008
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Bioshock Infinite won't |Multiple DirectX10 games |start (needs |need D3D11CreateDevice |D3D11CreateDevice |implementation with |implementation to support |D3D_FEATURE_LEVEL_10_x |at least |support (Bioshock Infinite, |D3D_FEATURE_LEVEL_10_0) |Age of Mythology: Extended | |Edition, GRID )
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to collect all dupes here.
$ wine --version wine-1.7.19
Regards
http://bugs.winehq.org/show_bug.cgi?id=34008
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #8 from Anastasius Focht focht@gmx.net --- *** Bug 34094 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #9 from Anastasius Focht focht@gmx.net --- *** Bug 32998 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34008
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #10 from Anastasius Focht focht@gmx.net --- *** Bug 34962 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=34008
Tom TomWij@live.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |TomWij@live.com
http://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #11 from Tom TomWij@live.com --- Can we proceed here? What is the problem and/or next step?
http://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello folks,
'Company of Heroes 2' also needs this (after working around bug 25171)
--- snip --- ... Wine-dbg>bt Backtrace: =>0 0x7d6caf48 D3D11CreateDevice(adapter=0x188a70, driver_type=D3D_DRIVER_TYPE_UNKNOWN, swrast=(nil), flags=0, feature_levels=0x33dedc, levels=0x3, sdk_version=0x7, device=0x33dd88, feature_level=0x33ddc4, context=0x33dd9c) [/home/focht/projects/wine/wine.repo/src/dlls/d3d11/d3d11_main.c:51] in d3d11 (0x0033e348) 1 0x00d8c656 in reliccoh2 (+0x98c655) (0x0033e37c) 2 0x00ddd203 in reliccoh2 (+0x9dd202) (0x0033e400) 3 0x08656ab0 (0x08656a90) 4 0x03c10128 (0x08656a68) 5 0x65666572 (0x506e6f4e)
Wine-dbg>p feature_levels[0] D3D_FEATURE_LEVEL_11_0
Wine-dbg>p feature_levels[1] D3D_FEATURE_LEVEL_10_1
Wine-dbg>p feature_levels[2] D3D_FEATURE_LEVEL_10_0
--- snip ---
$ wine --version wine-1.7.22
Regards
https://bugs.winehq.org/show_bug.cgi?id=34008
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the.ideals@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34008
John Marszalek jmarszalek@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jmarszalek@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34008
harley@harleylarsen.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |harley@harleylarsen.com
--- Comment #13 from harley@harleylarsen.com --- Looks like we can add Divekick to the list:
fixme:d3d11:D3D11CreateDevice stub: adapter (nil), driver_type D3D_DRIVER_TYPE_HARDWARE, swrast (nil), flags 0, feature_levels (nil), levels 0, sdk_version 7, device (nil), feature_level 0x32fb74, con
http://bugs.winehq.org/show_bug.cgi?id=34008
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #14 from Jaime Rave jaimerave@gmail.com --- Rise of Nations: Extended Edition also needs this.
https://bugs.winehq.org/show_bug.cgi?id=34008
Marcel Stranak marceel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marceel@gmail.com
--- Comment #15 from Marcel Stranak marceel@gmail.com --- Lichdom Battlemage also needs this.
https://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello folks,
also needed by 'Unreal Engine 4 Elemental' benchmark demo.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay wine ./Elemental.exe >>log.txt 2>&1 ... 0023:Call d3d11.D3D11CreateDevice(0014e640,00000000,00000000,00000001,01e1fa44,00000002,00000007,01e1fa50,01e1fab0,01e1fa4c) ret=007633dc 0023:fixme:d3d11:D3D11CreateDevice stub: adapter 0x14e640, driver_type D3D_DRIVER_TYPE_UNKNOWN, swrast (nil), flags 0x1, feature_levels 0x1e1fa44, levels 0x2, sdk_version 7, device 0x1e1fa50, feature_level 0x1e1fab0, context 0x1e1fa4c 0023:Ret d3d11.D3D11CreateDevice() retval=8007000e ret=007633dc ... 0023:Call user32.MessageBoxW(00000000,04850e00 L"DX11 feature level 10.0 is required to run the engine.",04889a50 L"Message",00001000) ret=0050bc5a --- snip ---
$ sha1sum UE4_Elemental_Demo.rar a09206fecdb2bf7de2c69a4490329a6c61b1d3c7 UE4_Elemental_Demo.rar
$ du -sh UE4_Elemental_Demo.rar
998M UE4_Elemental_Demo.rar
$ wine --version wine-1.7.31
Regards
https://bugs.winehq.org/show_bug.cgi?id=34008
Tom TomWij@live.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|TomWij@live.com |
https://bugs.winehq.org/show_bug.cgi?id=34008
Matti Eskelinen viriiboxen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |viriiboxen@gmail.com
--- Comment #17 from Matti Eskelinen viriiboxen@gmail.com --- Seems to affect Elite: Dangerous as well.
fixme:d3d11:D3D11CreateDevice stub: adapter 0x1905c8, driver_type D3D_DRIVER_TYPE_UNKNOWN, swrast (nil), flags 0, feature_levels 0x246e8b4, levels 0x1, sdk_version 7, device 0x246e8b8, feature_level 0x246e8c4, context 0x246e8a4
https://bugs.winehq.org/show_bug.cgi?id=34008
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins@gmail.com
--- Comment #18 from Linards linards.liepins@gmail.com --- Bug fixed in DiRT 2 Demo, after upgrade from wine-staging 1.7.40 to wine-staging 1.7.42.
Patch, included in Wine-Staging 1.7.41 / 1.7.42 has been fixed the launching issue.
Thanks. Much appreciated.
https://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #19 from Linards linards.liepins@gmail.com --- GRID 2 needs more d3d11:D3D11CreateDevice work:
fixme:d3d11:D3D11CreateDevice adapter (nil), driver_type D3D_DRIVER_TYPE_HARDWARE, swrast (nil), flags 0, feature_levels 0x33dc10, levels 0x3, sdk_version 7, device 0x33e0b4, feature_level 0x33dc1c, context 0x33dc24 stub!
Bug forwared to wine-staging: https://bugs.wine-staging.com/show_bug.cgi?id=428
https://bugs.winehq.org/show_bug.cgi?id=34008
--- Comment #20 from Linards linards.liepins@gmail.com --- Starpoint Genisis 2 also affacted:
Graphics: VideoCardDescription:<AMD Radeon HD 8770> VideoCardMemory: 2048 MB DedicatedSystemMemory: 0 MB SharedSystemMemory: 0 MB Error! D3D11CreateDevice Fail! DX10.0 or DX10.1 or DX11.0 or DX11.1 not exist! <-2147024882> InGameDebug! CreateDirectX Start!
https://bugs.winehq.org/show_bug.cgi?id=34008
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b2f5fad4b640e178a1d9d04bec5 | |a7c218045b9ad Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #21 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by commit http://source.winehq.org/git/wine.git/commit/b2f5fad4b640e178a1d9d04bec5a7c2...
https://bugs.winehq.org/show_bug.cgi?id=34008
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.51.
https://bugs.winehq.org/show_bug.cgi?id=34008
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20210306112411/https://uk1 | |-dl.techpowerup.com/files/Q | |KCCAts2Kyr63yfMJ3XuXA/16150 | |30440/UE4_Elemental_Demo.ra | |r Keywords| |download