Wine "pausing" applications ?!

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Nihilist
Level 2
Level 2
Posts: 10
Joined: Wed Nov 02, 2011 7:37 pm

Wine "pausing" applications ?!

Post by Nihilist »

Hello,

first of all, thanks for that great program! It made me change from Windows to Linux on
my main pc :)

But since several days I experience a strange behave: The emulated application (all!) pause
for some seconds, and then go on like nothing was wrong. This pausing happens occasionally,
without any acting by me.

I run mIRC, Steam and Diablo II at the same time mostly, and tried to exclude one of those,
but it brought me to the same behaviour. It happens just a few seconds after the launch
of one of those 3 Windows applications.

OS is Debian Wheezy, Kernel 3.0 - 8GB RAM, Dualcore CPU, GFX is Nvidia 450 GTS,
about 70% free HD space.... and really no idea. It didnt happen the weeks before. Ah
yes, I use the latest wine packages.

Any idea where to look for the pausing problem?


Thanks in advance!
Davvvve
Level 4
Level 4
Posts: 181
Joined: Mon Apr 27, 2009 2:37 pm

http://appdb.winehq.org/objectManager.php?sClass=version&

Post by Davvvve »

Nihilist
Level 2
Level 2
Posts: 10
Joined: Wed Nov 02, 2011 7:37 pm

Post by Nihilist »

Hello,

this doesnt sound like a solution for me; the problem happens on ANY wine application
running. It doesnt mind which one, or how much, bc all are freezing then at the same time.

I also tried re-installing it, but didnt help getting rid of those "lags". Theres no error message
or anything like that. So I'm pretty clueless whats causing the behavior.

Any suggestions where to check?

Regards!
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine "pausing" applications ?!

Post by jjmckenzie »

On Thu, Nov 3, 2011 at 11:34 AM, Nihilist <[email protected]> wrote:
Hello,

this doesnt sound like a solution for me; the problem happens on ANY wine application
running. It doesnt mind which one, or how much, bc all are freezing then at the same time.

I also tried re-installing it, but didnt help getting rid of those "lags". Theres no error message
or anything like that. So I'm pretty clueless whats causing the behavior.

Any suggestions where to check?
Have you ran these applications from terminal using the instructions
at http://wiki.winehq.org/FAQ#run_from_terminal and seen if there was
a point where Wine generated many 'fixme' or 'error' messages?

The following may or may not help if this is so:

Code: Select all

export WINEDEBUG=-all
Then try running the program or programs from terminal.

James
Nihilist
Level 2
Level 2
Posts: 10
Joined: Wed Nov 02, 2011 7:37 pm

Post by Nihilist »

Hello James,

your post was most useful! When I tried to run Diablo II executable from shell, it reports
as following:

~/.wine/drive_c/Programme/Diablo II$ wine game.exe -window
fixme:advapi:GetCurrentHwProfileA (0x33fba8) semi-stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:RegisterDeviceNotificationA (hwnd=0x134a58, filter=0xf7e9b4,flags=0x00000001) returns a fake device notification handle!
fixme:advapi:SetSecurityInfo stub
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels

While playing I had the system monitor open next to the game window: When it freezes,
the "wineserver.exe" consumes 100% CPU (is it normal that it uses around 250 MiB ?)

The same happens when running mIRC.exe:

~/.wine/drive_c/Programme/mIRC$ wine mirc.exe
fixme:advapi:GetCurrentHwProfileA (0x33fba8) semi-stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:RegisterDeviceNotificationA (hwnd=0x134a28, filter=0xf7e9b4,flags=0x00000001) returns a fake device notification handle!
err:ole:CoGetClassObject class {d45fd2fc-5c6e-11d1-9ec1-00c04fd7081f} not registered
err:ole:create_server class {d45fd2fc-5c6e-11d1-9ec1-00c04fd7081f} not registered
err:ole:CoGetClassObject no class object {d45fd2fc-5c6e-11d1-9ec1-00c04fd7081f} could be created for context 0x5
fixme:winsock:WSACancelAsyncRequest (0xdeaf),stub
fixme:winsock:WSACancelAsyncRequest (0xdeaf),stub
fixme:winsock:WSACancelAsyncRequest (0xdeb1),stub
fixme:winsock:WSACancelAsyncRequest (0xdeb1),stub
fixme:winsock:WSACancelAsyncRequest (0xdeb2),stub
fixme:winsock:WSACancelAsyncRequest (0xdeb2),stub
fixme:richedit:ME_HandleMessage EM_FMTLINES: stub
fixme:richedit:ME_HandleMessage EM_FMTLINES: stub

For Steam.exe:

~/.wine/drive_c/Programme/Steam$ wine Steam.exe
fixme:advapi:GetCurrentHwProfileA (0x33fba8) semi-stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:RegisterDeviceNotificationA (hwnd=0x134a58, filter=0xf7e9b4,flags=0x00000001) returns a fake device notification handle!
fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub.
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path.
err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind package of your distribution.
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
err:ole:CoGetClassObject class {77f10cf0-3db5-4966-b520-b7c54fd35ed6} not registered
err:ole:CoGetClassObject no class object {77f10cf0-3db5-4966-b520-b7c54fd35ed6} could be created for context 0x1
fixme:wbemprox:wbem_locator_ConnectServer 0x1d14b0, L"ROOT\\CIMV2", (null), (null), (null), 0x00000080, (null), (nil), 0x4b5c638)
err:ole:CoGetClassObject class {dff32fea-3331-48da-a272-ccfc238695be} not registered
err:ole:CoGetClassObject class {dff32fea-3331-48da-a272-ccfc238695be} not registered
err:ole:create_server class {dff32fea-3331-48da-a272-ccfc238695be} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {dff32fea-3331-48da-a272-ccfc238695be} could be created for context 0x17
Assert( Assertion Failed: Steam2Caches().UpdateCaches failed to update cache 45770 ):e:\buildslave\steam_rel_client_win32\build\src\steamui\SteamCache.cpp:393

fixme:dbghelp:elf_search_auxv can't find symbol in module
fixme:winhttp:WinHttpGetIEProxyConfigForCurrentUser returning no proxy used
fixme:win:RegisterDeviceNotificationA (hwnd=0x100c8, filter=0x32d5b4,flags=0x00000004) returns a fake device notification handle!
fixme:win:EnumDisplayDevicesW ((null),0,0x32cff8,0x00000000), stub!
fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=3): stub
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=1): stub
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=0): stub
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=2): stub

So, this is whats happening in the terminal....

As I'm not the nr. 1 programmer / developer, I dont know how to get rid of those
(surely) not-useful messages ;)

Regards!
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine "pausing" applications ?!

Post by jjmckenzie »

On Thu, Nov 3, 2011 at 12:35 PM, Nihilist <[email protected]> wrote:
Hello James,

your post was most useful! When I tried to run Diablo II executable from shell, it reports
as following:

~/.wine/drive_c/Programme/Diablo II$ wine game.exe -window
fixme:advapi:GetCurrentHwProfileA (0x33fba8) semi-stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:RegisterDeviceNotificationA (hwnd=0x134a58, filter=0xf7e9b4,flags=0x00000001) returns a fake device notification handle!
fixme:advapi:SetSecurityInfo stub
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels

While playing I had the system monitor open next to the game window: When it freezes,
the "wineserver.exe" consumes 100% CPU (is it normal that it uses around 250 MiB ?)
Yes, wineserver does use that amount of space.

Did you try what I suggested in my last message to see if that helps
eliminate/minimize the 'pauses'?

James
Nihilist
Level 2
Level 2
Posts: 10
Joined: Wed Nov 02, 2011 7:37 pm

Post by Nihilist »

I think I forgot to say, that ALL applications themselves run without any problems, as if they
were run in real Windows. There are no crashes or failures within them. Its really just the
total slowdown of wineserver.exe that pauses them it seems.

Thanks for your help!

Regards!
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine "pausing" applications ?!

Post by jjmckenzie »

On Thu, Nov 3, 2011 at 1:08 PM, Nihilist <[email protected]> wrote:
I think I forgot to say, that ALL applications themselves run without any problems, as if they
were run in real Windows. There are no crashes or failures within them. Its really just the
total slowdown of wineserver.exe that pauses them it seems.
You did state that ALL applications are affected though. I would like
to eliminate the possibility that wineserver is 'stuck' processing
messages by running it with all debugging turned off (thuse the
WINEDEBUG=-all). If this continues to happen, there is something else
that is causing the problem.

James
Nihilist
Level 2
Level 2
Posts: 10
Joined: Wed Nov 02, 2011 7:37 pm

Post by Nihilist »

Hello,

I was just trying around when I wondered about a 480MB user.reg - for just 3 or 4 programs
that I use regularly?! So, I deleted it, and no more hanging around.

I tried the debugging option, but only the fixme messages were visible. After removing
the user.reg it works fine now, same constellation as in my first post, but no more freezing
it.

Its really only Steam (with its games), mIRC.exe and Diablo II that I run with wine. I have
absolutely no idea how a 480MB user.reg can build up...

Still, the

fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels

message appears again, as always...

Regards!
Nihilist
Level 2
Level 2
Posts: 10
Joined: Wed Nov 02, 2011 7:37 pm

Post by Nihilist »

Thanks to all helpers! I think I finally worked it out with the big user.reg file that caused
my wine to pause.

So, theres only the sound issue left - does this need any special attention, as my programs
work?!

Regards!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Nihilist wrote: So, theres only the sound issue left - does this need any special attention, as my programs work?!
What sound issue? Do you mean the alsa fixme? If sound works, don't worry about it.
Locked