Steam for Linux

Steam for Linux

(How-To) Play Team Fortress 2 Without the FGLRX Legacy Driver
There seem to be a lot of discussion about the legacy FGLRX driver, but a few solutions to being able to play it. I may be adding to the noise, but I have found a solution that I think the Steam/Linux Community may enjoy as a pretty decent temporary solution until we hear (if at all) from AMD.

This is by far the best solution I have come up with for my Toshiba Satellite L505D laptop (running a dual-core AMD processor at 2.20 GHz and a Radeon HD 4200 graphics card with 256GB dedicated video memory). I've tested this solution for myself, it works to a satisfactory degree, and I've been rocket-jumping with my Soldier for about 4 hours now.

If you are willing to sacrifice a few comforts you frequently enjoy with proprietary drivers to play TF2 on Ubuntu 12.04 Precise Pangolin, then follow these instructions and you should be rocket-jumping to glory in no time. My solution is not perfect, but it DOES work.

Things you'll be sacrificing:
- Your default screen resolution (this solution will require you to play in a 800x600 resolution mode to play TF2 efficiently).
- In-Game visual/graphical high details (performance is our emphasis here).
- The legacy FGLRX driver (you will be using the open-source X.Org Radeon video driver instead----but with a different spin to it).
- Possibly not using Unity regular mode, but rather in "Unity 2D".
- Possibly not using Unity at all, but using the Fluxbox Window Manager instead.
- The comfort of not using/avoiding the Terminal.



You will need to add the third-party PPA "Ubuntu-X" from the Ubuntu-X Swat Team developer guys on Grab it here:

OR, just copy and paste the following commands into the Terminal from here:

sudo apt-add-repository --yes ppa:ubuntu-x-swat/x-updates
sudo apt-get update --yes --fix-missing --allow-unauthenticated
sudo apt-get upgrade --yes --fix-missing --allow-unauthenticated

Then run these commands to purge your FGLRX driver and reconfigure X:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK
sudo apt-get purge --purge --force-yes fglrx*
sudo apt-get install --reinstall --force-yes xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dri dh-modaliases

sudo dpkg-reconfigure xserver-xorg
sudo apt-get install --reinstall --yes xserver-xorg-core

And then you're done. Restart your computer just to be on the safe side:
sudo shutdown -P now

>>>> This PPA is supposed to give you a "better" X.Org video driver (uses "Gallium 3D"). I guess it's more suitable for 3D applications and gaming. The project was started by a Canonical employee (
>>>> I recommend being careful with adding this PPA as with the usual, traditional warnings of adding any third-party PPAs to your system (stuff could break, or not work properly, blah blah blah blah, use at your own risk, yada yada yada yada).
Personally, I've been using this PPA for a few months now, and I haven't had any problems with it. I've noticed that gaming on Red Eclipse is even slightly better than before (it's just my instinct, but I'm convinced).

Fluxbox is a lightweight X11 Window Manager that's great for gaming as it uses very little system resources. It is also highly customizable, so you can configure it precisely the way you want. NOTE: Fluxbox is NOT a Desktop Environment, so it won't install any extra software packages. You will have to select Fluxbox from the list of Desktop Environments at the LOGIN SCREEN. Installing Fluxbox will not automatically log you into a Fluxbox session every time you start your computer.

You can install the Fluxbox software packages using the commands below:

sudo apt-get install --yes --fix-missing fluxbox fbpager fbdesk

Now we are almost ready to play Team Fortress 2!

After Fluxbox has been installed on your computer, there will be a hidden folder for Fluxbox in your Home directory ("/home/yourusername/.fluxbox"). That folder contains the shell script (simply named "startup") that starts the Fluxbox session when you log into your user account.

To ensure that Fluxbox will always startup in our desired 800x600 screen-resolution mode, we need to tweak this shell script and add another command to it. Open the shell script with the Gedit text editor.

In this text file (shell script), find the command "xmodmap '/home/yourusername/.Xmodmap". Create another space just below that command, then type in the following: "xrandr -s 800x600 -r 60" (without the quotation marks, of course).

This ensures that our screen resolution will be 800x600 and our screen refresh rate will be 60 Hz. Save your changes, exit Gedit, log out of your account, select "Fluxbox" from the list of Desktop Environments, and log back into your account. Use the XTerm terminal emulator to launch Steam from the command line:

username@computer::~$ steam

That's it! You are done, and you are now ready to play Team Fortress 2 on Ubuntu 12.04 Precise Pangolin.
Date Posted: Jan 14, 2013 @ 8:12pm
Posts: 0