[Bug 34480] New: wined3d: League of Legends crashes when using textures with mipmaps smaller than a block
http://bugs.winehq.org/show_bug.cgi?id=34480 Bug #: 34480 Summary: wined3d: League of Legends crashes when using textures with mipmaps smaller than a block Product: Wine Version: 1.7.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: c10ud.dev(a)gmail.com Classification: Unclassified Hello, this is a long-standing issue for this game (but as far as I can see it has been never reported): the in-game shop (not the store) crashes. There's one patch that workarounds the issue but doesn't fix it: http://uz.sns.it/~ranma42/iLoL/0001-HACK-Disallow-block-based-textures-with-... I'm trying with latest wine-git (20130909), if you need further debug or informations just ask greets -- 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=34480 Johannes Brandstätter <jbrandstaetter(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbrandstaetter(a)gmail.com --- Comment #1 from Johannes Brandstätter <jbrandstaetter(a)gmail.com> 2013-09-10 18:56:10 CDT --- I can confirm this issue. There was a fix to convert the broken textures of the game to a better supported format, but with the recent 3.11 patch this method broke and the patched textures lead to a crash when the game client started. I don't know any technical details about it, but here is the link to the utility: https://github.com/A-Metaphysical-Drama/LoL-Linux-Tools/issues It did not crash on windows for me, but the shop icons were replaced and duplicated for some items I had bought. After repairing the installation the game would only start with the applied patch Riccardo was talking about. If I can help test patches or debug the issue please let me know. regards -- 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=34480 Renaud Chaput <renchap(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |renchap(a)gmail.com --- Comment #2 from Renaud Chaput <renchap(a)gmail.com> 2013-09-11 11:31:06 CDT --- I can confirm this issue with wine 1.7.0. -- 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=34480 maxime.chassagneux(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxime.chassagneux(a)gmail.co | |m --- Comment #3 from maxime.chassagneux(a)gmail.com 2013-09-12 07:29:41 CDT --- I can confirm this issue too. Even with the patch, a red square is display to replace bad textures and could be annoying in this game... -- 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=34480 Danilo Riffo <danriffo(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danriffo(a)gmail.com --- Comment #4 from Danilo Riffo <danriffo(a)gmail.com> 2013-09-12 07:43:35 CDT --- actually, now is even worse after the latest LoL update: for some missing icons a red square is shown, but for others, the icon is replaced by another one, leading to confusion on which item you actually have. -- 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=34480 --- Comment #5 from Riccardo <c10ud.dev(a)gmail.com> 2013-09-12 08:25:39 CDT --- (In reply to comment #4)
actually, now is even worse after the latest LoL update: for some missing icons a red square is shown, but for others, the icon is replaced by another one, leading to confusion on which item you actually have.
I believe that's a consequence of A-Metaphysical-Drama's texture patch, tried with a new LoL install and we only get red squares (with ranma's HACK) However I've been told on IRC that it's an issue with some applications writing past the end of surfaces (working in Windows because miplevels are allocated in a different way.. stringfellow said essentially all miplevels should be allocated at once) stefand told me that work on this has been postponed until wine's texture-surface relation is more d3d10-like -- 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=34480 Scott Ritchie <scott(a)open-vote.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |scott(a)open-vote.org Ever Confirmed|0 |1 --- Comment #6 from Scott Ritchie <scott(a)open-vote.org> 2013-09-14 03:06:13 CDT --- Confirming. In its current state the game is completely playable out of the box provided you never buy any items. So, trolling only. -- 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=34480 --- Comment #7 from Stefan Dösinger <stefan(a)codeweavers.com> 2013-09-23 09:41:45 CDT --- Created attachment 46054 --> http://bugs.winehq.org/attachment.cgi?id=46054 Test case Wine supports compressed mipmaps smaller than the block size just fine. The problem here is that LoL writes past the end of the first mipmap (Usually 64x64 one), causing a memory corruption. By luck it only happens to do that with textures that have mipmap levels < 4x4. It gets away with the broken memory write on Windows because the texture is a D3DPOOL_MANAGED texture and Windows allocates the memory for all mipmaps as one block. Thus when it writes past the memory of level 0, it just writes to the memory of level 1, 2, 3, etc. On Wine it writes into memory owned by the heap manager. The proper fix to do is to fix LoL itself. The next best thing is to replicate Windows' memory allocation strategy. To do so, we have to move responsibility for allocating memory from the individual surfaces to the containing texture. The attached patch is a test that tests the memory allocation behavior of Windows. A quick and dirty workaround would be to allocate twice the amount of memory for each resource in wined3d_resource_allocate_sysmem(). -- 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=34480 Nick Hughart <mekius(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mekius(a)gmail.com --- Comment #8 from Nick Hughart <mekius(a)gmail.com> 2013-09-25 00:27:21 CDT --- I can confirm that this quick and dirty hack in wined3d_resource_allocate_sysmem does work. I used 1.7.1 as a base and multiplied size by 2 before it's used to allocate the memory. Before applying the change I would get a crash instantly upon opening the shop. After the fix, it now shows all icons perfectly. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 AJ Fite <me(a)ajfite.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |me(a)ajfite.com --- Comment #9 from AJ Fite <me(a)ajfite.com> --- I can confirm this bug under Wine 1.7.10 on Ubuntu 14.04-amd64 This patch can patch the mipmaps out of LOL so it will run without patching Wine https://bitbucket.org/Xargoth/tuxlol/wiki/Home and I have confirmed its working -- 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=34480 --- Comment #10 from Riccardo <c10ud.dev(a)gmail.com> --- How wrong is an approach like this? http://pastebin.com/WgNAEUkp Please be aware that I never touched wine and/or d3d. -- 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=34480 --- Comment #11 from Riccardo <c10ud.dev(a)gmail.com> --- (In reply to comment #10)
How wrong is an approach like this? http://pastebin.com/WgNAEUkp
Please be aware that I never touched wine and/or d3d.
Small improvement to resource cleanup: http://pastebin.com/4VU0fcPp -- 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=34480 Riccardo <c10ud.dev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |c10ud.dev(a)gmail.com --- Comment #12 from Riccardo <c10ud.dev(a)gmail.com> --- Created attachment 47590 --> http://bugs.winehq.org/attachment.cgi?id=47590 Alloc memory for textures like windows does Here is my latest take on the issue, the patch includes Stefan's test that is now passing. greets -- 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=34480 Riccardo <c10ud.dev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.1 |1.7.13 -- 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=34480 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda(a)volny.cz Version|1.7.13 |1.7.1 --- Comment #13 from Wylda <wylda(a)volny.cz> --- Note: "The version field defines the version of the software the bug was found in." -- 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=34480 a.metaphysical.drama(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a.metaphysical.drama(a)gmail. | |com -- 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=34480 TOM <l12436(a)yahoo.com.tw> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |l12436(a)yahoo.com.tw --- Comment #14 from TOM <l12436(a)yahoo.com.tw> --- i compile the dlls/wined3d and i fould it not working. -- 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=34480 James Lin <james122333(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |james122333(a)gmail.com --- Comment #15 from James Lin <james122333(a)gmail.com> --- Riccardo's patch can solve the problem but just crash when i enter into the battle awhile. -- 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=34480 --- Comment #16 from Riccardo <c10ud.dev(a)gmail.com> --- @all Stefan told me he would look into a proper fix for this issue after the d3d command stream patches, it will probably take a while (hopefully it will be soon :)) meanwhile I suggest you all patch LoL with A-Metaphysical-Drama's tool: https://github.com/A-Metaphysical-Drama/LoL-Linux-Tools/ League of Legends no longer detects this patch as corrupt data so once you run it once you're done. greets -- 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=34480 --- Comment #17 from James Lin <james122333(a)gmail.com> --- the LOL's client of the United States can run with A-Metaphysical-Drama's tool but i use a garena messenger to run the client of my country. the structure between them seems to be different so that i can't apply the patch with it. -- 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=34480 nmschulte(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nmschulte(a)gmail.com -- 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=34480 --- Comment #18 from nmschulte(a)gmail.com --- I too am interested in an official fix/workaround for this; subscribed. -- 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=34480 --- Comment #19 from a.metaphysical.drama(a)gmail.com --- As i said on appdb page you can use this hack of mine http://pastebin.com/xSNJjkMY, as suggested by Stefan Dösinger This should work well with every version of wine and LoL, it's just an hack waiting for a better solution -- 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=34480 --- Comment #20 from James Lin <james122333(a)gmail.com> --- Thanks,i will give it a try later. i have to prepare for my exam. -- 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=34480 Riccardo <c10ud.dev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47590|0 |1 is obsolete| | --- Comment #21 from Riccardo <c10ud.dev(a)gmail.com> --- Created attachment 48301 --> http://bugs.winehq.org/attachment.cgi?id=48301 WINEDEBUG=+timestamp,+d3d_surface -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |beshwa(a)gmail.com --- Comment #22 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 32559 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Summary|wined3d: League of Legends |Multiple games crash during |crashes when using textures |attempt to write past the |with mipmaps smaller than a |end of mip level, expecting |block |contiguous mipchain | |allocation (League of | |Legends, Warlock Master of | |the Arcane) --- Comment #23 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, still present. I found another game suffering from this: 'Warlock - Master of the Arcane 1.4' (Steam) -> bug 32559 Henry did an educated guess which quickly helped to identify the issue. Refining summary to collect games here. $ wine --version wine-1.7.17-129-gb84e112 Regards -- 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=34480 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |flbiggs(a)kbbplc.com --- Comment #24 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 35874 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Daftpunk_05(a)hotmail.com --- Comment #25 from Austin English <austinenglish(a)gmail.com> --- *** Bug 36038 has been marked as a duplicate of this bug. *** -- 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=34480 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brix(a)brix-verden.dk --- Comment #26 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 36455 has been marked as a duplicate of this bug. *** -- 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=34480 --- Comment #27 from Andrew Clark <beshwa(a)gmail.com> --- Just FYI, the patch to Wine suggested as a workaround for LoL does not resolve the crash in Warlock MotA. -- 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=34480 --- Comment #28 from a.metaphysical.drama(a)gmail.com --- If you are talking about my hack ( http://pastebin.com/xSNJjkMY ), you should remove the limitation for the doubled resource size, since it's made just for LoL needs For a quick try you can just replace: if (resource->width <= 64 && resource->height <= 64) with: if (1) -- 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=34480 --- Comment #29 from Anastasius Focht <focht(a)gmx.net> --- Hello a.metaphysical.drama --- quote --- If you are talking about my hack ( http://pastebin.com/xSNJjkMY ), you should remove the limitation for the doubled resource size, since it's made just for LoL needs --- quote --- That is correct. I assumed that other users had basic C knowledge and knew that the patch contains a LoL specific check which doesn't apply to other games. Thanks for the clarification anyway. Regards -- 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=34480 --- Comment #30 from Andrew Clark <beshwa(a)gmail.com> --- Thanks for the clarification, a.metaphysical.drama. I can confirm modifying the patch as you suggested does allow the game to start. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |igor.demyanov(a)gmail.com --- Comment #31 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 19569 has been marked as a duplicate of this bug. *** -- 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=34480 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Lothsahn(a)yahoo.com --- Comment #32 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 37072 has been marked as a duplicate of this bug. *** -- 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=34480 Jactry Zeng <jactry92(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #33 from Riccardo <c10ud.dev(a)gmail.com> --- Workaround for League of Legends: add x3d_platform=1 to [General] section of Config/game.cfg This undocumented setting enables OpenGL rendering (0 is d3d, 2 should be sw) hope it helps (original issue stands) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 tom+bugs.winehq.org(a)falkensweb.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tom+bugs.winehq.org(a)falkens | |web.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Artem <turbonomad(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |turbonomad(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Adam Bolte <abolte(a)systemsaviour.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte(a)systemsaviour.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 paulo <i30817(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i30817(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Rohan Hart <rohan.hart17(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rohan.hart17(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Carsten Hintz <Carsten(a)HintzInSeesen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Carsten(a)HintzInSeesen.de --- Comment #34 from Carsten Hintz <Carsten(a)HintzInSeesen.de> --- just registered for this. regarding the affected "Warlock - Master of the Arcane": it seems several people are playing the game because they have apllied the mentioned patch locally by themselves. now not everybody has a working Wine-build-environment. can someone please provide patched binaries in this thread? or better: is any activity ongoing that targets this bug and really fixes the issue in Wine proper? please see this as a *bump*, because I am afraid the issue gets overlooked due to the fact that League of Legends (the other affected app) seems to have an easy user-level workaround. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #35 from Riccardo <c10ud.dev(a)gmail.com> --- to whom may concern: this is my latest attempt at fixing this issue: https://github.com/c10ud/wine/commit/15108e236139b4190668563f8ba1e1491821719... testing, comments, ideas, suggestions appreciated. another discussion on this specific patches is held at: https://github.com/wine-compholio/wine-staging/issues/290 greets -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #36 from Adam Bolte <abolte(a)systemsaviour.com> --- Confirming your new patch works fine for me when applied to an otherwise clean 1.7.35. Tested with Warlock - Master of the Arcane in a 64-bit prefix. Without this patch, the game refuses to run. Note that I still get a Program Error (Unhandled exception) when exiting the program. I guess you would have seen that though so assume is unrelated. Thanks for keeping at it. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tommy(a)getrpm.net --- Comment #37 from Béla Gyebrószki <gyebro69(a)gmail.com> --- *** Bug 18663 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com --- Comment #38 from Béla Gyebrószki <gyebro69(a)gmail.com> --- *** Bug 29501 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #39 from Riccardo <c10ud.dev(a)gmail.com> --- My latest work on this issue, considering Stefan's remarks and hints can be found in this branch: https://github.com/c10ud/wine/compare/TextureAllocation -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |levanchelidze(a)gmail.com --- Comment #40 from Austin English <austinenglish(a)gmail.com> --- *** Bug 35022 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 philippe.groarke(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |philippe.groarke(a)gmail.com --- Comment #41 from philippe.groarke(a)gmail.com --- *** Bug 39019 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Christoph Korn <christoph.korn(a)posteo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christoph.korn(a)posteo.de --- Comment #42 from Christoph Korn <christoph.korn(a)posteo.de> --- Any news on this? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 dj-max_payne(a)hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dj-max_payne(a)hotmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 oxwivi(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oxwivi(a)gmail.com --- Comment #43 from oxwivi(a)gmail.com --- (In reply to Riccardo from comment #39)
My latest work on this issue, considering Stefan's remarks and hints can be found in this branch: https://github.com/c10ud/wine/compare/TextureAllocation
How do I apply all those patches on Wine? I can't see anyway to download the entire branch on GitHub, -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #44 from oxwivi(a)gmail.com --- (In reply to Riccardo from comment #39)
My latest work on this issue, considering Stefan's remarks and hints can be found in this branch: https://github.com/c10ud/wine/compare/TextureAllocation
How do I apply all those patches on Wine? I can't see anyway to download the entire branch on GitHub. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #45 from Riccardo <c10ud.dev(a)gmail.com> --- (In reply to oxwivi from comment #44)
(In reply to Riccardo from comment #39)
My latest work on this issue, considering Stefan's remarks and hints can be found in this branch: https://github.com/c10ud/wine/compare/TextureAllocation
How do I apply all those patches on Wine? I can't see anyway to download the entire branch on GitHub.
That branch is outdated, I suggest you try one of the following workarounds: https://bugs.winehq.org/show_bug.cgi?id=34480#c0 or https://bugs.winehq.org/show_bug.cgi?id=34480#c33 until a proper solution is applied (there's ongoing work but it won't happen _soon_) Ciao, Riccardo -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #46 from oxwivi(a)gmail.com --- (In reply to Riccardo from comment #45)
(In reply to oxwivi from comment #44)
(In reply to Riccardo from comment #39)
My latest work on this issue, considering Stefan's remarks and hints can be found in this branch: https://github.com/c10ud/wine/compare/TextureAllocation
How do I apply all those patches on Wine? I can't see anyway to download the entire branch on GitHub.
That branch is outdated, I suggest you try one of the following workarounds:
https://bugs.winehq.org/show_bug.cgi?id=34480#c0
or
https://bugs.winehq.org/show_bug.cgi?id=34480#c33
until a proper solution is applied (there's ongoing work but it won't happen _soon_)
Ciao, Riccardo
I've been using x3d_platform=1, but then this happens whenever a game starts: "An unknown DirectX error has occurred and League of Legends cannot start. Please make sure your video card is using the latest video drivers from the manufacturer." I've commented so on AppDB LoL 4.x page, but no one else seems to have this issue. I installed Windows and it happens there too. So, not a Wine bug. Right now I'm on Wily, since there's no Wine in PPA yet, I thought might as well compile with workaround patches... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Sergey Isakov <isakov-sl(a)bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl(a)bk.ru --- Comment #47 from Sergey Isakov <isakov-sl(a)bk.ru> --- I tested patches from https://github.com/wine-compholio/wine-staging/issues/290 Idea from c10ud and final patch by slackner and next addition by titan73 as most recent and good formed. wine Regedit set key "ContiguousTextureMemory"=enabled wine c:/tests/d3d9_tests.exe.so device ..... fixme:d3d:texture_manage_memory (0x1a10f0 0 0x1e4e90 6 0x1c4400 fixme:d3d:texture_manage_memory (0x1b4330 0 0x1e4e90 5 0x1c4400 fixme:d3d:texture_manage_memory (0x1b4450 0 0x1e4e90 4 0x1c4400 fixme:d3d:texture_manage_memory (0x1b3b70 0 0x1e4e90 3 0x1c4400 fixme:d3d:texture_manage_memory (0x1b3c90 0 0x1e4e90 2 0x1c4400 fixme:d3d:texture_manage_memory (0x1b3db0 0 0x1e4e90 1 0x1c4400 fixme:d3d:texture_manage_memory Free mipchain (0x1e4e90) device.c:7788: Test failed: Got unexpected hr 0 for format D3DFMT_DXT2, pool D3DPOOL_SCRATCH, type D3DRTYPE_CUBETEXTURE, size 6x6. fixme:d3d:texture_manage_memory Free mipchain (0x1e4e90) fixme:d3d:texture_manage_memory (0x1c43f0 0 0x1e4e90 1 0x1c9cd0 fixme:d3d:texture_manage_memory Free mipchain (0x1e4e90) fixme:d3d:texture_manage_memory (0x1c43f0 0 0x1e4e90 1 0x1c9cd0 fixme:d3d:texture_manage_memory Free mipchain (0x1e4e90) device.c:7952: Test marked todo: Got unexpected hr 0. .... And so on. It means all new tests by Stefan are successful. Don't wonder I have DXTn support here. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #48 from Sergey Isakov <isakov-sl(a)bk.ru> --- I think the bug 38178 was resolved wrong way. The real reason for the crash is the same as this bug. I tried to apply the patch but the game is still crashing ~~~ fixme:d3d:texture_manage_memory (0x1ef3b0 0 0x1f2680 1 0x1f2bb0 fixme:d3d:texture_manage_memory Free mipchain (0x1f2680) fixme:d3d:texture_manage_memory (0x1ef3b0 0 0x1f2680 9 0x1f2bb0 fixme:d3d:texture_manage_memory (0x1f0e40 0 0x1f2680 8 0x1f2bb0 fixme:d3d:texture_manage_memory (0x1f0f60 0 0x1f2680 7 0x1f2bb0 fixme:d3d:texture_manage_memory (0x1f1080 0 0x1f2680 6 0x1f2bb0 fixme:d3d:texture_manage_memory (0x1f11a0 0 0x1f2680 5 0x1f2bb0 fixme:d3d:texture_manage_memory (0x1f1300 0 0x1f2680 4 0x1f2bb0 fixme:d3d:texture_manage_memory (0x1f1508 0 0x1f2680 3 0x1f2bb0 fixme:hlsl_parser:hlsl_parse Check for valued return on void funfixme:d3d:texture_manage_memory (0x1f1748 0 0x1f2680 1 0x1f2bb0 fixme:d3d:texture_manage_memory Free mipchain (0x1f2680) ~~~ And the test also crashed. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Luke Bratch <luke(a)bratch.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |luke(a)bratch.co.uk -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cleberdemattoscasali-wine(a)y | |ahoo.com.br --- Comment #49 from Michael Müller <michael(a)fds-team.de> --- *** Bug 12964 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael(a)fds-team.de Summary|Multiple games crash during |Multiple games crash during |attempt to write past the |attempt to write past the |end of mip level, expecting |end of mip level, expecting |contiguous mipchain |contiguous mipchain |allocation (League of |allocation (League of |Legends, Warlock Master of |Legends, Warlock Master of |the Arcane) |the Arcane, PSOBB) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Paul Brüll <paul.bruell(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.bruell(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 dk <developer(a)gaminglounge.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |developer(a)gaminglounge.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david.gamiz(a)gmail.com --- Comment #50 from Józef Kucia <joseph.kucia(a)gmail.com> --- *** Bug 39687 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #51 from Henri Verbeet <hverbeet(a)gmail.com> --- Is this still an issue with current Wine? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #52 from Riccardo <c10ud.dev(a)gmail.com> --- (In reply to Henri Verbeet from comment #51)
Is this still an issue with current Wine?
Hello Henri, this is no longer an issue with today's wine from git. Thank you very much for your effort. Ciao, Riccardo -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #53 from Artem <turbonomad(a)gmail.com> --- Tested Warlock Master of the Arcane against Wine-staging 1.9.8. It crashed on start somewhere in MSVCRT_memcpy: http://i.imgur.com/mLsvmom.png Unfortunately, the game blocked cursor in child window so I couldn't copy full output. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #54 from Riccardo <c10ud.dev(a)gmail.com> --- (In reply to Artem from comment #53)
Tested Warlock Master of the Arcane against Wine-staging 1.9.8. It crashed on start somewhere in MSVCRT_memcpy: http://i.imgur.com/mLsvmom.png Unfortunately, the game blocked cursor in child window so I couldn't copy full output.
You need to test with vanilla wine from today's git, afaik -staging doesn't even implement latest d3d changes right now (due to the incompatibility with the older csmt patches) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #55 from Johannes Brandstätter <jbrandst(a)2ds.eu> --- I tested League of Legends with Debian's wine-development package at Wine version 1.9.8. Once I open the in-game shop it doesn't show the shop icons and just freezes. IIRC it still played the background sounds just fine, and did not appear to completely crash. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #56 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Cryostasis and Vivisector both start properly in wine-1.9.8-194-gef36a25. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #57 from Johannes Brandstätter <jbrandst(a)2ds.eu> --- I just tried League of Legends again with wine-staging 1.9.10. It works! Hopefully I didn't test it wrong, but using the in-game shop with the Direct3D 9 renderer worked just fine. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #58 from Artem <turbonomad(a)gmail.com> --- Warlock Master of the Arcane works fine for me too, on Wine-staging 1.9.10. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia(a)gmail.com Fixed by SHA1| |3b96ac290db1bca225ecfff4581 | |e0969202007ad Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #59 from Józef Kucia <joseph.kucia(a)gmail.com> --- Marking as fixed. http://source.winehq.org/git/wine.git/?a=commit;h=3b96ac290db1bca225ecfff458... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #60 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.11. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Artem <turbonomad(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|turbonomad(a)gmail.com | -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani(a)redhat.com Target Milestone|--- |1.8.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 --- Comment #61 from Michael Stefaniuc <mstefani(a)redhat.com> --- Remove 1.8.x target milestone from bugs that didn't make it into 1.8.x for one reason or another. This are all included in the stable 2.0 release. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34480 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- -- 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