[Wine] Guild Wars - Direct3D8 is not available without OpenGL.

oGGy wineforum-user at winehq.org
Wed Apr 11 16:22:09 CDT 2012


Hello everyone!

As one might think from my subject line this thread seems to be about the usual no-32bit-OpenGL-libraries-installed issue, that Google is full of when you are looking for a solution.

My problem is a bit different: My system is 64bit, indeed, but the 32 bit graphics libraries/drivers are installed.
32bit native games like Enemy Territory run fine.

GuildWars starts with the following messages (clean WINEPREFIX, no overides etc.) using +d3d:

Code:
trace:d3d:DllMain WineD3D DLLMain Reason=1
trace:d3d:wined3d_dll_init Allow HW vertex shaders
trace:d3d:wined3d_dll_init If supported by your system, GL Shading Language will be used
trace:d3d:InitAdapters Initializing adapters
trace:d3d:InitAdapters Initializing adapters
trace:d3d:InitAdapters Initializing default adapter
trace:d3d:InitAdapters Allocated LUID 00000000:000003f1 for adapter.
trace:d3d:WineD3D_CreateFakeGLContext getting context...
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
warn:d3d:wined3d_init Failed to initialize adapters.
Direct3D8 is not available without OpenGL.
warn:d3d:wined3d_create Failed to initialize wined3d object, hr 0x80004005.
trace:d3d:InitAdapters Initializing adapters
trace:d3d:InitAdapters Initializing default adapter
trace:d3d:InitAdapters Allocated LUID 00000000:000003f2 for adapter.
trace:d3d:WineD3D_CreateFakeGLContext getting context...
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
warn:d3d:wined3d_init Failed to initialize adapters.
Direct3D8 is not available without OpenGL.
warn:d3d:wined3d_create Failed to initialize wined3d object, hr 0x80004005.


And is not responding.

Another game that I have installed in its own WINEPREFIX (with directx9 from winetricks, as suggested in AppDB) is Anno 1404, which is running perfectly fine starting with the following output using +d3d:

Code:
trace:d3d:DllMain WineD3D DLLMain Reason=1
trace:d3d:wined3d_dll_init Allow HW vertex shaders
trace:d3d:wined3d_dll_init If supported by your system, GL Shading Language will be used
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:system:SetProcessDPIAware stub!
trace:d3d:InitAdapters Initializing adapters
trace:d3d:InitAdapters Initializing default adapter
trace:d3d:InitAdapters Allocated LUID 00000000:000003f1 for adapter.
trace:d3d:WineD3D_CreateFakeGLContext getting context...
trace:d3d:test_arb_vs_offset_limit OpenGL implementation allows offsets > 63
trace:d3d:test_arb_vs_offset_limit ARB vp offset limit test cleanup call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 449
trace:d3d:wined3d_adapter_init_gl_caps extension detection call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 2735
trace:d3d:match_allows_spec_alpha GL Implementation accepts 4 component specular color pointers
trace:d3d:match_broken_nv_clip GL_NV_vertex_program2_option result.clip[] test passed
trace:d3d:match_broken_nv_clip GL_NV_vertex_program2_option result.clip[] test cleanup call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 690
trace:d3d:match_fbo_tex_update glTexImage2D call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 715
trace:d3d:match_fbo_tex_update glFramebufferTexture2D call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 720
trace:d3d:match_fbo_tex_update glCheckFramebufferStatus call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 724
trace:d3d:match_fbo_tex_update glTexSubImage2D call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 728
trace:d3d:match_fbo_tex_update glClear call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 732
trace:d3d:match_fbo_tex_update glGetTexImage call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 735
trace:d3d:match_fbo_tex_update glBindTexture call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 740
trace:d3d:match_fbo_tex_update glDeleteTextures call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 744
trace:d3d:match_broken_rgba16 glTexImage2D call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 765
trace:d3d:match_broken_rgba16 glGetTexLevelParameteriv call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 768
trace:d3d:match_broken_rgba16 Real color depth is 16
trace:d3d:match_broken_rgba16 glBindTexture call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 772
trace:d3d:match_broken_rgba16 glDeleteTextures call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 774
trace:d3d:test_pbo_functionality Specifying the PBO test texture call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 549
trace:d3d:test_pbo_functionality Specifying the PBO test pbo call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 554
trace:d3d:test_pbo_functionality Loading the PBO test texture call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 557
trace:d3d:test_pbo_functionality Reading back the PBO test texture call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 567
trace:d3d:test_pbo_functionality PBO test cleanup call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 571
trace:d3d:init_driver_info OS version 5.1.



Using GuildWars with directx9 from winetricks doesn't change anything. So it rather seems to be a problem with Guild Wars or wine than with my graphics system.
It's also weird that this started happing between two launches of Guild Wars. The first three were working and from then on, never again. Rebooting or a new WINEPREFIX won't help.

I hope someone is able to help me with this. When I can give any further information to debug this, please let me know.

System Information:

Gentoo Linux
Linux rappelkiste 3.2.6-ck #2 SMP Wed Feb 29 19:32:24 CET 2012 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux

x11-drivers/nvidia-drivers: 295.33

wine-1.5.1







More information about the wine-users mailing list