https://bugs.winehq.org/show_bug.cgi?id=42732
Bug ID: 42732 Summary: GL_OUT_OF_MEMORY followed by NULL dereference in FFXIV Heavensward Benchmark Product: Wine Version: 2.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: nospam@kota.moe Distribution: ---
Get the benchmark here: http://eu.finalfantasyxiv.com/benchmark/en
Requires d3dx9 and xact_jun2010, then directx9 installed with winetricks to run. d3dx9 and xact_jun2010 stops it complaining about DirectX not being installed, while directx9 stops the benchmark crashing as soon as it starts.
First of all, I do not get this bug if I use my AMD RX 480 - it only happens on my Intel HD 530.
Upon running the benchmark with Standard (Desktop) and windowed 1080p settings (happens on every other setting combination I've tried too, though), the first scene plays out fine (though with some occlusion culling issues like flickering, if it's enabled), but while loading the second scene, it tried to write to NULL with the following output on the console (that differs to a successful run under my RX 480):
err:d3d:wined3d_debug_callback 0x10311a28: "GL_OUT_OF_MEMORY in glCompressedTexSubImage2D". (...repeated for many lines...) err:d3d:wined3d_debug_callback 0x10311a28: "GL_OUT_OF_MEMORY in glCompressedTexSubImage2D". err:d3d:wined3d_debug_callback 0x10311a28: "GL_OUT_OF_MEMORY in glTexSubImage". wine: Unhandled page fault on write access to 0x00000000 at address 0xf7457bec (thread 0126), starting debugger...
So I thought this meant I didn't have enough VRAM, so I increased that in the BIOS to 512 MB of dedicated VRAM and no limit to shared VRAM. I have 32 GB of system memory.
I also changed HKCU\Software\Wine\Direct3D\VideoMemorySize to various different values (between 128 and 4096) but still got the same error.
Also happens on both 32-bit and 64-bit wine prefixes.