F.E.A.R. addons crashing at startup on Nvidia drivers

Questions about Wine on Linux
Locked
pavlyuch
Level 1
Level 1
Posts: 5
Joined: Mon Jan 08, 2018 8:21 am

F.E.A.R. addons crashing at startup on Nvidia drivers

Post by pavlyuch »

Hey guys! Sorry for my english if something wrong, it's not my native language. Today i finished playthrough of original F.E.A.R. that distributed by GOG. Then i tried launch Extraction Point and Perseus Mandate. They both crashing on startup. It's ridiculous, because original game of same release runs perfectly fine. Then i tried play expansions on intel graphics and open source nvidia drivers, and for some reasons it runs perfectly fine. Then i tried different versions of wine and windows preset, but not succeded. I'm really don't get the logic of this issue. Original game and expansions came as one, using exactly the same files in directory, but original is running on proprietary drivers and expansions crashing. Mystical. Here's the log from terminal when i launched expansion

Code: Select all

0009:fixme:ntdll:NtQueryObject Unsupported information class 3
0009:err:rpc:I_RpcGetBuffer no binding
wine: Unhandled page fault on write access to 0x7c002fd4 at address 0x7d5456da (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x7c002fd4 in 32-bit code (0x7d5456da).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7d5456da ESP:01747800 EBP:00000014 EFLAGS:00210202(  R- --  I   - - - )
 EAX:7d922d70 EBX:7c002fd4 ECX:7d922d70 EDX:00000000
 ESI:7d5b3430 EDI:7c0005f9
Stack dump:
0x01747800:  f7f9f920 7c0008b4 00000149 7d679588
0x01747810:  7d678e50 00000000 f7f9f920 00000012
0x01747820:  00000016 7d645070 7c00082c 7d54691c
0x01747830:  7c0008b4 00000014 7d5b3320 7d645070
0x01747840:  00000000 80000001 f7f9f920 000001c7
0x01747850:  f7b95000 7da4e3d0 f7b91e20 0000000d
000c: sel=0067 base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x7d5456da in libgl.so.1 (+0xa96da) (0x00000014)
  1 0x7d54691c in libgl.so.1 (+0xaa91b) (0x7c00082c)
  2 0x7d5514c1 in libgl.so.1 (+0xb54c0) (0x7d54d7d0)
  3 0x7d4ea5c3 in libgl.so.1 (+0x4e5c2) (0x7d62e320)
  4 0xf7f889f1 in ld-linux.so.2 (+0xf9f0) (0x7d62e320)
  5 0xf7f88b5e in ld-linux.so.2 (+0xfb5d) (0xffb1c7c4)
  6 0xf7f8ccfa in ld-linux.so.2 (+0x13cf9) (0x01747b88)
  7 0xf7cc8e2b _dl_catch_error+0x9a() in libc.so.6 (0x01747cf8)
  8 0xf7f8c579 in ld-linux.so.2 (+0x13578) (0x01747cf8)
  9 0xf7b91cc7 GLIBC_2+0xcc6() in libdl.so.2 (0xffb1c7c4)
  10 0xf7cc8e2b _dl_catch_error+0x9a() in libc.so.6 (0x01747e8c)
  11 0xf7b92422 in libdl.so.2 (+0x1421) (0x01747e8c)
  12 0xf7b91d6e GLIBC_2+0xd6d() in libdl.so.2 (0x01747ee8)
  13 0xf7dc772f wine_dlopen+0x2e() in libwine.so.1 (0x01747ee8)
  14 0x7d9873d8 in winex11 (+0x273d7) (0x017480f8)
  15 0x7bc875ec RtlRunOnceExecuteOnce+0x4b() in ntdll (0x01748148)
  16 0x7b478a61 InitOnceExecuteOnce+0x20() in kernel32 (0x01748178)
  17 0x7d98ac27 in winex11 (+0x2ac26) (0x017481a8)
  18 0x7d97a094 in winex11 (+0x1a093) (0x017481c8)
  19 0x7ea71c8e __wine_get_wgl_driver+0x4d() in gdi32 (0x017481f8)
  20 0x7eb6b205 in wined3d (+0x4b204) (0x01748668)
  21 0x7eb6fc9f in wined3d (+0x4fc9e) (0x01748688)
  22 0x7ebe7df1 wined3d_create+0x50() in wined3d (0x017486b8)
  23 0x7ec70f23 in d3d9 (+0x10f22) (0x017486f8)
  24 0x7ec648aa Direct3DCreate9+0x59() in d3d9 (0x01748728)
  25 0x00b209a6 in fearxp (+0x7209a5) (0x01748774)
  26 0x00b20de6 in fearxp (+0x720de5) (0x01749db4)
  27 0x0089fbe3 in fearxp (+0x49fbe2) (0x0175f83c)
  28 0x006a29ec in fearxp (+0x2a29eb) (0x0175fde4)
  29 0x00ab64bd in fearxp (+0x6b64bc) (0x0175fec0)
  30 0x7b461aac call_process_entry+0xb() in kernel32 (0x0175fed8)
  31 0x7b4634fe in kernel32 (+0x534fd) (0x0175ffd8)
  32 0x7b461aba call_process_entry+0x19() in kernel32 (0x0175ffec)
0x7d5456da: movl        %eax,0x0(%ebx)
Modules:
Module  Address                 Debug info      Name (92 modules)
PE        400000- 1252000       Export          fearxp
ELF     78802000-7a800000       Deferred        libnvidia-glcore.so.384.90
ELF     7a800000-7a93c000       Deferred        opengl32<elf>
  \-PE  7a820000-7a93c000       \               opengl32
ELF     7b400000-7b7e8000       Dwarf           kernel32<elf>
  \-PE  7b410000-7b7e8000       \               kernel32
ELF     7bc00000-7bcf8000       Dwarf           ntdll<elf>
  \-PE  7bc10000-7bcf8000       \               ntdll
ELF     7c000000-7c004000       Deferred        <wine-loader>
ELF     7d49c000-7d5b4000       Dwarf           libgl.so.1
ELF     7d60c000-7d613000       Deferred        libxfixes.so.3
ELF     7d613000-7d61f000       Deferred        libxcursor.so.1
ELF     7d71f000-7d732000       Deferred        libxi.so.6
ELF     7d732000-7d736000       Deferred        libxcomposite.so.1
ELF     7d736000-7d743000       Deferred        libxrandr.so.2
ELF     7d743000-7d74f000       Deferred        libxrender.so.1
ELF     7d74f000-7d756000       Deferred        libxxf86vm.so.1
ELF     7d756000-7d75a000       Deferred        libxinerama.so.1
ELF     7d75a000-7d764000       Deferred        librt.so.1
ELF     7d764000-7d77f000       Deferred        libbsd.so.0
ELF     7d77f000-7d786000       Deferred        libxdmcp.so.6
ELF     7d786000-7d78a000       Deferred        libxau.so.6
ELF     7d78a000-7d7b6000       Deferred        libxcb.so.1
ELF     7d7b6000-7d901000       Deferred        libx11.so.6
ELF     7d901000-7d916000       Deferred        libxext.so.6
ELF     7d921000-7d926000       Deferred        libnvidia-tls.so.384.90
ELF     7d94c000-7d9d8000       Dwarf           winex11<elf>
  \-PE  7d960000-7d9d8000       \               winex11
ELF     7d9d8000-7d9fc000       Deferred        imm32<elf>
  \-PE  7d9e0000-7d9fc000       \               imm32
ELF     7db13000-7db3e000       Deferred        libexpat.so.1
ELF     7db3e000-7db87000       Deferred        libfontconfig.so.1
ELF     7db87000-7dbc1000       Deferred        libpng16.so.16
ELF     7dbc1000-7dbe0000       Deferred        libz.so.1
ELF     7dbe0000-7dc9c000       Deferred        libfreetype.so.6
ELF     7dc9c000-7dcbf000       Deferred        libtinfo.so.5
ELF     7dcbf000-7dce5000       Deferred        libncurses.so.5
ELF     7dd1b000-7dd91000       Deferred        shlwapi<elf>
  \-PE  7dd30000-7dd91000       \               shlwapi
ELF     7dd91000-7dfe3000       Deferred        shell32<elf>
  \-PE  7dda0000-7dfe3000       \               shell32
ELF     7dfe3000-7e00c000       Deferred        iphlpapi<elf>
  \-PE  7dff0000-7e00c000       \               iphlpapi
ELF     7e00c000-7e046000       Deferred        ws2_32<elf>
  \-PE  7e010000-7e046000       \               ws2_32
ELF     7e046000-7e060000       Deferred        wsock32<elf>
  \-PE  7e050000-7e060000       \               wsock32
ELF     7e060000-7e110000       Deferred        msvcr71<elf>
  \-PE  7e070000-7e110000       \               msvcr71
ELF     7e110000-7e259000       Deferred        msvcp71<elf>
  \-PE  7e150000-7e259000       \               msvcp71
ELF     7e259000-7e281000       Deferred        d3dxof<elf>
  \-PE  7e260000-7e281000       \               d3dxof
ELF     7e281000-7e2f6000       Deferred        d3dcompiler_43<elf>
  \-PE  7e290000-7e2f6000       \               d3dcompiler_43
ELF     7e2f6000-7e392000       Deferred        d3dx9_27<elf>
  \-PE  7e300000-7e392000       \               d3dx9_27
ELF     7e392000-7e4c4000       Deferred        oleaut32<elf>
  \-PE  7e3b0000-7e4c4000       \               oleaut32
ELF     7e4c4000-7e4ef000       Deferred        msacm32<elf>
  \-PE  7e4d0000-7e4ef000       \               msacm32
ELF     7e4ef000-7e5a8000       Deferred        winmm<elf>
  \-PE  7e500000-7e5a8000       \               winmm
ELF     7e5a8000-7e629000       Deferred        rpcrt4<elf>
  \-PE  7e5b0000-7e629000       \               rpcrt4
ELF     7e629000-7e783000       Deferred        ole32<elf>
  \-PE  7e640000-7e783000       \               ole32
ELF     7e783000-7e963000       Deferred        user32<elf>
  \-PE  7e7a0000-7e963000       \               user32
ELF     7e963000-7e9da000       Deferred        advapi32<elf>
  \-PE  7e970000-7e9da000       \               advapi32
ELF     7e9da000-7eb08000       Dwarf           gdi32<elf>
  \-PE  7e9f0000-7eb08000       \               gdi32
ELF     7eb08000-7ec50000       Dwarf           wined3d<elf>
  \-PE  7eb20000-7ec50000       \               wined3d
ELF     7ec50000-7ec8f000       Dwarf           d3d9<elf>
  \-PE  7ec60000-7ec8f000       \               d3d9
ELF     7ee8f000-7eea2000       Deferred        libnss_files.so.2
ELF     7eea2000-7eeb0000       Deferred        libnss_nis.so.2
ELF     7eeb0000-7eecb000       Deferred        libnsl.so.1
ELF     7eecb000-7efca000       Deferred        libm.so.6
ELF     7efca000-7efe6000       Deferred        dinput8<elf>
  \-PE  7efd0000-7efe6000       \               dinput8
ELF     7efe6000-7f000000       Deferred        version<elf>
  \-PE  7eff0000-7f000000       \               version
ELF     f7b85000-f7b8f000       Deferred        libnss_compat.so.2
ELF     f7b91000-f7b96000       Dwarf           libdl.so.2
ELF     f7b96000-f7d6c000       Dwarf           libc.so.6
ELF     f7d6c000-f7d8b000       Deferred        libpthread.so.0
ELF     f7dc1000-f7f77000       Dwarf           libwine.so.1
ELF     f7f79000-f7fa0000       Dwarf           ld-linux.so.2
ELF     f7fa3000-f7fa4000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\GOG Games\F.E.A.R. Platinum Collection\FEARXP\FEARXP.exe
        00000009    0 <==
0000000e services.exe
        00000022    0
        0000001d    0
        00000013    0
        00000010    0
        0000000f    0
00000011 winedevice.exe
        0000001c    0
        00000017    0
        00000016    0
        00000012    0
0000001a plugplay.exe
        0000001f    0
        0000001e    0
        0000001b    0
00000020 winedevice.exe
        00000029    0
        00000024    0
        00000023    0
        00000021    0
00000027 explorer.exe
        0000002d    0
        0000002c    0
        0000002b    0
        0000002a    0
        00000028    0
System information:
    Wine build: wine-3.0-rc5
    Platform: i386 (WOW64)
    Version: Windows 10
    Host system: Linux
    Host version: 4.13.0-21-generic
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by Bob Wya »

@pavlyuch

What's the output from:

Code: Select all

find /usr/ -iname "libgl.so.1" | xargs file
Backtraces aren't very useful on their own - without the preceding stdout Wine terminal output.
So what's the output from running the faulting games with:

Code: Select all

export WINEDEBUG=+wgl
cd "${WINEPREFIX:-${HOME}/.wine}/drive_c/GOG Games/F.E.A.R. Platinum Collection/FEARXP"
wine start "FEARXP.exe" &>~/wine_fear_xp_log.txt
Which will write the log file: wine_fear_xp_log.txt ; in your Linux user's HOME directory.

Are you per-chance using the Primus or Bumblebee hybrid graphics drivers?

Bob
pavlyuch
Level 1
Level 1
Posts: 5
Joined: Mon Jan 08, 2018 8:21 am

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by pavlyuch »

@Bob Wya

Here's the output for first command

Code: Select all

/usr/lib32/nvidia-384/libGL.so.1:          symbolic link to libGL.so.384.90
/usr/lib/i386-linux-gnu/mesa/libGL.so.1:   symbolic link to libGL.so.1.2.0
/usr/lib/nvidia-384/libGL.so.1:            symbolic link to libGL.so.384.90
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1: symbolic link to libGL.so.1.2.0
and output from log file

Code: Select all

0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
002d:fixme:ntdll:NtQueryObject Unsupported information class 3
002d:err:rpc:I_RpcGetBuffer no binding
wine: Unhandled page fault on write access to 0x7c002fd4 at address 0x7d56a6da (thread 002d), starting debugger...
No. I'm not using bumblebee or prime. They even not installed in my system. Just clean proprietary driver
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by Bob Wya »

@pavlyuch

Hmmm strange... What's the output from:

Code: Select all

find /etc/{alternatives,ld.so.conf.d}  -iregex ".*_\(egl\|gl\).*" | xargs -I% bash -c 'echo -e "\n%:"; cat "$(readlink -f %)"'

glxinfo | egrep '^[[:alpha:]]'
to check the right GL drivers (libraries) are active.

Bob
pavlyuch
Level 1
Level 1
Posts: 5
Joined: Mon Jan 08, 2018 8:21 am

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by pavlyuch »

@Bob Wya

First command:

Code: Select all

/etc/alternatives/x86_64-linux-gnu_gl_conf:
/usr/lib/nvidia-384
/usr/lib32/nvidia-384

/etc/alternatives/x86_64-linux-gnu_egl_conf:
/usr/lib/nvidia-384
/usr/lib32/nvidia-384

/etc/alternatives/i386-linux-gnu_egl_conf:

/etc/alternatives/i386-linux-gnu_gl_conf:

/etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf:
/usr/lib/nvidia-384
/usr/lib32/nvidia-384

/etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf:
/usr/lib/nvidia-384
/usr/lib32/nvidia-384

/etc/ld.so.conf.d/i386-linux-gnu_EGL.conf:

/etc/ld.so.conf.d/i386-linux-gnu_GL.conf:
and second

Code: Select all

The program 'glxinfo' is currently not installed. You can install it by typing:
sudo apt install mesa-utils
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by Bob Wya »

pavlyuch wrote:...

Code: Select all

The program 'glxinfo' is currently not installed. You can install it by typing:
sudo apt install mesa-utils
Hmmm... Yes well... How very useful (polite cough)... :roll:

Since the failing function in your original log is: Direct3DCreate9() ...

Try:

Code: Select all

winetricks d3dx9_36
Which is backed up by the test submission on WineHQ AppDB, for the F.E.A.R. expansions ...

Bob
pavlyuch
Level 1
Level 1
Posts: 5
Joined: Mon Jan 08, 2018 8:21 am

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by pavlyuch »

@Bob Wya

I did that first after installing the game. So problem not here :)
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by Bob Wya »

@pavlyuch,

I'd suggest filing a WineHQ Bug.

Please attach a trace file to the bug report, created with something like:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+all
cd "${WINEPREFIX:-${HOME}/.wine}/drive_c/GOG Games/F.E.A.R. Platinum Collection/FEARXP"
wine start "FEARXP.exe" &>~/wine_fear_xp_trace_log.txt
This file may be larger than the limit for file attachments on the Bugzilla (5000 Kbytes).
If so then please compressed it first:

Code: Select all

xz -9 -e ~/wine_fear_xp_trace_log.txt
Ta
Bob
pavlyuch
Level 1
Level 1
Posts: 5
Joined: Mon Jan 08, 2018 8:21 am

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by pavlyuch »

@Bob Wya
ok. i'll do it. but i think it's nvidia proprietary driver issue, since addons works perfect on nouveau driver and intel graphics. thanks for your time :) cheers
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: F.E.A.R. addons crashing at startup on Nvidia drivers

Post by Bob Wya »

@pavlyuch

I can only comment that all the FEAR games (demos and Stream versions) play fine on my Nvidia Geforce GTX 960m. Using the latest 390.22 proprietary drivers. They're good games. 8)

I'd advise using CSMT when using the latest Wine Development or Staging versions. Virtually doubled my FPS, at maximum settings, with FEAR 1!

Bob
Locked