Wine on raspberry pi Runtime error

Questions about Wine on Linux
Locked
gre4ka148
Newbie
Newbie
Posts: 3
Joined: Mon Mar 07, 2022 3:18 am

Wine on raspberry pi Runtime error

Post by gre4ka148 »

Hello,

I`m using a raspberry pi 2 on Raspbian buster, wine through box86.
When i`m trying to launch a game ( Star Defender 4 ), it crash. Notepad++ working perfectly.
Can anyone help me?
Console log:

Code: Select all

pi@raspberrypi:~/Downloads/Star Defender $ wine StarDefender4.exe 
Box86 with Dynarec v0.2.5 60078852 built on Feb  6 2022 00:07:26
Box86 with Dynarec v0.2.5 60078852 built on Feb  6 2022 00:07:26
Box86 with Dynarec v0.2.5 60078852 built on Feb  6 2022 00:07:26
003c:err:service:process_send_command service protocol error - failed to write pipe!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1053
wine: Unhandled illegal instruction at address 7BC7C69A (thread 005c), starting debugger...
005c:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 76 148" (1359)
Read the Wine Developers Guide on how to set up winedbg or another debugger
005c:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x7bc7c679
003c:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1053
003c:err:service:process_send_start_message pipe connect failed
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1053
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 9.0.1, 128 bits)").
0024:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0024:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=800 height=600 bpp=16 (XRandR 1.2)
0094:err:clipboard:convert_selection Timed out waiting for SelectionNotify event
Image
kiai
Newbie
Newbie
Posts: 3
Joined: Mon Mar 07, 2022 4:34 am

Re: Wine on raspberry pi Runtime error

Post by kiai »

may i ask what version of wine you are using ?
gre4ka148
Newbie
Newbie
Posts: 3
Joined: Mon Mar 07, 2022 3:18 am

Re: Wine on raspberry pi Runtime error

Post by gre4ka148 »

UPD: Notepad++ also not working. Console log:

Code: Select all

pi@raspberrypi:~/Downloads/np++ $ wine notepad++.exe 
Box86 with Dynarec v0.2.5 60078852 built on Feb  6 2022 00:07:26
Box86 with Dynarec v0.2.5 60078852 built on Feb  6 2022 00:07:26
Box86 with Dynarec v0.2.5 60078852 built on Feb  6 2022 00:07:26
wine: Unhandled illegal instruction at address 7BC7C69A (thread 0024), starting debugger...
Box86 with Dynarec v0.2.5 60078852 built on Feb  6 2022 00:07:26
winedbg detected, not launching it!
0024:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 32 8" (1359)
Read the Wine Developers Guide on how to set up winedbg or another debugger
0024:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x7bc7c679
pi@raspberrypi:~/Downloads/np++ $ wine: Unhandled illegal instruction at address 7BC7C69A (thread 0078), starting debugger...
0078:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 104 96" (1115)
Read the Wine Developers Guide on how to set up winedbg or another debugger
0078:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x7bc7c679
hotfrostworm
Level 2
Level 2
Posts: 15
Joined: Fri Nov 06, 2020 3:20 pm

Re: Wine on raspberry pi Runtime error

Post by hotfrostworm »

The error on the screen means this was written in Visual C++ and requires one of the VC Run free redistribution packs you can get using winetricks.

I also noticed in this error message; 0024:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=800 height=600 bpp=16 (XRandR 1.2)

Easy fix for resolution using Wine is to run in a desktop window.
wine explorer /desktop=Game,800x600 your_application.exe
Otherwise you need to update the Linux graphics to allow XRandR to set 800x600. Here is how that is done.

I am not sure, if the bit mapping at 16 or 24, is going to be a real issue.
gre4ka148
Newbie
Newbie
Posts: 3
Joined: Mon Mar 07, 2022 3:18 am

Re: Wine on raspberry pi Runtime error

Post by gre4ka148 »

hotfrostworm wrote: Mon Mar 07, 2022 3:40 pm The error on the screen means this was written in Visual C++ and requires one of the VC Run free redistribution packs you can get using winetricks.

I also noticed in this error message; 0024:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=800 height=600 bpp=16 (XRandR 1.2)

Easy fix for resolution using Wine is to run in a desktop window.
wine explorer /desktop=Game,800x600 your_application.exe
Otherwise you need to update the Linux graphics to allow XRandR to set 800x600. Here is how that is done.

I am not sure, if the bit mapping at 16 or 24, is going to be a real issue.
I tried to install vcrun10 and get this error:

Code: Select all

Executing cd /home/pi
Using native,builtin override for following DLLs: msvcp100 msvcr100 vcomp100 atl100
Executing wine regedit /S C:\windows\Temp\override-dll.reg
Executing cd /home/pi/.cache/winetricks/vcrun2010
Executing wine vcredist_x86.exe /q
00f8:fixme:clusapi:GetNodeClusterState ((null),0031EBE4) stub!
00f8:fixme:advapi:DecryptFileA ("y:\\05191fbb8ed352bcdde997508b8c\\", 00000000): stub
0118: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.
0118:fixme:ntdll:EtwRegisterTraceGuidsW (6CD15F38, 6CD20180, {e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0031E6F0, (null), (null), 6CD20188): stub
0118:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2821408-c59d-418f-ad3f-aa4e792aeb79}
0118:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0118:fixme:process:SetProcessDEPPolicy (1): stub
0118:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0118:fixme:advapi:LsaOpenPolicy ((null),0x31e4f8,0x00000001,0x31e4ec) stub
0118:fixme:security:GetWindowsAccountDomainSid (0031E468 00CEABBC 0031E464): semi-stub
0118:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
0118:fixme:advapi:LsaClose (0xcafe) stub
wine: Unhandled illegal instruction at address 7BC7C69A (thread 0118), starting debugger...
winedbg detected, not launching it!
0118:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 276 136" (1359)
Read the Wine Developers Guide on how to set up winedbg or another debugger
0118:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x7bc7c679
------------------------------------------------------
warning: Важно: команда wine vcredist_x86.exe /q вернула статус 29. Прерывание.
------------------------------------------------------
pi@raspberrypi:~ $ wine: Unhandled illegal instruction at address 7BC7C69A (thread 007c), starting debugger...
007c:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 104 104" (1115)
Read the Wine Developers Guide on how to set up winedbg or another debugger
007c:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x7bc7c679
Sorry for Russian lang.

When installing corefonts there`s also many illegal instruction errors.
hotfrostworm
Level 2
Level 2
Posts: 15
Joined: Fri Nov 06, 2020 3:20 pm

Re: Wine on raspberry pi Runtime error

Post by hotfrostworm »

I searched the "Unhandled exception code c000001d flags 0 addr 0x7bc7c679" error and found this from from last year on this forum.

viewtopic.php?t=35117
Locked