64b prefix creation not possible

Questions about Wine on Linux
Locked
Batoo
Newbie
Newbie
Posts: 2
Joined: Wed Feb 15, 2023 5:24 pm

64b prefix creation not possible

Post by Batoo »

Hello,

I recently tried to launch an app using wine but could not due to some error message.
I tried to identify the culprit by recreating a new wine prefix in order to check if it was the app causing the issue.
This time, I could not create a 64b prefix for a reason unknown to me.

What I did :

Code: Select all

cd ~
mkdir newdir
WINEARCH=win64 WINEPREFIX="/home/me/newdir/" winecfg
Wine returned :

Code: Select all

wine: created the configuration directory '/home/me/newdir'
wine: WINEARCH set to win64 but '/home/me/newdir' is a 32-bit installation.
OS is

Code: Select all

Linux Mint 21.1
wine64 --version is

Code: Select all

wine-8.1 (Staging)
If I try to create a prefix without specifying the arch, no problem but then a 32b prefix is created ( no "Program Files (x86)" created )

Thanks for your help !
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: 64b prefix creation not possible

Post by jkfloris »

Which Wine packages have you installed?

Code: Select all

dpkg -l | grep wine
This should show only* the following four packages

Code: Select all

winehq-staging
wine-staging
wine-staging-amd64
wine-staging-i386:i386
*) It doesn't matter if winetricks also appears in the list, but packages like wine, libwine and wine32 shouldn't.

Can you create a 64-bit prefix with:

Code: Select all

WINEPREFIX=~/test /opt/wine-staging/bin/wineboot
Batoo
Newbie
Newbie
Posts: 2
Joined: Wed Feb 15, 2023 5:24 pm

Re: 64b prefix creation not possible

Post by Batoo »

Thank you for your help jkfloris, I have almost the same as you :

Code: Select all

ii  wine-staging:i386                          8.1~jammy-1                                i386         WINE Is Not An Emulator - runs MS Windows programs
ii  wine-staging-amd64                         8.1~jammy-1                                amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-staging-i386:i386                     8.1~jammy-1                                i386         WINE Is Not An Emulator - runs MS Windows programs
ii  winehq-staging                             8.1~jammy-1                                amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  winetricks                                 0.0+20210206-2                             all          simple tool to work around common problems in Wine
Only difference being the added :i386 on the first package.

The call to wineboot on ~/test gave me a 32b prefix ( no Program Files (x86) )

Here is the full log, hoping something might be relevant :

Code: Select all

wine: created the configuration directory '/home/user/test'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.1 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:err:vulkan:wine_vk_init Failed to load vulkan library
0048:err:vulkan:wine_vk_init Failed to load vulkan library
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:err:ole:start_rpcss Failed to open RpcSs service
0050:fixme:imm:ImeSetActiveContext (0001002E, 0): stub
0050:fixme:imm:ImmReleaseContext (00010020, 0001002E): stub
002c:fixme:imm:ImeSetActiveContext (0001005C, 1): stub
002c:fixme:imm:ImmReleaseContext (0001005A, 0001005C): stub
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\win32k.sys"
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgkrnl.sys"
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgmms1.sys"
0094:fixme:file:NtLockFile I/O completion on lock not implemented yet
0094:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
009c:fixme:file:NtLockFile I/O completion on lock not implemented yet
009c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00ac:fixme:imm:ImeSetActiveContext (000100A0, 1): stub
00ac:fixme:imm:ImmReleaseContext (00030096, 000100A0): stub
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
011c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
011c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
011c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
011c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: configuration in L"/home/user/test" has been updated.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: 64b prefix creation not possible

Post by jkfloris »

Replace wine-staging:i386 with wine-staging and you should be able to create 64 and 32 bit prefixes.

Code: Select all

sudo apt install wine-staging
Batoo
Newbie
Newbie
Posts: 2
Joined: Wed Feb 15, 2023 5:24 pm

Re: 64b prefix creation not possible

Post by Batoo »

Tank you SO much, I could not see that.. Now 64b prefix is possible again, as you said, have a great day !
( if a modo goes by, I'd like to close this thread as resolved but can't find the button to do so )
Last edited by Batoo on Sat Feb 18, 2023 8:01 am, edited 1 time in total.
Locked