Firestorm VR Mod 6.4.12

Firestorm VR Mod 6.5.3.65659 was released on 30th March 2022 and created using “GitHub Actions” (GHA) thanks to @humbletim. The user instructions are identical to Firestorm VR Mod 6.4.12 as described below.

Firestorm VR Mod is a version of the popular Firestorm Viewer for Second Life and OpenSimulator with modifications to provide VR capabilities for VR Head Mounted Displays (HMDs) via SteamVR. Firestorm VR Mod is now available from https://github.com/humbletim/firestorm-gha/releases (Assets)

For Firestorm VR Mod community support use the Discord Discussion Channel:
P373R-WORKSHOP by p373r_kappler [Invite]

Table of Contents
Usage Black Edges Black Display SteamVR Popup
Default View Settings FPS Advice Fn Keys
Xbox 3D SpaceNav Source VRLand Test


Firestorm 6.4.12.62831 includes support for EEP (the Environmental Enhancement Project), support for the Chrome Embedded Framework Live Video Streaming, and various improvements for OpenSim support.

Peter Kappler maintains “P373R VR Mod” source code modifications to allow the Firestorm Viewer to work with VR headsets at https://gsgrid.de/firestorm-vr-mod/ – go there to download his latest viewer add on modification source code and for his usage information, advice on trouble shooting, etc.

@humbletim has created an automated scripted build system initiated by @thoys using GitHub Actions (GHA) which merges Peter Kappler’s VR Mod code additions into stock Firestorm and which can autobuild a release executable version. See https://github.com/humbletim/firestorm-gha/.

Download the release installer from the “Assets” list at the bottom of the entry for the latest version available at Releases.

Usage

VR Mode instructions are available via prompts in the viewer or via information on https://gsgrid.de/firestorm-vr-mod/. In short…

  • Press CTRL+TAB to load or unload the SteamVR driver. Do this each time you want to enter VR mode after starting up.
  • Press TAB key to enable and disable VR mode.
  • Press F5 to open the settings menu, you should see a text menu in the middle of the screen. The settings menu works only when VR mode is enabled.
  • Press F6 to increase the selected value. Press F7 to decrease the selected value.
  • Press F5 again to switch to the next menu entry.
  • By pressing F5 on the last menu entry the menu will close and save the settings in a config file which is located in
    C:\Users\your_user_name\AppData\Roaming\FirestormVR_x64\vrconfig.ini
    and which can be edited directly. Pressing TAB for VR mode reloads the config file.
  • Hold F3 to see some debug info (example here).
  • Press F4 to disable and enable HMD’s direction changes. It is better to disable the HMD’s direction interface when editing and flying with the camera. This may be subject to change in future versions.
  • In the camera floater two buttons has been added to offset the HMD’s base rotation.
  • Moving the mouse to the corners or the sides will shift the screen to this direction so menus or buttons can be accessed more easily.

For issues on some specific headsets you might wish to try the Firestorm VR Mod Discord Channel: P373R-WORKSHOP by p373r_kappler [Invite]. Peter Kappler also offers the following advice…

  1. Firestorm VR Mod works best while sitting and using mouse and keyboard.
  2. WindowsMixedReality users may need to press windows key + Y to unlock the mouse when the HMD is worn.
  3. If your VR hardware cannot maintain constant 90 FPS you could try enabling motion reprojection in your HMD. In WindowsMixedReality it can be done by uncommenting “motionReprojectionMode” : “auto”, in the config file located at “C:\Program Files (x86)\Steam\steamapps\common\MixedRealityVRDriver\resources\settings\default.vrsettings”. This will make the HMD interpolate between frames and create a smoother experience. Vive and Oculus should have similar functionalities which can be accessed from SteamVR settings.For Vive it is called Motion Smoothing.

Black Edges or Strips in HMD Display

Firestorm VR Mod shifts the display in VR mode to an edge if the mouse or pointer is placed towards an edge or corner of the viewer window. This is to allow easier access to menus, user interface buttons and HUDs. It can be confusing though if you enter VR mode and find that part of the view is black. It is usually because the mouse is placed towards a corner or edge. Just move the mouse back to the centre of the screen and the full VR view should appear.

All Black HMD Display

This was an issue in earlier versions and is mostly resolved now… but it can still occur with some headsets. In case you encounter issues with a black HMD display… Peter Kappler suggests the following:

  • Create a program-specific profile for the viewer in your graphic card settings and enable FXAA.
  • Second Life only supports FXAA. Other types of Anti-aliasing can be disabled.

SteamVR Reset/Quit Screen Shows in HMD

When you switch to VR mode (after activating VR with Ctrl+TAB and using TAB), you may see a “Next Up… Firestorm” message or a SteamVR popup screen to “Reset the View” and “Quit SteamVR”. This has been observed to occur on the first run of a newly installed viewer. It can usually be dismissed with your controller if that is active, but if not the screen may continue to show the popup in VR mode in the HMD. Try another round of ctrl+TAB and TAB or if that does not work try stopping and restarting the viewer to clear this. These glitches may be more to do with legacy OpenVR + the latest SteamVR updates rather than Firestorm or VR Mod code changes.

Reset Default View in Firestorm Viewer

If your camera viewpoint appears to be wrong… type ESC or Shift + ESC a few times. That should reset your camera view. You could also try CTRL + 9, which does the same thing.

Settings and Setup

Firestorm VR Mod installs into its own folder and uses its own user Settings directory so that the VR Mod viewer can be installed alongside the standard Firestorm viewer. Note that if you want to import existing Firestorm accounts/settings you have to manually copy them over between AppData/Roaming/Firestorm_x64 and AppData/Roaming/FirestormVR_x64 folders.

As usual, Ctrl+TAB initially sets up SteamVR (and HMD support as needed), TAB is used to toggle VR mode on or off, F5 lets you select and step through the various VR HMD or user specific settings for IPD, texture shift to register the left and right eye images, and focal distance to change depth perception, etc. F6/F7 are used to increment and decrement each setting selection.

Peter Kappler suggested the following process to establish suitable settings for your HMD:

  1. Set IPD to 0 (zero)
  2. Then adjust Texture Shift until image is sharp and focused
  3. Then adjust IPD which separates your cameras to left and right to get a good 3D effect

If you see a lot of hover tips showing under the mouse it could be that the debug setting “ShowHoverTips” is set to TRUE (the default) which may show something constantly under the mouse even for inert unscripted objects. You can turn that off via Debug Settings or via Preferences > User Interface > 3D World > Show Hover Tips. Via that same preferences panel, you might alternatively prefer to lengthen the delay before hover tips are activated.

In VR Mode it may be useful to show local nearby chat in “bubbles” over each avatar’s head. This can be done via Preferences > Chat.

Advice on Frame Rate

You do need to ensure you have a good frame rate to have a comfortable VR experience. The Firestorm VR Mod Viewer will not work well if the Second Life/OpenSim region you visit cannot normally be displayed in 2D with a decent frame rate. In VR mode you can assume you will get 50% or less of the frame rate that shows on the 2D normal screen. At low frame rates bad flickering or texture tearing will occur in VR mode. My suggestion is to look at the frame rate (in Firestorm it is displayed in the upper right hand corner of the viewer) and to adjust the graphics settings (especially draw distance, shadows and quality sliders) until you have around 100fps (and definitely more than 50fps) and then try VR.

To improve frame rate (FPS) you might opt to set shadows to “None”, Water reflections to “None: Opaque” and use a reasonably low draw distance appropriate to the scene. Also close viewer UI windows and tools and detach any HUDs you are not actively using.

Firestorm 6.5.3 and later includes an “Improve Graphics Speed” performance tool and facilities to autotune the FPS which may be helpful. See advice on FPS improvement and the new “Performance Floater” and “FPS Autotune” capabilities in Beq Janus’s Blog Post (21-Mar-2022).

Peter Kappler also suggested: Particles… a fireplace is going to eat 20 to 30 fps! So turn them off for VR.

In some situations the rendering of Linden Water, the water surface and its effects, can significantly reduce frame rates. In an environment that makes sense, such as a meeting room, disabling Linden Water can boost frame rates. Do that via Advanced (Ctrl+Alt+D) > Rendering Types > Water (or keyboard shortcut Ctrl+Shift+Alt+7).

Tips from David Rowe for using the CtrlAltStudio VR Viewer (which is no longer maintained) may also be relevant:

  1. To improve your frame rate, reduce your draw distance and/or tweak other display settings such as advanced lighting model, shadows, FOV, pixel density, etc.
  2. Make sure you don’t have Preferences > Graphics > Rendering > Limit Framerate enabled.
  3. To display avatar chat above avatars use Preferences > Chat > Visuals > Show chat in bubbles above avatars.
  4. With floating text you may want to adjust the distance the floating text fades at so that distant text is not so annoying in VR mode: Preferences > User Interface > 3D World > Floating text fade distance.

Function Keys and Gestures

If you have issues with some of the Function keys (F5 or other Firestorm VR Mod keys) not working… look to see if the F keys involved are mapped to active “Gestures”. You can find a list of the gestures you currently have active and the keys associated with them using the “Gestures” toolbar button… or the Comm -> Gestures menu item (Ctrl+G shortcut).

Xbox One Controller

An Xbox One controller as used with the Oculus Rift (or an Xbox 360 controller) can be enabled, as usual, in Firestorm via Preferences -> Move & View -> Movement -> Joystick Configuration -> Enable Joystick.

You will probably find the controls are under or over sensitive, or some buttons and triggers don’t do what you expect. See this blog post and the image here (click for a larger version) for some suggestions as to how to amend the settings…
https://hugsalot.wordpress.com/2012/12/03/joystick-settings-for-firestorm-with-xbox-360-controller/

You might want to enter “-1” rather than axis “5” as an indication that axis is not mapped. With the setup suggested the “A” button toggles between the normal avatar view and “FlyCam” mode allowing you to move the camera separately to the avatar.

3D SpaceNavigator or SpaceMouse

3DSpaceNavigatorAs with all versions of Firestorm, the viewer supports other forms of “joystick”. One is the 3Dconnexion SpaceNavigator (aka SpaceMouse) which is a “3D mouse” supporting both avatar motion and by clicking the left hand button the separate “FlyCam” camera control.

My recommendation is to install the SpaceNavigator just by plugging it into Windows and receiving default Windows drivers for the device. I do not install any special SpaceNavigator drivers as suggested on the Second Life Wiki, some of which are incompatible with Second Life viewers.

Firestorm VR Mod Source

This version of Firestorm VR Mod 6.4.12.62831 is based on the Firestorm source code at Commit r63477:5b44308aee43 (Wed, 02 Dec 2020 21:32:05). Firestorm source is available at https://vcs.firestormviewer.org/phoenix-firestorm. Look under “Commits” and select the branch for Firestorm_6.4.12 (link here).

With Firestorm VR Mod Peter Kappler uses a coding approach which injects VR capabilities into the Firestorm Viewer to make the mod easier to maintain in future and for others to repeat or adapt. The source is available from his web page at https://gsgrid.de/firestorm-vr-mod/ [Local Copy].

Impressively, the source is written in a way that it requires only some editing in the llviewerdisplay.cpp and adding 2 files to the project. All changes are marked with #####P373R##### comments. Peter also included the openvr header and lib files you will need in the rar. For information about the rest of the files you will need, read how to compile Firestorm at https://wiki.firestormviewer.org/fs_compiling_firestorm.

Note that the VR Mod source remains stable since version 6.3.3 with no changes are needed for insertion into Firestorm 6.4.12.

The GitHub Actions (GHA) source by @HumbleTim used to combine Firestorm source and Peter Kappler’s P373R VR Mod addons and build it using Visual Studio 2019 is available via https://github.com/humbletim/firestorm-gha.

VRLand – Test Area

VRLand on OSGrid is a metrics area for performance testing and to establish virtual field of view in your headset.

hop://hg.osgrid.org:80/RuthAndRoth/16/16/1000

More detail at: https://blog.inf.ed.ac.uk/atate/2016/07/20/vrland-a-community-and-test-region-for-virtual-reality-in-virtual-worlds/

Ai-Austin-with-Oculus-DK2-800x640You can also pick up a VR Headset attachment for your avatar in OpenSim on the OSGrid VRLand area. Or in Second Life pick up the VR HMD on the Second Life Marketplace. The 3D models of the Oculus Rift were provided for free use by William Burke (MannyLectro) and imported to OpenSim by Michael Cerquoni (Nebadon Izumi) and Second Life by Ai Austin.

This entry was posted in OpenSim, Second Life, VR and tagged , , , . Bookmark the permalink.

5 Responses to Firestorm VR Mod 6.4.12

  1. bat says:

    Firestorm version information shown in conversations where this can be specified:
    • W at start means Windows, M Macintosh, L Linux.
    • f, s, etc after version number are to indicate the viewer skin in use.
    • * on end means RLV is enabled.

  2. bat says:

    Paulf on Discord on 28-Jun-2021 wrote these notes which may be helpful for Oculus Quest 2 users…

    A Quest 2 user you can opt for Link or Virtual Desktop or, Air ink. for me Air link is terrible, and that’s despite the fact I have a 5Ghz, Wifi 6 router which my PC is directly connected to via Ethernet and the quest is in the same space. I have not spent any time resolving that though to be fair.

    I went for Virtual desktop, and it works very well, after some messing about …

    So the basic flow is,

    Launch the Firestorm VR modded version
    Launch VD
    Launch Steam VR from within VD (otherwise it seems Steam VR wont recognise the HMD)
    Focus on Firestorm
    Ctrl Tab

    There are plenty of other instructions re the mod settings, but in essence F5 to show the options and F6/7 to change values.

    Don’t forget the cursor needs to be roughly in the middle of the screen, unless you are accessing the UI or HUD elements.

    Thing is, for me at least (and once you remember/figure out the mouse needs to be in the middle(ish) of the screen) – it was immediately immersive but very very low resolution.

    Steam VR rendering has no effect it seems, but the issue (as pointed out by others in earlier posts) is about getting firestorm to run at a high resolution, and firestorm determines its resolution by the hardware it believes it is running on. for me this was a 1920 x 1080 monitor, its simply not enough. so it becomes about convincing firestorm to believe it is running on a higher resolution monitor, and for that (with NVidia drivers) DSR is the key.

  3. bat says:

    Sgeo (as reported on Discord) is experimenting with a branch off Humbletim’s GitHub Ctions approach.. while trying to improve the vr view creation methods and automatically compute settings… https://github.com/Sgeo/firestorm-gha/actions/runs/1152716073

  4. bat says:

    [Update: 4-Oct-2021] a Firestorm VR user reports partial success in using “iVRy” (@iVRy) for SteamVR – to use Sony #PSVR, Oculus Go/Quest or Smartphone as a #SteamVR #VR Headset for a PC. Evaluate for free, use In-App Purchase or Steam DLC for “Premium Edition”.

    Steam: https://store.steampowered.com/app/992490/iVRy_Driver_for_SteamVR/

  5. bat says:

    New World Notes blog post on using Firestorm VR Mod with the Oculus Quest 2…

    https://nwn.blogs.com/nwn/2021/03/second-life-social-vr-oculus-quest-2-firestorm-instructions.html

Comments are closed.