Kastang Ramblings of a Geek

10Jan/100

WoW on Linux

Several months ago I switched to Ubuntu as my primary OS. The main reason I continued to use Windows at all was World of Warcraft. After much trial and error I have World of Warcraft running at a very acceptable performance rate on my system. Well enough to delete my Windows partition entirely from my hard drive. I recently posted on /r/wow on Reddit about playing World of Warcraft. Quite a few questions were asked. I will cover some of the more common ones in greater detail.

  • Will my old AddOns work?
    Short Answer: Yes.

    Long Answer: Yes. Wine runs World of Warcraft. Essentially AddOns add to the existing functionality of WoW. WoW AddOns cannot communicate outside of World of Warcraft. Therefore there should be no compatibility issues. The people over at WoWMatrix even have a native Linux client available. The WoWMatrix client makes updating AddOns as easy as clicking a button. Windows based WoW AddOn clients such as the Curse Client may also work using Wine, I have not tested though.

  • Should I install WoW using CD, Installer, or Copy?
    If you have an existing WoW install on another partition, hard drive, or computer I would highly recommend directly copying the entire WoW folder over to your Linux partition. It is by far the fastest way. My second recommendation would be to use the WoW universal installer. The universal installer downloaded the entire game over the internet, eliminating the need for CDs. Depending on your internet connection speed, expect this to take at least several hours. Installing from the CDs should be a final resort. WoW installation over CDs can sometimes be very tricky and time consuming. The extra effort is not worth the extra time the universal installer will take. If you must go this route, and if you have issues with installing from the disks, try copying all data from each disk to one folder on your hard drive and run the installer from that folder. This is a work around for a common problem while installing via the CD.

  • Hardware
    Hardware selection is very important, especially while using Linux to play WoW. Generally speaking 4GB of RAM and a dual core processor is a minimum. The graphics card is especially important. Currently a NVidia card will perform better then a comparable ATI card under Linux. This is because ATIs Linux drivers just aren't that good. There has certainly been improvements in the past year, though they have not quite caught up to NVidias Linux drivers quite yet. Do not be scared away if you have an ATI card though. I personally use an ATI Radeon 4870 1GB card. I play on ultra settings and I get 60+FPS while questing/doing dailies. ~40FPS doing BGs other then WG. The biggest downfall of this card is when raiding in >15 groups. Often in large groups I will get between 20-30FPS, sometimes lower. I usually lower my Video settings to medium while doing these activities. Often it is not noticeable, in such a large group it is difficult to determine FPS.

    My Hardware: 4GB RAM, AMD Phenom II x4 940(4 x 3.0GHz), ATI Radeon 4870.

    Something else worth mentioning is the lack of a hardware cursor with OpenGL. This means that the mouse will become sluggish if FPS drop below 30FPS. There is a patch for Wine available that will use the systems hardware cursor. Some functionality is lost though, such as hovering over tooltips. My primary character is a Warlock. I have most my keys bound, making the mouse issue trivial at best. The mouse issue should not be an issue for anyone besides healers or anyone who is a clicker.

  • Stablilty
    Stability is the same as would be expected using Windows. I rarely ever have WoW/Wine freeze while playing. If you have issues, I would recommend looking for other possibilities such as bad ram, or AddOns conflicting. I would also recommend running a repair on WoW. I have not run into a Wine specific bug for several months.

  • Tips?
    I have a few tips that hopefully will ease the tension of switching from Windows to Linux for World of Warcraft. Most importantly, make sure you have the latest GPU driver available for your card. Drivers are always improving, often fixing issues, and increasing performance. Also make sure all desktop effects are off while running WoW. If you are using Ubuntu/Gnome - Goto: System > Preferences > Appearance ---> Click on Visual Effects, and select None to turn off all effects. This is important, more times then not, WoW/Wine will not run at all with any desktop effects enabled, if it does - expect less then desirable performance.

    I would also suggest using another desktop manager other then GNOME or KDE. Both of these are heavy on resources, when playing WoW every resource is vital. My personal recommendation would either be to use just a Window Manager (OpenBox, FluxBox, etc) or a lightweight desktop environment such as XFCE.

The journey to World of Warcraft on Linux will most likely be difficult in the beginning. Don't expect everything to work flawlessly the first time around. Don't give up, the effort will be well worth it. I hope the answered questions above will help to determine if WoW/Linux is right for your system. There are already many great installation guides floating around the internet, I would recommend the installation guide on WoWWiki.

9Jan/100

Mangler – A native Linux Ventrilo Client!

Mangler is an open source VOIP client capable of connecting to Ventrilo 3.x servers. It is capable of performing almost all standard user functionality found in a Windows Ventrilo client. Mangler is developed and maintained by Eric Kilfoil and Daniel Sloof. -mangler.org

In my experience, using Ventrilo on Linux (using Wine) has always been troublesome at best. Often I would have to resort to using hacked patches, or giving up some functionality just so I could use Ventrilo while raiding. Some newer versions would completely break functionality on Wine. This problem has all come to an end with the release of a fantastic new software called Mangler. It was released a month ago. It is a native Ventrilo client for Linux systems. I have used this software flawlessly for a few weeks now. I personally use this software while playing World of Warcraft on Wine. The interface is clean, and supports PTT functionality (both keyboard and mouse options). Mangler also claims to support both GSM and Speex codecs, thought I have only tested it with Speex. Mangler also supports individual user volume control. This is quite a list of functionality for a version 1.0. I consider this a must have piece of software if you need Ventrilo on a Linux system.

16Aug/090

Adjust ATI Fan Speed in Ubuntu

I found this post hovering in my Drafts folder today, the blog post is old but the information still applies.

Currently ATI drivers do not have the ability to modify fan speeds from their GUI. Here is a quick and easy way to manually adjust  fan speeds via Terminal. The commands below work with my ATI Radeon 4870 card, I would assume they will also work with any ATI card with a fan though. Note: ATI drivers from ATI website are required.

To check the temperature of your card:
aticonfig --adapter=0 --od-gettemperature

To change the fan speed:
aticonfig --pplib-cmd "set fanspeed 0 XX"
(Where the XX is replace it with the fan speed percentage)

8Oct/080

Remove :3000 from Tracks GTD domain

Here is a relatively simple way to remove the :3000 from the end of your domain if you are using Tracks GTD.

Before following the instructions, please make sure you meet all the conditions below:

  • -Working on a dedicated box (Have access to httpd.conf file and access to installing Apache modules)
  • -Have mod_proxy and mod_proxy_http installed and working.
  • -Have Tracks GTD up and running.
  • -Have command line experience. (Please do not try this if you are not sure what you are doing, you could damage your Apache install.)
  • -Backed up your configuration files.

SSH into your server, fire up your favorite editor and goto your httpd.conf file, in my case I am using Vi.

Find the domain/sub-domain Virtual Host you would like to remove the port number. I recommend using a subdomain.

<VirtualHost <server ip>:80>
    ServerName gtd.mydomain.com
    ServerAlias www.mydomain.com
    DocumentRoot /home/mydomain/public_html/gtd
    ServerAdmin webmaster@mydomain.com
</VirtualHost>

Right above the </VirtualHost>line, add in the following:

######
ServerSignature On
    ProxyRequests Off
    <Proxy *>
         Order deny,allow
         Allow from all
    </Proxy>
    ProxyPass / http://gtd.kast.me:3000/
    ProxyPassReverse / http://gtd.kast.me:3000/
    ProxyPreserveHost On
######

You will have to edit the Proxy lines as needed, basically both lines should read the same and be your ‘ServerName’ and the port number you have Tracks running on.

I hope this is simple enough to understand. I will answer questions via comments.