https://bugs.winehq.org/show_bug.cgi?id=40372
Bug ID: 40372 Summary: [Live for Speed] Crash on loading Westhill track Product: Wine Version: 1.9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: samuel.rakitnican@gmail.com Distribution: ---
Created attachment 54076 --> https://bugs.winehq.org/attachment.cgi?id=54076 backtrace.txt and systemlog at the time of game crash.
I have two desktops running on Intel HD graphics A and B, both running updated Fedora 23. ~.wine/ is in sync with rsync on both computers is running on exactly same game settings.
On computer A all track are playable and works fine, while on computer B all tracks works except Westhill. Loading of textures (as says game that is doing) takes unusually long time. Then it finally crashes on "Rebuilding".
Recently I have installed Fedora 24 (currently in alpha) on computer A, and there is present exactly the same thing (crash on Westhill) while going back to Fedora 23 game works fine again on same game install of ~/.wine/.
Downgrading wine to older version is not having an effect. Installing the game into a fresh prefix works until d3dcompiler_43.dll and d3dx9_43.dll is installed with winetricks as required for textures to work properly.
What I have tried is to raise videomemory to 1024MB with "winetricks videomemorysize=1024" which also didn't help, as I am also getting following multiple repeated messages in systemlog:
Mar 28 19:36:34 computer wine-Programs-Live for Speed-LFS.desktop[24065]: err:d3d_surface:wined3d_surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexSubImage2D @ surface.c / 1596 Mar 28 19:36:34 computer wine-Programs-Live for Speed-LFS.desktop[24065]: err:d3d:wined3d_debug_callback 0x1d0b00: "GL_OUT_OF_MEMORY in glTexSubImage".
Any idea on how can I debug this?
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #1 from samuel.rakitnican@gmail.com --- Turned out I was missing libtxc_dxtn.so which is not included by default with fedora because of licensing issues. It is provided from unofficial rpmfusion-free repository.
It would be nice if there was some messages about it, not sure what is to blame about it here, though.
Message about missing library popped out when I broke mesa with mixed packages versions trying to debug.
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to samuel.rakitnican from comment #1)
Turned out I was missing libtxc_dxtn.so which is not included by default with fedora because of licensing issues. It is provided from unofficial rpmfusion-free repository.
It would be nice if there was some messages about it, not sure what is to blame about it here, though.
There is: https://source.winehq.org/git/wine.git/blob/f34fd257c6c83804075914ee2b82cc42...
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #3 from samuel.rakitnican@gmail.com --- Is this dialog supposed to appear instead of game crash?
Anyway, by looking at system log history, wine actually complained on game startup all the time, I was blind not to see it:
Mar 30 22:53:45 rawhide wine-Programs-Live for Speed-LFS.desktop[6163]: fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.
Message about missing library popped out when I broke mesa with mixed packages versions trying to debug.
I meant by this as an system log entry.
https://bugs.winehq.org/show_bug.cgi?id=40372
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- So this is working for you after installing libtxc_dxt ?
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #5 from samuel.rakitnican@gmail.com --- (In reply to super_man from comment #4)
So this is working for you after installing libtxc_dxt ?
That is correct, yes. It seems only this one track uses these textures. Other tracks works fine without this library.
Game also needs d3dcompiler_43.dll and d3dx9_43.dll from Microsoft to render textures properly. Textures doesn't load with wine's dll versions.
https://bugs.winehq.org/show_bug.cgi?id=40372
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |austinenglish@gmail.com, | |dimesio@earthlink.net, | |winetest@luukku.com, | |wylda@volny.cz
--- Comment #6 from winetest@luukku.com --- I quess you should solve this bug as invalid.
Nothing got fixed in wine. This bug cant be solved as fixed.
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #7 from winetest@luukku.com --- Other issues like these
"Game also needs d3dcompiler_43.dll and d3dx9_43.dll from Microsoft to render textures properly. Textures doesn't load with wine's dll versions."
Should have their own bug report.
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #8 from samuel.rakitnican@gmail.com --- (In reply to winetest from comment #6)
I quess you should solve this bug as invalid.
Nothing got fixed in wine. This bug cant be solved as fixed.
Sure but, the question is: Is acceptable for wine to crash when dxtn library is missing?
Fedora does not ship this library by default for patent reasons. Library is available through third party repos.
(In reply to winetest from comment #7)
Other issues like these
"Game also needs d3dcompiler_43.dll and d3dx9_43.dll from Microsoft to render textures properly. Textures doesn't load with wine's dll versions."
Should have their own bug report.
Sure, I can do that. I just wasn't sure if that is something that can be fixed.
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #9 from Henri Verbeet hverbeet@gmail.com --- (In reply to samuel.rakitnican from comment #8)
Sure but, the question is: Is acceptable for wine to crash when dxtn library is missing?
In some cases, yes. That is, it isn't necessarily Wine that's crashing here, but the application itself. Wine will refuse to create DXT/S3TC textures if those are not supported by the driver, but applications won't necessarily respond well to that, since in practice DXT/S3TC textures are always supported on Windows. There isn't a lot we can do to make that better.
Fedora does not ship this library by default for patent reasons.
Not even the "s2tc" implementation? As far as I'm aware that one doesn't have known patent issues.
https://bugs.winehq.org/show_bug.cgi?id=40372
samuel.rakitnican@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #10 from samuel.rakitnican@gmail.com ---
(In reply to winetest from comment #7)
Other issues like these
"Game also needs d3dcompiler_43.dll and d3dx9_43.dll from Microsoft to render textures properly. Textures doesn't load with wine's dll versions."
Should have their own bug report.
Sure, I can do that. I just wasn't sure if that is something that can be fixed.
Actually tested again with a fresh wine prefix and installed LFS version 0.6Q. I could run with builtin wine dlls, so nothing to report anymore. Wine is version 1.9.21.
Surprisingly, I have uninstalled libtxc_dxtn package and that was not needed as well, game (Westhill track) was working fine without it. Maybe game developers changed something, not sure.
$ pushd .wine/drive_c/LFS/; wine LFS.exe; popd ~/.wine/drive_c/LFS ~ fixme:winediag:start_process Wine Staging 1.9.21 is a testing version containing experimental patches. fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable. fixme:d3d9:Direct3DShaderValidatorCreate9 stub
https://bugs.winehq.org/show_bug.cgi?id=40372
--- Comment #11 from samuel.rakitnican@gmail.com --- (In reply to Henri Verbeet from comment #9)
(In reply to samuel.rakitnican from comment #8)
Fedora does not ship this library by default for patent reasons.
Not even the "s2tc" implementation? As far as I'm aware that one doesn't have known patent issues.
I don't know about s2tc, first time I hear that. A quick search seems to bring some legal question about potential inclusion: http://osdir.com/ml/fedora-legal-list/2016-05/msg00017.html
https://bugs.winehq.org/show_bug.cgi?id=40372
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- Closing invalid bugs.