Forums

League of Legends stutter precisely every 5 seconds

Auteur Réponses
Jump to the page: 1 - 2 - 3
OffbeatDrizzle Lundi 13 Avril 2015 à 12:49
OffbeatDrizzleAnonymous

Hi guys,

 

I hope someone can help. I'm really struggling with an issue I have using PoL for League of Legends - there is a very consistent stutter for about 100ms every 5 seconds that I can't get rid of no matter what I am doing in game. The game runs on full graphics settings at 60fps, but drops down to 40fps for that split second. The ONLY thing that makes it better (although still there) is to turn 'allow flipping' off in the nvidia-settings control panel.

 

I have tried so many different things just from googling around but now I'm completely stuck and so sick of trying to fix it. Things I've tried include different drivers, setting gpu clocks to max performance, turning composition off, changing commit times on /etc/fstab (I thought it was hard drive related), setting cpu governor to max-performance, even trying ubuntu (which I know is not that much different under the hood but a different desktop environment I think?). There doesn't appear to be any issues in /var/log/Xorg.0.log.

 

I can run glxgears no problem at ~15,000 fps, or 60fps with vsync on. No stutter whatsoever. However, when PoL is running, then glxgears is also affected by the stutter produced. The thing that made me suspicious about it being linux commiting to hard drive was jbd2/sdb2 was jumping to the top of iolist every time a stutter occurred - precisely every 5 seconds, although turning journaling off on the hard drive had no effect, so now I'm back to square 1,

 

Help please!!

booman Vendredi 17 Avril 2015 à 1:27
booman

Wow, this is a strange problem.  So its only happening when running Wine related programs/games?

Does it ever happen with other things like Internet, Steam, etc?


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Vendredi 17 Avril 2015 à 6:39
Ronin DUSETTE

I love typing this. lol. :\

FULL computer specs? Distro? Architecture? You forgot to post up some extremely important information. Also, post up those logs and anything like that, instead of just describing it. It helps a great deal more to have concise information, rather than a description of what seems to be a complicated issue on a computer that could have any combination of hardware and software. 

Also, please don't use exclamation points. It is like yelling, and doesn't get questions answered any faster. ;)

Edité par RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Vendredi 17 Avril 2015 à 16:08
booman

Copy/Paste, Copy/Paste Ronin wink


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Vendredi 17 Avril 2015 à 18:30
Ronin DUSETTE

laugh lol


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
OffbeatDrizzle Mercredi 22 Avril 2015 à 22:19
OffbeatDrizzleAnonymous

Hi guys,

 

Sorry for the late reply - I've had more important things than gaming recently.

 

My computer specs are - 2500k @ 4ghz, z77 sabertooth, 8gb RAM, nvidia gtx770

I have now found the issue happens in a native version of KerbalSpaceProgram, so it doesn't appear to be wine related. Kernels I have tried in Mint are 3.13.0-37 and 3.16.0-34 (I am using the latter now because it resolves a keyboard issue). I have tried ubuntu 14.10 on a different hard disk and still had the same issue (I can't give a kernel version for that, sorry - it's whatever it comes with by default).

 

Xorg.0.log: http://pastebin.com/eavaw627

 

Is there any other logs that would be of use, or anything I could run to assist you otherwise?

 

Thanks

Edité par OffbeatDrizzle

booman Mercredi 22 Avril 2015 à 22:26
booman

I see you are using Nvidia 331 drivers

(II) NVIDIA GLX Module  331.113  Mon Dec  1 20:24:35 PST 2014

have you tried updating the drivers?


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
OffbeatDrizzle Mercredi 22 Avril 2015 à 22:45
OffbeatDrizzleAnonymous

Yes, I have tried the latest from the nvidia website (349.16) and also many different 'edgers' drivers. Nothing helps :(

Ronin DUSETTE Mercredi 22 Avril 2015 à 22:55
Ronin DUSETTE

 

Is there any other logs that would be of use, or anything I could run to assist you otherwise?

http://wiki.playonlinux.com/index.php/How_to_Post_in_the_Forums

Please read the wiki thoroughly. ;) We need your debug output from POL...

Also, most "edgers" driver PPA's and whatnot will focus on open-source drivers, and with Nvidia, the open-source ones don't cut it. 

One of the most important things, besides your POL debug output, is; did you install the 32-bit libs for your graphics card? That will matter.

As usual, we are just guessing without the POL debug logs, so there is no point in speculation until we know that the 32-bit proprietary libs are installed correctly and we see the POL debug logs (in tools -> playonlinux debugger). I wish I had I could be more concise. haha. :D

Edité par RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
OffbeatDrizzle Mercredi 22 Avril 2015 à 23:06
OffbeatDrizzleAnonymous

install script: http://pastebin.com/cBMkvckV

virtual drive log: http://pastebin.com/Uau7W1dV

When installed the driver off the nvidia website I had definitely installed the 32bit compatability libs and it made no difference. I am not sure if they are installed with this installation,

Edité par OffbeatDrizzle

Ronin DUSETTE Mercredi 22 Avril 2015 à 23:55
Ronin DUSETTE

  1. [04/22/15 20:33:20] - Running wine-1.7.33-LeagueOfLegends2 lol.launcher.admin.exe (Working directory : /home/ste/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
  2. p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
  3. p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
  4. p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
  5. GnuTLS error: A TLS fatal alert has been received.

 

So, that GnuTLS error can't be good. I have never seen that. First thing I would try to correct would be the p11-kit error. I don't think that is causing the issue, but for posterity, let us try:

http://wiki.playonlinux.com/index.php/Troubleshooting_Common_Problems#p11-kit:_couldn.27t_load_module:_...

As for the Nvidia drivers, it looks as though the 32-bit libraries are installed (you will get errors in the logs that show errors related to missing 32-bit libraries. They throw a fit. lol.). Though, I prefer to always use the official Nvidia drivers from their site (installing the 32-bit libraries is required for almost all software you will run through Wine, so it is best to have it installed anyway). 

As for the TLS thing; do you have a 32-bit version of libgnutls26 or libgnutls28 installed on your system (if you haven't already, install multiarch-support from your distro's repository (using Mint or Ubuntu))? That will likely be needed, as well. Those are things I would check. 

Edité par RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Jeudi 23 Avril 2015 à 20:58
booman

Is there a chance League of Legends is running in a 64-bit virtual drive?


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Jeudi 23 Avril 2015 à 21:00
Ronin DUSETTE

There shouldn't be. The script creates a 32-bit one. 


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Jeudi 23 Avril 2015 à 21:04
booman

Ok, good, just checking.  I have always used 32-bit for everything as well


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Jeudi 23 Avril 2015 à 21:11
Ronin DUSETTE

Yeah. Plus, a lot of components in Install Components get grumpy with 64-bit (last time I checked. I never had good luck with 64-bit wine running anything.).


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
bouki Vendredi 24 Avril 2015 à 4:31
boukiAnonymous

I am having the same exact issue.  Frame rate in league drops from 60 to about 40 every 5 seconds exactly then pops right back up but is a very noticeable stutter in the game.

OS: Linux Mint 17.1 64 bit cinnamon

POL: 4.2.7

Kernel: 3.13.0-37-generic

CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz

Memory: 8GB

HD: 500 GB amsung 850 Pro SSD

Video: Geforce 750 TI 2GB

Driver: tried 346 and 349 from xedgers

 

Debug log link:  http://pastebin.com/P11cB81x

 

Thanks!

Aaron

 

 

 

bouki Vendredi 24 Avril 2015 à 4:44
boukiAnonymous

I forgot to mention I also run 3 monitors all hooked up to the 750 TI and play in windowed 1920x1080 mode (main monitor is 2560x1440).

 

With the debug log running, I get the same repeating errors over and over pretty much in sync with the stutters:

fixme:wbemprox:client_security_Release 0x7d48ad6c
fixme:win:EnumDisplayDevicesW ((null),0,0x9ccdfc8,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:client_security_SetBlanket 0x7d48ad6c, 0x50fc0408, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d48ad6c
fixme:win:EnumDisplayDevicesW ((null),0,0x9ccdfc8,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:client_security_SetBlanket 0x7d48ad6c, 0x5f5064e8, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d48ad6c
fixme:win:EnumDisplayDevicesW ((null),0,0x9ccdfc8,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:client_security_SetBlanket 0x7d48ad6c, 0x5f0a3e48, 10, 0, (null), 3, 3, (nil), 0x00000000

 

Every 5 seconds these 4 lines repeat so it must be related?

 

Thanks,
Aaron

bouki Vendredi 24 Avril 2015 à 4:54
boukiAnonymous

Ran:

sudo apt-get install p11-kit:i386

to get rid of the pkcs shared library error.

 

Also, edited /etc/pulseaudio/daemon.conf and set this:

default-fragments = 5
default-fragment-size-msec = 2

 

to get rid of alsa underrun errors.

 

Alas, still getting the stuttering every 5 with these same 4 lines:

fixme:wbemprox:client_security_SetBlanket 0x7d5ded6c, 0x50cac0e0, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d5ded6c
fixme:win:EnumDisplayDevicesW ((null),0,0x9ccdfc8,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported

 

booman Vendredi 24 Avril 2015 à 17:54
booman

Thank you bouki for posting.  This confirms that it probably isn't a hardware problem, unless you have the exact same hardware as Offbeatdrizzle.... which I really doubt.

Good job applying 32-bit libraries and elminiating the Alsa underrun errors.  Those will definitely help your performance.

I doubt those errors are related, mostly because they are a "fixme:" instead of "err:"
can you post the entired debug from PlayOnLinux?

This is a very strange problem.  Maybe I'll have to install LoL again to check it out


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
bouki Samedi 25 Avril 2015 à 0:29
boukiAnonymous

Here is a full debug for this stutter problem:

http://pastebin.com/5it2D1NE

 

The debug includes launching the game, logging in, creating a custom game, then running around for 2 mins with the stuttering every 5 seconds.

 

I know you say the fixme are not likely the problem, but I play in windowed mode and can see the debug messages appear as I am playing and these messages appear exactly in sync with the stuttering.

If they are not the cause of the problem, then they are definitely a symptom of the problem.  They are related for sure because the timing is too perfect.

 

The OP also had a 700 series geforce.  Anyone else running a newer (700 series) nvidia can replicate?


All suggestions welcome!


Aaron

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com