box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Problems with winegstreamer

Open Mzed3D opened this issue 2 years ago • 8 comments

Hi! I have these errors when running Max Payne .mpg intro. Please don't mind the directory, this wine installation is inside another game folder..

Error: Global Symbol gst_buffer_new_wrapped_full not found, cannot apply R_386_PC32 0x6ddbf16f (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_buffer_new_wrapped_full not found, cannot apply R_386_PC32 0x6ddc3e2d (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_mini_object_set_qdata not found, cannot apply R_386_PC32 0x6ddbf19e (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_mini_object_set_qdata not found, cannot apply R_386_PC32 0x6ddc3e62 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_iterator_next not found, cannot apply R_386_PC32 0x6ddc4981 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_iterator_next not found, cannot apply R_386_PC32 0x6ddc4a09 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_iterator_free not found, cannot apply R_386_PC32 0x6ddc49a6 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_iterator_free not found, cannot apply R_386_PC32 0x6ddc4a2e (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_iterator_resync not found, cannot apply R_386_PC32 0x6ddc49cf (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_iterator_resync not found, cannot apply R_386_PC32 0x6ddc4b95 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_iterator_resync not found, cannot apply R_386_PC32 0x6ddc4bcd (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc4fe5 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc5019 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc51f4 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc5235 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc53f4 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc5435 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc560a (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_caps_new_simple not found, cannot apply R_386_PC32 0x6ddc56ac (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_audio_format_to_string not found, cannot apply R_386_PC32 0x6ddc55dd (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_mini_object_get_qdata not found, cannot apply R_386_PC32 0x6ddc5789 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_registry_get not found, cannot apply R_386_PC32 0x6ddc5b39 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_registry_feature_filter not found, cannot apply R_386_PC32 0x6ddc5b4a (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_plugin_feature_get_rank not found, cannot apply R_386_PC32 0x6ddc5b78 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: Global Symbol gst_plugin_feature_get_rank not found, cannot apply R_386_PC32 0x6ddc5ba4 (0xfffffffc) in /home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so Error: relocating symbols in elf winegstreamer.dll.so 0034:err:module:load_so_dll failed to load .so lib "/home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so": Cannot dlopen("/home/mattia/Documents/Call of Cthulhu - DCotE/wine/bin/../lib/wine/winegstreamer.dll.so"/0xc9abe8, 2)

0034:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\windows\system32\winegstreamer.dll"

Mzed3D avatar Apr 08 '23 21:04 Mzed3D

Ok, I have added the missing functions. Hopefully it will works fine now.

ptitSeb avatar Apr 09 '23 07:04 ptitSeb

Now the game doesn't start anymore..

Unhandled page fault on write access to 00905A4D at address 6DB83496 (thread 003d), starting debugger... Box86 with Dynarec v0.3.1 54e13be0 built on Apr 9 2023 10:20:53 winedbg detected, not launching it!

before it started, it just showed the intro video black with sound only

Mzed3D avatar Apr 09 '23 08:04 Mzed3D

The full log..

Box86 with Dynarec v0.3.1 54e13be0 built on Apr 9 2023 10:20:53 Box86 with Dynarec v0.3.1 54e13be0 built on Apr 9 2023 10:20:53 Box86 with Dynarec v0.3.1 54e13be0 built on Apr 9 2023 10:20:53 000d:err:module:__wine_process_init L"C:\windows\system32\winemenubuilder.exe" not found 000b:err:wineboot:process_run_key Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (126). wine: Call from 0x7bc7e939 to unimplemented function ntoskrnl.exe.RtlPcToFileHeader, aborting wine: Unimplemented function ntoskrnl.exe.RtlPcToFileHeader called at address 7BC7E939 (thread 001b), starting debugger... 001b:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 24 72" (1359) Read the Wine Developers Guide on how to set up winedbg or another debugger 000f:err:service:process_send_command service protocol error - failed to read pipe r = 0 count = 0! 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1053 002c:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 002c:fixme:ntdll:EtwRegisterTraceGuidsW (0x100778a, 0x100a060, {485e7de8-0a80-11d8-ad15-505054503030}, 1, 0x32fea0, (null), (null), 0x100a068): stub 002c:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {485e7de8-0a80-11d8-ad15-505054503030} 002c:fixme:ntdll:EtwRegisterTraceGuidsW (0x100778a, 0x100a080, {485e7de9-0a80-11d8-ad15-505054503030}, 1, 0x32fea0, (null), (null), 0x100a088): stub 002c:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {485e7de9-0a80-11d8-ad15-505054503030} 002c:fixme:ntdll:EtwRegisterTraceGuidsW (0x100778a, 0x100a0a0, {485e7dea-0a80-11d8-ad15-505054503030}, 1, 0x32fea0, (null), (null), 0x100a0a8): stub 002c:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {485e7dea-0a80-11d8-ad15-505054503030} 002c:fixme:ntdll:EtwRegisterTraceGuidsW (0x100778a, 0x100a0c0, {485e7deb-0a80-11d8-ad15-505054503030}, 1, 0x32fea0, (null), (null), 0x100a0c8): stub 002c:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {485e7deb-0a80-11d8-ad15-505054503030} 002c:fixme:ntdll:EtwRegisterTraceGuidsW (0x100778a, 0x100a0e0, {485e7dec-0a80-11d8-ad15-505054503030}, 1, 0x32fea0, (null), (null), 0x100a0e8): stub 002c:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {485e7dec-0a80-11d8-ad15-505054503030} 002c:fixme:ntdll:EtwRegisterTraceGuidsW (0x100778a, 0x100a100, {485e7ded-0a80-11d8-ad15-505054503030}, 1, 0x32fea0, (null), (null), 0x100a108): stub 002c:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {485e7ded-0a80-11d8-ad15-505054503030} 002f:fixme:win:RegisterDeviceNotificationW (hwnd=0x4d45a0, filter=0x75fe2c,flags=0x00000001) returns a fake device notification handle! 0031:err:svchost:AddServiceElem failed to load library L"C:\windows\system32\wevtsvc.dll", err=126 0031:err:svchost:wmain Failed to load requested group: L"LocalServiceNetworkRestricted" 000f:err:service:process_send_command service protocol error - failed to write pipe! 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"Eventlog" failed to start: 1053 0015:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\nsiproxy": c0000142 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"nsiproxy" failed to start: 1114 0015:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\NDIS": 00000001 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 731 Box86 with Dynarec v0.3.1 54e13be0 built on Apr 9 2023 10:20:53 0038:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1. 0038:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1. 0038:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "Mali-G52 (Panfrost)"). 0038:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0038:fixme:ntdll:NtQuerySystemInformation (0x00000007,0x15fca28,0x00000018,0x32e8b8) stub 0038:fixme:ntdll:NtQuerySystemInformation (0x00000050,0x15fca28,0x00000054,0x32e8b8) stub 0038:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_CACHE_INFORMATION 0038:fixme:ntdll:NtQuerySystemInformation (0x00000021,0x15fcb90,0x00000010,0x32e8b8) stub 0038:fixme:ntdll:NtQuerySystemInformation (0x0000002d,0x15fcb90,0x00000020,0x32e8b8) stub 0038:fixme:ntdll:NtQuerySystemInformation (0x0000003d,0x15fcba8,0x00000a90,0x32e8b8) stub 0038:fixme:ntdll:NtQuerySystemInformation (0x00000012,0x15fcba8,0x00000a90,0x32e8b8) stub 0038:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_INTERRUPT_INFORMATION 0038:fixme:ntdll:NtQuerySystemInformation (0x0000002a,0x15fcbc0,0x00000a78,0x32e8b8) stub 0038:fixme:ntdll:EtwEventRegister ({968f313b-097f-4e09-9cdd-bc62692d138b}, 0x1904479, 0x1a26520, 0x1a26278) stub. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:fixme:reg:RegQueryInfoKeyW security argument not supported. 0038:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 for dll L"C:\windows\system32\devenum.dll" 0038:err:ole:CoGetClassObject no class object {da4e3da0-d07d-11d0-bd50-00a0c911ce86} could be created for context 0x1 wine: Unhandled page fault on write access to 00905A4D at address 6DB83496 (thread 003d), starting debugger... Box86 with Dynarec v0.3.1 54e13be0 built on Apr 9 2023 10:20:53 winedbg detected, not launching it! 003d:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 55 384" (1359) Read the Wine Developers Guide on how to set up winedbg or another debugger

Mzed3D avatar Apr 09 '23 08:04 Mzed3D

I have max payne in my steam collection, I'll check if I can reproduce and fix the issue on my side.

ptitSeb avatar Apr 09 '23 08:04 ptitSeb

Ok, thanks!

Mzed3D avatar Apr 09 '23 08:04 Mzed3D

I have fixed some stuff on wine/gstreamer, can you try again with latest box86 sources?

ptitSeb avatar Apr 19 '23 09:04 ptitSeb

I just tried, now the game just skips the intro video. I couldn't manage to save a log but the gstreamer related errors were:

118:err:gstreamer:query_duration Failed to query duration 148:fixme:gstreamer:event_sink Unhandled format "(null)"

Mzed3D avatar Apr 19 '23 13:04 Mzed3D

Ah, still no video :(. At least it's not crashing, so that's a plus.

ptitSeb avatar Apr 19 '23 13:04 ptitSeb