08-30-2020, 04:16 AM
(08-29-2020, 06:23 AM)brzegorz Wrote: My goal was to mess with old Windows games(box86 has a video of Neverwinter Nights running), but then I've managed to loss my progress and I have a thesis to write; ). Next step would be to get X11 running with debian's docker, run something like "box86 wine notepad", and then move on to trying games. It seems like just using Debian would be a more straightforward way, but I don't want to lose AUR with such limited binary package selection.
Configuring box86 with -DARM_DYNAREC=1 can significantly help performance.
Debian stable has a very old version of Mesa so you'll want to use Debian testing (bullseye) or compile it yourself.
To get X11 working in docker, you'll want to bind /tmp/.X11-unix and /dev/dri into the container. Maybe you'll need to set DISPLAY to what it is outside the container. box86+Wine should work with X11, though I found that I needed to run winecfg and enable the virtual desktop to get anything using OpenGL working.
At least with a new enough Mesa and PAN_MESA_DEBUG=gl3, some D3D9 stuff will work through Wine's OpenGL wrapper, and I've been trying to get Gallium Nine working for native D3D9 support in Panfrost.