You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, officially in the "arch/arm/configs/bcm2709_defconfig" file, "CONFIG_VMSPLIT_2G=y" could be changed to "CONFIG_VMSPLIT_3G_OPT=y", so those who need to run applications in WINE and the like will have native support without requiring them to rebuild/recompile the kernel or specific knowledge.
Currently with CONFIG_VMSPLIT_2G=y, when trying to use WINE it shows the following error:
Warning: memory above 0x80000000 doesn't seem to be accessible.
Wine requires a 3G/1G user/kernel memory split to work properly.
wine: failed to map the shared user data: c0000018
The old CONFIG_VMSPLIT_3G=y option provided less lowmem, less than 800 MB on the RPi2/RPi3, whereas the CONFIG_VMSPLIT_3G_OPT=y covers more than 920 MB of lowmem.
CONFIG_VMSPLIT_3G_OPT=y Via menuconfig: "Kernel Features" > "Memory split" > "3G/1G user/kernel split (for full 1G low memory)".
I did amateur testing and in my use there were no side effects, please experts could check and if there are no side effects could put such an option in the kernel stable.
A change like this has the potential to break lots of things in subtle (or not-so-subtle) ways that only affect a few users. It's something we could trial on one of the bleeding edge kernels - rpi-6.1.y, for example - but it sounds like a lot of effort (by the time all the testing has completed).
A change like this has the potential to break lots of things in subtle (or not-so-subtle) ways that only affect a few users. It's something we could trial on one of the bleeding edge kernels - rpi-6.1.y, for example - but it sounds like a lot of effort (by the time all the testing has completed).
Hello @pelwell, your comments are interesting! The kernel7l.img for RPi4 has CONFIG_VMSPLIT_3G enabled and this is great, missing for RPi2/RPi3; for RPi2/RPi3 using CONFIG_VMSPLIT_3G doesn't look so good but CONFIG_VMSPLIT_3G_OPT seems to be a good choice, made for devices with up to 1 GB of memory; only when this is put to the test to be confirmed or not.
Describe the bug
Hello!
If possible, officially in the "arch/arm/configs/bcm2709_defconfig" file, "CONFIG_VMSPLIT_2G=y" could be changed to "CONFIG_VMSPLIT_3G_OPT=y", so those who need to run applications in WINE and the like will have native support without requiring them to rebuild/recompile the kernel or specific knowledge.
Currently with CONFIG_VMSPLIT_2G=y, when trying to use WINE it shows the following error:
The old CONFIG_VMSPLIT_3G=y option provided less lowmem, less than 800 MB on the RPi2/RPi3, whereas the CONFIG_VMSPLIT_3G_OPT=y covers more than 920 MB of lowmem.
CONFIG_VMSPLIT_3G_OPT=y Via menuconfig: "Kernel Features" > "Memory split" > "3G/1G user/kernel split (for full 1G low memory)".
I did amateur testing and in my use there were no side effects, please experts could check and if there are no side effects could put such an option in the kernel stable.
Note: CONFIG_VMSPLIT_3G_OPT is available since Kernel 4.4-rc1:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/rawdiff/?id=v4.4-rc1&id2=v4.3
Steps to reproduce the behaviour
In lxterminal:
Device (s)
Raspberry Pi 2 Mod. B, Raspberry Pi 3 Mod. B
System
cat /etc/rpi-issue
vcgencmd version
uname -a
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: