http://bugs.winehq.org/show_bug.cgi?id=24517
Summary: DirectCompute Benchmark needs unimplemented function dxgi.dll.CreateDXGIFactory1 Product: Wine Version: 1.3.3 Platform: x86-64 URL: http://majorgeeks.com/DirectCompute_Benchmark__d6279.h tml OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: the.ideals@gmail.com
Running DirectCompute Benchmark 0.25 with native d3d11.dll and d3dx11_42.dll, it crashes with the following error.
wine: Call from 0x7bc4bef0 to unimplemented function dxgi.dll.CreateDXGIFactory1, aborting
http://bugs.winehq.org/show_bug.cgi?id=24517
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |wine-bugs@winehq.org Component|directx-d3d |directx-d3dx9
http://bugs.winehq.org/show_bug.cgi?id=24517
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|wine-bugs@winehq.org |
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #1 from Austin English austinenglish@gmail.com 2010-09-27 20:16:06 CDT --- Created an attachment (id=30980) --> (http://bugs.winehq.org/attachment.cgi?id=30980) forward CreateDXGIFactory1 to CreateDXGIFactory
This patch avoids the crash and lets the benchmark run.
http://bugs.winehq.org/show_bug.cgi?id=24517
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |-unknown
--- Comment #2 from Rico kgbricola@web.de 2012-08-10 04:03:16 CDT --- I'm not sure that's a d3dx9 bug at all. Also you used a really uncommon way to get it to run. What happens with a clean wine installation? The bug is more about dxgi, which has nearly nothing to do with d3dx9 ... maybe we need a new category.
http://bugs.winehq.org/show_bug.cgi?id=24517
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=24517
TestSubject sirbubbles01@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sirbubbles01@gmail.com
--- Comment #3 from TestSubject sirbubbles01@gmail.com 2012-08-23 10:29:31 CDT --- The steam demo for Sleeping Dogs seems to be affected by this too.
http://bugs.winehq.org/show_bug.cgi?id=24517
Jonathan Strander mblackwell1024@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mblackwell1024@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24517
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #4 from Austin English austinenglish@gmail.com 2012-09-13 16:16:52 CDT --- *** Bug 31699 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #5 from TestSubject sirbubbles01@gmail.com 2012-09-15 10:08:28 CDT --- The Dxgi patch allows Deus Ex: Human Revolution and Alan Wake to run, both of which ended up crashing as of a couple of wine versions ago. Any chance this patch or something like it will make it into wine anytime soon? I'm just surprised such an old patch would still work.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #6 from TestSubject sirbubbles01@gmail.com 2012-10-08 04:39:08 CDT --- Actually, about Deus Ex HR, it seems that disabling dxgi.dll does as good a job as this patch. Don't yet know about the other games.
http://bugs.winehq.org/show_bug.cgi?id=24517
André Fettouhi A.Fettouhi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |A.Fettouhi@gmail.com
--- Comment #7 from André Fettouhi A.Fettouhi@gmail.com 2012-11-18 13:37:15 CST --- Has anyone tried this patch against the Speeling Dogs game or the demo?
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2012-11-22 03:17:10 CST --- *** Bug 32269 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24517
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=24517
darrrk dark-vlados@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark-vlados@mail.ru
--- Comment #9 from darrrk dark-vlados@mail.ru 2012-12-26 09:47:09 CST --- I think this is major bug, because it's garbage many modern apps and games.
http://bugs.winehq.org/show_bug.cgi?id=24517
Brandon Corujo haku08879@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haku08879@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24517
Berillions berillions@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |berillions@gmail.com
--- Comment #10 from Berillions berillions@gmail.com 2013-01-11 14:51:00 CST --- Affect Assassin's Creed III too :)
http://bugs.winehq.org/show_bug.cgi?id=24517
olelukoie olelukoie@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |olelukoie@mail.ru
--- Comment #11 from olelukoie olelukoie@mail.ru 2013-01-19 10:02:03 CST --- Civilization V also requires this function when run in DX10/11 mode:
Unhandled exception: unimplemented function dxgi.dll.CreateDXGIFactory1 called in 32-bit code (0x7bc4d190). ... Backtrace: =>0 0x7bc4d190 stub_entry_point+0x50(dll="dxgi.dll", name="CreateDXGIFactory1", ret_addr=0x8861a5) [/home/olelukoie/wine/dlls/ntdll/loader.c:197] in ntdll (0x0033fc34) 0x7bc4d190 stub_entry_point+0x50 [/home/olelukoie/wine/dlls/ntdll/loader.c:197] in ntdll: subl $4,%esp 197 for (;;) RtlRaiseException( &rec );
http://bugs.winehq.org/show_bug.cgi?id=24517
John Yani vanuan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vanuan@gmail.com
--- Comment #12 from John Yani vanuan@gmail.com 2013-01-20 11:33:18 CST --- Tried to apply this patch, doesn't help for Asassin's Creed III. Probably, I missed something?
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #13 from Andrey Gusev andrey.goosev@gmail.com 2013-01-20 13:15:03 CST --- Need for Speed: Most Wanted (2012) also affected.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #14 from Berillions berillions@gmail.com 2013-01-20 13:48:13 CST --- (In reply to comment #12)
Tried to apply this patch, doesn't help for Asassin's Creed III. Probably, I missed something?
AC3 is a d3dx11 game. d3d10 is not completly implemented in Wine so you can still wait to play at AC3 with Wine :)
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #15 from John Yani vanuan@gmail.com 2013-01-20 16:08:23 CST ---
AC3 is a d3dx11 game. d3d10 is not completly implemented in Wine so you can
still wait to play at AC3 with Wine :)
Maybe CreateDXGIFactory1 implementation is a good start?
As far as I see it, the proposed patch doesn't implement the function properly: http://msdn.microsoft.com/en-us/library/windows/desktop/ff471318(v=vs.85).as...
CreateDXGIFactory1 should return IDXGIFactory1 object, which has two additional methods: EnumAdapters1 and IsCurrent http://msdn.microsoft.com/en-us/library/windows/desktop/ff471335(v=vs.85).as...
Probably the game tries to call one of these methods and crashes: http://bugs.winehq.org/attachment.cgi?id=42666
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #16 from John Yani vanuan@gmail.com 2013-01-21 15:35:19 CST ---
From WINEDEBUG=+relay I see that the crash occurs almost immediately after
dxgi.CreateDXGIFactory1 returns:
006b:Ret dxgi.CreateDXGIFactory1() retval=80004002 ret=029030c9 006b:Call KERNEL32.GetLastError() ret=00d39259 006b:Ret KERNEL32.GetLastError() retval=00000000 ret=00d39259 006b:Call KERNEL32.FlsGetValue(00000004) ret=00d39268 006b:Ret KERNEL32.FlsGetValue() retval=032949a8 ret=00d39268 006b:Call KERNEL32.SetLastError(00000000) ret=00d392c3 006b:Ret KERNEL32.SetLastError() retval=00000000 ret=00d392c3 006b:Call KERNEL32.UnhandledExceptionFilter(065ee3f8) ret=7bc8f35d wine: Unhandled page fault on read access to 0x00000000 at address 0x821284 (thread 006b), starting debugger...
It means that the stub implementation is not enough.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #17 from John Yani vanuan@gmail.com 2013-01-22 14:50:36 CST --- Created attachment 43298 --> http://bugs.winehq.org/attachment.cgi?id=43298 Partial implementation
Here is a better patch, containing a draft implementation of CreateDXGIFactory1. Still crashing, soon after wined3d.wined3d_incref.
http://bugs.winehq.org/show_bug.cgi?id=24517
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #18 from Austin English austinenglish@gmail.com 2013-02-06 00:40:39 CST --- *** Bug 32901 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24517
Jacque raymerjacque@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |raymerjacque@gmail.com
--- Comment #19 from Jacque raymerjacque@gmail.com 2013-02-12 06:49:19 CST --- Any update on this problem, is it being looked at ?
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #20 from Jacque raymerjacque@gmail.com 2013-02-12 06:49:53 CST --- How do you run the patches ?
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #21 from John Yani vanuan@gmail.com 2013-02-12 07:34:14 CST --- These patches are mainly stubs. They need much more work.
http://bugs.winehq.org/show_bug.cgi?id=24517
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #22 from André H. nerv@dawncrow.de 2013-05-23 16:00:58 CDT --- (In reply to comment #21)
These patches are mainly stubs. They need much more work.
Anyway i think it would be great if you could clean it up and send it to wine-patches, i'll be happy to mentor you with it. send me or wine-devel a mail in case you have further questions.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #23 from John Yani vanuan@gmail.com 2013-05-26 12:49:08 CDT --- After some copy-pasting, I end up with a crash on this unimplemented function:
d3d11.dll.D3D11CreateDevice
I don't know whether I should post a separate bug.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #24 from John Yani vanuan@gmail.com 2013-05-26 12:50:54 CDT --- BTW, how to download native d3d11.dll and d3dx11_42.dll?
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #25 from John Yani vanuan@gmail.com 2013-05-27 15:25:05 CDT --- Fetched master with D3D11CreateDevice stub.
Turns out that ACIII doesn't verify the return value of D3D11CreateDevice and tries to access the device (which is 0) and crashing.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #26 from Berillions berillions@gmail.com 2013-05-27 15:30:57 CDT --- (In reply to comment #25)
Fetched master with D3D11CreateDevice stub.
Turns out that ACIII doesn't verify the return value of D3D11CreateDevice and tries to access the device (which is 0) and crashing.
d3d11 is not implemented so Directx11 games don't run for the moment. Even Directx10 games don't work.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #27 from John Yani vanuan@gmail.com 2013-05-27 15:32:31 CDT ---
d3d11 is not implemented so Directx11 games don't run for the moment. Even
Directx10 games don't work.
Don't repeat yourself
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #28 from John the.ideals@gmail.com 2013-05-29 01:50:34 CDT --- (In reply to comment #25)
Fetched master with D3D11CreateDevice stub.
Turns out that ACIII doesn't verify the return value of D3D11CreateDevice and tries to access the device (which is 0) and crashing.
If it is not the CreateDXGIFactory1 function. Create a new bug.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #29 from Andrey Gusev andrey.goosev@gmail.com 2013-06-19 05:22:50 CDT --- Still in 1.6-rc2
http://bugs.winehq.org/show_bug.cgi?id=24517
Felix Yan felixonmars@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felixonmars@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #30 from John the.ideals@gmail.com 2013-10-26 23:55:43 CDT --- NVIDIA Aliens vs. Triangles Demo
wine: Call from 0x7bc541a0 to unimplemented function dxgi.dll.CreateDXGIFactory1, aborting
http://www.geforce.com/games-applications/pc-applications/aliens-vs-triangle...
http://bugs.winehq.org/show_bug.cgi?id=24517
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|DirectCompute Benchmark |Many DirectX10/11 games |needs unimplemented |need |function |dxgi.dll.CreateDXGIFactory1 |dxgi.dll.CreateDXGIFactory1 |(Deus Ex: Human Revolution, | |Alan Wake, AC III, NFS: | |Most Wanted, Civ V, ...) Ever Confirmed|0 |1
--- Comment #31 from Anastasius Focht focht@gmx.net 2013-11-08 10:10:05 CST --- Hello folks,
confirming, "Perspective 1.0" (puzzle game) also needs this.
Refining summary as it affects many games.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/DigiPen/Perspective ... $ wine ./Perspective.exe ... wine: Call from 0x7bc522be to unimplemented function dxgi.dll.CreateDXGIFactory1, aborting --- snip ---
Download: http://www.seewithperspective.com/
$ sha1sum perspective_setup.exe 15f244103ef943f9bc1ac2b66a1cb09b4d7b1ae2 perspective_setup.exe
$ du -sh perspective_setup.exe 98M perspective_setup.exe
$ wine --version wine-1.7.5-351-gffcd013
Regards
http://bugs.winehq.org/show_bug.cgi?id=24517
Christoph Korn c_korn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |c_korn@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=24517
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |legluondunet@free.fr
--- Comment #32 from Bruno Jesus 00cpxxx@gmail.com 2013-12-01 13:31:02 CST --- *** Bug 35031 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24517
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yantwant@gmail.com
--- Comment #33 from Bruno Jesus 00cpxxx@gmail.com 2013-12-08 07:57:05 CST --- *** Bug 35080 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24517
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |g.stokmanis@gmail.com
--- Comment #34 from Anastasius Focht focht@gmx.net 2013-12-09 07:04:10 CST --- *** Bug 35095 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24517
Artem Vorotnikov skybon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |skybon@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24517
Adam Bolte boltronics@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |boltronics@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24517
miCroc dav.br@sfr.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dav.br@sfr.fr
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #35 from Andrey Gusev andrey.goosev@gmail.com --- Might be as 'major'?
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #36 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by commit http://source.winehq.org/git/wine.git/commit/a13a546573e6af467a151f1f6ab1021...
http://bugs.winehq.org/show_bug.cgi?id=24517
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a13a546573e6af467a151f1f6ab | |1021237f7cf45 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #37 from Anastasius Focht focht@gmx.net --- Hello folks,
indeed, fixed by commit http://source.winehq.org/git/wine.git/commitdiff/a13a546573e6af467a151f1f6ab...
Thanks Henri
Regards
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #38 from John Yani vanuan@gmail.com --- Actually, it is implemented by a whole bunch of commits:
dxgi: Store IWineDXGIAdapter pointers in the factory. http://source.winehq.org/git/wine.git/commit/e9f9c15016c4650a00c74916fbcaa5d... dxgi: Implement IDXGIAdapter1. http://source.winehq.org/git/wine.git/commit/ac84e9b726873687c1efb3a08ea6ed9... dxgi: Implement IDXGIFactory1. http://source.winehq.org/git/wine.git/commit/3d28b01916cf83461ee36325bb555b3... dxgi: Implement CreateDXGIFactory1(). http://source.winehq.org/git/wine.git/commit/a13a546573e6af467a151f1f6ab1021... http://source.winehq.org/git/wine.git/commit/2be432b4df37de6890c66557d361789... dxgi/tests: Add tests for CreateDXGIFactory().
Additionally:
d3d10core: Implement ID3D10Device1. http://source.winehq.org/git/wine.git/commit/409c872c996337a85992e44e12e1acc... d3d10_1: Implement D3D10CreateDevice1(). http://source.winehq.org/git/wine.git/commit/d799eb2d8385456082a3fd72c58f531...
Awesome job! Looking forward to D3D11CreateDevice() implementation! And hopefully, we'll be able to play ACIII in a few years.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #39 from Berillions berillions@gmail.com --- (In reply to comment #38)
Awesome job! Looking forward to D3D11CreateDevice() implementation! And hopefully, we'll be able to play ACIII in a few years.
This year will be awesome. So, i tried these commits with a d3d10 game first gen (understand a game at the beginning of d3d10) => Assassin's Creed
Unfortunatly, it does not work, it crash at launch. But i know that d3d10/d3d10_core and d3d10_1 are not fully implemented.
http://bugs.winehq.org/show_bug.cgi?id=24517
--- Comment #40 from Andrey Gusev andrey.goosev@gmail.com --- Have this stub in Wine 1.7.12-57-gf4985e4
fixme:dxgi:dxgi_output_GetDesc
So, seems the next one bug 32006.
https://bugs.winehq.org/show_bug.cgi?id=24517
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #41 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.13.
https://bugs.winehq.org/show_bug.cgi?id=24517
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |deepan4me@live.com
--- Comment #42 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 38968 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=24517
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ranting.primate@gmail.com
--- Comment #43 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 39651 has been marked as a duplicate of this bug. ***