petersk
2011-Oct-23 15:21 UTC
[Wine] can't run DirectX applications properly - window garbled
Hello,
I have searched, read and tried everything I can think of, but without success.
So I really need some help here.
The application I am currently trying to use is PixPlant, but I have the same
problems with other apps using directx or opengl (I am totally confused now) to
display some content. PixPlant is a program for generating textures. It has an
area in its main window where it displays the current texture rendered on a 3d
object. But instead I see a garbled "screenshot" of the window/s below
it. Forcing the application to update or change the content in this area
doesn't force this area to update and change visually to its normal content.
Below are some technical details, please let me know if I should post more info.
wine: 1.2.3, both 32 and 64 bit
OS: Gentoo 64 bit, recently updated.
Video: Nvidia Quadro 2000, nvidia drivers version 270.41.19
Here is the console output of the program itself, installed and run on a new
wine prefix. Besides some program specific stuff it contains statistics and info
about my hardware and system, which might be useful to you:
---
peter at peter ~/.wine/drive_c/Program Files/PixPlant2 $ wine PixPlant.exe
fixme:gdi:ExtCreatePen Hatches not implemented
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
FreeImage version: 3.10.0
This program uses FreeImage, a free, open source image library supporting all
common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats:
bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
DDS codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
*-*-* OGRE Initialising
*-*-* Version 1.6.0 (Shoggoth)
fixme:win:EnumDisplayDevicesW ((null),0,0x33ecd8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33e208,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33e2b8,0x00000000), stub!
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling
mixer
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission
denied
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category
{cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category
{cc7bfb46-f175-11d1-a392-00e0291f3959} not found
DirectX version: 0033F9BC
Loading library C:\Program Files\PixPlant2\RenderSystem_Direct3D9.dll
Installing plugin: D3D9 RenderSystem
D3D9 : Direct3D9 Rendering Subsystem created.
fixme:win:EnumDisplayDevicesW ((null),0,0x33edb4,0x00000000), stub!
D3D9: Driver Detection Starts
D3D9: Driver Detection Ends
Plugin successfully installed
Loading library C:\Program Files\PixPlant2\Plugin_CgProgramManager.dll
Installing plugin: Cg Program Manager
Plugin successfully installed
CPU Identifier & Features
-------------------------
* CPU ID: GenuineIntel: Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
* SSE: yes
* SSE2: yes
* SSE3: yes
* MMX: yes
* MMXEXT: yes
* 3DNOW: no
* 3DNOWEXT: no
* CMOV: yes
* TSC: yes
* FPU: yes
* PRO: yes
* HT: no
-------------------------
D3D9 : Subsystem Initialising
***************************************
*** D3D9 : Subsystem Initialised OK ***
***************************************
D3D9RenderSystem::_createRenderWindow "wxWindow100", 100x100 windowed
miscParams: externalWindowHandle=65788
D3D9 : Created D3D9 Rendering Window 'wxWindow100' : 20x20, 32bpp
D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at
lower frame rates, turn VSync on if you observe this problem.
Registering ResourceManager for type Texture
Registering ResourceManager for type GpuProgram
D3D9: Vertex texture format supported - PF_FLOAT32_RGB
D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
fixme:d3d:debug_d3dformat Unrecognized 1129272385 (as fourcc: ATOC)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1129272385) in
the format lookup table
RenderSystem capabilities
-------------------------
RenderSystem Name: Direct3D9 Rendering Subsystem
GPU Vendor: nvidia
Device Name: NVIDIA GeForce 8300 GS
Driver Version: 6.15.11.9745
* Fixed function pipeline: yes
* Hardware generation of mipmaps: yes
* Texture blending: yes
* Anisotropic texture filtering: yes
* Dot product texture operation: yes
* Cube mapping: yes
* Hardware stencil buffer: yes
- Stencil depth: 8
- Two sided stencil support: yes
- Wrap stencil values: yes
* Hardware vertex / index buffers: yes
* Vertex programs: yes
* Fragment programs: yes
* Geometry programs: no
* Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a
ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
* Texture Compression: yes
- DXT: yes
- VTC: no
* Scissor Rectangle: yes
* Hardware Occlusion Query: yes
* User clip planes: yes
* VET_UBYTE4 vertex element type: yes
* Infinite far plane projection: yes
* Hardware render-to-texture: yes
* Floating point textures: yes
* Non-power-of-two textures: yes
* Volume textures: yes
* Multiple Render Targets: 4
- With different bit depths: no
* Point Sprites: yes
* Extended point parameters: yes
* Max Point Size: 63
* Vertex texture fetch: yes
- Max vertex textures: 4
- Vertex textures shared: no
* Render to Vertex Buffer : no
* DirectX per stage constants: no
ResourceBackgroundQueue - threading disabled
Particle Renderer Type 'billboard' registered
Added resource location 'C:\Program Files\PixPlant2\' of type
'FileSystem' to resource group 'General'
Added resource location 'C:\Program Files\PixPlant2\assets' of type
'FileSystem' to resource group 'General'
Parsing scripts for resource group Autodetect
Finished parsing scripts for resource group Autodetect
Parsing scripts for resource group General
Parsing script Faron.material
Finished parsing scripts for resource group General
Parsing scripts for resource group Internal
Finished parsing scripts for resource group Internal
!!! Direct3D Device Lost!
!!! Direct3D Device Lost!
Mesh: Loading C:\Program Files\PixPlant2\assets\sphere.mesh.
Can't assign material 01-Default to SubEntity of Object because this
Material does not exist. Have you forgotten to define it in a .material script?
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
!!! Direct3D Device Lost!
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in
the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in
the format lookup table
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: curtainfill32x32.png: Loading 1 faces(PF_R8G8B8,32x32x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,32x32x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x19d590 stub!
D3D9TextureManager released:
0 unmanaged textures
D3D9HardwareBufferManager released:
0 unmanaged vertex buffers
0 unmanaged index buffers
Reset device ok w:522 h:722
D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at
lower frame rates, turn VSync on if you observe this problem.
D3D9TextureManager recreated:
0 unmanaged textures
D3D9HardwareBufferManager recreated:
0 unmanaged vertex buffers
0 unmanaged index buffers
!!! Direct3D Device successfully restored.
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in
the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in
the format lookup table
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: DiffuseTexture: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x187b68 stub!
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in
the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in
the format lookup table
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: NormalTexture: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x187dd8 stub!
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: HeightTexture: Loading 1 faces(PF_A8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_A8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x188048 stub!
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in
the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in
the format lookup table
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: SpecularTexture: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x16fb98 stub!
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in
the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in
the format lookup table
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: DiffuseTexture: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x187b68 stub!
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in
the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in
the format lookup table
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: NormalTexture: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x187dd8 stub!
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: HeightTexture: Loading 1 faces(PF_A8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_A8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x16fa58 stub!
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in
the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in
the format lookup table
err:d3d_texture:basetexture_set_autogen_filter_type
>>>>>>>>>>>>>>>>>
GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions,
GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
/home/portage/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3/dlls/wined3d/basetexture.c
/ 216
Texture: SpecularTexture: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0x16fb98 stub!
---
It is strange to me that it lists NVIDIA GeForce 8300 GS as my video card, which
is not true, I am using NVIDIA Quadro 2000 with Nvidia's drivers version
270.41.19
I have tried also to install DirectX (directx_Jun2010_redist.exe downloaded from
Microsoft), following several articles found on the web. And although DirectX
seemed to install itself O.K. the problem with PixPlant persisted. Running
dxdiag.exe after DirectX installation doesn't produce any output neither on
the console or the expected application window with stats, tests, etc. The
command just exits silently.
vitamin
2011-Oct-23 22:56 UTC
[Wine] Re: can't run DirectX applications properly - window garbled
petersk wrote:> wine: 1.2.3, both 32 and 64 bitPlease upgrade Wine version. This is old release which does not include most developments from last 1 1/2 years.
petersk
2011-Oct-24 13:09 UTC
[Wine] Re: can't run DirectX applications properly - window garbled
Gentoo doesn't offer wine versions higher than 1.3.30 at this time. I can compile from source, but I really prefer to use Portage for larger and not so simple programs like wine. The results with wine-1.3.29 are: the game doesn't start with the same error as with 1.3.30. However it starts when I remove the mentioned file in the manifests folder. The directx display doesn't work though. It looks just the same as with wine 1.2.3 So any other suggestions?