Wine on Apple Silicon using Asahi

Questions about Wine on macOS.
Post Reply
barryh19
Newbie
Newbie
Posts: 1
Joined: Thu May 23, 2024 12:33 pm

Wine on Apple Silicon using Asahi

Post by barryh19 »

I have not seen any posts on this yet so here we go.

Yes, this is possible but not perfect. I am new to wine so still have much to learn but I was able to get a couple windows apps running.

To reproduce, I followed the NixOS setup found as a link in the Asahi Linux docs. My understanding is that Wine does not run on arm64, so I added

Code: Select all

boot.binfmt.emulatedSystems = ["x86_64-linux"];
to my configuration.nix and rebuilt.

Then, I used nix-build to build wineWowPackages.waylandFull for system x86_64-linux. Hope this inspires more Apple Silicon users!

Running wine directly from the nix-store where Wow installed works well. A quick test of "wine notepad" is successful. Running putty (64bit) works but putty (32bit) fails with the same kind of error I get when trying to run Acrobat DC:

Code: Select all

002c:err:virtual:virtual_map_section mapping 0x1670000 1000 0 failed
002c:err:wineboot:create_user_shared_data cannot map __wine_user_shared_data
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:wineusb:query_id Unhandled ID query type 0x5.
0084:fixme:wineusb:query_id Unhandled ID query type 0x5.
0084:fixme:wineusb:query_id Unhandled ID query type 0x5.
0108:err:environ:init_peb starting L"Z:\\home\\user\\Documents\\AcroRdrDCx642400220759_en_US.exe" in experimental wow64 mode
0108:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x150000), expect trouble
0108:err:seh:signal_init_process failed to allocate %fs selector
Any thoughts on how to improve my setup?

In order to avoid the need for aliasing, I am going to use the x86_64 nixos package channel in configuration.nix
Gcenx
Level 6
Level 6
Posts: 710
Joined: Mon Dec 25, 2017 12:11 pm

Re: Wine on Apple Silicon using Asahi

Post by Gcenx »

As your not actually running macOS but Asahi Linux you should be asking this in the Linux forum or better yet ask Asahi users/discord/reddit.
Post Reply