Box86 and Wine on RPi4
-
Great to hear you found a solution and that you could use my UAS suggestion ;-)
I am always testing your script both ways.
From the terminal so I can see how it would react with an original RetroPie and if the games are in fullscreen.I test also in the desktop enviroment.
What I see here is that wine is always installing mime types for fast opening of files. I you open a file with a wine application it doesn't work(you get sandbox only) and I prefer to use linux programs over wine. So I renamed this file to .bak manually to get rid of this (perhaps an idea to implement) :
/home/pi/.local/share/applications/mimeinfo.cache.bakWhen you install software you get desktop icons, that is nice, but the desktop icons don't work because they have no good command to load the software in the desktop enviroment. So pehaps there is a way to prefent installing desktop icons on the linux desktop or else, that desktop icons are installed with the correct load command.
Is this some good feedback for you ?
-
@george said in Box86 and Wine on RPi4:
Anyway, if I make any further progress, I'll let you know!
Thx for the update. In the meantime, i'm pumping out wine prefixes :-).
Which brings me to the other question regarding, how to install games. I think the only solution in a Retropie env. for end users is installing games with winetricks and configuring all opt and config files manual. I don't see another solution.
-
@George I have to start almost all games multiple times before xinit actually starts. I believe this is a well known xinit problem?, is there anything we can do about that?
-
@Folly and @mth75, I really appreciate all the work you've done to test this out. I love all the feedback. You're making this really solid and people are going to love it! Thank you!
@Folly
I found this link for disabling Wine from managing MIME types. https://askubuntu.com/questions/323437/how-to-prevent-wine-from-adding-file-associations It can also disable creation of desktop items (I think). I'm not sure that the creation of desktop items could be customized to include the environment variable settings that are required. But it might not be too bad, considering the following on the command line:WINEDEBUG=-all
- potentially can be removed. You'll just see warning messages.LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/"
- Eventually, when Raspberry Pi OS is updated to use the latest Mesa drivers, this can be removed. A short term alternative is to add this to the.profile
so it is set 100% of the time, but I don't know what effect that will have on the rest of the system.setarch linux32 -L
- I'm not exactly sure this is needed, since we're already on a 32-bit linux system, but one could experiment with removing it.
@mth75
I think you might be right about installation of software, though doing all the manual configuration of ports scripts is a pain. I'm still looking at various solutions.Can you edit one of your scripts to add:
BOX86_LOG=1
and remove the WINEDEBUG statement, making the line look like this:BOX86_LOG=1 LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L ...
This might help narrow down the issue.
Thanks again!
- George
-
@mth75 said in Box86 and Wine on RPi4:
@George I have to start almost all games multiple times before xinit actually starts. I believe this is a well known xinit problem?, is there anything we can do about that?
I have the same problem running Beebem.
But with Beebem I have the wine/desktop already open.
So I dont think it's an xinit problem. -
Can you use the BOX86_LOG=1 flag and post your log? That will help narrow down where the issue might be. Thanks!
- George
-
@george said in Box86 and Wine on RPi4:
Can you use the BOX86_LOG=1 flag and post your log? That will help narrow down where the issue might be. Thanks!
- George
I tried Beebem 1 time creating this log (Beebem starts and then stops directly):
(It boots ok if I press a key and also if I use the fullscreen option in beebem)Parameters: Executing: /opt/retropie/ports/wine/wineexplorer_xinit.sh root window unavailable (maybe another WM is running?) Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.0 b2d5587 built on Feb 1 2021 13:10:23 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 45 Env var Looking for /opt/retropie/ports/wine/bin/wine argv[1]="explorer" argv[2]="/desktop=shell,1600x900" argv[3]="explorer" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /opt/retropie/ports/wine/bin/../lib/wine/ntdll.so Using native(wrapped) libm.so.6 Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.0 b2d5587 built on Feb 1 2021 13:10:23 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 46 Env var Looking for /opt/retropie/ports/wine/bin/wine argv[1]="explorer" argv[2]="/desktop=shell,1600x900" argv[3]="explorer" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /opt/retropie/ports/wine/bin/../lib/wine/ntdll.so Using native(wrapped) libm.so.6 Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.0 b2d5587 built on Feb 1 2021 13:10:23 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 46 Env var Looking for /opt/retropie/ports/wine/bin/wineserver Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /opt/retropie/ports/wine/lib/wine/../libwine.so.1 0064:err:ole:start_rpcss Failed to start RpcSs service Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernel32.so"/0x63d826a0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernelbase.so"/0x63dacc08, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/explorer.so"/0x63dbfe50, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/advapi32.so"/0x63ddb3a0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/sechost.so"/0x63ddc758, 2) Using emulated /opt/retropie/ports/wine/lib/wine/ucrtbase.so Using emulated /opt/retropie/ports/wine/lib/wine/gdi32.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/rpcrt4.so"/0x63e06a10, 2) Using emulated /opt/retropie/ports/wine/lib/wine/user32.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/setupapi.so"/0x63e06a10, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/version.so"/0x63e06a10, 2) Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/imm32.so"/0x641f7c20, 2) Using emulated /opt/retropie/ports/wine/lib/wine/winex11.drv.so Using native(wrapped) libXext.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winex11.so"/0x6425f590, 2) Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libvulkan.so.1 Warning, function vkGetPhysicalDeviceSurfaceCapabilities2KHR not found in lib libvulkan.so.1 Warning, function vkGetPhysicalDeviceSurfaceFormats2KHR not found in lib libvulkan.so.1 Using native(wrapped) libpng16.so.16 Using emulated /opt/retropie/ports/wine/lib/wine/shell32.dll.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shell32.so"/0x64887a68, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shlwapi.so"/0x648dabc0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shcore.so"/0x648db430, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ole32.so"/0x648e31e0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/combase.so"/0x648e31e0, 2) Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.0 b2d5587 built on Feb 1 2021 13:10:23 BOX86: Wine detected, WINEPRELOADRESERVE="000400000-000495000" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 48 Env var Looking for /opt/retropie/ports/wine/bin/wine argv[1]="explorer" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /opt/retropie/ports/wine/bin/../lib/wine/ntdll.so Using native(wrapped) libm.so.6 Using emulated /opt/retropie/ports/wine/lib/wine/../libwine.so.1 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernel32.so"/0x63623c48, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernelbase.so"/0x6364e470, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/explorer.so"/0x63661718, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/advapi32.so"/0x6368cae0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/sechost.so"/0x6368de98, 2) Using emulated /opt/retropie/ports/wine/lib/wine/ucrtbase.so Using emulated /opt/retropie/ports/wine/lib/wine/gdi32.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/rpcrt4.so"/0x636b8470, 2) Using emulated /opt/retropie/ports/wine/lib/wine/user32.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/setupapi.so"/0x636b8470, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/version.so"/0x636d1188, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/actxprxy.so"/0x429ed920, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/oleaut32.so"/0x429f3710, 2) Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/imm32.so"/0x63a96fd0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ole32.so"/0x63ad84b0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/combase.so"/0x63ada3a0, 2) Using emulated /opt/retropie/ports/wine/lib/wine/winex11.drv.so Using native(wrapped) libXext.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winex11.so"/0x63b5efa0, 2) Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libvulkan.so.1 Warning, function vkGetPhysicalDeviceSurfaceCapabilities2KHR not found in lib libvulkan.so.1 Warning, function vkGetPhysicalDeviceSurfaceFormats2KHR not found in lib libvulkan.so.1 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x63f77978, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/uxtheme.so"/0x63fed478, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/actxprxy.so"/0x6413cee0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/oleaut32.so"/0x64142c58, 2) Using emulated /opt/retropie/ports/wine/lib/wine/shell32.dll.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shell32.so"/0x643d78e0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shlwapi.so"/0x643ea878, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shcore.so"/0x643eaf08, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/explorerframe.so"/0x646edcc8, 2) Using native(wrapped) libpng16.so.16 00d8:fixme:nstc:NSTC2_fnSetControlStyle2 mask & style (0x00000004) contains unsupported style(s): 0x00000004 00d8:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x4e2ad0 (2, 1026, a003, 0, 0x7af55c) 00d8:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x4e2ad0 (2, 1026, a004, 1, 0x7af55c) 00d8:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x4e2ad0 (2, 1025, a003, 1, 0x7af55c) 00d8:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x4e2ad0 (2, 1025, a004, 1, 0x7af55c) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/appwiz.so"/0x45358a70, 2) Using emulated /opt/retropie/ports/wine/lib/wine/bcrypt.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45358fe0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x4536ed48, 2) Using emulated /opt/retropie/ports/wine/lib/wine/winspool.drv.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x4536ed48, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/urlmon.so"/0x4537fbe8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x45382d48, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x45383a88, 2) Using emulated /opt/retropie/ports/wine/lib/wine/ws2_32.dll.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ws2_32.so"/0x45383a88, 2) Using native(wrapped) libgnutls.so.30 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/uxtheme.so"/0x45856e88, 2) Using native(wrapped) libcups.so.2 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/bthprops.so"/0x45391358, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/inetcpl.so"/0x458f8a80, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x458f8a80, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/irprops.so"/0x45a9c5e8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/joy.so"/0x45a90188, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45a90188, 2) Using emulated /opt/retropie/ports/wine/lib/wine/dinput8.dll.so Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dinput8.so"/0x45a90188, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/appwiz.so"/0x45d96ce8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45d96ce8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/urlmon.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ws2_32.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/bthprops.so"/0x45da15d8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/inetcpl.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/irprops.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/joy.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45d9aec0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dinput8.so"/0x45d9aec0, 2) 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:exec:SHELL_execute flags ignored: 0x00000004 0024:fixme:exec:SHELL_execute flags ignored: 0x00004000 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/appwiz.so"/0x45eb4720, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb4720, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/urlmon.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ws2_32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/bthprops.so"/0x45eb9dc8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/inetcpl.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/irprops.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/joy.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dinput8.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/appwiz.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/urlmon.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ws2_32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/bthprops.so"/0x45ec7568, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/inetcpl.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/irprops.so"/0x45ec75e8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/joy.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb8200, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dinput8.so"/0x45eb8200, 2) 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:exec:SHELL_execute flags ignored: 0x00000004 0024:fixme:exec:SHELL_execute flags ignored: 0x00004000 Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/appwiz.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/urlmon.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ws2_32.so"/0x45eb9d88, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/bthprops.so"/0x45ed4c70, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/inetcpl.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/irprops.so"/0x45ed4c18, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/joy.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dinput8.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/appwiz.so"/0x45ecc7c8, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45eb9db0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x45eb9db0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x45eb9db0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/urlmon.so"/0x45eb9db0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x45eb9db0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x45eb9db0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ws2_32.so"/0x45eb9db0, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/bthprops.so"/0x45ecca80, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/inetcpl.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/irprops.so"/0x45edeb50, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/joy.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x45ed0850, 2) Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dinput8.so"/0x45ed0850, 2) 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:shell:ISF_ControlPanel_fnGetDisplayNameOf retrieve display name from control panel app 0024:fixme:exec:SHELL_execute flags ignored: 0x00000004 0024:fixme:exec:SHELL_execute flags ignored: 0x00004000 0158:fixme:d3d:wined3d_guess_card_vendor Received unrecognized GL_VENDOR "Broadcom". Returning HW_VENDOR_NVIDIA. 0158:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
-
Thanks @folly. Quick question. Are you running a Windows version of Beebem through Wine Explorer?
- George
-
@george said in Box86 and Wine on RPi4:
Thanks @folly. Quick question. Are you running a Windows version of Beebem through Wine Explorer?
- George
Yes I do.
Forgot to mention, wine explorer keeps working though. -
@George I updated to:
Box86 Master version (latest 0.2.1), Mesa 20.3.4 and Wine v-6.1-devel.
I'm fearly sure that this combination gives a noticeable better performance (and more games work).
Wine games are running almost 5 degrees Celsius cooler ... Simcity 3000 for instance would throttle my SOC in the Pi4. Not any more.
-
Who is willing for taking part in a challenge :-) ... getting Thimbleweed Park to work in Wine? My prefix starts in a blackscreen with sound. I believe this is due to (for now) lacking DX12 support in the mesa/vulkan drivers. I also believe that it's a matter of time ...
-
@mth75 said in Box86 and Wine on RPi4:
Who is willing for taking part in a challenge :-) ... getting Thimbeweed Park to work in Wine? My prefix starts in a blackscreen with sound. I believe this is due to (for now) lacking DX12 support in the mesa/vulkan drivers. I also believe that it's a matter of time ...
Seems you already did much work.
I have no idea on how to get this game working.Perhaps others ?
-
@mth75 thanks for the update. I did see Mesa got updated to 20.3.4, but haven't updated my script modules yet. So many moving pieces in this! Are you still experiencing crashes where you have to start the game multiple times before being able to run a game?
Regarding Thimbleweed Park, I've never played it, but the web site says that it's compatible with Linux. Perhaps using a Linux version through Box86 would work better. I don't know the installation process though.
- George
-
@george said in Box86 and Wine on RPi4:
@mth75 thanks for the update. I did see Mesa got updated to 20.3.4, but haven't updated my script modules yet. So many moving pieces in this! Are you still experiencing crashes where you have to start the game multiple times before being able to run a game?
Yes, still the same behaviour but less frequently. I suspect Box86.
@george said in Box86 and Wine on RPi4:
Regarding Thimbleweed Park, I've never played it, but the web site says that it's compatible with Linux. Perhaps using a Linux version through Box86 would work better. I don't know the installation process though.
The Linux version is 64bits (sadly) ... so I'm trying my luck with a 32bits GOG Windows version.
-
@george said in Box86 and Wine on RPi4:
I did see Mesa got updated to 20.3.4, but haven't updated my script modules yet.
I'm curious if you'll notice any difference. My RPi4 as you know is build in the C= Plus4 case, with a Pimoroni Fanshim which kicks in at 68C. For example, the AGS adventure game Chronicles of Innsmouth always throttled the SOC (T above 80), the difference I now notice is almost 8 degrees C. This means that some component has become a lot more efficient.
-
@mth75 said in Box86 and Wine on RPi4:
Yes, still the same behaviour but less frequently. I suspect Box86.
It could be Box86, but there are so many things going on and are in early development, like the Mesa Broadcom driver.
Early on in my testing, I saw a problem with one of the games I was testing. Through a ton of debugging, I believe I narrowed down the issue to an ARB vertex program test that Wine passing on to Mesa. I filed a bug with Mesa:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4018
I may have been able to workaround the issue using the following Mesa override in the command line:
MESA_EXTENSION_OVERRIDE="-GL_ARB_vertex_program"
Perhaps give that a shot and let me know if you see any improvement in reliability. You may of course see a change in performance, either good or bad. Let us know.
- George
-
@george Hi George, I didn't notice any difference.
-
Another thing possibly worth trying is adding the GL logging flag to the command line:
LIBGL_DEBUG=verbose
See: https://docs.mesa3d.org/envvars.html
Along with removing the WINEDEBUG and adding BOX86_LOG, that should provide a good amount of logging to help determine where things are crashing. Ala:
LIBGL_DEBUG=verbose BOX86_LOG=1 LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L ...
I've seen several conversations on Box86's Discord where it is suggested to disable DynaRec. Perhaps give that a shot as well.
- George
-
I've started to test out FluidSynth as a replacement for Timidity. I've come to the conclusion that while running Timidity as a daemon is good for convenience, that convenience is nullified if all sound stops working after a day.
I've run several tests with Timidity. Whenever Timidity is used to play MIDI sound, after a day or so of inactivity, all sound will stop functioning properly. Restarting the Timidity daemon rectifies the situation without requiring a reboot. But that is a hassle.
Timidity also seems to be fairly old and not actively developed, whereby FluidSynth is actively developed (though the version with Raspberry Pi OS may be a bit out of date).
The downside with FluidSynth is that it does not look like it will run in daemon mode out of the box. The options are as follows:
- Create additional scripts that will run FluidSynth as a daemon. This would require much more testing to make sure it doesn't cause the same problems as Timidity.
- Add extra lines to ports scripts that will launch FluidSynth when starting a game. Though I suppose this could actually have been done with Timidity as well.
FluidSynth does have some options that should improve performance on Raspberry Pi, like changing bitrate and polyphony. I did some research on Timidity has some options as well, including the option to turn off Reverb. Reverb might actually be what is causing the hangup on the sound. Perhaps Timidity just continues sending reverbed audio and convolving the signal ad infinitum, that might cause some issues.
I will say that Timidity sounds louder, so it may take time to get used to FluidSynth.
Anyway, lots of work to be done.
- George
-
Has anyone set this up with twisteros? Essentially my understanding is it has all the box86 wine etc in place so I’ve just created a simple script in the ports folder “wine game.exe” but I’m getting errors that seem the relate to x server and looking at @George scripts he’s got some dependencies and references in the ports script to handle that. I believe twister uses xfce, so my question is what additional dependencies do I need and what do I need to add to my ports script to resolve the x server issues? Really great work here thanks for creating this thread!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.