Wine + WorldOfWarcraft = videolag every 12 seconds [SOLVED]

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Faxanadu
Newbie
Newbie
Posts: 2
Joined: Fri Jun 20, 2008 10:20 pm

Wine + WorldOfWarcraft = videolag every 12 seconds [SOLVED]

Post by Faxanadu »

Ok my problem like the title says is, I have video lag every 11~13 seconds during 1 seconds, this happens in OpenGl or D3d mode, it isn't a sound, problem even with the sound deactivated the problem persist, I have tested in the following configurations:

1-
Hardware: AMD Athlon 64 X2 4800+, 2 Gb RAM Corsair, Geforce 8800 GT, Sata 2 Hard disk.
SO: Archlinux kernel 2.6.25, Nvidia driver 173.14.05.

2-
Hardware: AMD Athlon 64 4200+, 1 Gb RAM, Geforce 6800 GT, Ide Hard disk
SO: Mint Linux kernel 2.6.25, Nvidia driver 173.14.05.

The desktop manager and window manager I tested are: Enlightenment17, Fluxbox, Xfce, KDE, in both systems

Also I have test with others kernels and nvidia drivers versions, but with the same result, like I said, everything else is ok, the video render is fast, fast game load, good sound, but every 12 seconds I have 1 video lag seconds, like a clock.

Long time ago, I didn't have this problem with a previous version of win, I thing the 0.56 brought this problem, but not sure.

I have tried every suggestion from pages like https://help.ubuntu.com/community/WorldofWarcraft, http://gentoo-wiki.com/HOWTO_Install_an ... _with_wine, http://www.wowwiki.com/Linux/Wine, etc, but without success.


Now a detailed program behavior:

when it enters at the login screen, everything is ok, any problem there, but when you log on, the problem begins in the character selection screen, and the problem continues when you enter the world.

The code it dropped is:

Code: Select all

Faxanadu$ wine /mnt/win/games/World\ of\ Warcraft/WoW.exe -openglfixme:advapi:SetSecurityInfo stub
archive Data\patch.MPQ opened
archive Data\enUS\patch-enUS.MPQ opened
archive Data\enUS\patch-enUS-2.MPQ opened
archive Data\patch-2.MPQ opened
archive Data\expansion.MPQ opened
archive Data\common.MPQ opened
archive Data\enUS\locale-enUS.MPQ opened
archive Data\enUS\speech-enUS.MPQ opened
archive Data\enUS\expansion-locale-enUS.MPQ opened
archive Data\enUS\expansion-speech-enUS.MPQ opened
fixme:powrprof:DllMain (0x7cb70000, 1, (nil)) not fully implemented
fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 11
fixme:powrprof:DllMain (0x7cb70000, 0, (nil)) not fully implemented
fixme:win:EnumDisplayDevicesW ((null),0,0x32eda4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32ec94,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f2c8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f42c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f5a8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f5a0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f518,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f000,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f144,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT
fixme:reg:GetNativeSystemInfo (0x37402bc4) using GetSystemInfo()
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:imm:ImmReleaseContext (0x20024, 0x134aa8): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x32dc5c,0x00000000), stub!
fixme:imm:ImmAssociateContextEx (0x20024, (nil), 16): stub
Faxanadu$

Another thing, other games like for example "Duke Nukem - Manhattan Project" work all fine.
Last edited by Faxanadu on Sat Jun 21, 2008 10:25 pm, edited 1 time in total.
Marcel W. Wysocki

Wine + World of Warcraft = video lag every 12 seconds

Post by Marcel W. Wysocki »

On Fri, 20 Jun 2008 23:16:03 -0500
"Faxanadu" <[email protected]> wrote:

Long time ago, I didn't have this problem with a previous version of win, I thing the 0.56 brought this problem, but not sure.

I have tried every suggestion from pages like https://help.ubuntu.com/community/WorldofWarcraft, http://gentoo-wiki.com/HOWTO_Install_an ... _with_wine, http://www.wowwiki.com/Linux/Wine, etc, but without success.
perhaps run a regression test between 0.9.55 and 0.9.56 to check which patch caused it.


--
Marcel W. Wysocki <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
loltsy
Level 2
Level 2
Posts: 20
Joined: Sat Jun 21, 2008 7:31 am

Re: Wine + World of Warcraft = video lag every 12 seconds

Post by loltsy »

Faxanadu wrote:Ok my problem like the title says is, I have video lag every 11~13 seconds during 1 seconds, this happens in OpenGl or D3d mode, it isn't a sound, problem even with the sound deactivated the problem persist, I have tested in the following configurations:
Sounds like the same scheduler issue I was having introduced in 2.6.24. Try put this in /etc/sysctl.conf or /etc/sysctl.d/

Code: Select all

kernel.sched_features=21
kernel.sched_batch_wakeup_granularity_ns=25000000
kernel.sched_min_granularity_ns=4000000
and then run sysctl -p

These options are not available unless "Kernel debugging" (CONFIG_DEBUG_KERNEL) and "Collect sheduler debugging info" (CONFIG_SCHED_DEBUG) in "Kernel hacking" are enabled so you most likely need to recompile.
Jason Weisberger

Wine + World of Warcraft = video lag every 12 seconds

Post by Jason Weisberger »

Same problem here on 2.6.24

Used the fix in the third message, works great.

On Sat, Jun 21, 2008 at 8:43 AM, loltsy <[email protected]> wrote:
Faxanadu wrote:
Ok my problem like the title says is, I have video lag every 11~13
seconds during 1 seconds, this happens in OpenGl or D3d mode, it isn't a
sound, problem even with the sound deactivated the problem persist, I have
tested in the following configurations:


Sounds like the same scheduler issue I was having introduced in 2.6.24.Try put this in /etc/sysctl.conf or /etc/sysctl.d/


Code:
kernel.sched_features=21
kernel.sched_batch_wakeup_granularity_ns=25000000
kernel.sched_min_granularity_ns=4000000




and then run sysctl -p

These options are not available unless "Kernel debugging"
(CONFIG_DEBUG_KERNEL) and "Collect sheduler debugging info"
(CONFIG_SCHED_DEBUG) in "Kernel hacking" are enabled so you most likely
need to recompile.





--
Jason Weisberger
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
Faxanadu
Newbie
Newbie
Posts: 2
Joined: Fri Jun 20, 2008 10:20 pm

schedule problem

Post by Faxanadu »

That's it, loltsy is right, it is a schedule problem, I did the changes, and all works fine.

Lol, now i have to build personalized kernel versions only to get some programs work, just like old times...
Locked