SL projects updates 5/1: server releases & fitted mesh

Server Deployments Week 5

Main (SLS) Channel

On Tuesday January 28th, the Main channel received the server maintenance project previously on the three RC channels, which contains a single fix for a crash mode.

RC Channels

On Wednesday January 29th, all three RC channels should receive a new server maintenance project, which includes a crash mode fix and a fix for llModifyLand() modifying the wrong location in region, when called in a child prim.

Speaking at the Server Beta meeting on Thursday January 23rd, Maestro Linden described the llModifyLand() fix thus:

For example, if a child prim is offset by <8,4,0> from the root prim, then calling that function in the child prim will try to modify the terrain at <8,4,0>  of the region,  which may or may not work depending on who owns the parcel.

The fix is to make it modify the land underneath the child prim (which of course follows the same permissions rules – you can only modify land owned by the script owner.

SL Viewer Updates

The Fitted Mesh RC was updated on Monday January 27th with the release of version 3.7.0.285669.  This includes a number of additional fixes, include those for FITMESH-20 and FITMESH-6, which can be summarised as:

  • FITMESH-20: certain non-rigged mesh invisible with ALM disabled
  • FITMESH-6: worn mesh which is not rigged to the collision bones is seen to stretch away towards the 0,0,0 point of the region the avatar is standing in when using the Fitted Mesh

An interesting emerging issue with Fitted Mesh – which likely won’t delay its eventual promotion to release status – is that it prevents the Firestorm Bridge from attaching.

The Bridge is a is a scripted object which is used by the Firestorm viewer for a number of functions, notably: Move To Teleport, Flight Assist, Script Count, some radar functions, and Movelock. The problem here is that the Bridge uses a dedicated attachment point (127), which doesn’t seem to be supported or allowed in the Fitted Mesh viewer code. It is currently unclear as to how this might be resolved.

There has yet to be a promotion to the defacto release viewer. If there is to be such a promotion this week, it would seem likely that the Interest List RC would be the one to make it.

Other Items

Viewer Script Debug Window

During the Simulator UG meeting on Tuesday January 28th, Jonathan Yap asked, “Has any thought ever been given to a script debug window? t would let you input commands to trigger events etc.”

Kelly Linden, chairing the meeting in Simon Linden’s absence, replied:

Short answer is yes it has been thought about. A lot of what you expect from a debugger is very difficult in LSL and harder in LSL-on-Mono, such as most of looking at the actual state of the script. Being able to trigger events is an interesting idea but I think it has some security concerns if not handled very carefully.

So, to elongate  Kelly’s initial short answer, while it has been thought about, it’s not something that is likely to happen any time soon.

SL projects updates week 4 (2): server, viewer, webkit

Maestro Linden's disco-themed Server Beta meeting venue (stock)
Maestro Linden’s disco-themed Server Beta meeting venue (stock)

Server Deployments Week 4 Recap

As always, please refer to the deployment thread in the forums for the very latest news.

Server Deployments in Week 5

Details on the deployments for week 5 (commencing Monday January 27th) have yet to be finalised. However, it appears there will be a new server maintenance projects targeted at the RC channel, which Maestro Linden outlined during the Server Beta meeting on Thursday January 23rd:

We’ll have another small maintenance project going out next week which includes another crash fix and a fix to llModifyLand(), [where] the bug is that calling it in a child prim modifies the wrong land.

For example, if a child prim is offset by <8,4,0> from the root prim, then calling that function in the child prim will try to modify the terrain at <8,4,0>  of the region,  which may or may not work depending on who owns the parcel.

The fix is to make it modify the land underneath the child prim (which of course follows the same permissions rules – you can only modify land owned by the script owner.

Unless another project pops-up in the interim, it is likely this update will be deployed to all three RC channels in week 5.

SL Viewer Updates

A new Maintenance RC viewer appeared in the release channel on Thursday January 23rd. Version 3.6.14.285499 includes some 43 MAINT related fixes and updates, as listed in the release notes.

All other viewer RC, project and the release viewer remain unchanged, per my notes in part one of this week’s report.

HTTP Work – Monty Linden

Monty attended the Server Beta meeting to provide some more information on the HTTP project work.

“Basically, my hope is to move http operations to a domain where ping time has far less impact on experience as well as just doing HTTP better,” he said of the current work, the benefits of which are currently in an RC viewer – version 3.6.14.285253. “And that is happening.” (See Monty’s blog post on the subject.)

HTTP Pipelining

This work was slightly sidetracked as Monty got involved in issues around third-party libraries (see below). However, pipelining is seen as the first major step that will give the Lab some ping time independence, and it is likely that it will involve some server-side work.

“The server work will be small, a change in fairness policies,” Monty stated by way of a broad explanation, “and throttle implementation but that isn’t set in stone yet.”

Third-party Library Work

The work on the third-party libraries has been covered in a number of recent HTTP project updates. These are the used in building the SL viewer, including zlib, libpng, openssl, ares, libcurl, boost and SDL, all of which Monty has been rebuilding, as well as “tweaking” colladadom, openjpeg, Google-mock and llqtwebkit.

The aim is to ensure that these libraries are up-to-date, and are probably managed and maintained and correctly used throughout the viewer build process.  This work should help, longer-term with any move by the Lab to 64-bit viewer builds, and should be of benefit to those TPVs already building 64-bit variants of their viewers.

Webkit Woes

Webkit is a third-party library used within the viewer for a number of tasks. For example,  it powers the built-in web browser, and is used to display profiles (unless you’re using a viewer supporting legacy profiles). It is also used with like Media on a Prim (MOAP) and many in-world televisions.

There have been an increasing number of issues with Webkit. The libraries used within SL are out-of-date, for example, something which has caused the Lab and TPVs a considerable amount of pain.

More recently,  users have been encountering issues when trying to view YouTube videos via the built-in browser or MOAP, reporting that they are seeing an error message informing them that  “You’re using Safari browser on Windows that we’ll soon stop supporting” (BUG-4763 and FIRE-12642), or reporting they have sound but no video (FIRE-11057). An Adobe engineer has commented on the latter Firestorm JIRA, explaining the problem, and has indicated he has contacted Linden Lab as well.

It’s unclear as to how this matter will be handled going forward. While Monty has prodded at Webkit as a part of his additional work on third-party libraries, and overall fix may not be that straightforward. As such, it appears the way forward in dealing with the video issues is currently unclear.

SL projects updates 2014: week 4 (1): Server releases, viewer, snapshot uploads

Server Deployments, week 4

As always, please refer to the server deployment thread in the SL forums for the latest updates and news.

Main Channel: Tuesday January 21st, 2014

The Main channel received the server maintenance project which had been on the RC channels for the last couple of weeks. This comprises:

Details on the scaling functions can be found by following the links, or by checking my week 2 projects update. All of these functions, including llLoadURL can be used in any current viewer.

There were two further updates included in the package, both of which require viewer-side updates which have yet to be released by the Lab. These are:

  • Preliminary support for custom default permissions on newly created objects – currently awaiting viewer-side support via STORM-68
  • Preliminary support for the viewer fetching the LSL syntax rules from the simulator, for up-to-date syntax highlighting in the script editor – currently awaiting viewer-side support via STORM-1831.

Release Candidate Channels, Wednesday January 22nd, 2014

All three RC channels should receive the same server maintenance project, which contains a single fix for a crash mode.

SL Viewer

As per my last report, the “Project Interesting” viewer appears to be running at a substantially reduced crash rate, and has seen the majority of issues resolved within it. If this continues through the current week, given the amount of time the viewer has been in the release channel as an RC, it could be a good candidate for promotion to the de facto release viewer in week 5 (week commencing Monday January 27th), assuming the Lab keeps to its plans of promoting a release candidate  every two weeks.

the Fitted Mesh viewer is also a potential candidate for promotion. However, as there are currently two significant issues with this RC at present,  any promotion of this candidate may well be delayed.

The two issues concerned are:

  • Certain non-rigged mesh invisible with ALM disabled -see FITMESH-20 – which has been confirmed by Marissa Linden and
  • worn mesh which is not rigged to the collision bones is seen to stretch away towards the 0,0,0 point of the region the avatar is standing in when using the Fitted Mesh viewer on systems with AMD graphics and with ALM turned off – see FITMESH-6 –  which Oz Linden has confirmed the Lab is investigating.
The Fimesh-6 issue, which affects how mesh garments not rigged to the collision bones can appear in the Fittted Mesh viewer running on systems using AMD graphics and with ALM disabled, is getting a further look at from the Lab
The Fitmesh-6 issue, which affects how mesh garments not rigged to the collision bones can appear in the Fitted Mesh viewer running on systems using AMD graphics and with ALM disabled, is getting a further look at from the Lab

Other News

Snapshot Uploads to SL Feeds

As many are aware, the ability to upload snapshots to the profile feeds was broken for many before the Christmas / New Year holidays. While the functionality was restored for some who could not upload snaps was restored, many have remained unable to use the facility. However, speaking at the  simulator User Group meeting on Tuesday January 21st, Simon Linden indicated that the Lab believe the issue has now been completely resolved for all users. I’ve not had time to test the upload myself due to RL issues, but those who have continued to experience problems my wish to try things out once more. If problems are still evident, please raise a JIRA.

SL projects updates week 3 (2): upcoming server releases, Fitted Mesh, HTTP, Oculus Rift & more

Server Deployments: week 4

Because Monday January 20th is a holiday in the USA, Maestro Linden has posted details of the deployments which will take place in week 4. Despite the US holiday, the deployments will still take place on Tuesday and Wednesday as usual.

As always, please refer to the week’s forum deployment thread for the latest news and updates.

Main Channel: Tuesday January 21st, 2014

The Main channel should received the server maintenance project which has been on the RC channels for the last couple of weeks. As notes in previously SL projects updates in this blog, this comprises:

  • The forced delay in llLoadURL has been reduced to 0.1 seconds
  • New LSL functions for uniformly scaling linksets (integer llScaleByFactor(float scaling_factor), float llGetMinScaleFactor(),float llGetMaxScaleFactor() )
  • Preliminary support for custom default permissions on newly created objects – currently awaiting viewer-side support via STORM-68, which has yet to be released
  • Preliminary support for the viewer fetching the LSL syntax rules from the simulator, for up-to-date syntax highlighting in the script editor – currently awaiting viewer-side support via STORM-1831, which has yet to be released.

Release Candidate Channels, Wednesday January 22nd, 2014

All three RC channels should receive the same server maintenance project, which contains a single fix for a crash mode.

SL Viewer Updates

The following section contains notes taken during the TPV Developer meeting held on Friday January 17th, a video of which is included below. My thanks, as ever, to North for the latter.

Fitted Mesh

As reported here, the Fitted Mesh viewer reached release candidate status on Thursday January 16th, with the release of version 3.7.0.285178, which also includes a number of bug fixes and STORM contributions from third-party developers.

Issues Affecting ATI/AMD Users

There are reports of additional issues arising within the Fitted Mesh viewer which are not apparent in other version of the SL viewer.  These issues appear to impact those using ATI/AMD graphics cards and have Advanced Lighting Model disabled.

In the first issue, non-rigged mesh is invisible when viewed on the Fitted Mesh viewer (see FITMESH-20), which was reported for the new release candidate version of the viewer. In the second (FITMESH-6), worn mesh which is not rigged to the collision bones is seen to stretch away towards the 0,0,0 point of the region the avatar is standing in (which is oddly similar to how viewers without the Fitted Mesh updates render garments rigged to the collision bones in an avatar).

Rigged mesh which is not using the collison bones as seen with the Fitted Mesh viewer
Rigged mesh which is not using the collison bones as seen with the Fitted Mesh viewer when running on systems with ATI / AMD graphics and Advanced lighting Model disabled (image courtesy of Willow Wilder)

Again, these problems only appear to impact those using ATI/AMD graphics cards and who are running with ALM disabled. Initially, the problem had been thought by the Lab to be a  driver issue, but testing reveals the problem to occur across a range of ATI/AMD drivers, including the most recent Catalyst updates.

New Sliders and Asset

Redpoly Inventor has also raised a feature request (see FITMESH-19) for what he calls a “Mesh Clothing Adjuster” which can be used to scale specific parts of the collision skeleton in order to achieve better fitting for the likes of knee boots, tank top straps or any clothing that doesn’t look good with alphas. He also includes code with the JIRA which people can add to their viewer in order to create slider to the shape menu which controls the clavicle volumes.

Continue reading “SL projects updates week 3 (2): upcoming server releases, Fitted Mesh, HTTP, Oculus Rift & more”

SL project updates week 3 (1) Server and viewer + misc items

Simulator User Group meeting (stock)
Simulator User Group meeting (stock)

Server Deployments: week 3, 2014

There are no server deployments this week on either Tuesday 14th (Main channel) or Wednesday 15th January (RC channels). The latter was anticipated to be the case, after Maestro Linden indicated there were no maintenance or other projects in the RC pipeline during the Server Beta meeting of Thursday January 9th.

While it had been thought that issues relating to STORM-1831 were not sufficient to prevent the RC package deployed in week 2 from being promoted to the Main channel, the decision has been taken to allow the package to run a further week on the RCs.

Week 4 Deployments

It now seems as if the plan is to deploy the RC maintenance project to the Main grid in week 4 (week commencing Monday January 20th), and to issue a new server maintenance project on the Wednesday of that week, although details on this have yet to be finalised.

SL Viewer

The Project Interesting viewer with the viewer-side interest list changes (notably the changes to how region information is cached and re-used by the viewer) gained a further update on Tuesday January 14th, with the release of release candidate 3.6.14.285213, which includes a number of additional bug fixes – see the release notes and download page.

STORM-1831: LSL Syntax Highlighting

This contribution by Ima Mechanic will allow LSL syntax highlighting in the viewer’s LSL editor to be updated and defined using a file obtained directly from the simulator the viewer is connected to, with the intention to eliminate issues of the viewer using outdated versions of the file. The server-side updates for this work are currently deployed to all three RC regions. However, as of the end of week 2, additional work was required on the syntax file itself.

In addition, there are a number of issues which are currently being addressed with the viewer-side code. These are listed on the JIRA for the project – STORM-1831, and require resolution prior to the code being issued  in a release candidate viewer. Most of these are currently being worked on, and are not seen as major show-stoppers, but will delay the code’s appearance in the short-term.

Other Items

Values for brush constants in calls to llModifyLand

One issue which has (again) been raised through STORM-1831 is that the values for brush constants in calls to llModifyLand, used for scripted terraforming operations, are out by 1 each (they are set to 1, 2, 3 and should be 0, 1, 2). This means that, for example, a call using LAND_SMALL_BRUSH will edit an area of 4×4 metres, not 2×2. The wiki documentation for the function notes the error as well. As a result of discussing this issue in the Open-source Developer’s meeting on Monday January 13th, a STORM JIRA was raised to (again) highlight this issue (STORM-2006).

However, as the issue itself is actually related to either STORM-1831 per se and because it will actually require server-side changes, the issue is liable to be moved to a BUG status and triaged from there.

Snapshot uploads to the SL Feeds

“It has to do with authentication under the hood when getting the credentials and then using them to fetch the snapshot config info,” Simon Linden said at the Simulator User Group meeting on Tuesday January 14th. The problem is still being worked upon for those still affected by it (I am), but there is currently no ETA as to a complete fix for the matter.

With thanks to Mona Eberhardt for the meeting notes.

SL projects update: week 2 (2): Fitted mesh, breedable issues and [L4L]-Gestures & Walkers (Freebies) <3

Week 2 Deployments – Recap

  • On Tuesday January 7th, the Main channel  received the server maintenance project that had been on the RC channels for the past few weeks. It contains a single bug fix, related to vehicles becoming stuck in the ‘sat upon’ state (which prevents parcel auto return)
  • On Wednesday January 8th, all three RC channels received a new server maintenance project, which contains some crash fixes and the new LSL functions for uniformly scaling linksets, all of which are immediately accessible using current viewers (see part one of this week’s report for details).  This project also contains updates related to STORM-68 and STORM-1831, both of which require viewer-side updates which have yet to be released by the Lab.

LSL Syntax Highlighting Updates

Related to STORM-1831, these updates, which were deployed to the RC channels as noted above, will eventually see the viewer able to fetch LSL syntax highlighting rules directly from the simulator. However, there are currently some errors in the syntax file as deployed to the RC channels this week (repeating text, bad whitespace, or inaccurate definitions of functions), which require further corrective work. As there is currently no publicly available viewer which can use this new capability, it is unlikely this issue will prevent the server maintenance project from being promoted to the Main channel in week 3.

The file is designed to be cached by the viewer (once the viewer-side updates are released), and is around some 600KB in size. This means that the file should only ever be downloaded and updated if the LSL editor is open, and the viewer detects a version number difference between the file it has cached and the file held by the simulator to which it is connected.

It is unclear when the viewer-side updates for this work will appear. While planned to arrive in a release candidate viewer containing a number of Snowstorm updates, it appears there are still a few bugs in the STORM-1831 code, such as with function arguments being presented in an incorrect order in the tool tips, which may delay its inclusion.

Week 3 Deployments

It is likely the server project currently on the three RCs will be promoted to the Main channel in week 3 (commencing Monday January 13th). However, it is also likely there will be no RC updates for the week, as there are no server maintenance updates ready to go, and no other projects (such as group ban lists) are in a position to be deployed.

The first Server Beta UG meeting of 2014
The first Server Beta UG meeting of 2014

Viewer News

Release Viewer

Thursday January 9th saw the PackageFix viewer (dated January 2nd, 2014) promoted to the de facto release viewer. As per pervious notes in this blog, this viewer has no SL-related functional updates. Rather, it corrects an issue introduced with the 3.6.12 code base whereby the Windows executable name was changed from “SecondLife” to “SecondLifeViewer”, without removing any executable using the “SecondLife” name from the installation folder. As a result, any shortcuts pointing to the “old” executable would allow it to run if used, thus potentially triggering further auto-updates.

With this fix, any executables using the old name (“SecondLife”) are removed from the installation folder, so any shortcuts created to them will cause Windows to display an error message, and the user can then remove them or modify them to point to the correct executable.

Fitted Mesh Progress

Oz Linden is anticipating a release candidate of the Fitted Mesh viewer Real Soon NowTM. There are currently no open issues at present, and work is underway to move it to a release candidate status. Exactly how soon “Real Soon Now” might be, however, is a little up in the air, as Oz went on to note at the Open-source Dev meeting on Wednesday January 8th, saying, “there are a bunch of steps [still to be taken] and I don’t know how long they’ll end up taking.”

Continue reading “SL projects update: week 2 (2): Fitted mesh, breedable issues and [L4L]-Gestures & Walkers (Freebies) <3”