Running x86 software
#17
I've experimented some more, without great results - I've connected X server, Docker, 32-bit Debian, i386 wine and box86, but I weren't able to run anything exciting. I'm a bit tired now, but here is the Dockerfile:


Code:
FROM arm32v7/debian:bullseye

##### Get i386 vim
RUN dpkg --add-architecture i386
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y dist-upgrade
#RUN apt-get install -y libc:i386
RUN apt install -y git cmake g++ python3 gnupg wget libstb0:i386 \
    libavcodec58:i386 libavutil56:i386 libsdl2-2.0-0:i386 libxxf86vm1 \
    libfaudio0:i386 libxcb-randr0 libwine libgl1 mesa-utils \
    libxinerama1 libxrandr2 libxcomposite1 libxi6 libxfixes3 libxcursor1

##### Get wine
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key
RUN apt-key add winehq.key
RUN echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list.d/wine.list
RUN apt update
RUN apt install -y --install-recommends winehq-stable:i386 wine-stable:i386 \
    wine-stable-i386:i386

##### Get box86
RUN mkdir /home/developer
RUN mkdir /home/developer/Builds
WORKDIR /home/developer/Builds
RUN git clone https://github.com/ptitSeb/box86
WORKDIR /home/developer/Builds/box86
RUN mkdir build
WORKDIR /home/developer/Builds/box86/build
RUN cmake .. -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo && \
    make -j5 install
ENV PAN_MESA_DEBUG=gl3


In order to run something, I'm using x11docker(available for AUR) with following command:
Code:
x11docker --hostdisplay --gpu --pulseaudio --clipboard --hostnet --limit=1 --home=$HOME --workdir=$HOME <image_name> box86 wine explorer /desktop=name,800x600 <absolute_path_to_exe>


The most interesting case is Neverwinter Nights, I think, since it's flashy and it works on other devices/configs. Without PAN_MESA_DEBUG=gl3 it silently exits. With PAN_MESA_DEBUG=gl3 I get a segmentation fault. I'm able to run the launcher and the config utility, but not the actual game. I'm using GOG version extracted with innoextract. The OS is Manjaro.
  Reply


Messages In This Thread
Running x86 software - by GloriousCoffee - 06-11-2020, 08:32 AM
RE: Running x86 software - by Eight Bit - 06-11-2020, 09:25 AM
RE: Running x86 software - by feoh - 08-25-2020, 08:12 AM
RE: Running x86 software - by appelgriebsch - 08-25-2020, 09:28 AM
RE: Running x86 software - by Syonyk - 06-11-2020, 10:27 AM
RE: Running x86 software - by Wizzard - 06-11-2020, 12:26 PM
RE: Running x86 software - by GloriousCoffee - 06-12-2020, 01:25 AM
RE: Running x86 software - by Syonyk - 06-12-2020, 10:42 AM
RE: Running x86 software - by GloriousCoffee - 06-12-2020, 01:32 PM
RE: Running x86 software - by Eight Bit - 06-12-2020, 02:25 PM
RE: Running x86 software - by jiyong - 08-28-2020, 04:41 AM
RE: Running x86 software - by pcx - 02-14-2021, 07:25 PM
RE: Running x86 software - by jiyong - 02-15-2021, 11:43 AM
RE: Running x86 software - by brzegorz - 08-29-2020, 06:23 AM
RE: Running x86 software - by icecream95 - 08-30-2020, 04:16 AM
RE: Running x86 software - by hthiemann - 08-29-2020, 06:43 AM
RE: Running x86 software - by brzegorz - 08-29-2020, 07:20 AM
RE: Running x86 software - by slyecho - 08-30-2020, 06:46 AM
RE: Running x86 software - by brzegorz - 10-01-2020, 11:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error trying to update Manjaro software boosterh 5 2,907 08-31-2022, 10:28 PM
Last Post: shulamy
  Is anyone successfully running guix system on PBP bluekeys 8 8,035 08-29-2022, 01:19 PM
Last Post: bluekeys
  Manjaro and Arch repository with privacy oriented software as400 86 114,480 04-27-2022, 07:44 AM
Last Post: annahellrothsparent
  software request: LuckyBackup mexsudo 2 2,107 11-25-2021, 05:59 AM
Last Post: mexsudo
  Where to find a PDF viewer (and other software) compatible with aarch64? mjc 8 8,939 09-29-2020, 07:55 AM
Last Post: hmuller
  Error when running pinebook-pro-keyboard-updater NoahB 13 15,179 07-29-2020, 06:33 PM
Last Post: guiltydoggy
  Software Compatibility, If on Pi then? chetchinglo 5 6,807 06-06-2020, 07:11 PM
Last Post: chetchinglo
  Arm supported software nabeel 1 2,572 03-18-2020, 08:47 AM
Last Post: tophneal
  Running into problems while installing RStudio from sources FingO 0 1,758 02-01-2020, 07:05 AM
Last Post: FingO

Forum Jump:


Users browsing this thread: 1 Guest(s)