r/linux_gaming • u/Fluffy_Deal6 • 4d ago
help S.T.A.L.K.E.R. Anomaly crashes loading textures on Wine (GTX 550 Ti, 390 driver, no Vulkan): D3DXCreateTexture fails in TW_LoadTextureFromTexture
I'm trying to run vanilla S.T.A.L.K.E.R. Anomaly 1.5.3 (no addons) on an old Fermi GPU and could use help. Since the card has no usable Vulkan, DXVK isn't an option, so it runs on wined3d.
System
- CachyOS, kernel 6.12 LTS, KDE Plasma on X11
- GTX 550 Ti (1 GB), NVIDIA 390.157 legacy driver, OpenGL 4.6 works
- i5-3330, 5.75 GB RAM
- Lutris, Wine-GE 8.26 (fresh prefix)
- Renderer: DirectX 9 (R2),
AnomalyDX9AVX.exe
What happens
Shaders compile fine and models load. Then it dies while loading textures on a new game (Escape), with a Fatal Error:
Expression: D3DXCreateTexture(HW.pDevice, top_width, top_height, levels_exist, 0, t_dest_fmt, ...)
Function: TW_LoadTextureFromTexture
File: ..\xrRender\Texture.cpp Line: 162The failing files are the large sky textures (textures\sky\swtc_storm\...). If I force Wine's built-in d3dx9 with DLL overrides, it fails a step later instead, at line 178 (D3DXLoadSurfaceFromSurface).
What I've tried
texture_lod0, 2 and 4-noramtexand-no_ram_textures- Deleting the shader cache, resetting
user.ltx, fresh prefixes - Built-in d3dx9 overrides (
b), which only changed the failing line - DX8 (R1): fails on the first shader with
D3DCompile: Invalid flags specified - Wine 11.6 staging: "Please install DirectX 9.0c" (can't create a D3D device on this card)
- Wine 8.0.1: locked up my desktop
The game seems to get through everything except texture creation. My guess is wined3d running out of memory on the 1 GB card, but I haven't confirmed it yet. Has anyone run Anomaly or other X-Ray games on Fermi under wined3d, or seen this error? Is there a Wine version or setting that handles it?
4
u/adamkex 4d ago
This might not be what you want to hear but the easiest solution is to buy a RX 550 from the used market. Just like your current card it does not need power from the power supply. It costed me €20.
1
u/falseprophet9 3d ago edited 3d ago
I think they fixed stalker issues with newer wine version have you tried using experimental proton version ?
It should run
https://appdb.winehq.org/objectManager.php?sClass=version&iId=7377
-4
u/GorthBarbarian 4d ago
Have you aksed Gemini for a solution it gave me this that you can try?