winecfg won't launch

Questions about Wine on Linux
Locked
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

winecfg won't launch

Post by Dukenukemx »

I'm running Ubuntu 20.04 and have winehq-stable installed and when I type the command nothing happens, it just sits there. It was working a week ago, but I have no idea what happened. Winetricks does work though. Are there any logs to see what's happening?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: winecfg won't launch

Post by jkfloris »

Maybe there is an error in the default ~/.wine Wineprefix.
Does the following command work?

Code: Select all

WINEPREFIX=~/wine-test /opt/wine-stable/bin/wine winecfg
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

Re: winecfg won't launch

Post by Dukenukemx »

jkfloris wrote: Thu Dec 17, 2020 10:11 am Maybe there is an error in the default ~/.wine Wineprefix.
Does the following command work?

Code: Select all

WINEPREFIX=~/wine-test /opt/wine-stable/bin/wine winecfg
Yes it does. Now if I just type winecfg alone it just works. So that means it's fixed or this breaks when I reboot?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: winecfg won't launch

Post by jkfloris »

Interesting...
The command creates a new Wineprefix (a fake Windows) in the wine-test directory.
Just to make sure your Wine installation is alright.
Now you say only running winecfg works. This is a "shortcut" of: WINEPREFIX=~/.wine wine winecfg

So we can conclude: your Wine installation and your Wineprefix are OK.

If the winecfg command doesn't work after a restart post the output of:

Code: Select all

dpkg -l | grep wine
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

Re: winecfg won't launch

Post by Dukenukemx »

Everything works now. Kinda strange it didn't. Thanks btw.
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

Re: winecfg won't launch

Post by Dukenukemx »

This happened to another PC I have and that command isn't doing anything. Not sure what's going on here. It just stays there doing nothing.

Code: Select all

WINEPREFIX=~/wine-test /opt/wine-stable/bin/wine winecfg
001b:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
001b:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:dwmapi:DwmIsCompositionEnabled 0000000006C20434
001d:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x2b5306d, context 0x544160, init_notify 0, handle 0x7a1fa00): stub
0010:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
003d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
003d:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
003d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
003d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
003b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
003b:fixme:dwmapi:DwmIsCompositionEnabled 06F3DD14
003f:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x36bf537, context 0x2a3900, init_notify 0, handle 0x7d4fce8): stub
003b:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
wine: configuration in L"/home/demetrius/wine-test" has been updated.
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

Re: winecfg won't launch

Post by Dukenukemx »

Here's the output of that command you wanted. Different PC this time.

Code: Select all

dpkg -l | grep wine
ii  fonts-wine                                 5.0-3ubuntu1                                     all          Windows API implementation - fonts
ii  libwine-development:amd64                  5.5-3ubuntu1                                     amd64        Windows API implementation - library
ii  wine-stable                                5.0.3~focal                                      amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-amd64                          5.0.3~focal                                      amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386                      5.0.3~focal                                      i386         WINE Is Not An Emulator - runs MS Windows programs
rc  wine-staging                               6.0~rc3~focal                                    amd64        WINE Is Not An Emulator - runs MS Windows programs
rc  wine-staging-amd64                         6.0~rc3~focal                                    amd64        WINE Is Not An Emulator - runs MS Windows programs
rc  wine-staging-i386:i386                     6.0~rc3~focal                                    i386         WINE Is Not An Emulator - runs MS Windows programs
ii  winehq-stable                              5.0.3~focal                                      amd64        WINE Is Not An Emulator - runs MS Windows programs
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

Re: winecfg won't launch

Post by Dukenukemx »

Ok it works on this machine, but it's weird. So apparently I either need a newer kernel or it doesn't like AMDGPU driver on GCN 1.0 hardware. I can't use kernels 5.9 or newer but I can remove this line from grub GRUB_CMDLINE_LINUX=" radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1" and boot using 5.9 kernel and Wine works once again. I can't even.
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

Re: winecfg won't launch

Post by Dukenukemx »

Ok it stopped working again. Something is seriously wrong here with Wine. I have three Linux Mint 20 machines, all using various different hardware, but they all eventually can't run Wine. They are all running Wine-Staging from the official PPA. If I play around long enough, like switch kernels or uninstall or reinstall Wine then maybe it'll work, but then it just stops working again. This is what I get out of Wine in Terminal.

002c:fixme:winediag:LdrInitializeThunk wine-staging 6.0-rc3 is a testing version containing experimental patches.

002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.

002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0040:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0040:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

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

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

0050:err:ole:start_rpcss Failed to open RpcSs service

0040:fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"Brother-MFC-J4410DW" fails

0040:fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"Brother_MFC-J4410DW_Printer_(Copy_1)_via_VNC_from_RYZEN1700" fails

0040:fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"Brother_MFC_J4410DW" fails

0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0064:fixme:file:NtLockFile I/O completion on lock not implemented yet

0064:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

0064:err:mscoree:LoadLibraryShim error reading registry key for installroot

0064:err:mscoree:LoadLibraryShim error reading registry key for installroot

0064:err:mscoree:LoadLibraryShim error reading registry key for installroot

0064:err:mscoree:LoadLibraryShim error reading registry key for installroot

006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

006c:fixme:file:NtLockFile I/O completion on lock not implemented yet

006c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

006c:err:mscoree:LoadLibraryShim error reading registry key for installroot

006c:err:mscoree:LoadLibraryShim error reading registry key for installroot

006c:err:mscoree:LoadLibraryShim error reading registry key for installroot

006c:err:mscoree:LoadLibraryShim error reading registry key for installroot

0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

006c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)

006c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)

0064:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)

0064:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)

0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0084:fixme:file:NtLockFile I/O completion on lock not implemented yet

0084:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

0084:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)

0084:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)

008c:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x1803191e0, context 0xa96fe0, init_notify 0, handle 0x4b8fa60): stub

0040:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0124:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0124:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

011c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

011c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

012c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

012c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

012c:fixme:file:NtLockFile I/O completion on lock not implemented yet

012c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

012c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)

012c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)

0134:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x102b9460, context 0x308910, init_notify 0, handle 0x402fde0): stub

0124:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

01a0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

01a0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

01b8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

01b8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

wine: configuration in L"/home/demetrius/.wine" has been updated.

0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

01dc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

01dc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

01e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

01e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Dukenukemx
Level 2
Level 2
Posts: 14
Joined: Mon Oct 11, 2010 2:09 am

Re: winecfg won't launch

Post by Dukenukemx »

Ok, this time I'm certain I know what the problem is and have it fixed. The issue is that when I update or install wine-staging from the wine repository, for some reason it also installs wine from the Ubuntu repository. So I had Wine 6.0 and 5.0 installed at the same time, in two different locations. I had to remove Wine 5.0 and reboot the PC and now everything works fine.
Locked