When WineServer uses "-p" (stay pesistent) then Logout Hangs. Why?

Questions about Wine on Linux
Locked
supra
Newbie
Newbie
Posts: 1
Joined: Fri Jun 10, 2022 11:19 pm

When WineServer uses "-p" (stay pesistent) then Logout Hangs. Why?

Post by supra »

Ubuntu 20.04, gnome wayland
Wine 5.0

1. Installed Irfanview (image viewer) -- only runs through wine
2. Winserver running persistent on login: wineserver64 -p
3. When i display an image in irfanview wine starts the following windows dependencies and keeps them in ram even when irfanview closes:
C:\windows\system32\winedevice.exe
C:\windows\system32\services.exe
C:\windows\system32\plugplay.exe
4. When i logout the it takes 1+ minutes instead of less than 1 second.

My guess is when Ubuntu sends the signal to all processes to close the request to the wine started (windows) processes ie. "winedevice.exe, services.exe, plugplay.exe" are not responding and so a ubuntu timeout is triggered and the system auto closes them.

Is there something i can do to stop this hanging?

When i dont run irfanview then i can logout just fine. So the hanging is directly related to irfanview's depdencies staying in ram after irfanview was launched.

I also know if i dont have wineserver running persistently this does not occur. So the problem related to the server running persistently which allows irfanview's required window's files to stay in ram.
Locked