https://bugs.winehq.org/show_bug.cgi?id=44246
Adrien Fernandes adrien_fernandes2@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adrien_fernandes2@hotmail.c | |om
--- Comment #4 from Adrien Fernandes adrien_fernandes2@hotmail.com --- Since the original poster seems gone for long now, I'm going to continue this thread.
Three years now I'm having this issue and it has never been fixed. I am a daily FreeBSD user and if this issue could be fixed, I'd be in heaven...
(In reply to joaopa from comment #1)
Does it happen with the demo https://www.generation-nt.com/demo-call-of-duty-4-telechargement-46162.html
Yes it does, I just tried that demo and the higher you set the graphics, the sooner the game freezes or crash and, the same way as Hardy Schumacher, my terminal is filled with GL_INVALID_OPERATION error generated and GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Here is exactly what I'm using (same hardware for 6 years now) :
- Operating System - FreeBSD 13.0-CURRENT #0 r355406: Thu Dec 5 04:29:02 UTC 2019 (so FreeBSD-CURRENT from the 5th December 2019 img file)
- Physical memory - 12,0G (sure, 32-bits can only use a maximum of 4,0G, I know, but on GNU/Linux too and it always worked so my hardware can not be the problem !)
- Graphic card - GTX 765m
- Video driver - Name : nvidia-driver-390 Version : 390.129
- Wine version - $ wine --version wine-4.21
Clean WINEPREFIX set to WinXP and installed directx 9.0c June 2010 (that 93 MB file) with DXSETUP.exe (instead of winetricks but I always did it this way, even on GNU/Linux and it was working).
(In reply to Alex S from comment #3)
(In reply to Hardy Schumacher from comment #0)
After several seconds, this message is printed to console: err:d3d:wined3d_debug_callback 0xf8ff878: "GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.".
The process might be running out of address space, run top and check the SIZE column.
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 241 Adrien2002 11 21 0 3410M 1022M piperd 2 2:37 212,98% wine
Seems I've reached the maximum amount of 32-bits memory and it makes the game crash but... Why ? How ? Why I can play Call of Duty 4 on GNU/Linux but not on FreeBSD with the exact same hardware ?