Bioshock crashes at startup

Questions about Wine on Linux
Locked
faveoled
Newbie
Newbie
Posts: 2
Joined: Wed Sep 28, 2022 5:59 am

Bioshock crashes at startup

Post by faveoled »

Running Bioshock 1.1 with Wine 7.18 on Ubuntu 22.04.1 results in error. It there anything I can do? Wineprefix options: dxgi dll disable, winetricks d3dx9 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 - the latter fixes HSLS problem I had.

Code: Select all

user@hp-laptop:~/bin/2K Games/BioShock/Builds/Release$ DRI_PRIME=1 wine Bioshock.exe 
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
0024:fixme:gameux:GameExplorerImpl_VerifyAccess (0066E9B8, L"Z:\\home\\user\\bin\\2K Games\\BioShock\\Builds\\Release\\Bioshock.exe", 0052E7A0)
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:process:GetProcessWorkingSetSizeEx (FFFFFFFF,0052E8C4,0052E8C0,00000000): stub
0024:err:module:import_dll Library dxgi.dll (which is needed by L"C:\\windows\\system32\\d3d10core.dll") not found
0024:err:module:import_dll Library d3d10core.dll (which is needed by L"C:\\windows\\system32\\d3d10.dll") not found
0024:err:module:import_dll Library dxgi.dll (which is needed by L"C:\\windows\\system32\\d3d10.dll") not found
0024:fixme:thread:SetThreadIdealProcessor (000000BC 5): stub
0024:fixme:thread:SetThreadIdealProcessor (000000C8 1): stub
0024:fixme:thread:SetThreadIdealProcessor (000000D4 2): stub
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
008c:fixme:imm:ImeSetActiveContext (000000000001002C, 0): stub
008c:fixme:imm:ImmReleaseContext (0000000000010020, 000000000001002C): stub
0024:fixme:imm:ImeSetActiveContext (00010054, 1): stub
0024:fixme:imm:ImmReleaseContext (00040050, 00010054): stub
0024:fixme:system:NtUserSystemParametersInfo Unimplemented action: 59 (SPI_SETSTICKYKEYS)
0024:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",0052CEFC): stub
wine: Unhandled page fault on read access to 0000004C at address 10E94780 (thread 0128), starting debugger...
0134:fixme:imm:ImeSetActiveContext (00010088, 1): stub
0134:fixme:imm:ImmReleaseContext (00010092, 00010088): stub
Unhandled exception: page fault on read access to 0x0000004c in 32-bit code (0x1
0e94780).
0134:err:dbghelp_msc:codeview_process_info Unknown CODEVIEW signature 00000005 in module L"bioshock"
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:10e94780 ESP:0991fedc EBP:0991ff28 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000006 EBX:035bfccc ECX:00000012 EDX:00000000
 ESI:035bfbe0 EDI:0991ff18
Stack dump:
0x0991fedc:  0991feec 00000002 035bfccc 10e94c75
0x0991feec:  00000000 10e8dcee 035bfbf8 0991ff18
0x0991fefc:  00000000 035bfccc 00000400 00000004
0x0991ff0c:  00000000 00000000 00000002 00000000
0x0991ff1c:  00000000 00000000 00000002 0991ff48
0x0991ff2c:  10e58dde 00000000 7b62a2f0 035bfccc
Backtrace:
=>0 0x10e94780 in bioshock (+0x594780) (0x0991ff28)
  1 0x10e58dde in bioshock (+0x558dde) (0x0991ff48)
  2 0x7bc5c907 in ntdll (+0x5c907) (0x0991ff5c)
  3 0x7bc5cfe0 RtlCreateUserThread(entry=10E58D9D, arg=035BFCCC) [Z:\usr\src\pac
kages\BUILD\dlls\ntdll\thread.c:261] in ntdll (0x0991ffec)
0x10e94780 bioshock+0x594780: movl      0x4(%edx,%ecx,4),%eax
Modules:
Module  Address                 Debug info      Name (55 modules)
PE      00960000-00c3b000       Deferred        ucrtbase
PE      00c40000-010ae000       Deferred        ole32
PE      010b0000-011f2000       Deferred        combase
PE      01200000-0137e000       Deferred        winmm
PE      01380000-01667000       Deferred        msvcp80
PE      01670000-01684000       Deferred        msimg32
PE      01690000-019ff000       Deferred        d3dx9_33
PE      01a00000-01b36000       Deferred        dsound
PE      01b40000-01f3e000       Deferred        oleaut32
PE      028d0000-02947000       Deferred        winex11
PE      02980000-02a19000       Deferred        uxtheme
PE      037e0000-03855000       Deferred        gameux
PE      077a0000-077b5000       Deferred        riched32
PE      077c0000-077c2000       Deferred        usp10
PE      07830000-07a5f000       Deferred        riched20
PE      10000000-1038b000       Deferred        d3dcompiler_47
PE      10900000-11435ec8       Export          bioshock
PE      18000000-18038000       Deferred        binkw32
PE      61500000-6157b000       Deferred        iphlpapi
PE      61740000-6183b000       Deferred        advapi32
PE      62fc0000-631e5000       Deferred        rpcrt4
PE      63480000-6349b000       Deferred        version
PE      63bc0000-63c05000       Deferred        shcore
PE      64a40000-64b2c000       Deferred        shlwapi
PE      651c0000-651ee000       Deferred        xinput1_3
PE      65a00000-65a25000       Deferred        d3d10core
PE      663c0000-66474000       Deferred        winspool
PE      666c0000-666e8000       Deferred        hid
PE      66b00000-66b58000       Deferred        win32u
PE      67840000-6784f000       Deferred        psapi
PE      67c80000-67ddd000       Deferred        d3d9
PE      67ec0000-68b74000       Deferred        shell32
PE      69180000-691a7000       Deferred        wsock32
PE      69540000-6962b000       Deferred        dinput8
PE      6a040000-6a0a3000       Deferred        msacm32
PE      6a280000-6a4fb000       Deferred        msvcrt
PE      6b840000-6bac8000       Deferred        msvcr80
PE      6bc00000-6bc9a000       Deferred        sechost
PE      6bcc0000-6be65000       Deferred        setupapi
PE      6c9c0000-6cbea000       Deferred        gdi32
PE      6cc40000-6d0c5000       Deferred        comctl32
PE      6d780000-6d809000       Deferred        ws2_32
PE      6e4c0000-6e4fe000       Deferred        dnsapi
PE      6e840000-6e94e000       Deferred        d3d10
PE      6e960000-6e963000       Deferred        openal32
PE      6ed00000-6f20e000       Deferred        user32
PE      6f480000-6f49c000       Deferred        nsi
PE      6fa80000-6fcd8000       Deferred        dbghelp
PE      70d00000-70f18000       Deferred        comdlg32
PE      71200000-71253000       Deferred        imm32
PE      71440000-727b4000       Deferred        wined3d
PE      7a840000-7a844000       Deferred        opengl32
PE      7b000000-7b51e000       Deferred        kernelbase
PE      7b600000-7b75c000       Deferred        kernel32
PE      7bc00000-7bebd000       Dwarf-4         ntdll
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 (D) Z:\home\user\bin\2K Games\BioShock\Builds\Release\Bioshock.exe
        00000024    0
        0000011c    1
        00000120    1
        00000124    1
        00000128   15 <==
        0000012c    2
        00000138    0
00000038 services.exe
        0000003c    0
        00000040    0
        0000004c    0
        00000070    0
        000000a8    0
        000000c0    0
        000000f4    0
00000044 winedevice.exe
        00000048    0
        00000054    0
        00000058    0
        0000005c    0
        00000060    0
        00000064    0
        000000cc    0
00000068 winedevice.exe
        0000006c    0
        00000074    0
        00000078    0
        0000007c    0
        00000080    0
        00000084    0
        00000090    0
        00000094    0
        00000098    0
        000000a4    0
00000088 explorer.exe
        0000008c    0
        000000e0    0
        000000e4    0
0000009c plugplay.exe
        000000a0    0
        000000ac    0
        000000b0    0
        000000b4    0
000000b8 svchost.exe
        000000bc    0
        000000c4    0
        000000c8    0
000000d0 conhost.exe
        000000d4    0
000000ec rpcss.exe
        000000f0    0
        000000fc    0
        00000100    0
        00000104    0
        00000108    0
        0000010c    0
System information:
    Wine build: wine-7.18
    Platform: i386 (WOW64)
    Version: Windows 7
    Host system: Linux
    Host version: 5.15.0-48-generic

jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Bioshock crashes at startup

Post by jkfloris »

Code: Select all

Z:\home\user\bin\2K Games\BioShock\Builds\Release\Bioshock.exe
Did you install the game in the /home/user/bin directory or did you copy an existing installation from somewhere else?
the latter fixes HSLS problem I had.
Do you mean the game did work without the d3dcompiler_* winetricks?
faveoled
Newbie
Newbie
Posts: 2
Joined: Wed Sep 28, 2022 5:59 am

Re: Bioshock crashes at startup

Post by faveoled »

Did you install the game in the /home/user/bin directory or did you copy an existing installation from somewhere else?
I moved it from my wineprefix for ease of prefix recreation.
Do you mean the game did work without the d3dcompiler_* winetricks?
No, it was failing with "HLSL shader parsing failed"
Locked