Crash with D3D and OpenGL

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ralmond
Level 1
Level 1
Posts: 6
Joined: Sun Mar 01, 2009 2:30 pm

Crash with D3D and OpenGL

Post by ralmond »

I'm trying to get the game Perfect World International to run under Wine. The installer ran without an apparent problem, but when I try to run the patcher (what usually runs next under windows), I get the following error:

almond@Skuld[18]% wine /Users/ralmond/.wine/drive_c/Program\ Files/Perfect\ World\ Entertainment/Perfect\ World\ International/patcher/patcher.exe > pwi.log
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32f8d8,0x00000000), stub!
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 128 (Apple-DRI)
Minor opcode of failed request: 3 ()
Value in failed request: 0x200054
Serial number of failed request: 483
Current serial number in output stream: 499

A search on some of the terms in the error message led me to this bug report: http://bugs.winehq.org/show_bug.cgi?id=12929

Following a lead in that thread, I downloaded the application at this location
http://www.codesampler.com/dx9src/dx9sr ... demo_game
and got the same error message.

I'm running wine-1.1.16 (downloaded and compiled through MacPorts)
on a MacBook Pro 2.2 with 3GB of memory. The operating system is MacOX 10.5.6. The video card is an ATI Radeon X1600 with EFI Driver version 01.00.158.

I've tested Perfect World under both Boot Camp (running Windows Vista) and VMWare Fusion. It runs fine under boot camp and error free (but incredibly slowly) under VMware.

Thanks in advance for any advise on what to try next.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Crash with D3D and OpenGL

Post by austin987 »

On Sun, Mar 1, 2009 at 1:46 PM, ralmond <[email protected]> wrote:
I'm trying to get the game Perfect World International to run under Wine.  The installer ran without an apparent problem, but when I try to run the patcher (what usually runs next under windows), I get the following error:

almond@Skuld[18]% wine /Users/ralmond/.wine/drive_c/Program\ Files/Perfect\ World\ Entertainment/Perfect\ World\ International/patcher/patcher.exe > pwi.log
cd to the directory first.
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32f8d8,0x00000000), stub!
X Error of failed request:  BadValue (integer parameter out of range for operation)
 Major opcode of failed request:  128 (Apple-DRI)
 Minor opcode of failed request:  3 ()
 Value in failed request:  0x200054
 Serial number of failed request:  483
 Current serial number in output stream:  499
It's crashing in your video drivers....can you try other ones?


--
-Austin
ralmond
Level 1
Level 1
Posts: 6
Joined: Sun Mar 01, 2009 2:30 pm

Re: Crash with D3D and OpenGL

Post by ralmond »

austin987 wrote:On Sun, Mar 1, 2009 at 1:46 PM, ralmond <[email protected]> wrote:

It's crashing in your video drivers....can you try other ones?


--
-Austin
Um. It's a Mac running Mac OS X. I've never dealt with the video drivers, I've just let Apple handle that for me.

Is it possible I'm running into a Mac OS bug? That there is a fix out to the ATI video driver that covers this problem but that Apple has not pushed that fix out? Maybe I need to file a bug report with Apple.

Thanks for your help.
--Russell
James McKenzie

Crash with D3D and OpenGL

Post by James McKenzie »

Austin English wrote:
On Sun, Mar 1, 2009 at 1:46 PM, ralmond <[email protected]> wrote:
I'm trying to get the game Perfect World International to run under Wine. The installer ran without an apparent problem, but when I try to run the patcher (what usually runs next under windows), I get the following error:

almond@Skuld[18]% wine /Users/ralmond/.wine/drive_c/Program\ Files/Perfect\ World\ Entertainment/Perfect\ World\ International/patcher/patcher.exe > pwi.log
cd to the directory first.

fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32f8d8,0x00000000), stub!
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 128 (Apple-DRI)
Minor opcode of failed request: 3 ()
Value in failed request: 0x200054
Serial number of failed request: 483
Current serial number in output stream: 499
It's crashing in your video drivers....can you try other ones?


Try upgrading to XQuartz 2.3.2. This may or may not fix the problem.

Also where did you get your version of Wine?

James McKenzie
James McKenzie

Crash with D3D and OpenGL

Post by James McKenzie »

Austin English wrote:
On Sun, Mar 1, 2009 at 1:46 PM, ralmond <[email protected]> wrote:
I'm trying to get the game Perfect World International to run under Wine. The installer ran without an apparent problem, but when I try to run the patcher (what usually runs next under windows), I get the following error:

almond@Skuld[18]% wine /Users/ralmond/.wine/drive_c/Program\ Files/Perfect\ World\ Entertainment/Perfect\ World\ International/patcher/patcher.exe > pwi.log
cd to the directory first.

fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32f8d8,0x00000000), stub!
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 128 (Apple-DRI)
Minor opcode of failed request: 3 ()
Value in failed request: 0x200054
Serial number of failed request: 483
Current serial number in output stream: 499
It's crashing in your video drivers....can you try other ones?


Never mind the where did you get Wine question. You will need to get a
Mac specific version of Wine or use Crossover for the Mac to run this
program.

James McKenzie
ralmond
Level 1
Level 1
Posts: 6
Joined: Sun Mar 01, 2009 2:30 pm

Post by ralmond »

Thanks for the lead, I will give it a try.

I did test using CrossoverGames (for Mac) and got the same issue.

I'm downloading/compiling Wine through the Macports (Porticus) version which provide Mac specific patches. I'm guessing I'll need to rebuild Wine to link against the new libraries.
ralmond
Level 1
Level 1
Posts: 6
Joined: Sun Mar 01, 2009 2:30 pm

Post by ralmond »

Okay, I've now tested against both XQuartz-2.3.2.1 (last stable) and 2.4.0-beta1 and I'm still getting problems.

Under the 2.4.0-beta1 I get
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 0 ()
Value in failed request: 0x22
Serial number of failed request: 269
Current serial number in output stream: 269

Under crossover games, I get the slightly more helpful error message.
wine: Call from 0x7b82f29b to unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileExA, aborting

Any other ideas of what to try?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Crash with D3D and OpenGL

Post by austin987 »

On Thu, Mar 5, 2009 at 9:08 PM, ralmond <[email protected]> wrote:
Okay, I've now tested against both XQuartz-2.3.2.1 (last stable) and 2.4.0-beta1 and I'm still getting problems.

Under the 2.4.0-beta1 I get
X Error of failed request:  BadValue (integer parameter out of range for operation)
 Major opcode of failed request:  0 ()
 Value in failed request:  0x22
 Serial number of failed request:  269
 Current serial number in output stream:  269

Under crossover games, I get the slightly more helpful error message.
wine: Call from 0x7b82f29b to unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileExA, aborting
Use the native version of that dll.


--
-Austin
Locked