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@winehq.org ReportedBy: c10ud.dev@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
http://bugs.winehq.org/show_bug.cgi?id=34480
Johannes Brandstätter jbrandstaetter@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jbrandstaetter@gmail.com
--- Comment #1 from Johannes Brandstätter jbrandstaetter@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
http://bugs.winehq.org/show_bug.cgi?id=34480
Renaud Chaput renchap@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |renchap@gmail.com
--- Comment #2 from Renaud Chaput renchap@gmail.com 2013-09-11 11:31:06 CDT --- I can confirm this issue with wine 1.7.0.
http://bugs.winehq.org/show_bug.cgi?id=34480
maxime.chassagneux@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maxime.chassagneux@gmail.co | |m
--- Comment #3 from maxime.chassagneux@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...
http://bugs.winehq.org/show_bug.cgi?id=34480
Danilo Riffo danriffo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |danriffo@gmail.com
--- Comment #4 from Danilo Riffo danriffo@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.
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #5 from Riccardo c10ud.dev@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
http://bugs.winehq.org/show_bug.cgi?id=34480
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |scott@open-vote.org Ever Confirmed|0 |1
--- Comment #6 from Scott Ritchie scott@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.
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #7 from Stefan Dösinger stefan@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().
http://bugs.winehq.org/show_bug.cgi?id=34480
Nick Hughart mekius@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mekius@gmail.com
--- Comment #8 from Nick Hughart mekius@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
AJ Fite me@ajfite.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |me@ajfite.com
--- Comment #9 from AJ Fite me@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
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #10 from Riccardo c10ud.dev@gmail.com --- How wrong is an approach like this? http://pastebin.com/WgNAEUkp
Please be aware that I never touched wine and/or d3d.
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #11 from Riccardo c10ud.dev@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
http://bugs.winehq.org/show_bug.cgi?id=34480
Riccardo c10ud.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |c10ud.dev@gmail.com
--- Comment #12 from Riccardo c10ud.dev@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
http://bugs.winehq.org/show_bug.cgi?id=34480
Riccardo c10ud.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.1 |1.7.13
http://bugs.winehq.org/show_bug.cgi?id=34480
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz Version|1.7.13 |1.7.1
--- Comment #13 from Wylda wylda@volny.cz --- Note: "The version field defines the version of the software the bug was found in."
http://bugs.winehq.org/show_bug.cgi?id=34480
a.metaphysical.drama@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a.metaphysical.drama@gmail. | |com
http://bugs.winehq.org/show_bug.cgi?id=34480
TOM l12436@yahoo.com.tw changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l12436@yahoo.com.tw
--- Comment #14 from TOM l12436@yahoo.com.tw --- i compile the dlls/wined3d and i fould it not working.
http://bugs.winehq.org/show_bug.cgi?id=34480
James Lin james122333@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |james122333@gmail.com
--- Comment #15 from James Lin james122333@gmail.com --- Riccardo's patch can solve the problem but just crash when i enter into the battle awhile.
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #16 from Riccardo c10ud.dev@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
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #17 from James Lin james122333@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.
http://bugs.winehq.org/show_bug.cgi?id=34480
nmschulte@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nmschulte@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #18 from nmschulte@gmail.com --- I too am interested in an official fix/workaround for this; subscribed.
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #19 from a.metaphysical.drama@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
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #20 from James Lin james122333@gmail.com --- Thanks,i will give it a try later. i have to prepare for my exam.
http://bugs.winehq.org/show_bug.cgi?id=34480
Riccardo c10ud.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #47590|0 |1 is obsolete| |
--- Comment #21 from Riccardo c10ud.dev@gmail.com --- Created attachment 48301 --> http://bugs.winehq.org/attachment.cgi?id=48301 WINEDEBUG=+timestamp,+d3d_surface
https://bugs.winehq.org/show_bug.cgi?id=34480
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |beshwa@gmail.com
--- Comment #22 from Anastasius Focht focht@gmx.net --- *** Bug 32559 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@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@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
http://bugs.winehq.org/show_bug.cgi?id=34480
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flbiggs@kbbplc.com
--- Comment #24 from Anastasius Focht focht@gmx.net --- *** Bug 35874 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Daftpunk_05@hotmail.com
--- Comment #25 from Austin English austinenglish@gmail.com --- *** Bug 36038 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=34480
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |brix@brix-verden.dk
--- Comment #26 from Anastasius Focht focht@gmx.net --- *** Bug 36455 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #27 from Andrew Clark beshwa@gmail.com --- Just FYI, the patch to Wine suggested as a workaround for LoL does not resolve the crash in Warlock MotA.
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #28 from a.metaphysical.drama@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)
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #29 from Anastasius Focht focht@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
http://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #30 from Andrew Clark beshwa@gmail.com --- Thanks for the clarification, a.metaphysical.drama. I can confirm modifying the patch as you suggested does allow the game to start.
https://bugs.winehq.org/show_bug.cgi?id=34480
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |igor.demyanov@gmail.com
--- Comment #31 from Anastasius Focht focht@gmx.net --- *** Bug 19569 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=34480
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Lothsahn@yahoo.com
--- Comment #32 from Anastasius Focht focht@gmx.net --- *** Bug 37072 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=34480
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #33 from Riccardo c10ud.dev@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)
https://bugs.winehq.org/show_bug.cgi?id=34480
tom+bugs.winehq.org@falkensweb.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tom+bugs.winehq.org@falkens | |web.com
https://bugs.winehq.org/show_bug.cgi?id=34480
Artem turbonomad@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |turbonomad@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34480
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
https://bugs.winehq.org/show_bug.cgi?id=34480
paulo i30817@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |i30817@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34480
Rohan Hart rohan.hart17@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rohan.hart17@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34480
Carsten Hintz Carsten@HintzInSeesen.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Carsten@HintzInSeesen.de
--- Comment #34 from Carsten Hintz Carsten@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #35 from Riccardo c10ud.dev@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
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #36 from Adam Bolte abolte@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tommy@getrpm.net
--- Comment #37 from Béla Gyebrószki gyebro69@gmail.com --- *** Bug 18663 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #38 from Béla Gyebrószki gyebro69@gmail.com --- *** Bug 29501 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #39 from Riccardo c10ud.dev@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
https://bugs.winehq.org/show_bug.cgi?id=34480
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |levanchelidze@gmail.com
--- Comment #40 from Austin English austinenglish@gmail.com --- *** Bug 35022 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
philippe.groarke@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |philippe.groarke@gmail.com
--- Comment #41 from philippe.groarke@gmail.com --- *** Bug 39019 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
Christoph Korn christoph.korn@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |christoph.korn@posteo.de
--- Comment #42 from Christoph Korn christoph.korn@posteo.de --- Any news on this?
https://bugs.winehq.org/show_bug.cgi?id=34480
dj-max_payne@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dj-max_payne@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=34480
oxwivi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |oxwivi@gmail.com
--- Comment #43 from oxwivi@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,
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #44 from oxwivi@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #45 from Riccardo c10ud.dev@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
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #46 from oxwivi@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...
https://bugs.winehq.org/show_bug.cgi?id=34480
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #47 from Sergey Isakov isakov-sl@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #48 from Sergey Isakov isakov-sl@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
Luke Bratch luke@bratch.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luke@bratch.co.uk
https://bugs.winehq.org/show_bug.cgi?id=34480
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cleberdemattoscasali-wine@y | |ahoo.com.br
--- Comment #49 from Michael Müller michael@fds-team.de --- *** Bug 12964 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@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)
https://bugs.winehq.org/show_bug.cgi?id=34480
Paul Brüll paul.bruell@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.bruell@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34480
dk developer@gaminglounge.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |developer@gaminglounge.com
https://bugs.winehq.org/show_bug.cgi?id=34480
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |david.gamiz@gmail.com
--- Comment #50 from Józef Kucia joseph.kucia@gmail.com --- *** Bug 39687 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #51 from Henri Verbeet hverbeet@gmail.com --- Is this still an issue with current Wine?
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #52 from Riccardo c10ud.dev@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
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #53 from Artem turbonomad@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #54 from Riccardo c10ud.dev@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)
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #55 from Johannes Brandstätter jbrandst@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #56 from Béla Gyebrószki gyebro69@gmail.com --- Cryostasis and Vivisector both start properly in wine-1.9.8-194-gef36a25.
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #57 from Johannes Brandstätter jbrandst@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #58 from Artem turbonomad@gmail.com --- Warlock Master of the Arcane works fine for me too, on Wine-staging 1.9.10.
https://bugs.winehq.org/show_bug.cgi?id=34480
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com Fixed by SHA1| |3b96ac290db1bca225ecfff4581 | |e0969202007ad Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #59 from Józef Kucia joseph.kucia@gmail.com --- Marking as fixed.
http://source.winehq.org/git/wine.git/?a=commit;h=3b96ac290db1bca225ecfff458...
https://bugs.winehq.org/show_bug.cgi?id=34480
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #60 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.11.
https://bugs.winehq.org/show_bug.cgi?id=34480
Artem turbonomad@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|turbonomad@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=34480
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=34480
--- Comment #61 from Michael Stefaniuc mstefani@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.
https://bugs.winehq.org/show_bug.cgi?id=34480
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---