User Tools

Site Tools


32-bit_firestorm_in_64-bit_ubuntu
Advertisement

Using Firestorm in 64-bit Ubuntu


NOTE: The steps here have not been rigorously tested, and therefore might not work for you.

Do not proceed with any package installation listed on this page if it will remove any packages, without a clear understanding of the potential impact to your system.


The steps here apply to Ubuntu 16.04 and their variants (e.g. Kubuntu) and derivatives (e.g. LinuxMint 18.x), unless otherwise indicated.

Canonical ended support for the transitional package of ia32-libs. And because both the 32-bit and 64-bit viewers have 32-bit dependencies, viewers may not perform as expected, or at all in some cases.

There are two solutions, one identifies libraries that are dependencies, the second is a more complete installation of 32-bit support.

Method 1 - Install Needed 32-bit Libraries

Note that most 32-bit libraries cannot be installed on 64-bit Linux using Synaptic or the Software Center; you must use apt-get in a terminal.

Minimum for 32-bit viewers

Ensure 32-bit architecture support is enabled

sudo dpkg --add-architecture i386
sudo apt-get update

Install the base libraries

NOTE: These files can't be installed using Synaptic or Software Center.

libglu1-mesa:i386 libgtk2.0-0:i386 libidn11:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libqtwebkit4:i386
sudo apt-get install libglu1-mesa:i386 libgtk2.0-0:i386 libidn11:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libqtwebkit4:i386

Sound and Streaming Music

gstreamer0.10 is required; gstreamer1.0 is not yet supported.

You may need to install additional plugins:

64-bit
OS
gstreamer0.10-pulseaudio:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386 pepperflashplugin-nonfree
32-bit
OS
gstreamer0.10-pulseaudio gstreamer0.10-plugins-base gstreamer0.10-plugins-good pepperflashplugin-nonfree
64-bit command
sudo apt-get install gstreamer0.10-pulseaudio:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386 pepperflashplugin-nonfree
32-bit command
sudo apt-get install gstreamer0.10-pulseaudio gstreamer0.10-plugins-base gstreamer0.10-plugins-good pepperflashplugin-nonfree

NOTE: one or more of these packages may attempt to remove their 64-bit counterpart. Consult your distribution's help documents and/or forums to see if there is a means of installing both.

Additionally, depending on your particular Linux and hardware setup, you may need to locate and install some additional packages:

esound-common libao-common libao4 pulseaudio-esound-compat

Growl Notification from 32-bit viewers

Growl is a desktop service that puts notifications on your desktop. Firestorm can make use of that service and show you notifications while the viewer is not in focus.

sudo apt-get install libnotify-bin:i386

NOTE: libnotify-bin:i386 may attempt to remove its 64-bit counterpart. Consult your distribution's help documents and/or forums to see if there is a means of installing both.

Additional libraries

If you find that you are running into problems running Firestorm, or are receiving a media-plugin-webkit error, Manwa Pastorelli recommends the following packages:

Install the following packages

libstdc++-4.8-pic:i386 libapr1:i386 libaprutil1:i386 libgl1-mesa-dev-lts-xenial:i386 libatk1.0-0:i386 libdb5.3:i386 libfontconfig1:i386 libfreetype6:i386 libuuid1:i386 libx11-6:i386 libxinerama1:i386 libxrender1:i386

Packages shown in red may attempt to remove other packages from your system, which may lead to system instability. Install these packages one at a time and observe any mention of packages to be removed.

Packages shown in green may be already installed as a result of installing one of the other packages listed on this page.

sudo apt-get install libstdc++-4.8-pic:i386 
sudo apt-get install libapr1:i386 libaprutil1:i386 libgl1-mesa-dev-lts-xenial:i386 
sudo apt-get install libatk1.0-0:i386 libdb5.3:i386 libfontconfig1:i386 libfreetype6:i386 libuuid1:i386 libx11-6:i386 libxinerama1:i386 libxrender1:i386

If you run across the media_plugin_cef failure message, installing these packages may help:

libnss3:i386 libnspr4:i386 libxtst6:i386 libgconf-2-4:i386 libxss1:i386
sudo apt-get install libnss3:i386 libnspr4:i386 libxtst6:i386 libgconf-2-4:i386 libxss1:i386

Method 2 - Full 32-bit install

NOTE: This method is not recommended for Ubuntu 14.04 or newer, nor any variants of newer Ubuntu releases.

This method installs the 32-bit libraries from a previous distribution. Note that this may cause undesirable side effects, user beware. This has been tested with the release candidate of Ubuntu 13.10 and all is well and functional. This may fail on newer versions of Ubuntu and Mint.

Open a terminal and enter the following commands:

sudo add-apt-repository "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse"
sudo apt-get update
sudo apt-get install ia32-libs

Install Firestorm

Regardless of the method you choose, rebooting at this point can ensure that all required 32-bit libraries are referenced, though this may not be necessary.

Grab the Release

Extract the program

cd ~/Downloads
mkdir Firestorm

# For xz compressed files
tar xf Phoenix_Fire{tab to expand} -C Firestorm --strip-components=1

# For bz2 compressed files
tar xjf Phoenix_Fire{tab to expand} -C Firestorm --strip-components=1

Try It Out

At this point, you can launch Firestorm from a terminal:

cd ~/Downloads/Firestorm
./firestorm

And watch the output, optionally copy it for analysis since not all of it made its way to the viewer log.

NOTE: Qpainter errors can be safely ignored.

You can also create a desktop shortcut, either manually or by running this script in a terminal:

~/Downloads/Firestorm/etc/refresh_desktop_app_entry.sh

Troubleshooting

Crashing

If you crash continually, it will be helpful to get a backtrace, like so:

cd ~/Downloads/Firestorm
sed -i "/^#export .*gdb/ s/^#//" ./firestorm # This enables gnu debug
./firestorm

At the (gdb) prompt, type r to launch Firestorm. When Firestorm crashes, you should be back at a (gdb) prompt.
Type bt to get a backtrace. Copy everything from the terminal screen to a text file (there may be several pages, press Enter until you get the gdb prompt again).
Type q to exit gdb.
Create a Support Request on our Jira and attach the backtrace as well as crash logs. JIRA can guide you through the process.

NOTE: You can turn off debugging with:

sed -i "/^export .*gdb/ s/^export/#export/" ./firestorm

Streaming Audio

Log out of Firestorm.

Using your file manager (dolphin or whatever), locate the Firestorm install directory), and inside that the shell script called firestorm. Open this with a text editor (Kate, or whichever you prefer).

Find the line, '#export LL_BAD_OPENAL_DRIVER=x', in the 'firestorm' script, and take out the '#', to make the line look like 'export LL_BAD_OPENAL_DRIVER=x', save the script.

Now run Firestorm and try streaming audio. You may experience a delay in in-world sounds; if so, relogging might help.

Streaming Video - Flash Only

Firestorm 4.7.7

You need to install the pepperflash plugin for Chromium

sudo apt-get install pepperflashplugin-nonfree
Firestorm 4.7.5 and previous

If you have a 64-bit linux install, then the default currently is that you will also have a 64-bit version of Flash. This will not work for viewing flash videos. Try installing the 32-bit version of flash as well, then proceed as follows:

First create a 'plugins' folder in your .mozilla folder, copy, paste, and enter the following:

mkdir ~/.mozilla/plugins/

Now create the link in that new folder, copy, paste, and enter the following line:

ln -s /usr/lib/flashplugin-installer/libflashplayer.so ~/.mozilla/plugins/libflashplayer.so

Flash video should now work, to test it out enable the inbuilt browser and head over to YouTube, and try a video.

NOTE: Streaming QuickTime may not work on a 64-bit Linux with either the 32-bit or 64-bit Firestorm.


Contributors

  • Manwa Pastorelli
  • Jean Horten
  • ShortyObrien
32-bit_firestorm_in_64-bit_ubuntu.txt · Last modified: 2016/11/03 00:32 by misteracacia