You are not logged in.

#1 2021-07-30 06:06:48

Agathos
Member
Registered: 2019-07-23
Posts: 16

Wine prefix creating hangs

Hey guys,

I noticed when trying to create a prefix to install a game with wine, the popup saying that it is being configured hangs indefinetely. I investigated the issue and after trying:

  • Different kernel versions, including lts (same result)

  • Different wine versions, like normal wine, wine-stagging, wine-tkg, wine 6.10 (same result

  • Proton (worked fine)

  • Wayland and Xorg (same result)

I figured it doesnt have anything to do with any of those things. Different kernels and wine versions all worked the same way, and proton worked normally and unaffected. Lutris wine though seems to be affected, as the same problem happens.

The proccess that hangs is the wineboot. To give you an idea of what is happening, I executed the following command and got the following output

export WINEPREFIX=/tmp/chaotic-lover
mkdir -p "$WINEPREFIX"
winecfg
-----------------------------------------------------------
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.10 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
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
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: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
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)
wine: could not load kernel32.dll, status c0000135

I can post a full debugging log, but that takes up to 1.3 gb, while compressed with gzip it goes to around 63mb, but I cant put it here directly.

I have no idea of where to go next, if someone could help me, I'd be really glad.

Thx!

EDIT: Creating a 32-bit wine prefix works, but not 64-bits for some reason. Tested using this command:

export WINEARCH=win32
export WINEPREFIX=/tmp/chaotic-lover
mkdir -p "$WINEPREFIX"
winetricks vd=1920x1080
------------------------------------------------
Using winetricks 20210206 - sha256sum: fca9fc58fa48951cecf67b8d42aa6b947f90307a08415d9403d2b8913e03a1d7 with wine-6.13 (Staging) and WINEARCH=win32
Executing wine regedit C:\windows\Temp/vd.reg

EDIT: Somehow the problem fixed itself, I figure it was a problem with the video driver, I dont know really.

EDIT: It came back, I have no idea of whats happening.

Last edited by Agathos (2021-08-02 11:09:22)

Offline

#2 2021-07-31 20:00:30

essence-of-foo
Member
Registered: 2008-07-12
Posts: 80

Re: Wine prefix creating hangs

I have the same problem. What makes you think it is an issue with the video driver? (I have an Intel HD 4000 video card). If I create a win32 environment, it also works for me.

Last edited by essence-of-foo (2021-07-31 20:07:10)

Offline

#3 2021-07-31 23:37:25

Skunky
Member
Registered: 2018-01-25
Posts: 218

Re: Wine prefix creating hangs

I can confirm it happens on amdgpu aswell, could you please tell why do you think there was a problem with the video driver?

FWIW here is my output when i run

$winecfg

(with a clean user)

wine: created the configuration directory '/home/test/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly LMicrosoft.Windows.Common-Controls (6.0.0.0)
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly LMicrosoft.Windows.Common-Controls (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly LMicrosoft.Windows.Common-Controls (6.0.0.0)
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
0040:fixme:file:NtLockFile I/O completion on lock not implemented yet
0040:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
0040:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0040:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)

Last edited by Skunky (2021-07-31 23:40:33)

Offline

#4 2021-08-02 11:08:49

Agathos
Member
Registered: 2019-07-23
Posts: 16

Re: Wine prefix creating hangs

Oh, thx for the responses!

Actually the problem came back, I have no idea of whats happening.

Skunky, my output is very similar, does it work with this output?
I was thinking it is the video driver because I thought the windows as not being able to be rendered for some reason, but wine was trying to work, but didnt finish the prefix creation because of that, dunno.

I'll remove the SOLVED tag, and continue to troubleshoot.

Offline

#5 2021-08-02 22:30:53

Melon Bread
Member
Registered: 2013-01-27
Posts: 3

Re: Wine prefix creating hangs

I am on Nvidia as well and have been fighting this for the last 2 days. I have a ThinkPad T480 with intel grpahics and can make 64-bit prefixes all day. Even when I make a prefix on the ThinkPad and bring them over to my desktop I am met with the same issues (no matter the wine versions that are mentioned in the first post).

Though oddly enough throughout all of this I was able to install and run Magic The Gathering Arena via lutris which uses "lutris-mtga-5.0-x86_64" but I think that was just a case of wine "just working" for a little bit.

Also as everyone else has said Proton works just fine with no issues.

Offline

#6 2021-08-02 22:52:17

Agathos
Member
Registered: 2019-07-23
Posts: 16

Re: Wine prefix creating hangs

I use amdgpu though. Wine 6.14 seems to have resolved the issued, might have been some dependency, but I'll not mark the post as solved unless this fixes for at least a week. I'll keep u updated.

Offline

#7 2021-08-03 17:33:34

essence-of-foo
Member
Registered: 2008-07-12
Posts: 80

Re: Wine prefix creating hangs

I'm on Wine 6.14-1 and the problem still exists (Thinkpad T530, Intel HD 4000 graphics).

I have the suspicion that updates trigger something that mysteriously fixes things.

Offline

#8 2021-08-03 18:55:49

Agathos
Member
Registered: 2019-07-23
Posts: 16

Re: Wine prefix creating hangs

The problem came right back, seems like this is a bug, but since I have no idea of how to reproduce it, reporting becomes hard. Not only that, we don't really know the culprit, making reporting to the right venue harder.

Offline

#9 2021-08-03 19:08:45

essence-of-foo
Member
Registered: 2008-07-12
Posts: 80

Re: Wine prefix creating hangs

To quote myself:

I have the suspicion that updates trigger something that mysteriously fixes things.

So, I put my hypothesis to the test:

$ sudo pacman -S wine
[sudo] Password for essence:
warning: wine-6.14-1 is up to date -- reinstalling
[...]
$ export WINEPREFIX=/tmp/chaotic-lover
$ mkdir -p $WINEPREFIX
$ wineboot

And it works! Tried it again with another prefix and it works!
(And yes, it did not work just before I ran the above code).

Last edited by essence-of-foo (2021-08-03 19:09:18)

Offline

#10 2021-08-03 20:57:57

Agathos
Member
Registered: 2019-07-23
Posts: 16

Re: Wine prefix creating hangs

hm, I did the same test and the results showed otherwise. Updating didnt do a thing here. I wonder what's happening.

Offline

#11 2021-08-03 22:32:01

Melon Bread
Member
Registered: 2013-01-27
Posts: 3

Re: Wine prefix creating hangs

It seems random if anything works with wine 6.14 in terms of the hangs. The issues still happens with wine, wine-staging, wine-ge, & wine-tkg all version >= 6.14. Though anything version 6.13 <= still hangs

Offline

#12 2021-08-04 03:26:21

weirdcaveman
Member
Registered: 2014-01-19
Posts: 1

Re: Wine prefix creating hangs

It seems there is an issue with winegstreamer. Disabling it with WINEDLLOVERRIDES worked for me.

Found it over here: https://bugzilla.redhat.com/show_bug.cgi?id=1956242#c7

Offline

#13 2021-08-04 03:51:13

Agathos
Member
Registered: 2019-07-23
Posts: 16

Re: Wine prefix creating hangs

Tried that right now and it didn't work unfortunately.

Offline

#14 2021-08-04 09:49:42

Skunky
Member
Registered: 2018-01-25
Posts: 218

Re: Wine prefix creating hangs

Agathos wrote:

Oh, thx for the responses!

Actually the problem came back, I have no idea of whats happening.

Skunky, my output is very similar, does it work with this output?
I was thinking it is the video driver because I thought the windows as not being able to be rendered for some reason, but wine was trying to work, but didnt finish the prefix creation because of that, dunno.

I'll remove the SOLVED tag, and continue to troubleshoot.

Nope it doesn,t work with that output.

Downloading an older versione of wine like (wine-4.9-1-x86_64.pkg.tar.xz) seems to work, could anyone else try and confirm?

Offline

#15 2021-08-14 13:59:17

jan_Lentan
Member
Registered: 2021-07-15
Posts: 2

Re: Wine prefix creating hangs

Running wine with

WINEDLLOVERRIDES="winegstreamer=" winecfg

helped fix the issue for me, but clearly it's not a universal solution.

Offline

#16 2021-09-18 17:49:00

yossef
Member
Registered: 2020-12-10
Posts: 2

Re: Wine prefix creating hangs

For me uninstalling the gst-editing-services package fixed it, it was really annoying.

Thanks to TKG for pointing it out: https://github.com/Frogging-Family/wine … issues/396

Offline

#17 2021-10-03 19:02:04

tzcrawford
Member
Registered: 2019-03-31
Posts: 2

Re: Wine prefix creating hangs

yossef wrote:

For me uninstalling the gst-editing-services package fixed it, it was really annoying.

Thanks to TKG for pointing it out: https://github.com/Frogging-Family/wine … issues/396


Both

WINEDLLOVERRIDES="winegstreamer=" winecfg

and uninstalling this package worked for me!

Last edited by tzcrawford (2021-10-03 19:03:03)

Offline

Board footer

Powered by FluxBB