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 14.04 and 14.10 and their variants (e.g. Kubuntu) and derivatives (e.g. LinuxMint 17). Package names as well as dependencies may be slightly different in other operating systems.

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 is a more complete installation of 32-bit support, the second identifies only those libraries that are dependencies.

Full 32-bit install

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.

Open a terminal and enter the following commands:

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

Reboot Linux. If all goes as expected, Firestorm will launch and function normally1)

Install only the 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.

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 Ubuntu 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 gstreamer0.10-ffmpeg:i386 gstreamer0.10-pulseaudio:i386 gstreamer0.10-plugins-base:i386
gstreamer0.10-plugins-good:i386 gstreamer0.10-plugins-bad:i386 gstreamer0.10-plugins-ugly:i386
32-bit gstreamer0.10-ffmpeg gstreamer0.10-pulseaudio gstreamer0.10-plugins-base
gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly
64-bit command
sudo apt-get install gstreamer0.10-ffmpeg:i386 gstreamer0.10-pulseaudio:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386 gstreamer0.10-plugins-bad:i386 gstreamer0.10-plugins-ugly:i386
32-bit command
sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-pulseaudio gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly

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 packages2):

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-trusty: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 packages from your system, which can 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-trusty: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

Install Firestorm

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

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.

1) Adobe no longer makes their flash player for Linux, the last available version being 11.2 and obsolete.
2) identified by Jean Horten
32-bit_firestorm_in_64-bit_ubuntu.txt · Last modified: 2015/06/03 03:13 by misteracacia