F.E.A.R.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

F.E.A.R.

Post by Regthmare »

Well, I want to get FEAR working on my jaunty install.

I have already got it to install, I applied the FEAR patch, and noCD'd it. But when I try to start it, it doesn't do anything. I've been looking around and I got this page:

http://appdb.winehq.org/objectManager.p ... ngId=12223

Now, I'm seeing stuff about "1. Put native d3dx9_36.dll to your game or system32 folder", and "4. Change
HKEY_CURRENT_USER\Software\Wine\Direct3D\OffscreenRenderingMode
to "fbo" to get better fps and Pixel Doubling/Soft Shadows working" but I don't know how to do these. Can someone explain a little bit for me? Thanks.
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

I have also installed WFMADist.exe
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Anyone?
Rico
Moderator
Moderator
Posts: 91
Joined: Sat Feb 23, 2008 12:10 pm

Post by Rico »

Regthmare wrote:Anyone?
A little bit more patience, please.
Regthmare wrote:1. Put native d3dx9_36.dll to your game or system32 folder
Just get a copy of d3dx9_36.dll (e.g. from the d3dx redistributable package from ms) and put it in the game directory OR use winetricks to install it ( see http://wiki.winehq.org/winetricks - package d3dx9).
Regthmare wrote: "4. Change HKEY_CURRENT_USER\Software\Wine\Direct3D\OffscreenRenderingMode to "fbo" to get better fps and Pixel Doubling/Soft Shadows working"
For further information on this task, see http://wiki.winehq.org/UsefulRegistryKeys . It depends on your wine version if you need to do this step. On wine newer than 1.1.23 fbo is the default value for OffscreenRenderingMode (so you could skip these step there).

If there are any further problems, please run the game from a terminal (see http://wiki.winehq.org/FAQ#head-60c5de3 ... 129334cb43 ) and add the error messages. Also please add your wine version (and for games the graphic card and driver version).
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Rico wrote:
Regthmare wrote:1. Put native d3dx9_36.dll to your game or system32 folder
Just get a copy of d3dx9_36.dll (e.g. from the d3dx redistributable package from ms) and put it in the game directory OR use winetricks to install it ( see http://wiki.winehq.org/winetricks - package d3dx9).
Ok, I installed them using winetricks.
Rico wrote:
Regthmare wrote: "4. Change HKEY_CURRENT_USER\Software\Wine\Direct3D\OffscreenRenderingMode to "fbo" to get better fps and Pixel Doubling/Soft Shadows working"
For further information on this task, see http://wiki.winehq.org/UsefulRegistryKeys . It depends on your wine version if you need to do this step. On wine newer than 1.1.23 fbo is the default value for OffscreenRenderingMode (so you could skip these step there).
Ok, I've done this:
1. In a terminal, type wine regedit and hit enter
2. Open the tree on the left to the section where you need to add it (e.g., HKEY_CURRENT_USER\Software\Wine)
3. Select the section you are going to add the new key to (e.g., Wine)
4. Right click and select New->Key
5. Type the name of the new key (taken from the list below)
6. Hit enter
Ok, I did everything the way it told me to(Or at least I think), but "Type the name of the new key", should this be Direct 3D? I added Direct3D.

Thanks.
Rico
Moderator
Moderator
Posts: 91
Joined: Sat Feb 23, 2008 12:10 pm

Post by Rico »

Regthmare wrote:I added Direct3D.
Yes, that's the correct key.
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Rico wrote:
Regthmare wrote:I added Direct3D.
Yes, that's the correct key.
Ok, so do I do anything to it now?
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Add an entry OffscreenRenderingMode to the key and give it the value "fbo". Then try running the app (make sure any Wine apps are closed first).
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

DaVince wrote:Add an entry OffscreenRenderingMode to the key and give it the value "fbo". Then try running the app (make sure any Wine apps are closed first).
Ok, I did that and it still doesn't start up. Anything else?
Rico
Moderator
Moderator
Posts: 91
Joined: Sat Feb 23, 2008 12:10 pm

Post by Rico »

Regthmare wrote:Ok, I did that and it still doesn't start up. Anything else?
Please read all before you do anything else!
Could you please add the information which where requested earlier (wine version, terminal output, graphic card, graphic driver)?
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Rico wrote:
Regthmare wrote:Ok, I did that and it still doesn't start up. Anything else?
Please read all before you do anything else!
Could you please add the information which where requested earlier (wine version, terminal output, graphic card, graphic driver)?
Wine version 1.0.1, I know it's an ATI Radeon with 128 MB of VRAM, but I'm not sure about what it's full name is, and I don't have a graphics driver installed. I use to on 8.10, as a proprietary driver, but it hasn't showed up in jaunty.

Also, can you tell me how to get the terminal output? Thanks.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Regthmare wrote:Wine version 1.0.1, I know it's an ATI Radeon with 128 MB of VRAM, but I'm not sure about what it's full name is, and I don't have a graphics driver installed. I use to on 8.10, as a proprietary driver, but it hasn't showed up in jaunty.
And you expect Wine to do 3d without the driver how?!

Upgrade Wine (latest Wine is wine-1.1.25) properly install closed source driver (others don't work).
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

vitamin wrote:
Regthmare wrote:Wine version 1.0.1, I know it's an ATI Radeon with 128 MB of VRAM, but I'm not sure about what it's full name is, and I don't have a graphics driver installed. I use to on 8.10, as a proprietary driver, but it hasn't showed up in jaunty.
And you expect Wine to do 3d without the driver how?!

Upgrade Wine (latest Wine is wine-1.1.25) properly install closed source driver (others don't work).
Ok, I believe I have the lastest wine version(I did it exactly this way, using jaunty: http://www.winehq.org/download/deb).

But how can I get a correct graphics driver? My graphics card is an ATI Radeon Xpress 200 with 128MB of VRAM.

Also, I reinstalled my whole OS and wine to the way I described above. I reinstalled FEAR, the FEAR patch, the noCD, winetricks, d3dx9, core fonts, and WMFADist.exe. I also change the registry key. Now it will run FEAR, but it is all screwed up. The menu is no where near readable, and I can't change any settings because I don't know what the words say.
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Sorry I seem so stupid about this, I'm a mac guy that has a PC, and I'd rather use ubuntu with wine then go threw the hassle of windows.
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

bump.....
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Regthmare wrote:bump.....
If you want a graphics driver you might google for (without quotes): "ATI proprietary ubuntu"

You'll probably get hundreds of pages talking about the buggy proprietary ATI drivers and how to install that error of science.

I think you can try to install EnvyNG (go to the terminal and type sudo apt-get install envyng-qt)

If that works, run it and choose the recommended driver/module. Install and reboot and you should have these modules. Cheer and clap, now you can even enabled Compiz and those funny hunky effects!

If it doesn't work, your choice is to, once again, google on how to install ATI gfx proprietary drivers in Ubuntu without using the package repository. Beware to remove any ATI proprietary modules you installed meanwhile.

*Probably* your problems are fully related to the absence of ATI modules. Beware that it might still not work after that! ATI modules for Linux are still a pain in the...

Hope this helps,

Jorl17
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

jorl17 wrote:
Regthmare wrote:bump.....
If you want a graphics driver you might google for (without quotes): "ATI proprietary ubuntu"

You'll probably get hundreds of pages talking about the buggy proprietary ATI drivers and how to install that error of science.
Yea, I wouldn't of picked ATI if I had a choice. I got this PC from my mom's work, and probably the reason they pcik ATI is because it's an amd64 processor.
jorl17 wrote:I think you can try to install EnvyNG (go to the terminal and type sudo apt-get install envyng-qt)

If that works, run it and choose the recommended driver/module. Install and reboot and you should have these modules. Cheer and clap, now you can even enabled Compiz and those funny hunky effects!
Ran it, and got this:

Image

Nothing on here is compatible or recommended.
jorl17 wrote:If it doesn't work, your choice is to, once again, google on how to install ATI gfx proprietary drivers in Ubuntu without using the package repository. Beware to remove any ATI proprietary modules you installed meanwhile.
I guess I'll start looking. Normal on 8.10 it would show up in the proprietary driver menu in system>administration. Not sure why it isn't showing on now.....
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Ok, I'm positive I installed the open source ati graphics driver. I ran the checks and all and it worked. Now, I've got a new problem. Everytime I do anything in wine, even if I do something with winetricks, this pops up:

Code: Select all

fixme:advapi:SetEntriesInAclA 1 0x33f848 (nil) 0x33f890
fixme:advapi:SetSecurityInfo stub
fixme:dpnhpast:DllRegisterServer :stub
wine: Unhandled page fault on read access to 0x0000000f at address 0x7eb128a7 (thread 001a), starting debugger...
Unhandled exception: page fault on read access to 0x0000000f in 32-bit code (0x7eb128a7).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7eb128a7 ESP:0033f550 EBP:0033f8a8 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:ffffffff EBX:7eb5aff4 ECX:00000003 EDX:ffffffff
 ESI:00000000 EDI:0033fb40
Stack dump:
0x0033f550:  00000003 7eb603a8 7eb4efc6 7eb4ee4a
0x0033f560:  35800000 358e7594 7eb4ec4f 7bc94ff4
0x0033f570:  0013ff98 00000080 0033f5c8 00146d98
0x0033f580:  00110014 001833c0 00000001 7bc94ff4
0x0033f590:  00050000 00110014 0033f5e8 7bc449aa
0x0033f5a0:  ffffffff 0033f5d8 0033f5d4 00004000
Backtrace:
=>0 0x7eb128a7 NdrDllRegisterProxy+0x27() in rpcrt4 (0x0033f8a8)
  1 0x358215aa in msvidctl (+0x215aa) (0x0033f8d8)
  2 0x010044b4 in dxdllreg (+0x44b4) (0x0033fc48)
  3 0x0100484c in dxdllreg (+0x484c) (0x0033fe74)
  4 0x0100569e in dxdllreg (+0x569e) (0x0033ff08)
  5 0x7b878960 in kernel32 (+0x58960) (0x0033ffe8)
  6 0xf7e64e5d wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000)
0x7eb128a7 NdrDllRegisterProxy+0x27 in rpcrt4: movzbl	0xf(%esi),%eax
Modules:
Module	Address			Debug info	Name (105 modules)
PE	 1000000- 1012000	Export          dxdllreg
PE	35800000-35931000	Export          msvidctl
ELF	7b800000-7b954000	Export          kernel32<elf>
  \-PE	7b820000-7b954000	\               kernel32
ELF	7bc00000-7bcb1000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcb1000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d63b000-7d66f000	Deferred        uxtheme<elf>
  \-PE	7d640000-7d66f000	\               uxtheme
ELF	7d66f000-7d6cd000	Deferred        shlwapi<elf>
  \-PE	7d680000-7d6cd000	\               shlwapi
ELF	7d6cd000-7d796000	Deferred        comctl32<elf>
  \-PE	7d6e0000-7d796000	\               comctl32
ELF	7d796000-7d7bc000	Deferred        msvfw32<elf>
  \-PE	7d7a0000-7d7bc000	\               msvfw32
ELF	7d7bc000-7d809000	Deferred        dsound<elf>
  \-PE	7d7c0000-7d809000	\               dsound
ELF	7d809000-7d87b000	Deferred        quartz<elf>
  \-PE	7d810000-7d87b000	\               quartz
ELF	7d87b000-7d8a1000	Deferred        msacm32<elf>
  \-PE	7d880000-7d8a1000	\               msacm32
ELF	7d8a1000-7d8b9000	Deferred        msacm32<elf>
  \-PE	7d8b0000-7d8b9000	\               msacm32
ELF	7e0ba000-7e0c0000	Deferred        libattr.so.1
ELF	7e0c0000-7e11f000	Deferred        libpulse.so.0
ELF	7e11f000-7e134000	Deferred        midimap<elf>
  \-PE	7e120000-7e134000	\               midimap
ELF	7e134000-7e13d000	Deferred        librt.so.1
ELF	7e13d000-7e205000	Deferred        libasound.so.2
ELF	7e207000-7e20e000	Deferred        libgdbm.so.3
ELF	7e20e000-7e213000	Deferred        libcap.so.2
ELF	7e213000-7e21a000	Deferred        libasound_module_pcm_pulse.so
ELF	7e21a000-7e251000	Deferred        winealsa<elf>
  \-PE	7e220000-7e251000	\               winealsa
ELF	7e251000-7e2ed000	Deferred        winmm<elf>
  \-PE	7e260000-7e2ed000	\               winmm
ELF	7e2ed000-7e3d5000	Deferred        oleaut32<elf>
  \-PE	7e300000-7e3d5000	\               oleaut32
ELF	7e3d5000-7e3f6000	Deferred        devenum<elf>
  \-PE	7e3e0000-7e3f6000	\               devenum
ELF	7e420000-7e424000	Deferred        libgpg-error.so.0
ELF	7e424000-7e48d000	Deferred        libgcrypt.so.11
ELF	7e48d000-7e49f000	Deferred        libtasn1.so.3
ELF	7e49f000-7e4b5000	Deferred        libresolv.so.2
ELF	7e4b5000-7e4d9000	Deferred        libk5crypto.so.3
ELF	7e4d9000-7e56b000	Deferred        libkrb5.so.3
ELF	7e56b000-7e608000	Deferred        libgnutls.so.26
ELF	7e608000-7e633000	Deferred        libgssapi_krb5.so.2
ELF	7e633000-7e66a000	Deferred        libcups.so.2
ELF	7e66a000-7e67f000	Deferred        avicap32<elf>
  \-PE	7e670000-7e67f000	\               avicap32
ELF	7e67f000-7e688000	Deferred        libxcursor.so.1
ELF	7e688000-7e68d000	Deferred        libxfixes.so.3
ELF	7e68d000-7e691000	Deferred        libxcomposite.so.1
ELF	7e691000-7e699000	Deferred        libxrandr.so.2
ELF	7e699000-7e6a3000	Deferred        libxrender.so.1
ELF	7e6a3000-7e6a9000	Deferred        libxxf86vm.so.1
ELF	7e6a9000-7e6ac000	Deferred        libxinerama.so.1
ELF	7e6ac000-7e6cd000	Deferred        imm32<elf>
  \-PE	7e6b0000-7e6cd000	\               imm32
ELF	7e6cd000-7e6d2000	Deferred        libxdmcp.so.6
ELF	7e6d2000-7e6ec000	Deferred        libxcb.so.1
ELF	7e6ec000-7e6f0000	Deferred        libxau.so.6
ELF	7e6f0000-7e6f5000	Deferred        libuuid.so.1
ELF	7e6f5000-7e7e4000	Deferred        libx11.so.6
ELF	7e7e4000-7e7f4000	Deferred        libxext.so.6
ELF	7e7f4000-7e80c000	Deferred        libice.so.6
ELF	7e80c000-7e815000	Deferred        libsm.so.6
ELF	7e817000-7e81b000	Deferred        libkeyutils.so.1
ELF	7e81b000-7e824000	Deferred        libkrb5support.so.0
ELF	7e824000-7e828000	Deferred        libcom_err.so.2
ELF	7e82a000-7e8c6000	Deferred        winex11<elf>
  \-PE	7e840000-7e8c6000	\               winex11
ELF	7e8ee000-7e915000	Deferred        libexpat.so.1
ELF	7e915000-7e942000	Deferred        libfontconfig.so.1
ELF	7e957000-7e96d000	Deferred        libz.so.1
ELF	7e96d000-7e9e4000	Deferred        libfreetype.so.6
ELF	7e9f9000-7eaf4000	Deferred        ole32<elf>
  \-PE	7ea10000-7eaf4000	\               ole32
ELF	7eaf4000-7eb61000	Export          rpcrt4<elf>
  \-PE	7eb00000-7eb61000	\               rpcrt4
ELF	7eb61000-7eb7c000	Deferred        version<elf>
  \-PE	7eb70000-7eb7c000	\               version
ELF	7eb7c000-7ec1e000	Deferred        gdi32<elf>
  \-PE	7eb90000-7ec1e000	\               gdi32
ELF	7ec1e000-7ed69000	Deferred        user32<elf>
  \-PE	7ec40000-7ed69000	\               user32
ELF	7ed69000-7ed9f000	Deferred        winspool<elf>
  \-PE	7ed70000-7ed9f000	\               winspool
ELF	7ed9f000-7ee0e000	Deferred        setupapi<elf>
  \-PE	7edb0000-7ee0e000	\               setupapi
ELF	7ee0e000-7ee64000	Deferred        advapi32<elf>
  \-PE	7ee20000-7ee64000	\               advapi32
ELF	7ee64000-7ee7d000	Deferred        libnsl.so.1
ELF	7ee7d000-7ee86000	Deferred        libnss_compat.so.2
ELF	7ee87000-7ee9b000	Deferred        lz32<elf>
  \-PE	7ee90000-7ee9b000	\               lz32
ELF	7efc5000-7efeb000	Deferred        libm.so.6
ELF	7eff4000-7f000000	Deferred        libnss_files.so.2
ELF	f7cc7000-f7ccb000	Deferred        libdl.so.2
ELF	f7ccb000-f7e2e000	Deferred        libc.so.6
ELF	f7e2f000-f7e48000	Deferred        libpthread.so.0
ELF	f7e48000-f7e53000	Deferred        libnss_nis.so.2
ELF	f7e5d000-f7f99000	Export          libwine.so.1
ELF	f7f9b000-f7fbc000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000e 
	0000001d    0
	0000001c    0
	00000015    0
	00000014    0
	00000010    0
	0000000f    0
00000011 
	00000016    0
	00000013    0
	00000012    0
00000017 
	0000001f    0
	0000001e    0
	0000001b    0
	00000018    0
00000019 (D) C:\windows\system32\dxdllreg.exe
	0000001a    0 <==
Backtrace:
=>0 0x7eb128a7 NdrDllRegisterProxy+0x27() in rpcrt4 (0x0033f8a8)
  1 0x358215aa in msvidctl (+0x215aa) (0x0033f8d8)
  2 0x010044b4 in dxdllreg (+0x44b4) (0x0033fc48)
  3 0x0100484c in dxdllreg (+0x484c) (0x0033fe74)
  4 0x0100569e in dxdllreg (+0x569e) (0x0033ff08)
  5 0x7b878960 in kernel32 (+0x58960) (0x0033ffe8)
  6 0xf7e64e5d wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000)
wget http://www.kegel.com/w
Also, it will pop up a windows box says that says the same thing. What does this mean?
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Sorry for the triple post, but is there anyway I can delete wine and winetricks and all the files that it uses by a command? I want to start fresh....
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

F.E.A.R.

Post by austin987 »

On Mon, Jul 13, 2009 at 9:28 PM, Regthmare<[email protected]> wrote:
Sorry for the triple post, but is there anyway I can delete wine and winetricks and all the files that it uses by a command? I want to start fresh....
$ rm -rf ~/.wine ~/.winetrickscache winetricks



--
-Austin
Frédéric Delanoy

F.E.A.R.

Post by Frédéric Delanoy »

On 07/14/2009 04:28 AM, Regthmare wrote:
Sorry for the triple post, but is there anyway I can delete wine and winetricks and all the files that it uses by a command? I want to start fresh....
rm -rf ~/.wine (if you didn't specify any WINEPREFIX when running wine).

Note that all wine-installed programs will be deleted... so be sure to backup any needed (data) file first...

Frédéric
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Well, I keep checking the guides for install the ATI drivers, and I ran into this:

http://wiki.cchtml.com/index.php/Ubuntu ... s_manually

Read that section. It says that in Jaunty the ATI proprietary drivers for the Xpress series aren't supported anymore. So, I installed the "ati" open source driver, and it give me problems and would freeze on me within a minute of starting the computer. But if you read this:

http://wiki.cchtml.com/index.php/Ubuntu ... ce_Drivers

It says ubuntu will already try and use one of those drivers. Anything I'm missing?

Well, is there anyway to install just the "radeon" driver that is described here?:

http://wiki.cchtml.com/index.php/Ubuntu ... ce_Drivers

It says limited 3D for newer cards, and my card isn't new.
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

So, since I'm kind of out of possiblities, I think I might want to get this a try:
Slow saving?
by Mike on Saturday November 15th 2008, 19:05
I managed to stabilize FEAR on my system by disabling GLSL in the registry and enabling DX8 shaders in the game. Contrary to the HOWTO, ALSA is all I'm able to use for sound (my PCM mixer is continuously muted when using OSS). I'm also not sure it's enough to just place the d3dx9_36.dll in windows/system32, I added a native override for it in winecfg. So far, performance is more than acceptable on medium settings @ 1920 with a GTX260 and wine-1.1.8.
How would I go by doing this?
donjoaoresort
Newbie
Newbie
Posts: 2
Joined: Tue Apr 28, 2009 1:42 am

Post by donjoaoresort »

How would I go about ?



John
Don Joao Resort
Regthmare
Level 2
Level 2
Posts: 20
Joined: Fri Jul 10, 2009 7:47 pm

Post by Regthmare »

Any advice?
Locked