Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-20 14:52:05



Reply to topic  [ 5 posts ] 
Unable to use Cool VL with new modem 
Author Message

Joined: 2011-12-20 05:59:25
Posts: 5
Reply with quote
I hesitate to call this a bug, but it is at the least an unfortunate interaction that I do not seem able to resolve on my own. If the information here makes it possible to narrow down what is going wrong, I would appreciate some guidance. For background, my old modem/router has been a bit flaky, so I replaced it with the ISP's preferred one. Since the replacement, when I use Cool VL to connect to Second Life I experience the following:

  • Login is successful; I can see the world and myself, and interact with people in both local chat and IMs. I can move around.
  • After around twenty to thirty seconds, my avatar stays stuck in one place, unresponsive to forward or backward movement. I can, however, still spin in place. (By "unresponsive" I mean from the point of view of what I am being shown. Later logins suggest that my movement commands were acted on by the sim, but not presented to me.) Chat continues to work.
  • After approximately two minutes I get a message about the region having difficulty, and am logged out.

This behaviour is mostly consistent. At one point I somehow got a successful login that continued for a few hours, and at another I had around seven minutes of time before getting logged out. Two minutes is by far the most common result, however.

At this point, the most likely explanation was firewalling behaviour in the modem. Unfortunately, the ISP's modem (iiNet's BobLite, which appears to be a rebadged Broadcom of some kind) does not have nearly the same usefulness or flexibility as my preferred one, and I cannot even see what packets are being rejected, if that is indeed what is happening. I have resorted to disabling its firewall entirely, but the behaviour persists. Updating Cool VL has not noticeably changed the behaviour.

If using the old modem, everything works (except that the modem has a tendency to reset itself every so often, which is why I want to stop using it). With the new modem, Cool VL logs me out after the two minutes, as described above. However, the latest versions of the official viewer and Firestorm both work smoothly with the new modem (even with the firewall enabled), so presumably they are doing something different that bypasses whatever the conflict is.

The full log is attached (note that the viewer does exit cleanly rather than crashing, so there is no crash dump). The following lines seem likely to be relevant:

Quote:
2014-06-01T04:58:41Z INFO: LLCircuitData::dumpResendCountAndReset: Circuit: 216.82.50.30:13002 resent 3 packets
...
2014-06-01T04:59:11Z INFO: LLCircuitData::dumpResendCountAndReset: Circuit: 216.82.50.30:13002 resent 20 packets
...
2014-06-01T04:59:42Z INFO: LLCircuitData::dumpResendCountAndReset: Circuit: 216.82.50.30:13002 resent 12 packets
...
2014-06-01T05:00:00Z INFO: LLCircuitData::checkCircuitTimeout: Considering: 216.82.50.30:13002, last ping 103.971 seconds ago.
2014-06-01T05:00:00Z INFO: LLCircuitData::checkCircuitTimeout: 216.82.50.30:13002 is dead, dropping.
2014-06-01T05:00:00Z INFO: LLCircuit::removeCircuitData: LLCircuit::removeCircuitData for 216.82.50.30:13002

I am guessing that there is UDP traffic from the sim to the viewer being rejected by the modem, even with the modem's firewall disabled. (I further guess that this is due to stateful packet inspection, and the modem does not think that the viewer has established a connection, but I cannot get any useful information out of the modem to confirm or deny this.) And I am bemused that only Cool VL manages to trigger this behaviour.

So, are there further diagnostic steps I can take to determine what is going awry?

Quote:
Cool VL Viewer 1.26.12 (2) May 24 2014 12:41:42 (Cool VL Viewer)
Release Notes

CPU: Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz (2808.71 MHz)
Memory: 8183 MB
OS Version: Microsoft Windows Vista 64-bit Service Pack 2 (Build 6002)
Memory manager: OS native
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTS 250/PCIe/SSE2
Windows Graphics Driver Version: 9.18.0013.1422
OpenGL Version: 3.3.0

libcurl Version: libcurl/7.24.0 OpenSSL/0.9.8q zlib/1.2.5
J2C Decoder Version: KDU
Audio Driver Version: FMOD Ex 4.44.34
Qt Webkit Version: 4.7.1 (version number hard-coded)

Built with MSVC version 1600

Compile flags used for this build:
/O2 /Oi /MD /MP /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Oy- /GS /arch:SSE2 /fp:fast /TP /W2 /Zc:forScope /Zc:wchar_t- /c /nologo /DLL_WINDOWS=1 /DDOM_DYNAMIC /DUNICODE /D_UNICODE /DWINVER=0x0501 /D_WIN32_WINNT=0x0501 /DLL_PRIVATE_MEMORY_POOLS=1 /DLL_VB_MEM_POOL=1 /DLL_VOLUME_MEM_POOL=1 /DLL_USE_OLDFILESTREAMS=1 /DLL_COMMON_LINK_SHARED=1 /DCARES_STATICLIB /DLIB_NDOF=1


Attachments:
CoolVLViewerLog.zip [15.04 KiB]
Downloaded 128 times
2014-06-01 05:54:51
Profile

Joined: 2009-03-17 18:42:51
Posts: 5548
Reply with quote
This is indeed not a bug in the viewer but rather a poor, so-called "router" (i.e. a router that can't handle enough simultaneous circuits): every true router shall be able to handle the full range of 65536 simultaneous circuits, but some cheap "routers", especially WiFi ones, can't handle more than a few dozens !!!

The difference with other viewers could be due to either a setting in your firewall (make sure that your firewall does allow UDP traffic at all for the Cool VL Viewer !), to a non-standard (non-default) setting you changed in the Cool VL Viewer (do verify that the HTTP texture fetches are enabled in "Preferences -> "Network & Web", that the GetMesh2 capability, HTTP inventory fetches, Web map tiles, and HTTP group data fetches are all enabled in "Advanced" -> "Network"), or to the slightly more aggressive defaults used by the Cool VL Viewer (try reducing the number of simultaneous HTTP texture fetches from 12 to 8 in the "Preferences -> "Network & Web" tab). Also make sure that the Mesh2MaxConcurrentRequests, MeshMaxConcurrentRequests and CurlMaximumNumberOfHandles settings are set to their default value (respectively 12, 32 and 256).

To make it even easier on your (lame) MODEM/router, you could also reduce yet more (in this order of preferences) CurlMaximumNumberOfHandles (down to 128), Mesh2MaxConcurrentRequests (try 8 and down to 6), the simultaneous HTTP texture fetches (try 6 and down to 4). You may also try to reduce the draw distance, to lower the number of neighbourhing regions the viewer will try to connect to (this could also be an explanation for the difference seen with other viewers if you used lower draw distances in them).

Also avoid multi-tasking the viewer(s) with other, circuits-hungry applications (such as a Torrent client) with such cheap routers...

Note that when connecting to an OpenSim grid (these grids don't (yet) have support for HTTP fetching capabilities such as GetMesh2), the problems will get worst (more UDP traffic/circuits in use, more circuits-hungry HTTP algorithms, such as GetMesh).

But my final advice is: get a TRUE MODEM/router.


2014-06-01 09:16:20
Profile WWW

Joined: 2011-12-20 05:59:25
Posts: 5
Reply with quote
Thank you for your response. As you pointed out, the default draw distance was different in the other viewers; I lowered it to 64m in Cool VL and got around seven minutes of connection the first time. (I'll note that this was in a sim with no adjacent regions.) If the modem can only sustain a certain number of connections (as you suggest) then it would explain why turning off the firewall was not effective.

Henri Beauchamp wrote:
The difference with other viewers could be due to either a setting in your firewall (make sure that your firewall does allow UDP traffic at all for the Cool VL Viewer !), to a non-standard (non-default) setting you changed in the Cool VL Viewer (do verify that the HTTP texture fetches are enabled in "Preferences -> "Network & Web", that the GetMesh2 capability, HTTP inventory fetches, Web map tiles, and HTTP group data fetches are all enabled in "Advanced" -> "Network"), or to the slightly more aggressive defaults used by the Cool VL Viewer (try reducing the number of simultaneous HTTP texture fetches from 12 to 8 in the "Preferences -> "Network & Web" tab). Also make sure that the Mesh2MaxConcurrentRequests, MeshMaxConcurrentRequests and CurlMaximumNumberOfHandles settings are set to their default value (respectively 12, 32 and 256).

These behaviours are with the firewall disabled. The HTTP Texture Fetches, GetMesh2, HTTP Inventory Fetches, Web Map Tiles, and HTTP Group Data Fetches were all enabled. Mesh2MaxConcurrentRequests was at 8, MeshMaxConcurrent Requests at 32, and CurlMaximumNumberOfHandles at 256.

I tried reducing CurlMaximumNumberOfHandles to 64, Mesh2MaxConcurrentRequests to 6, and Max HTTP Requests to 4. I was later able to sustain a connection for over twenty minutes with those settings while doing limited activity in SL. (And could feasibly have been longer -- I had to log out at that point.) However, during an earlier test with those settings I encountered the same issue (lack of movement, then logged out) while in the vicinity of a certain sculpture that consistently lowers frame rate.

(Firestorm carried on happily regardless, with no changes to default settings, mind you.)

Quote:
But my final advice is: get a TRUE MODEM/router.

This is good advice. I'm rather vexed with this one.

Thank you again for your response.


2014-06-01 10:38:11
Profile

Joined: 2009-03-17 18:42:51
Posts: 5548
Reply with quote
Natasja Kiranov wrote:
I tried reducing CurlMaximumNumberOfHandles to 64, Mesh2MaxConcurrentRequests to 6, and Max HTTP Requests to 4. I was later able to sustain a connection for over twenty minutes with those settings while doing limited activity in SL. (And could feasibly have been longer -- I had to log out at that point.) However, during an earlier test with those settings I encountered the same issue (lack of movement, then logged out) while in the vicinity of a certain sculpture that consistently lowers frame rate.
64 is too low for this setting (and you will probably see warnings about lack of "free Curl Easy handles" in the log, that in the end will lead to a disconnection). You should keep is at least at 96.

Quote:
(Firestorm carried on happily regardless, with no changes to default settings, mind you.)
I don't mind... The Cool VL Viewer is geared at advanced users ("power users"), while Firestorm is geared at "everyone". The former uses more aggressive settings than the latter, more optimized (but nonetheless stabler) code, geared towards higher performances on properly configured (but, interestingly, not necessarily more powerful) systems... They are different viewers for use by different users, and yes, I do assume the "elitist" stance associated with my viewer: I actually do take pride in being an elitist among computer users (and this even with "old" computer hardware: "elite" doesn't mean more expensive or more modern, but "low quality" is definitely a no-go for an elitist).

Quote:
Quote:
But my final advice is: get a TRUE MODEM/router.

This is good advice. I'm rather vexed with this one.
That's definitely the best solution since a cheap ("cheap" as in low quality/cut down) router will always end up being a handicap at some point, whatever software you will be running.


2014-06-01 11:45:18
Profile WWW

Joined: 2011-12-20 05:59:25
Posts: 5
Reply with quote
Just to confirm: I have replaced the modem with a better one and everything is working satisfactorily again. Thank you again for your quick and accurate diagnosis (and helpful workarounds).


2014-08-13 11:08:44
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.