Half Life 2: EP2 's not playable

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Rotarye
Newbie
Newbie
Posts: 3
Joined: Mon Jul 20, 2009 11:44 pm

Half Life 2: EP2 's not playable

Post by Rotarye »

I ran HL2 with Wine 1.1.26 by on OpenSolaris snv118. using P4C 2.4G, 2.5GB RAM, GF6200 (VRAM:256MB).

Compiling Wine with gcc-4.3.2 from these parameters:-O2 -march=native.

I had tried the settings to Win98, XP, 2K8; disable the audio driver(only OSS suppotts); Wine / MS DX; and Fullscreen / Window.

When I start the game, it response with a long time to my operation. the terminal mainly showed me:

Code: Select all

[color=red]fixme:d3d_shader:print_glsl_info_log
...
fixme:d3d_surface:IWineD3DVolumeImpl_LockBox
...
fixme:d3d:IWineD3DDeviceImpl_SetRenderTarget (7fedcf28)Trying to set the render target to a surface(7ff3fe30) that wasn't created with a usage of WINED3DUSAGE_RENDERTARGET
...
fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader
...
fixme:d3d_surface:surface_load_ds_location (7fef0c60) Not supported with fixed up depth stencil[/color]
Thanks;)
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

Try parameters -nointro or -dxlevel 81 - 95 (81 usually works better) for the exe
Rotarye
Newbie
Newbie
Posts: 3
Joined: Mon Jul 20, 2009 11:44 pm

Post by Rotarye »

Cloudef

It's non effect by 95, but 81 has worked!

BTW, Did I still need to -nointro or not?

Thanks so much;)
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

-nointro skips the intro videos that can cause crashes or freezing some times =)

Good it worked. DX 90-95 has better quality tho, but they dont yet work quite good with source games and wine.
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Post by DL »

Try this patch, although it might cause other graphic issues it will allow you to use DX9 (I haven't tested it myself) :
http://bugs.winehq.org/attachment.cgi?id=21072 - the patch
http://bugs.winehq.org/show_bug.cgi?id=12453 - the bug report

You can also try this patch, that worked with wine-1.1.15 (and a few releases after).Worked great with Portal and HL2:ep1/2.
Doesn't work with newer wine releases, however.
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Post by DL »

Here's the older patch that I forgot to attach:
http://bugs.winehq.org/attachment.cgi?id=19637
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Cloudef wrote:-nointro skips the intro videos that can cause crashes or freezing some times =)

Good it worked. DX 90-95 has better quality tho, but they dont yet work quite good with source games and wine.
And if you want sucky graphics but an awesome performance you can always use -dxlevel 70.

I use that to try and prevent my PC from overheating...
Locked