Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wine update to 8.11, new app Wine (x64), add ARM64 suport to Notepad++ #2341

Merged
merged 15 commits into from
Jun 25, 2023

Conversation

theofficialgman
Copy link
Collaborator

@theofficialgman theofficialgman commented May 30, 2023

closes #807
works towards #2160

built on ubuntu bionic 18.04 x86_64 with options --enable-archs=i386,x86_64 to enable the new WoW64 mode (runs x86 32bit windows binaries with only x86_64 Linux userspace). WOW64 is currently non-functional in box64 ptitSeb/box64#465 so only x64 applications (not x86) are expected to work.

extraneous features of the x86 wine install script were removed for testing of a minimal install. they can be added back (with the proper versioning) once deemed stable

@theofficialgman theofficialgman marked this pull request as ready for review June 10, 2023 20:49
apps/Notepad ++/install Outdated Show resolved Hide resolved
@Botspot
Copy link
Owner

Botspot commented Jun 11, 2023

If this window appears during wine installation, it means that you did not place Mono in the correct system-wide location.
image
This dialog will not appear if you have a wine prefix with mono already in it.
This issue on winetricks repo should help provide context here. Winetricks/winetricks#1236

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented Jun 11, 2023

If this window appears during wine installation, it means that you did not place Mono in the correct system-wide location. image This dialog will not appear if you have a wine prefix with mono already in it. This issue on winetricks repo should help provide context here. Winetricks/winetricks#1236

yup I am already aware and still debugging it. according to wine documentation (https://wiki.winehq.org/Mono) it has been placed correctly and I have tried all permutations of what are listed in the documentation. this makes me think that systemwide mono is broken in recent wine versions

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented Jun 11, 2023

ah nevermind, /opt/wine-8.10/share/wine/mono works.... no clue why /opt/wine-8.10/mono is not working. according to docs it should.

0098:err:environ:init_peb starting L"Z:\\opt\\wine-8.10\\share\\wine\\mono\\wine-mono-8.0.0\\support\\removeuserinstalls-x86.exe" in experimental wow64 mode
0090:err:msi:execute_command unable to execute command 1359
00a0:err:environ:init_peb starting L"Z:\\opt\\wine-8.10\\share\\wine\\mono\\wine-mono-8.0.0\\support\\installinf-x86.exe" in experimental wow64 mode

working correctly now 3966495

@theofficialgman theofficialgman force-pushed the wine-64 branch 3 times, most recently from 04eaf13 to bbfb879 Compare June 15, 2023 22:04
@theofficialgman
Copy link
Collaborator Author

also blocked by https://bugs.winehq.org/show_bug.cgi?id=55070
This issue can happen on both x86 and x64 Wine but is hard to diagnose because not all OS/architecture/kernel combinations have the issue.

My Nintendo Switch on Ubuntu Bionic arm64 on kernel 4.9 has the issue but my Jetson Orin on Ubuntu Focal arm64 on kernel 5.10 does not have the issue.

My pi3 on Debian Bullseye armhf on kernel 6.1 has the issue.

@theofficialgman theofficialgman marked this pull request as draft June 15, 2023 22:49
@theofficialgman theofficialgman force-pushed the wine-64 branch 3 times, most recently from 2aa28e0 to 3f46e52 Compare June 23, 2023 23:11
@theofficialgman theofficialgman changed the title Wine (x64) and Notepad++ 64bit Wine update to 8.10, new app Wine (x64), add ARM64 suport to Notepad++ Jun 23, 2023
@theofficialgman theofficialgman changed the title Wine update to 8.10, new app Wine (x64), add ARM64 suport to Notepad++ Wine update to 8.11, new app Wine (x64), add ARM64 suport to Notepad++ Jun 23, 2023
@theofficialgman
Copy link
Collaborator Author

theofficialgman commented Jun 24, 2023

see https://bugs.winehq.org/show_bug.cgi?id=55070 for a patch which I have now applied to the Wine-8.11 builds to fix the blocking isssue.

built on ubuntu bionic 18.04 with options `--enable-archs=i386,x86_64` to enable the new WoW64 mode.
change mono/gecko directories

use `/opt/wine-${version}/share/wine/mono` and `/opt/wine-${version}/share/wine/gecko` since the previous directories used in wine 5 are not working
also move from the users $HOME folder to the ~/.local/share/applications folder
the user program directory is used so that plugins can be more easily installed
correct mono and gekco install to follow documentation https://wiki.winehq.org/Mono https://wiki.winehq.org/Gecko

use `/opt/wine-${version}/share/wine/mono` and `/opt/wine-${version}/share/wine/gecko` since the previous directories are not working
only check for VMSPLIT if the kernel is not 64bit (x86_64 for CI and aarch64 for intended pi-apps users)

SOC_ID as returned from the device tree must match bcm2836/bcm2837 to allow building the kernel using the written scripts
binary builds are mesa 22.1.0 from the dev branch. Do not use them if the version installed from apt is greater than or equal to this version (like on debian bookworm+ and ubuntu jammy+)
@theofficialgman theofficialgman marked this pull request as ready for review June 24, 2023 15:25
@theofficialgman
Copy link
Collaborator Author

winetricks is broken on wow64. currently working on fixing upstream winetricks

wine has builtin support for every version of DX and wine support and performance is often better and more bug free than using these dlls. remove them for a better out of the box experience and align with WineHQ https://wiki.winehq.org/FAQ

also remove dotnet20 as it hangs on installation

dotnet20 installs on an x86_64 PC with WOW64 so this is likely a box64 issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wine64
2 participants