Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Tons of graphical lag, stuttering, etc. when 3 or more people are connected at the same time.

1473902730

Edited 1473914819
I'm in a campaign with five players (counting myself) and the GM. When all 6 of us are connected at once, the game is nigh unplayable. There doesn't seem to be much server  lag, but any way I interact with the map is extremely laggy. If I'm connected by myself, there's very little to no lag. I've also gone through the "Solving Technical Issues" wiki article to no avail; there don't appear to be any extensions causing problems. I even double checked by trying a different browser than the one I usually use. I've tried closing all unnecessary tabs and other resource-hogging programs on my computer. I've disabled 3D dice and gone to voice-only for broadcast and receiving, and done anything else in the settings that seems like it would help, but the problem persists. I did a bit of digging in the old threads on this subforum, but I haven't yet found anything that seems like it would fix my problem. My computer isn't exactly a bleeding edge gaming monster, but it's not ancient; I run most games no problem, so it seems like a web app like roll20 shouldn't be an issue. Here's the deets: Operating System: Windows Windows NT 10.0 Screen Resolution: 1680 x 1050 Web Browser: Chrome 52.0.2743.116 Browser Size: 1680 x 987 IP Address: - Color Depth: 24 bit Javascript: Enabled Flash Version: 22.0.-1 Cookies: Enabled
There are teo things that I noticed that slow down roll20 dramatically: large maps (large pixel dinensions) and complex dynamic lighting setups (with lot of details in the DL layer). For example my first wirld map had roughly 4000x3000 px - and it was terrible to use it.  So how does your current page look like? Big or small? Dynamic lighting on or off? Maybe that could give us a first hint. 
No dynamic lighting, but I'm not sure how big the map image is. I'll check with the GM and see if he can maybe shrink it.
1473954026
Gid
Roll20 Team
McGravin, if you can tell us who the GM is and the campaign you've been playing in, I can examine the campaign to see if there's design issues that may be causing lag.
Kristin, it's  Haushalter 's Tenra Bansho Zero game. Thanks for helping us look into it! 
1474041155
Gid
Roll20 Team
I made a copy of that campaign and shuffled through it. None of the pages stand out as resource intensive and the journal entries aren't near near the tipping scale where they typically start causing load bloat. The next time you're in the campaign and hit a lag spike, try to grab a console log for me. It could be you're hitting some errors. Another thing to check is to make sure roll20 is whitelisted on your anti-virus software if you have any running.
1474055842
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Out of curiosity Kristin, what is the the tipping point where journal entries start to cause load bloat?
1474058473
Gid
Roll20 Team
Scott C. said: Out of curiosity Kristin, what is the the tipping point where journal entries start to cause load bloat? It mostly depends on whether you have a sheet that uses a lot of attributes or not. Some of the more complex character sheets are very process intensive so having over 200 or more can really start piling up. Each time you create a character journal when there's a character sheet bound to the campaign, it will generate all the needed attribute fields whether you're using them or not.
1474058590
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Thank you, that's good to know. I was more worried about my ridiculous number of rollable tables (although my library of monsters/npcs is nothing to sneeze at either).
Kristin C. said: The next time you're in the campaign and hit a lag spike, try to grab a console log for me. It could be you're hitting some errors. Another thing to check is to make sure roll20 is whitelisted on your anti-virus software if you have any running. It's not really lag "spikes". It's a solid wall of continuous lag. I can also say with some certainty now that the lag is due to the audio/visual component of the game. When there are no other users logged in to the game and webcam/voicechat broadcasting isn't active, there's no lag. When there's one or two besides me, there's some lag. And when there are three or more others, my computer is pretty much unusable. And get this, when the voicechat crashed in our latest session, the lag went away completely and pretty much instantly. Here's a console log, including an error towards the end where the voicechat crashed ("XMLHttpRequest cannot load"): Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-P5e0uqfW5kZOn/jeesSl0/8QKGpKitmsC7FiM0s4vaM='), or a nonce ('nonce-...') is required to enable inline execution. Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-0e7Q3QqVn8f0h38oogzHudH+MBBdX9InX4bX658dij4='), or a nonce ('nonce-...') is required to enable inline execution. 70 TOUCH SUPPORTED: false USING WEBGL ACCELERATION... WEBGL STARTUP SUCCESS Custom Sheet Translation select Switch mode to select Initializing new dice engine with randomness... Using random entropy Compiling sheet... The specified value "@{body_1}" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "ceil(@{body_1}/2)" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "ceil(@{body_1}/4)" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "@{body_1}+@{spirit}+@{vitality_extra}" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "@{soul_extra}+(@{knowledge}+@{spirit})*2" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "@{karma_rider}+@{karma_meikyo}" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "@{fate_1}+@{fate_2}+@{fate_3}+@{fate_4}+@{fate_5}+@{fate_6}+@{fate_7}+@{fate_8}" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "@{arch_karma_1}+@{arch_karma_2}+@{arch_karma_3}+@{arch_karma_4}+@{arch_karma_5}+@{arch_karma_6}" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? The specified value "@{arch_attr_1}+@{arch_attr_2}+@{arch_attr_3}+@{arch_attr_4}+@{arch_attr_5}+@{arch_attr_6}" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? Finding sheet rolls... window resize Final set zoom! UPDATE GL SIZE! Final set zoom! tuts loaded Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-q+ohWFnh22teYcdFqeh0e7HJqlsXF+SksNUnF330c+c='), or a nonce ('nonce-...') is required to enable inline execution. Final page load. Auth'ed. Go post auth! Uncaught ReferenceError: callbackProxy is not defined initial setup T.r Got players value... joining game... Player -KOfuINMxOYL9KYcAzQx is offline... Adding myself before r Player -KOjpeN9eA2IelxvlTA9 is offline... Global Volume: 100=1 Adding myself before r Full load page! We have 4 pages Deferred finish joining... Firebase Online Adding myself before -KOocg-s_PJngFlnWMrV handle page changes false Do refresh link cache! Scan for new plays! init active page! activate page! FULLY ACTIVATE VIEWS FOR PAGE. Refresh Journal List! Search took 25ms Reorder by ZORDER Graphics: 42 Paths: 10 Reorder by ZORDER Applying filter t Swapping <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?134087249355" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?134087249355</a> to <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?134087249355" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?134087249355</a> Applying filter t Swapping <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555</a> to <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555</a> Applying filter t Swapping <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555</a> to <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555</a> Applying filter t Swapping <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555</a> to <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555</a> initiatlizing video chat Connecting to WebRTC Descending into madness... setting src Reorder by ZORDER t t t t Connected to session Someone just connected. Not us, increasing active connections. Begin publishing! initializing publisher Someone just connected. Not us, increasing active connections. Begin publishing! Already publishing, showing because number of connections is above 1. Someone just connected. Not us, increasing active connections. Begin publishing! Already publishing, showing because number of connections is above 1. Someone just connected. Not us, increasing active connections. Begin publishing! Already publishing, showing because number of connections is above 1. Someone just connected. It's us? stream created Subscribe to streams! stream created Subscribe to streams! stream created Subscribe to streams! stream created Subscribe to streams! The MediaStream 'ended' event is deprecated and will be removed in M54, around October 2016. See <a href="https://www.chromestatus.com/features/5730404371791872" rel="nofollow">https://www.chromestatus.com/features/5730404371791872</a> for more details. Access allowed! Final set zoom! UPDATE GL SIZE! Final set zoom! window resize Final set zoom! UPDATE GL SIZE! Final set zoom! handle page changes false init active page! activate page! FULLY ACTIVATE VIEWS FOR PAGE. Graphics: 42 Paths: 10 Reorder by ZORDER Finished after going 2 levels deep. Begin processing op! Inline rolls complete! Final set zoom! Array[2] UPDATE GL SIZE! Debounced init page! init active page! Swapping <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?134087249355" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?134087249355</a> to <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?134087249355" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?134087249355</a> Swapping <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/med.png?1340872493555</a> to <a href="https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/6776/7mfox9liRMzGemIpRy1F_A/thumb.png?1340872493555</a> setting src t t t t Player -KOjpeN9eA2IelxvlTA9 is offline... Finished after going 2 levels deep. Begin processing op! Inline rolls complete! Failed to load resource: the server responded with a status of 504 (GATEWAY_TIMEOUT) XMLHttpRequest cannot load <a href="https://hlg.tokbox.com/prod/logging/ClientQos?_=75cdf8bf-44fd-4d69-b44c-15efb4bb8e8b" rel="nofollow">https://hlg.tokbox.com/prod/logging/ClientQos?_=75cdf8bf-44fd-4d69-b44c-15efb4bb8e8b</a>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a>' is therefore not allowed access. The response had HTTP status code 504. Finished after going 2 levels deep. Begin processing op! Inline rolls complete! window resize Final set zoom! Array[2] UPDATE GL SIZE! Final set zoom! Array[2] UPDATE GL SIZE! Debounced init page! init active page! Timeout ref showed error! Finished after going 2 levels deep. Begin processing op! Inline rolls complete! Finished after going 2 levels deep. Begin processing op! Inline rolls complete! Finished after going 2 levels deep. Begin processing op! Inline rolls complete!
I just wanted to add in that I too have experienced graphics lag by sound in game, I played something in the library for about 2 hours while I was building dungeons and testing the auto play sound track as I switch(about 7 background maps each with its own auto play music), then finally worked on the 8th map while having a piece of music on continuous play, without anyone logged in but myself, and suddenly noticed lag as well(first sign of notice was the ping circle moving in a choppy fashion)
I would like to state that I have had the same problem and until now just chalked it up to logging in from an older laptop. We actualy have gone to using skype for our voice chats because the problems with the integral chat types were so bad.&nbsp;
Alexei Y-M. said: I would like to state that I have had the same problem and until now just chalked it up to logging in from an older laptop. We actualy have gone to using skype for our voice chats because the problems with the integral chat types were so bad.&nbsp; Yeah, we have switched to Google Hangouts for the time being and it has helped immensely, but we might experiment with Skype, TeamSpeak, etc.&nbsp;