RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Box86 and Wine on RPi4

    Scheduled Pinned Locked Moved Ideas and Development
    box86wineqemux86windows
    475 Posts 40 Posters 237.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator @TedMaul
      last edited by mitu

      @tedmaul Please remove the SpacePinball script, it's referencing/downloading copyrighted material.

      T 1 Reply Last reply Reply Quote 0
      • T
        TedMaul @mitu
        last edited by

        @mitu Apologies - I thought because it was on archive.org it was fair game, and the script was from further up the thread. I've removed it now.

        Either way, as always grateful for any pointers from anyone, thanks in advance.

        1 Reply Last reply Reply Quote 0
        • shavecatS
          shavecat @mth75
          last edited by

          @mth75
          Hey
          4d36d2f4-58f3-4d90-989f-5f28e4c32cb9-image.png
          Found the same version !
          but i still get a black small screen on the side for a sec' then its gone...
          :( :( :(

          G 1 Reply Last reply Reply Quote 0
          • G
            George @shavecat
            last edited by

            @shavecat can you share the output of:

            cat /dev/shm/runcommand.log
            

            Perhaps also edit your Ports script (not the installation script), removing WINEDEBUG=-all and replacing it with BOX86_LOG=1. Then try to run it again and then share the output of runcommand.log again.

            Can you also share the Ports script (not the installation script).

            Thanks!

            - George

            shavecatS 1 Reply Last reply Reply Quote 0
            • shavecatS
              shavecat @George
              last edited by

              @george
              Hey im running it from wineexpelor .

              G 1 Reply Last reply Reply Quote 0
              • G
                George @shavecat
                last edited by

                @shavecat gotcha. Did you run Wine Explorer from Emulation Station? If so, you can edit that ports script to remove WINEDEBUG=-all and replace it with BOX86_LOG=1.

                shavecatS 1 Reply Last reply Reply Quote 1
                • shavecatS
                  shavecat @George
                  last edited by shavecat

                  @george
                  thanks
                  *sorry didnt do it right
                  So -

                  pi@retropie:~ $ cat /dev/shm/runcommand.log
                  Hello logfile - runcommand-onstart checking in here
                  Hello logfile - runcommand-onstart checking in here
                  Parameters:
                  Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty
                  
                  _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
                  
                  X.Org X Server 1.20.4
                  X Protocol Version 11, Revision 0
                  Build Operating System: Linux 4.15.0-48-generic armv8l Raspbian
                  Current Operating System: Linux retropie 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l
                  Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1920x1080M@60,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0 smsc95xx.macaddr=DC:A6:32:14:7A:95 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=e22bcd10-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
                  Build Date: 05 June 2019  12:49:54PM
                  xorg-server 2:1.20.4-1+rpt1 (https://www.debian.org/support)
                  Current version of pixman: 0.36.0
                          Before reporting problems, check http://wiki.x.org
                          to make sure that you have the latest version.
                  Markers: (--) probed, (**) from config file, (==) default setting,
                          (++) from command line, (!!) notice, (II) informational,
                          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                  (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Tue Mar  2 17:05:42 2021
                  (==) Using config directory: "/etc/X11/xorg.conf.d"
                  (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                  (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
                  Set mode 1920x1080@60Hz on HDMI-1
                  
                  Executing (via xinit): /opt/retropie/ports/claw/claw_xinit.sh
                  
                  server does not have extension for -dpms option
                  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 Mar  1 2021 00:17:27
                  BOX86: Wine detected, WINEPRELOADRESERVE=""
                  Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
                  Using default BOX86_PATH: ./:bin/
                  Counted 28 Env var
                  Looking for /opt/retropie/ports/wine/bin/wine
                  argv[1]="/media/usb0/roms/wine/CLAWALL/2/CLAW.EXE"
                  argv[2]="-fullscreen"
                  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 Mar  1 2021 00:17:27
                  BOX86: Wine detected, WINEPRELOADRESERVE=""
                  Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
                  Using default BOX86_PATH: ./:bin/
                  Counted 29 Env var
                  Looking for /opt/retropie/ports/wine/bin/wine
                  argv[1]="/media/usb0/roms/wine/CLAWALL/2/CLAW.EXE"
                  argv[2]="-fullscreen"
                  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 Mar  1 2021 00:17:27
                  Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
                  Using default BOX86_PATH: ./:bin/
                  Counted 29 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
                  0050:err:ole:start_rpcss Failed to start RpcSs service
                  009c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
                  003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernel32.so"/0x64c4c168, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernelbase.so"/0x64c7d5b8, 2)
                  Using emulated /opt/retropie/ports/wine/lib/wine/user32.so
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/advapi32.so"/0x64cc6cf8, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/sechost.so"/0x64cc8078, 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/setupapi.so"/0x64cefe70, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/rpcrt4.so"/0x64cf34b0, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/version.so"/0x64cf3aa8, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x64cf7678, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x64d01028, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/imm32.so"/0x64d01ac0, 2)
                  Using emulated /opt/retropie/ports/wine/lib/wine/shell32.dll.so
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shell32.so"/0x64d0fb80, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shlwapi.so"/0x64d24360, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shcore.so"/0x64d24cd8, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ole32.so"/0x64d2bde8, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/combase.so"/0x64d2dcd8, 2)
                  Using emulated /opt/retropie/ports/wine/lib/wine/winspool.drv.so
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x64d2e350, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winmm.so"/0x64d3d818, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/msacm32.so"/0x64d3e178, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dplayx.so"/0x64d415b8, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wsock32.so"/0x64d41d38, 2)
                  Using emulated /opt/retropie/ports/wine/lib/wine/iphlpapi.dll.so
                  Using native(wrapped) libresolv.so.2
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/iphlpapi.so"/0x64d41ed8, 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"/0x64d50a38, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x64d612d0, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x64d62470, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dsound.so"/0x64d64a08, 2)
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ddraw.so"/0x64d68228, 2)
                  Using emulated /opt/retropie/ports/wine/lib/wine/wined3d.dll.so
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wined3d.so"/0x64d68228, 2)
                  Using emulated /opt/retropie/ports/wine/lib/wine/opengl32.dll.so
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/opengl32.so"/0x64d7a3c8, 2)
                  Using native(wrapped) libfreetype.so.6
                  Using native(wrapped) libfontconfig.so.1
                  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"/0x65221380, 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
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/uxtheme.so"/0x654c9960, 2)
                  Using native(wrapped) libcups.so.2
                  Using native(wrapped) libpng16.so.16
                  Using emulated /opt/retropie/ports/wine/lib/wine/winejoystick.drv.so
                  Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winejoystick.so"/0x659b4398, 2)
                  Using native(wrapped) libGL.so.1
                  /opt/retropie/ports/claw/claw_xinit.sh: line 5:  6672 Segmentation fault      BOX86_LOG=1 LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/ports/wine/bin/wine '/media/usb0/roms/wine/CLAWALL/2/CLAW.EXE' -fullscreen
                  xinit: connection to X server lost
                  
                  waiting for X server to shut down wm_set_cursor_visibility: visible using XCreateFontCursor
                  (II) Server terminated successfully (0). Closing log file.
                  
                  Hello logfile - runcommand-onend checking in here
                  Hello logfile - runcommand-onend checking in here
                  
                  

                  Any ideas ? :))

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    George @shavecat
                    last edited by

                    @shavecat Thanks. I had seen your other post earlier and it looked like an issue with ALSA or the MIDI sequencer, but I don't see those error messages now.

                    I wonder what might happen if you take the -fullscreen out of the script.

                    You could also try adding the following to the script right before BOX86_LOG...:

                    MESA_EXTENSION_OVERRIDE="-GL_ARB_vertex_program" 
                    

                    Though I am not sure it will have much of an effect. Finally, perhaps CLAW requires DirectX to be installed. You might be able to find out more information by adding the following line to the script:

                    WINEDEBUG=+loaddll
                    

                    That should log which DLLs are being loaded, and if they are being loaded natively or using Wine's Built-In version. Perhaps it might also tell you if it can't find one.

                    Hope that helps.

                    - George

                    shavecatS 1 Reply Last reply Reply Quote 1
                    • shavecatS
                      shavecat @George
                      last edited by

                      @george
                      thanks alot again for trying help :)
                      so add all to the scrpit
                      now im getting this -

                      
                      Hello logfile - runcommand-onstart checking in here
                      Hello logfile - runcommand-onstart checking in here
                      Parameters:
                      Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty
                      
                      _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
                      
                      X.Org X Server 1.20.4
                      X Protocol Version 11, Revision 0
                      Build Operating System: Linux 4.15.0-48-generic armv8l Raspbian
                      Current Operating System: Linux retropie 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l
                      Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1920x1080M@60,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0 smsc95xx.macaddr=DC:A6:32:14:7A:95 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=e22bcd10-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
                      Build Date: 05 June 2019  12:49:54PM
                      xorg-server 2:1.20.4-1+rpt1 (https://www.debian.org/support)
                      Current version of pixman: 0.36.0
                              Before reporting problems, check http://wiki.x.org
                              to make sure that you have the latest version.
                      Markers: (--) probed, (**) from config file, (==) default setting,
                              (++) from command line, (!!) notice, (II) informational,
                              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                      (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Tue Mar  2 23:29:52 2021
                      (==) Using config directory: "/etc/X11/xorg.conf.d"
                      (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                      (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
                      Set mode 1920x1080@60Hz on HDMI-1
                      
                      Executing (via xinit): /opt/retropie/ports/claw/claw_xinit.sh
                      
                      server does not have extension for -dpms option
                      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 Mar  1 2021 00:17:27
                      BOX86: Wine detected, WINEPRELOADRESERVE=""
                      Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
                      Using default BOX86_PATH: ./:bin/
                      Counted 29 Env var
                      Looking for /opt/retropie/ports/wine/bin/wine
                      argv[1]="/media/usb0/roms/wine/CLAWALL/2/CLAW.EXE"
                      argv[2]="-fullscreen"
                      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 Mar  1 2021 00:17:27
                      BOX86: Wine detected, WINEPRELOADRESERVE=""
                      Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
                      Using default BOX86_PATH: ./:bin/
                      Counted 30 Env var
                      Looking for /opt/retropie/ports/wine/bin/wine
                      argv[1]="/media/usb0/roms/wine/CLAWALL/2/CLAW.EXE"
                      argv[2]="-fullscreen"
                      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 Mar  1 2021 00:17:27
                      Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
                      Using default BOX86_PATH: ./:bin/
                      Counted 30 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
                      0050:err:ole:start_rpcss Failed to start RpcSs service
                      wine: Unhandled page fault on read access to FFFFFFFF at address 423A8348 (thread 00b0), starting debugger...
                      009c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
                      003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
                      00b0:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 136 72" (1359)
                      Read the Wine Developers Guide on how to set up winedbg or another debugger
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernel32.so"/0x6490d388, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/kernelbase.so"/0x6493e7d8, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/user32.so
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/advapi32.so"/0x64978390, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/sechost.so"/0x64989288, 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/setupapi.so"/0x649b1088, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/rpcrt4.so"/0x649b46c8, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/version.so"/0x649b4cc0, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comdlg32.so"/0x649b8890, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/comctl32.so"/0x649c2240, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/imm32.so"/0x649c2cd8, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/shell32.dll.so
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shell32.so"/0x649d0d98, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shlwapi.so"/0x649e5578, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/shcore.so"/0x649e5ef0, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ole32.so"/0x649ed000, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/combase.so"/0x649eeef0, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/winspool.drv.so
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winspool.so"/0x649ef568, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winmm.so"/0x649fea30, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/msacm32.so"/0x649ff3a8, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dplayx.so"/0x64a027e8, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wsock32.so"/0x64a02f68, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/iphlpapi.dll.so
                      Using native(wrapped) libresolv.so.2
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/iphlpapi.so"/0x64a02f80, 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"/0x64a118d8, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wininet.so"/0x64a22148, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mpr.so"/0x64a232f8, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/dsound.so"/0x64a25890, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/ddraw.so"/0x64a290b0, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/wined3d.dll.so
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/wined3d.so"/0x64a290b0, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/opengl32.dll.so
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/opengl32.so"/0x425bd498, 2)
                      Using native(wrapped) libfreetype.so.6
                      Using native(wrapped) libfontconfig.so.1
                      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"/0x42e92998, 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
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/uxtheme.so"/0x434ffe70, 2)
                      Using native(wrapped) libcups.so.2
                      Using native(wrapped) libpng16.so.16
                      Using emulated /opt/retropie/ports/wine/lib/wine/winejoystick.drv.so
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winejoystick.so"/0x444e1600, 2)
                      Using native(wrapped) libGL.so.1
                      0024:fixme:d3d:wined3d_guess_card_vendor Received unrecognized GL_VENDOR "Broadcom". Returning HW_VENDOR_NVIDIA.
                      0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
                      00d8:err:d3d:wined3d_debug_callback 0x168ce0: "GL_INVALID_ENUM in glEnable(GL_PROGRAM_POINT_SIZE)".
                      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
                      00d8:err:d3d:wined3d_debug_callback 0x168ce0: "GL_INVALID_ENUM in glEnable(GL_PROGRAM_POINT_SIZE)".
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/mmdevapi.so"/0x4a68b730, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/oleaut32.so"/0x4a68b730, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/winepulse.drv.so
                      Using native(wrapped) libpulse.so.0
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winepulse.so"/0x4a6f0a08, 2)
                      Using emulated /opt/retropie/ports/wine/lib/wine/winealsa.drv.so
                      Using native(wrapped) libasound.so.2
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/winealsa.so"/0x4a70f248, 2)
                      ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/msacm32.so"/0x4c0df930, 2)
                      Warning: Cannot dlopen("/opt/retropie/ports/wine/lib/wine/midimap.so"/0x4c0f24e0, 2)
                      0024:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
                      0024:fixme:ddraw:ddraw_surface1_Flip Ignoring flags 0x1.
                      0024:fixme:ddraw:ddraw7_WaitForVerticalBlank iface 00133BA0, flags 0x1, event 00000000 stub!
                      8639|SIGSEGV @0x62869070 (???(/opt/retropie/emulators/box86/box86/0x62869070)) (x86pc=(nil)/???:"???", esp=0x1cdfd4c), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean)
                      wine: Unhandled page fault on read access to FFFFFFFF at address 00000000 (thread 00d8), starting debugger...
                      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 Mar  1 2021 00:17:27
                      BOX86: Wine detected, WINEPRELOADRESERVE="010000000-01001a000"
                      winedbg detected, not launching it!
                      00d8:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 32 268" (1359)
                      Read the Wine Developers Guide on how to set up winedbg or another debugger
                      xinit: connection to X server lost
                      
                      waiting for X server to shut down wm_set_cursor_visibility: visible using XCreateFontCursor
                      (II) Server terminated successfully (0). Closing log file.
                      
                      Hello logfile - runcommand-onend checking in here
                      Hello logfile - runcommand-onend checking in here
                      
                      G 1 Reply Last reply Reply Quote 0
                      • G
                        George @shavecat
                        last edited by George

                        @shavecat it's possible something might be out of date on your system. Can you run the following at the command line and send us the output?

                        uname -a
                        dpkg -l
                        

                        - George

                        shavecatS 1 Reply Last reply Reply Quote 1
                        • shavecatS
                          shavecat @George
                          last edited by shavecat

                          @george said in Box86 and Wine on RPi4:

                          uname -a
                          dpkg -l

                          pi@retropie:~ $ uname -a
                          Linux retropie 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
                          

                          dpkg-l

                          pi@retropie:~ $ dpkg -l
                          Desired=Unknown/Install/Remove/Purge/Hold
                          | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                          |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                          ||/ Name                                   Version                             A
                          +++-======================================-===================================-=
                          ii  abuse                                  1:0.8-2                             a
                          ii  abuse-lib                              1:0.8-2                             a
                          ii  abuse-sfx                              1:0.8-1                             a
                          ii  adduser                                3.118                               a
                          ii  adwaita-icon-theme                     3.30.1-1                            a
                          ii  agnostics                              0.5                                 a
                          ii  alsa-oss                               1.1.8-1                             a
                          ii  alsa-utils                             1.1.8-2                             a
                          ii  amphetamine                            0.8.10-21                           a
                          ii  amphetamine-data                       0.8.7-15                            a
                          ii  apt                                    1.8.2                               a
                          ii  apt-listchanges                        3.19                                a
                          ii  apt-utils                              1.8.2                               a
                          ii  arandr                                 0.1.9-2+rpt12                       a
                          ii  aspell                                 0.60.7~20110707-6                   a
                          ii  aspell-en                              2018.04.16-0-1                      a
                          ii  autoconf                               2.69-11                             a
                          ii  automake                               1:1.16.1-4                          a
                          lines 1-23...skipping...
                          Desired=Unknown/Install/Remove/Purge/Hold
                          | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                          |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                          ||/ Name                                   Version                             Architecture Description
                          +++-======================================-===================================-============-============================================================================
                          ii  abuse                                  1:0.8-2                             armhf        classic Abuse action game
                          ii  abuse-lib                              1:0.8-2                             all          levels and graphics for Abuse
                          ii  abuse-sfx                              1:0.8-1                             all          music and sound effects for Abuse
                          ii  adduser                                3.118                               all          add and remove users and groups
                          ii  adwaita-icon-theme                     3.30.1-1                            all          default icon theme of GNOME
                          ii  agnostics                              0.5                                 armhf        Raspberry Pi Diagnostics
                          ii  alsa-oss                               1.1.8-1                             armhf        ALSA wrapper for OSS applications
                          ii  alsa-utils                             1.1.8-2                             armhf        Utilities for configuring and using ALSA
                          ii  amphetamine                            0.8.10-21                           armhf        jump'n run game with unique visual effects
                          ii  amphetamine-data                       0.8.7-15                            all          data files for the game "Amphetamine"
                          ii  apt                                    1.8.2                               armhf        commandline package manager
                          ii  apt-listchanges                        3.19                                all          package change history notification tool
                          ii  apt-utils                              1.8.2                               armhf        package management related utility programs
                          ii  arandr                                 0.1.9-2+rpt12                       all          Simple visual front end for XRandR
                          ii  aspell                                 0.60.7~20110707-6                   armhf        GNU Aspell spell-checker
                          ii  aspell-en                              2018.04.16-0-1                      all          English dictionary for GNU Aspell
                          ii  autoconf                               2.69-11                             all          automatic configure script builder
                          ii  automake                               1:1.16.1-4                          all          Tool for generating GNU Standards-compliant Makefiles
                          ii  autopoint                              0.19.8.1-9                          all          The autopoint program from GNU gettext
                          ii  autotools-dev                          20180224.1                          all          Update infrastructure for config.{guess,sub} files
                          ii  avahi-daemon                           0.7-4+b1                            armhf        Avahi mDNS/DNS-SD daemon
                          ii  base-files                             10.3+rpi1+deb10u4                   armhf        Debian base system miscellaneous files
                          ii  base-passwd                            3.5.46                              armhf        Debian base system master password and group files
                          ii  bash                                   5.0-4                               armhf        GNU Bourne Again SHell
                          ii  bash-completion                        1:2.8-6                             all          programmable completion for the bash shell
                          ii  bind9-host                             1:9.11.5.P4+dfsg-5.1                armhf        DNS lookup utility (deprecated)
                          ii  binfmt-support                         2.2.0-2                             armhf        Support for extra binary formats
                          ii  binutils                               2.31.1-16+rpi2                      armhf        GNU assembler, linker and binary utilities
                          ii  binutils-arm-linux-gnueabihf           2.31.1-16+rpi2                      armhf        GNU binary utilities, for arm-linux-gnueabihf target
                          ii  binutils-common:armhf                  2.31.1-16+rpi2                      armhf        Common files for the GNU assembler, linker and binary utilities
                          ii  bison                                  2:3.3.2.dfsg-1                      armhf        YACC-compatible parser generator
                          ii  bluealsa                               0.13                                armhf        Bluetooth ALSA Audio backend
                          ii  bluetooth                              5.50-1.2~deb10u1+rpt1               all          Bluetooth support (metapackage)
                          ii  bluez                                  5.50-1.2~deb10u1+rpt1               armhf        Bluetooth tools and daemons
                          ii  bluez-firmware                         1.2-4+rpt2                          all          Firmware for Bluetooth devices
                          ii  bluez-tools                            2.0~20170911.0.7cb788c-2            armhf        Set of tools to manage Bluetooth devices for linux
                          ii  bsdiff                                 4.3-21                              armhf        generate/apply a patch between two binary files
                          ii  bsdmainutils                           11.1.2                              armhf        collection of more utilities from FreeBSD
                          l
                          

                          yeha ? :O:o

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            George @shavecat
                            last edited by

                            @shavecat it might be possible that your system is out of date. Here's the output of my uname -a:

                            Linux retropie 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux
                            

                            The package list is also very different and where we have the same packages, many of mine are more recent than yours.

                            The safest way to test would be to use a different SD card, install the latest RetroPie image version available, and then before going further, performing the following:

                            sudo apt update
                            sudo apt upgrade
                            sudo apt dist-upgrade
                            

                            Alternatively, you could do that on your current system.

                            - George

                            shavecatS 1 Reply Last reply Reply Quote 1
                            • shavecatS
                              shavecat @George
                              last edited by shavecat

                              @george
                              Hey
                              thanks again for all your help.
                              i will love to stick to my sd card image (cause its quite fix and all )..
                              so i did all the update u wrote and took like 20min.
                              so it did something .
                              but i still get the same linux retropie -

                              
                              pi@retropie:~ $ uname -a
                              Linux retropie 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
                              
                              

                              If now im trying to do that again -

                              pi@retropie:~ $ sudo apt upgrade
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              Calculating upgrade... Done
                              The following packages were automatically installed and are no longer required:
                                lxplug-volume rpi-eeprom-images
                              Use 'sudo apt autoremove' to remove them.
                              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              pi@retropie:~ $ sudo apt dist-upgrade
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              Calculating upgrade... Done
                              The following packages were automatically installed and are no longer required:
                                lxplug-volume rpi-eeprom-images
                              Use 'sudo apt autoremove' to remove them.
                              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              pi@retropie:~ $
                              

                              Thanks again :)

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                George @shavecat
                                last edited by

                                @shavecat that's weird. Now I'm wondering what might be going on with my SD card. Haha!

                                Did you also perform a reboot? I hate to suggest it because it is the typical phone support response, but some updates might require it.

                                If I can find some time I'll see if I can try to install Claw also. I was reading that some versions check that a CD has been inserted.

                                \ - George

                                shavecatS 1 Reply Last reply Reply Quote 2
                                • shavecatS
                                  shavecat @George
                                  last edited by

                                  @george
                                  Forget to reboot ;) haha sorry

                                  
                                  pi@retropie:~ $ uname -a
                                  Linux retropie 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
                                  
                                  

                                  will check tmrw the game again
                                  THANKS !! :))<3

                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    George @shavecat
                                    last edited by

                                    @shavecat Wow, it worked. First time for everything. Haha!

                                    shavecatS 1 Reply Last reply Reply Quote 2
                                    • shavecatS
                                      shavecat @George
                                      last edited by shavecat

                                      @george
                                      Yes it did !
                                      but still the same output So didnt work :
                                      Will still love to see it works on my pi 4.
                                      Saw also Jazz 2 i working with wine , but didnt get that also working on my pi :\

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        George
                                        last edited by

                                        Update on my side. I've been converting my installation scripts from ports to an emulator script module. Everything on that end is going well. Programs can be added to EmulationStation either with a shell script (much like Ports), or a config file, if it's very simple.

                                        There are a couple of caveats:

                                        • Since Wine (and Box86) are "new" emulators, there is no entry for them in the existing themes, so while Wine will show up in Emulation Station, it's very difficult to select a "rom". Entries in all the themes will have to be created by their respective theme maintainers.
                                        • External repositories currently do not have the ability to have their own platforms.cfg file, which means that unless you edit the platforms.cfg file, Wine won't show up in EmulationStation, because there are no file associations. I think there's an easy way to accomplish a fix, but I've created a separate post to get feedback on the idea.

                                        On another note, I found that when I updated my system from Raspbian 5.4.83 to 5.10.17, it somehow broke PCM audio playback for SOME but not all games. Even more interesting is that on the games where PCM audio playback was broken, MIDI playback still worked. I'm still troubleshooting to see what changed that would effect audio. I'll also be testing out a couple of different emulators to see if this effected anything else. Hopefully not, as that would be a very large problem. I've seen another recent post about audio, so I'll be checking that out for some hints.

                                        - George

                                        pyramid_schemeP 1 Reply Last reply Reply Quote 1
                                        • pyramid_schemeP
                                          pyramid_scheme @George
                                          last edited by

                                          thanks @george
                                          I'm just installing box86 now, I'd like to attempt running somme Taito Type X games – should that be possible? Can I use my regular USB joystick without any extra config?

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            George @pyramid_scheme
                                            last edited by

                                            @pyramid_scheme I haven't tried any Taito Type X games, so I can't say for sure. I have read that even on a Windows XP machine there would be some work to do. A safe bet would be to try to install it in Wine on an X86 Linux machine. If you can get it to work there, then just copy the .wine directory over to your Raspberry Pi.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.