My videocard is a PCI-E Radeon X800GT with 256 MB of RAM. I am using current Debian Testing with the latest version of Wine, and trying to run the Windows game "Lineage II" in it. In Windows, this game runs smoothly and without any problems with maximum level of graphic details. But in GNU/Linux, when the level of graphic detail is set to anything higher than "Low" for everything (Texture quality, etc), the game often crashes in many game world locations, leaving messages in the console, similar to the following: fixme:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexSubImage2D @ surface.c / 243 fixme:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexSubImage2D @ surface.c / 243 fixme:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexSubImage2D @ surface.c / 243 fixme:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexSubImage2D @ surface.c / 243 fixme:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexSubImage2D @ surface.c / 243 DRM_RADEON_TEXTURE: return = -14 offset=0xd57ce000 image width=512 height=512 blit width=512 height=512 data=0x4d The first five messages are from Wine. The last one is from DRM, as I suppose. I would appreciate any advice, about how this issue can be fixed. Or pointers where to look at, and what else to try. I have tried setting GART size in xorg.conf to 64 and 128 MB, this made no difference. Also, I was testing with Acceleration architecture set to XAA or EXA (with FBTexPercent "80"), with no effect. I understand this may be a problem not in DRM at all, but in Wine. If that is the case, then please forgive me for wasting a bit of your time with this bugreport. Thanks for any reply in advance.
It looks like Mesa can't get enough virtual memory to process the glTexSubImage2D calls, probably there's a memory/resource leak somewhere. If you could attach gdb to the process, set a breakpoint at _mesa_error and get a full backtrace when it triggers, that might give an idea. Or, try a memory leak debugging tool such as valgrind.
This looks like wine bug http://bugs.winehq.org/show_bug.cgi?id=13335 How much system RAM do you have?
I had 2 GB at the time. Also, I have since upgraded the X800GT to a 3870, which has no 3D support with Mesa drivers atm, so I wouldn't be able to further track if this issue continues to occur or not.
It is wine's bug. Closing
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.