First-time wine user, having problems with Direct3D and EE2

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Bond Masuda

First-time wine user, having problems with Direct3D and EE2

Post by Bond Masuda »

I'm a first time wine user, though long time Linux user, so excuse me if
my question is documented somewhere. I've searched, here and google
without success thus far.

Looking through AppDB, I noticed that EE2 (Empire Earth 2) seems to work
well with wine, so I decided to try this as my first attempt to use
wine. Unfortunately, I get the following errors:

"Failed to create Direct3D Device. Cannot continue."

And at the console, i get:

err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32
vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers +
MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0xf2f6c4,0x00000000), stub!
fixme:winmm:MMDRV_Exit Closing while ll-driver open


My system is a Q6600, 4GB RAM, Nvidia 8600GT 256MB video card. I'm
running Fedora 8 x86_64, with the Nvidia drivers. This is a FRESH
install of Fedora 8 w/ updates, and FRESH install of
wine-1.0-0.1.rc1.fc8.

Nvidia driver has the 32bit OpenGL installed. I have both i386 and
x86_64 packages of the Mesa packages.

Can someone please enlighten me on the meaning of the error messages and
how i might correct the problem?

TIA,
-B.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: First-time wine user, having problems with Direct3D and

Post by vitamin »

Bond Masuda wrote:I'm a first time wine user, though long time Linux user, so excuse me if
my question is documented somewhere. I've searched, here and google
without success thus far.

Looking through AppDB, I noticed that EE2 (Empire Earth 2) seems to work
well with wine, so I decided to try this as my first attempt to use
wine. Unfortunately, I get the following errors:

"Failed to create Direct3D Device. Cannot continue."

And at the console, i get:

err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32
vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers +
MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0xf2f6c4,0x00000000), stub!
fixme:winmm:MMDRV_Exit Closing while ll-driver open


My system is a Q6600, 4GB RAM, Nvidia 8600GT 256MB video card. I'm
running Fedora 8 x86_64, with the Nvidia drivers. This is a FRESH
install of Fedora 8 w/ updates, and FRESH install of
wine-1.0-0.1.rc1.fc8.

Nvidia driver has the 32bit OpenGL installed. I have both i386 and
x86_64 packages of the Mesa packages.

Can someone please enlighten me on the meaning of the error messages and
how i might correct the problem?

TIA,
-B.

Run Wine from the terminal and post all messages you see. Also what does 'glxinfo | grep version' say?
Bond Masuda

First-time wine user, having problems with Direct3D and EE2

Post by Bond Masuda »

On Sat, 2008-05-24 at 23:23 -0500, vitamin wrote:
Bond Masuda wrote:
I'm a first time wine user, though long time Linux user, so excuse me if
my question is documented somewhere. I've searched, here and google
without success thus far.

Looking through AppDB, I noticed that EE2 (Empire Earth 2) seems to work
well with wine, so I decided to try this as my first attempt to use
wine. Unfortunately, I get the following errors:

"Failed to create Direct3D Device. Cannot continue."

And at the console, i get:

err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32
vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers +
MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0xf2f6c4,0x00000000), stub!
fixme:winmm:MMDRV_Exit Closing while ll-driver open


My system is a Q6600, 4GB RAM, Nvidia 8600GT 256MB video card. I'm
running Fedora 8 x86_64, with the Nvidia drivers. This is a FRESH
install of Fedora 8 w/ updates, and FRESH install of
wine-1.0-0.1.rc1.fc8.

Nvidia driver has the 32bit OpenGL installed. I have both i386 and
x86_64 packages of the Mesa packages.

Can someone please enlighten me on the meaning of the error messages and
how i might correct the problem?

TIA,
-B.

Run Wine from the terminal and post all messages you see. Also what does 'glxinfo | grep version' say?
All the messages from the command prompt are shown above, starting with
the "err:". The output of glxinfo | grep version is:

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.3
OpenGL version string: 2.1.2 NVIDIA 169.12

I would appreciate any help... thanks!
Bond Masuda

First-time wine user, having problems with Direct3D and EE2

Post by Bond Masuda »

I made some progress, so i thought I'd follow up. But there is still
some issues i'm hoping someone can help me with.

I was finally able to play the game. It turns out that I had to enable
"Emulate Virtual Desktop" in winecfg, which was not on by default. Is
this generally a required setting when running programs that require
Direct3D? (my wine newb-ness shows, i know...)

After getting the game to run, the next issue was sound. A little
googling revealed that wine doesn't get along well with pulseaudio,
which is now the default in Fedora 8. The work around is to use padsp as
a OSS wrapper. Running "padsp winecfg" and selecting the OSS driver,
then running "pasdp wine <path to game exe>" allowed the sound to work.

Now, the remaining issues that i've noticed:

1. Places where punctuation marks (like . : , ) are suppose to be show
up as white rectangles. others have reported to AppDB about this, but
wanted to see if someone more
knowfile:///home/bmasuda/Desktop/Screenshot-Default%20-%20Wine%20desktop.png
ledgeable could ellaborate or explain this issue.

2. Units on the map have a strange "dark square" beneath them. I'm
attaching a PNG screenshot that shows what i'm talking about.
Screenshots on AppDB do not show this problem so it was not something i
was expecting. Is there some setting that will make the "dark squares"
go away?

Also in the PNG screenshot, you can see the white rectangles mentioned
in #1 above.

Would appreciate any suggestions.. thanks!


Bond Masuda wrote:
I'm a first time wine user, though long time Linux user, so excuse me if
my question is documented somewhere. I've searched, here and google
without success thus far.

Looking through AppDB, I noticed that EE2 (Empire Earth 2) seems to work
well with wine, so I decided to try this as my first attempt to use
wine. Unfortunately, I get the following errors:

"Failed to create Direct3D Device. Cannot continue."

And at the console, i get:

err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32
vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers +
MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0xf2f6c4,0x00000000), stub!
fixme:winmm:MMDRV_Exit Closing while ll-driver open


My system is a Q6600, 4GB RAM, Nvidia 8600GT 256MB video card. I'm
running Fedora 8 x86_64, with the Nvidia drivers. This is a FRESH
install of Fedora 8 w/ updates, and FRESH install of
wine-1.0-0.1.rc1.fc8.

Nvidia driver has the 32bit OpenGL installed. I have both i386 and
x86_64 packages of the Mesa packages.

Can someone please enlighten me on the meaning of the error messages and
how i might correct the problem?

TIA,
-B.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-Default - Wine desktop.png
Type: image/png
Size: 2966899 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-us ... chment.png
shawnx8
Newbie
Newbie
Posts: 2
Joined: Fri May 29, 2009 9:50 am

Post by shawnx8 »

I'm having this exact same problem.

OS: Ubuntu 9.04
Wine: 1.1.22
Nvidia Gforce 8800GT

When I try to start EE2, I get this error message:
FATAL PROBLEM at C:\EE2\src\EE2\Render.cpp:578:
-->Failed to create Direct3D Device. Cannot continue.
This is what I get in terminal

Code: Select all

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0xf2f5f8,0x00000000), stub!
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0xf2f43c,0x00000000), stub!
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0xf2f390,0x00000000), stub!
Locked