Boxedwine icon indicating copy to clipboard operation
Boxedwine copied to clipboard

Unable to run with Wine 9 filesystem in Xephyr from chroot due to memory exhaustion

Open narinishi opened this issue 11 months ago • 2 comments

Note, Wine 6 works fine.

Initial commands Xephyr -br -ac -noreset -screen 800x600 :1 & sudo mount --bind /dev/pts ~/chrootenv/dev/pts sudo mount --bind /proc ~/chrootenv/proc sudo chroot ~/chrootenv

Now inside chroot export DISPLAY=:1 mwm & (launch a simple window manager) ./boxedwine -root "root" -zip "TinyCore15Wine9.0.zip" /bin/wine notepad

Image

narinishi avatar Jan 30 '25 17:01 narinishi

@narinishi Does your chroot have a memory limit? I'm not that familiar with chroot. The faster binary translator cpu cores for x64 and Armv8 use too much memory. They use around 2GB for even the simplest apps. The slower normal cpu cores will use about 400-500MB.

danoon2 avatar Jan 31 '25 20:01 danoon2

No, I haven't imposed any resource limits upon my chroot. The host system is configured with 6GB of RAM.

The initialization of the Wine prefix (i.e. "The Wine configuration [...] is being updated" seems to be particularly memory intensive, and is unable to complete.

narinishi avatar Feb 01 '25 03:02 narinishi