PDA

View Full Version : Ghost Recon iPixelFormat



g3brownsc
July 1st, 2009, 10:06 PM
Hey all

I'm trying to get Ghost Recon up and running in Wine, and I've had some luck so far, but I'm stuck.

The game loads fine, but when I start an actual mission, the graphics render incorrectly. Surfaces don't get textured right, so patches of textures show up sometimes, but when I move the mouse to look around, most of the textures on the map disappear, leaving me staring at the skybox.

Here's a picture:
http://photos-c.ak.fbcdn.net/hphotos-ak-snc1/hs103.snc1/5018_1138059246845_1088280870_30779426_1954389_n.j pg

Errors from the terminal, cross-referenced to terminal feedback from somebody else's working copy, tells me this is messing me up:


err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat

A google search of this doesn't give me much to work with.

My details-
Ubuntu 9.04 Jaunty
2 ghz, 2 mb ram
intel GMA X3100, GM965 card
This may or may not be relevant, but turning Compiz on/off has no effect on the graphics.

Any help would be really appreciated, thanks in advance.

Th3_uN1Qu3
July 2nd, 2009, 06:37 AM
I believe it doesn't like your GMA. That's what you get for going with Intel video... Try unchecking "Enable Pixel Shader" in Wine configuration.

g3brownsc
July 2nd, 2009, 07:26 PM
Thanks for the reply.

I already tried that, along with turning off vertex shader support; still no dice.
The game has worked before on this computer with other versions of wine/ubuntu, but it was so long ago that I don't remember which ones.

I don't think this is just my graphics card misbehaving.

NightMKoder
July 3rd, 2009, 03:14 AM
It is, try offscreenrenderingmode=backbuffer. GMA's are notorious for misbehaving. I just hope gallium becomes a little more stable so we can have a little saner support.

g3brownsc
July 3rd, 2009, 05:55 AM
Thanks for the feedback.

If I followed your advice correctly (unlikely), it did not work right.

Here's what I did:
Opened regedit, navigated to
HKEY_CURRENT_USER/Software/Wine/

Created a new folder, Direct3D
the key in that folder is now
Name: (Default) Type: REG_SZ Data: OffscreenRenderingMode=backbuffer

Sorry if I messed it up, I've just never done much registry editing.

If I did do that right, which I'm not sure I did, it isn't the fix. This is an interesting problem, especially since it's worked before.

Thanks for any more insight.

Th3_uN1Qu3
July 3rd, 2009, 01:44 PM
The key's NAME should be OffscreenRenderingMode (not (Default)) and the VALUE (data) should be backbuffer. So rename that (Default) and in the Value screen leave only backbuffer.

g3brownsc
July 6th, 2009, 02:21 AM
The editing area for (Default) is greyed out, so I can't change it. I can create a new key, but the default one would still be there. What should I do? Thanks for the help.

Th3_uN1Qu3
July 7th, 2009, 07:50 AM
Is this the first time you're messing around with the registry editor? I believe so, because the (Default) string has always been there, from Win95 on. You generally leave it alone.

Right click in the right-hand panel -> New -> String Value.

g3brownsc
July 7th, 2009, 05:10 PM
Yeah, I've never messed around with registry stuff too much. I made the new key, leaving the default one alone, and fired up the game. No luck.

Anything else that might fix it, or is there any more information that'd help diagnose the problem?

Thanks for all your help, sorry this is taking a while.

g3brownsc
July 16th, 2009, 10:21 PM
Anyone? Any more information that'd help?