[Bug 13297] New: unimplemented d3dx9_36.dll.D3DXCreateTextureFromFileA
http://bugs.winehq.org/show_bug.cgi?id=13297 Summary: unimplemented d3dx9_36.dll.D3DXCreateTextureFromFileA Product: Wine Version: 1.0-rc1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: ghost99(a)mail.ru Created an attachment (id=13156) --> (http://bugs.winehq.org/attachment.cgi?id=13156) PatchCon output listing The game "PatchCon" is halt at start. After output listing nothing happens. Only empty window is present. After 3-4 minutes i have no choice and close program by Ctrl-C . -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #1 from ghost99(a)mail.ru 2008-05-18 10:25:43 --- Created an attachment (id=13157) --> (http://bugs.winehq.org/attachment.cgi?id=13157) Torrent, with which you can download PatchCon. Archive size is 231,0 MB . -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #2 from tyle7(a)hotmail.com 2008-05-19 01:35:01 --- Created an attachment (id=13168) --> (http://bugs.winehq.org/attachment.cgi?id=13168) Mountain of Faith log, without native dll overrides -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 tyle7(a)hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tyle7(a)hotmail.com --- Comment #3 from tyle7(a)hotmail.com 2008-05-19 01:38:51 --- Touhou 10 - Mountain of Faith is affected as well. http://appdb.winehq.org/objectManager.php?sClass=version&iId=9760 That game can get playable by using a native d3dx_31.dll As for PatchCon, using native dlls seems to create other error messages, for example: err:ntdll:RtlpWaitForCriticalSection section 0x7e77cb20 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0009, blocked by 001d, retrying (60 sec) so native dlls sadly aren't of any help here. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 ghost99(a)mail.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.0-rc1 |1.0-rc2 --- Comment #4 from ghost99(a)mail.ru 2008-05-24 19:24:43 --- wine-1.0_rc2 Function is still not implemented. Game is not playable with or without any DLLs. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.0-rc2 |1.0-rc1 --- Comment #5 from James Hawkins <truiken(a)gmail.com> 2008-05-24 19:35:19 --- Don't change the original reported version. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Philip Nilsson <leffeman(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #6 from Philip Nilsson <leffeman(a)gmail.com> 2008-05-31 04:49:17 --- *** This bug has been confirmed by popular vote. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #7 from ghost99(a)mail.ru 2008-05-31 13:13:00 --- Created an attachment (id=13534) --> (http://bugs.winehq.org/attachment.cgi?id=13534) SWR output Another game, Scarlet Weather Rhapsody, seems to be affected by this bug too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Wai Ling Tsang <simotsa(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simotsa(a)gmail.com --- Comment #8 from Wai Ling Tsang <simotsa(a)gmail.com> 2008-07-27 12:23:24 --- With d3dx9_36.dll, it will give the following error in Scarlet Weather Rhapsody: fixme:win:EnumDisplayDevicesW ((null),0,0x32f704,0x00000000), stub! fixme:imm:NotifyIME IMC_SETCANDIDATEPOS err:ntdll:RtlpWaitForCriticalSection section 0x7e64ada0 "x11drv_main.c: X11DRV_Cocked by 0021, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x6de0b4 "?" wait timed out in thre err:ntdll:RtlpWaitForCriticalSection section 0x7e64ada0 "x11drv_main.c: X11DRV_Cocked by 0021, retrying (60 sec) err:seh:raise_exception Unhandled exception code c000013a flags 0 addr 0xa7fd740 You can get a trial version of Scarlet Weather Rhapsody at http://g-mirror.gptwm.com/tasofro/index.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Philip Nilsson <leffeman(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leffeman(a)gmail.com --- Comment #9 from Philip Nilsson <leffeman(a)gmail.com> 2008-07-27 13:35:53 --- (In reply to comment #8)
With d3dx9_36.dll, it will give the following error in Scarlet Weather Rhapsody: That's probably bug 13490.
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Roc Vallès i Domènech <vallesroc(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vallesroc(a)gmail.com --- Comment #10 from Roc Vallès i Domènech <vallesroc(a)gmail.com> 2008-08-23 08:10:21 --- As of version 1.1.3, Mountain of faith works just fine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #11 from ghost99(a)mail.ru 2008-08-23 08:53:23 --- (In reply to comment #10)
As of version 1.1.3, Mountain of faith works just fine.
But, PatchCon and Scarlet Weather Rhapsody (aka SWR) is still unplayable (wine-1.1.3). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #12 from Roc Vallès i Domènech <vallesroc(a)gmail.com> 2008-08-23 09:54:13 --- (In reply to comment #11)
(In reply to comment #10)
As of version 1.1.3, Mountain of faith works just fine.
But, PatchCon and Scarlet Weather Rhapsody (aka SWR) is still unplayable (wine-1.1.3).
Of course, I never said otherwise. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #13 from tyle7(a)hotmail.com 2008-08-23 13:07:15 --- (In reply to comment #10)
As of version 1.1.3, Mountain of faith works just fine.
MoF does not work for me in 1.1.3 and a clean ~/.wine directory, looks exactly as in previous versions: wine: Call from 0x7b844e40 to unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileA, aborting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #14 from ghost99(a)mail.ru 2008-10-25 18:10:26 --- Wine 1.1.7 Problem is still not solved. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #15 from Roc Vallès i Domènech <vallesroc(a)gmail.com> 2008-10-25 23:43:25 --- (In reply to comment #10)
As of version 1.1.3, Mountain of faith works just fine.
Not really. Apparently some install had installed this DLL somewhere else ./drive_c/windows/system32/d3dx9_31.dll And no idea how or why, but deleting it (the game uses 36!?) made the game stop working. So no, no MoF yet. wine: Call from 0x7edcf2b0 to unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileA, aborting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Wyatt Epp <epp.8(a)osu.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |epp.8(a)osu.edu -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blahboybang(a)gmail.com --- Comment #16 from Austin English <austinenglish(a)gmail.com> 2008-11-17 17:48:20 --- *** Bug 16099 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Arekku <arekku(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arekku(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #17 from Wai Ling Tsang <simotsa(a)gmail.com> 2009-05-27 22:04:17 --- Created an attachment (id=21373) --> (http://bugs.winehq.org/attachment.cgi?id=21373) d3dx9_36 with D3DXCreateTexture and D3DXCreateEffect stub patch I am able to start Scarlet Weather Rhapsody after I applied the D3DXCreateTexture from Philip Nilsson and the D3DXCreateEffect stub. It would crash occasionally however, such as whenever music room is selected. I don't know if it is related, but I see many of the following warning: warn:d3d:transform_worldex Unsupported blend matrix set warn:d3d_texture:basetexture_apply_state_changes Unsupported in local OpenGL implementation: glTexParameteri GL_TEXTURE_MAX_ANISOTROPY_EXT warn:heap:HEAP_Decommit Could not decommit 003d0000 bytes at 0xbfc30000 for heap 0xbfc00000 warn:dsalsa:IDsDriverBufferImpl_Lock mmap_pos (3072) != writepos (14336) not locking data! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Eric Appleman <erappleman(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erappleman(a)gmail.com --- Comment #18 from Eric Appleman <erappleman(a)gmail.com> 2009-06-28 22:23:17 --- Does the patch exist in diff/patch form? I'd like to apply it against the git without losing D3DXLoadSurfaceFromMemory support. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #19 from Wai Ling Tsang <simotsa(a)gmail.com> 2009-07-04 03:27:57 --- Created an attachment (id=22164) --> (http://bugs.winehq.org/attachment.cgi?id=22164) D3DXCreateTextureFromFileA patch sure, here's the diff patch for D3DXCreateTexture. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Wai Ling Tsang <simotsa(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22164|0 |1 is obsolete| | --- Comment #20 from Wai Ling Tsang <simotsa(a)gmail.com> 2009-07-04 05:14:06 --- Created an attachment (id=22165) --> (http://bugs.winehq.org/attachment.cgi?id=22165) d3dx9_36.patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #21 from joaopa <jeremielapuree(a)yahoo.fr> 2009-07-04 05:32:48 --- An easy workaround (if you have a Windows license) is to put a native d3dx9_36.dll in the folder ~/.wine/drive_c/windows/system32 Anyway, this bug report is still valid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr Wai Ling Tsang <simotsa(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22165|0 |1 is obsolete| | --- Comment #21 from joaopa <jeremielapuree(a)yahoo.fr> 2009-07-04 05:32:48 --- An easy workaround (if you have a Windows license) is to put a native d3dx9_36.dll in the folder ~/.wine/drive_c/windows/system32 Anyway, this bug report is still valid. --- Comment #22 from Wai Ling Tsang <simotsa(a)gmail.com> 2009-07-04 05:33:10 --- Created an attachment (id=22167) --> (http://bugs.winehq.org/attachment.cgi?id=22167) d3dx9_36.patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|jeremielapuree(a)yahoo.fr | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #23 from Eric Appleman <erappleman(a)gmail.com> 2009-07-04 16:08:13 --- joaopa, the native dlls for 36 create huge performance issues on Intel hardware. Also, Wai, the patch fails to apply cleanly against 1.1.25 or the git. It's useless. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #24 from Eric Appleman <erappleman(a)gmail.com> 2009-07-04 16:14:35 --- *1.1.24 as well -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #25 from Eric Appleman <erappleman(a)gmail.com> 2009-07-04 18:30:56 --- You know what, I was pretty rude with my last comments and I apologize. I got the patch to work with a little tinkering. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #26 from Eric Appleman <erappleman(a)gmail.com> 2009-07-04 20:05:23 --- Created an attachment (id=22189) --> (http://bugs.winehq.org/attachment.cgi?id=22189) A feeble attempt at a git-ready patch I'd like to thank Wai Ling Tsang for his code contributions on which this patch is derived. FYI, I probably broke a ton of Wine patching conventions with this diff, but it should work. One caveat though: I can't get the Wai Ling's new code working on my Intel card and Wine is giving nothing but a black screen and sounds when I run my games. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #27 from Eric Appleman <erappleman(a)gmail.com> 2009-07-04 21:24:51 --- Created an attachment (id=22191) --> (http://bugs.winehq.org/attachment.cgi?id=22191) Trace of blank screen BTW, here's a stack trace of Touhou 11: Subterranean Animism running Wine git plus Wai Ling's code. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #28 from joaopa <jeremielapuree(a)yahoo.fr> 2009-07-05 01:48:20 --- This trace is pretty useless, because the patch is not in official git. Moreover the functions in the patch are mainly stubbed. Thats probably the reason of the black screen. If you want to fill a bug report, use only the latest official git with a native d3dx9_36 dll, not with a hacked git. If your game does not work with a native dll, that means that the bug is in d3d9 or wined3d or in your driver. d3dx9 isjust a wrapper for d3d9. So, the native works perfectly in wine. Bug is somewhere else -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #29 from joaopa <jeremielapuree(a)yahoo.fr> 2009-07-05 02:54:04 --- I have juste tested Touhou 11 with a native d3dx9_36 dll and a Nvidia card and everything is OK. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #30 from Eric Appleman <erappleman(a)gmail.com> 2009-07-05 03:24:15 --- Even with a native dll, I can't break 17fps with my Intel card for Animism Yet, I have no problem maintaining full 60fps for Mountain of Faith. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #30 from Eric Appleman <erappleman(a)gmail.com> 2009-07-05 03:24:15 --- Even with a native dll, I can't break 17fps with my Intel card for Animism Yet, I have no problem maintaining full 60fps for Mountain of Faith. --- Comment #31 from Eric Appleman <erappleman(a)gmail.com> 2009-07-05 03:25:04 --- I'm starting to think my problems might be a DRI issue. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #32 from Philip Nilsson <leffeman(a)gmail.com> 2009-07-05 05:24:32 --- (In reply to comment #26)
One caveat though: I can't get the Wai Ling's new code working on my Intel card and Wine is giving nothing but a black screen and sounds when I run my games. D3DXLoadSurfaceFromMemory has not been implemented yet.
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #33 from Eric Appleman <erappleman(a)gmail.com> 2009-07-05 13:16:35 --- I could've sworn I heard something about D3DXLoadSurfaceFromMemory being implemented in 1.1.24. Perhaps I was mistaken and additionally confused by the lack of a fixme message. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Anders Jonsson <anders.jonsson(a)norsjonet.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anders.jonsson(a)norsjonet.se --- Comment #34 from Anders Jonsson <anders.jonsson(a)norsjonet.se> 2009-07-05 15:13:27 --- (In reply to comment #33)
I could've sworn I heard something about D3DXLoadSurfaceFromMemory being implemented in 1.1.24. Perhaps I was mistaken and additionally confused by the lack of a fixme message.
The current D3DXLoadSurfaceFromMemory is a stub. Tony Wasserka is working on implementing it: http://tonwas.freefronthost.com/gsoc.php http://neobrain.wordpress.com/ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #35 from Eric Appleman <erappleman(a)gmail.com> 2009-07-05 15:24:06 --- Thanks for the links. I had only previously seen the GSoC page. http://socghop.appspot.com/student_project/show/google/gsoc2009/wine/t124024... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Tony Wasserka <tony.wasserka(a)freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tony.wasserka(a)freenet.de --- Comment #36 from Tony Wasserka <tony.wasserka(a)freenet.de> 2009-07-27 09:21:58 --- Hi everyone, for the record, I've set up a git tree of the current D3DXCreateTexture and D3DXLoadSurface implementations. There is a number of limitations though: - only supports ARGB, ABGR and QWVU formats (that is: no texture compression, which might be used in games) - does not support any advanced filtering (this shouldn't be too noticeable) - only supports BMP, JPEG and PNG files (not sure how good this works for PNG and JPEG as the mainline code will use WIC for this stuff anyways; IIRC JPEG worked pretty well for truecolor images) The git repository is hosted at http://repo.or.cz/w/wine/d3dx9TW.git, the texture stuff is located in the d3dxloadsurfacefrommemorySUBMIT* branch (yep, there are better names for branches, this is my first git repo I'm hosting online :D ). Note that this requires a pretty old Wine revision right now (one from 2009-07-10) because David merged d3dx8 into d3dx9 recently which broke my patches. I might rebase them onto a more current one if I find some time again. I've added myself to the CC list of this bug, so if you have some comments about this code, just drop it here. Best regards, Tony * to checkout the code, just run these commands: git remote add textureremote git://repo.or.cz/wine/d3dx9TW.git git fetch textureremote git checkout -b texture textureremote/d3dxloadsurfacefrommemorySUBMIT -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #37 from Henri Verbeet <hverbeet(a)gmail.com> 2009-07-27 09:28:04 --- You can't rebase public repositories. If you intend for other people to use that repository you should do merges instead. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #38 from Tony Wasserka <tony.wasserka(a)freenet.de> 2009-07-27 09:44:04 --- (In reply to comment #33)
I could've sworn I heard something about D3DXLoadSurfaceFromMemory being implemented in 1.1.24. Perhaps I was mistaken and additionally confused by the lack of a fixme message.
Maybe that was just a stub patch of mine or that was just the patch I sent to wine-patches (which got rejected)? D3DXLoadSurfaceFromMemory is one of the key functions to get the texture stuff working, but it turns out to be a rather tough piece of code to get into mainline. Especially since AJ is on vacation right now, it might take another few weeks until I get that implementation in. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #39 from Tony Wasserka <tony.wasserka(a)freenet.de> 2009-07-27 10:49:58 --- (In reply to comment #37)
You can't rebase public repositories. If you intend for other people to use that repository you should do merges instead.
Thanks for the pointer, done that (hope it's what you intended). The d3dxloadsurfacefrommemorySUBMIT branch is up to date now. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 jeremiahpwilson(a)yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremiahpwilson(a)yahoo.com --- Comment #40 from jeremiahpwilson(a)yahoo.com 2010-02-17 01:31:34 --- As of the most recent git checkout, I can start and play Mountain of Faith, Subterranean Animism, and Undefined Fantastic Object without any native dlls. AMD64, Nvidia GeForce 6150, and running Gentoo Linux. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #41 from tyle7(a)hotmail.com 2010-02-17 12:10:57 --- (In reply to comment #40)
As of the most recent git checkout, I can start and play Mountain of Faith, Subterranean Animism, and Undefined Fantastic Object without any native dlls. AMD64, Nvidia GeForce 6150, and running Gentoo Linux.
Can confirm this. MoF and SA works fine with wine-1.1.38-290-g5c4d3fb , no need for native d3dx_36.dll any more. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b7.10110111(a)gmail.com --- Comment #42 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-21 20:37:44 --- *** Bug 22113 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #43 from ghost99(a)mail.ru 2010-06-10 14:44:57 --- Created an attachment (id=28721) --> (http://bugs.winehq.org/attachment.cgi?id=28721) PatchCon new output listing without MS d3dx9 libs On wine-1.2-rc2, builded on x86_64 Gentoo. PatchCon is still halt after opening blank window with title. SWR halt as well. Program's behavior has not changed, but changed error listings. Now there is no D3DXCreateTextureFromFileA error in listing, but game is still not playable, and I can't say with absolute certainty that the problem is solved. I will mark this bug closed as far as I can run the game. With MS d3dx9 libs output is almost the same, but without "fixme:d3dx:D3DXCreateTexture..." messages. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #44 from tyle7(a)hotmail.com 2010-06-11 05:36:25 --- (In reply to comment #43)
On wine-1.2-rc2, builded on x86_64 Gentoo. PatchCon is still halt after opening blank window with title. SWR halt as well.
That is probably bug 13490, which at least in part seems to be caused by an error in proprietary Nvidia drivers, and cause a deadlock when running Scarlet Weather Rhapsody or PatchCon. A more lengthy analysis can be seen on http://hisouten.koumakan.jp/wiki/Linux_support#Bugs As far this bug is concerned, I would say that it is fixed. I can no longer reproduce the d3dx9_36.dll.D3DXCreateTextureFromFileA crash. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hramrach(a)centrum.cz --- Comment #45 from Austin English <austinenglish(a)gmail.com> 2010-08-23 11:15:21 --- *** Bug 24102 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #46 from Michal Suchanek <hramrach(a)centrum.cz> 2010-08-24 09:14:31 --- Ok, so the feature has been implemented a year ago together with a few others. What is the status today? Use an old Wine tree with the feature vs a current tree w/o the feature? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #47 from Michal Suchanek <hramrach(a)centrum.cz> 2010-08-24 09:17:30 --- Building the Merge branch of the git repo fails: ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -shared ./d3dx9_36.spec basemesh.o core.o dds.o d3dx9_36_main.o d3dxmesh.o font.o math.o mesh.o shader.o sprite.o surface.o texture.o util.o version.res -o d3dx9_36.dll.so -ld3d9 -ld3dxof -lole32 -lgdi32 -luser32 -lkernel32 ../../libs/port/libwine_port.a d3dxmesh.o: In function `parse_data': /srv/wine-tex/dlls/d3dx9_36/d3dxmesh.c:612: undefined reference to `TID_D3DRMMesh' /usr/bin/ld: d3dxmesh.o: relocation R_386_GOTOFF against undefined hidden symbol `TID_D3DRMMesh' can not be used when making a shared object /usr/bin/ld: final link failed: Bad value -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #48 from Michal Suchanek <hramrach(a)centrum.cz> 2010-08-25 11:06:57 --- I don't see where the function D3DXCreateTextureFromFileA is impolemented in the referenced repo. Perhaps the infrastructure for it is, and it is in current wine as well but the actual function is missing. I can run the demo with this: http://repo.or.cz/w/wine/hramrach.git/shortlog/refs/heads/surf2 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #49 from Tony Wasserka <tony.wasserka(a)freenet.de> 2010-08-25 15:30:04 --- Uhm, you missed the important part... you must checkout the Merge branch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #50 from Tony Wasserka <tony.wasserka(a)freenet.de> 2010-08-25 16:37:34 --- FWIW, check this file http://repo.or.cz/w/wine/d3dx9TW.git/blob/e4dfdb7c2cc4264bbe89ef938c939a3965... About your implementation of D3DXCreateTextureFromFileInMemoryEx (not sure if your goal was to make it accurate of if you just wanted to get stuff working): a) you're only loading the first surface, the mipmaps will stay black b) the mipfilter parameter is used for just that - generating the mipmaps from the surface 0 using D3DXFilterTexture. If you look at the link I posted, that's just what I'm doing ;) so the Merge branch should work fine, too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #51 from Michal Suchanek <hramrach(a)centrum.cz> 2010-08-28 17:30:08 CDT --- Thanks for working on this. Apparently this was once in shape to get into Wine it has diverged since then and parts already implemented and parts were changed incompatibly. I could not find the original patches that introduce this function because they are buried in the history due to merges. Merges are useless with git unless what you want is managing a fork forever because git does not manage merged branches. The Merge branch in your repo does not build for me as I posted above. Either way, the d3dxloadsurfacefrommemorySUBMIT has the same texture.c and does build but does not work probably because the d3d in that wine is ancient. I just tried to get something working and I could run the demo with the simple version of the function. Anyway, all file formats except DDS have only one level and DDS is broken. I tried to rebase all the patches that could reasonably apply on top of current wine but once I apply the DDS patch the tests crash. http://repo.or.cz/w/wine/hramrach.git/shortlog/refs/heads/surf3 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #52 from Tony Wasserka <tony.wasserka(a)freenet.de> 2010-08-28 19:27:42 CDT --- (In reply to comment #51)
I could not find the original patches that introduce this function because they are buried in the history due to merges. Never mind about the patches, the actual function implementation is what matters.
The Merge branch in your repo does not build for me as I posted above. Not sure why, but apparently you aren't linking against dxguid.lib.
Either way, the d3dxloadsurfacefrommemorySUBMIT has the same texture.c and does build but does not work probably because the d3d in that wine is ancient. No idea about that one, just don't that branch since it's horribly outdated... Should work fine though, no matter what changed in d3d.
I tried to rebase all the patches that could reasonably apply on top of current wine but once I apply the DDS patch the tests crash. As I said, don't try to rebase any patches, just copy over the actual function implementation.
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #53 from Tony Wasserka <tony.wasserka(a)freenet.de> 2010-08-28 19:28:59 CDT --- FWIW, someone from codeweavers is working on getting my patches committed (not sure what functions he's working on though, maybe it doesn't cover this one...) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #54 from Michal Suchanek <hramrach(a)centrum.cz> 2010-08-29 03:18:36 CDT --- I guess we can mark this as having a patch officially. The patches in surf3 branch look reasonable and pass the included tests and they do run the demo which I was trying to make work. The DDS part is broken for some reason but it's not needed for some simpler applications. As for the D3D part I had some issues with older wines not working on the free X drivers which was resolved only very recently so the d3d in your repo would be too old to run here. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #55 from Tony Wasserka <tony.wasserka(a)freenet.de> 2010-08-29 14:01:37 CDT --- (In reply to comment #54)
I guess we can mark this as having a patch officially.
The patches in surf3 branch look reasonable and pass the included tests and they do run the demo which I was trying to make work.
The DDS part is broken for some reason but it's not needed for some simpler applications.
As for the D3D part I had some issues with older wines not working on the free X drivers which was resolved only very recently so the d3d in your repo would be too old to run here. fwiw, you can just update everything but d3dx9_36 (and maybe windowscodecs)... then you'd have my changes and a mostly up to date wine tree.
No time to look at your patches right now, might look into that later. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Scott Ritchie <scott(a)open-vote.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scott(a)open-vote.org --- Comment #56 from Scott Ritchie <scott(a)open-vote.org> 2010-08-30 22:53:04 CDT --- On 1.3.1 the Victoria 2 Demo also crashes on startup, with a similar error: "unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileExA" Using native d3dx9_36.dll with winetricks bypasses the error, although the game crashes for other reasons. Demo is available here: http://www.gamershell.com/download_62070.shtml -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #57 from Austin English <austinenglish(a)gmail.com> 2010-08-31 11:32:26 CDT --- (In reply to comment #56)
On 1.3.1 the Victoria 2 Demo also crashes on startup, with a similar error: "unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileExA"
Using native d3dx9_36.dll with winetricks bypasses the error, although the game crashes for other reasons.
Demo is available here: http://www.gamershell.com/download_62070.shtml
That function is now implemented: http://source.winehq.org/git/wine.git/?a=commitdiff;h=ae695bdfaaea2b114938ff... please retest. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 --- Comment #58 from joaopa <jeremielapuree(a)yahoo.fr> 2010-09-14 18:51:49 CDT --- This bug is fixed. If there are other problem, please open a new bug report. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Scott Ritchie <scott(a)open-vote.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #59 from Scott Ritchie <scott(a)open-vote.org> 2010-09-16 04:40:07 CDT --- Indeed fixed, although Victoria now crashes with #24422 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13297 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #60 from Alexandre Julliard <julliard(a)winehq.org> 2010-09-18 13:06:51 CDT --- Closing bugs fixed in 1.3.3. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org