10-01-2020, 11:31 AM
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:
In order to run something, I'm using x11docker(available for AUR) with following command:
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.
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.