mikkelkromann
2011-Nov-01 11:56 UTC
[Wine] SOLVED: World of Warcraft d3d crash and rendring problems
Hi wine people, with some help from the Nvidia forum I managed to solve a problem with World of Warcraft 4.x.x that I suspect is directX / Wine related: Enabling -d3d9 and -d3d11 would cause the below mentioned problem with Wine 1.2.2, while it would crash World of Warcraft program under Wine 1.3.15 (Ubuntu 11.04 debs), while OpenGL runs perfectly (30-60 fps with all opengl settings on ultra): Especially under high load (many NPCs and players, e.g. big cities), sky, water, and ground will be rendered with black only. User Interface, NPCs other players, and most other objects are not rendered at all. I can rather easily recover from this by pointing my player view directly towards the sky. Sometimes this will fix the problem and I can move on, other times, directing the player view back, the problem will re-emerge. Sometimes it will go away just by waiting a bit, sometimes I will have to adjust most of my settings to "Low". The crash with Wine 1.3.15 produced this terminal output: err:d3d:resource_init Out of adapter memory err:d3d9:device_parent_CreateSurface (0x13a62c) CreateSurface failed, returning 0x8876017c fixme:d3d_texture:texture_init Failed to create surface 0x12909970, hr 0x8876017c wine: Unhandled page fault on read access to 0x00000080 at address 0x7cc8b041 (thread 006f), starting debugger... Unhandled exception: page fault on read access to 0x00000080 in 32-bit code (0x7cc8b041). I was able to solve the problem through some friendly guy advising me to use the register to set video card memory size: HKEY_CURRENT_USER/Software/Wine/Direct3D/VideoMemorySize So, I just wanted to pass on this knowledge in the hope that Direct3D support can be further improved. If I can help further with some testing, I'd be happy to do whatever I'm capable of. My video card is a Nvidia GTX560 using various Nvidia proprietary drivers: 285.05.09, 285.03, 280.13, as well as the standard ubuntu 11.04 Nvidia driver 270-something The thread on nvidia forum is here: http://www.nvnews.net/vbulletin/showthread.php?t=167959