Wine troubleshooting

Troubleshooting Wine tries to address the common issues people are having with running World of Warcraft using Wine on Linux. Important note: Make ABSOLUTELY SURE you run the latest Wine version, as well as the latest version of your graphic card drivers. If you don't, and encounter errors that have been fixed in newer versions... you're out of luck.

Can't see the installer tomes on the Wrath DVD
Most distros automounter programs don't include the "unhide" option for UDF filesystems. It will most likely be mandatory to remount manually.

The exact command that would need to be run (as root) would be mount -o remount,unhide /dev/sr0

This will be different based on where your distro places the DVD drive. An easy way to check would be to run the  command and choose the relevant device (which will typically be sr# or cd#).

Post-3.3.0 runtime error
WoW changed the underlying C++ library it uses in patch 3.3.0 to msvcr8 (up from v7.1). Wine's built-in isn't quite there yet. Error messages similar to the following will display in console output after logging in if users do not have native msvcr8 installed: fixme:actctx:parse_assembly_elem wrong version for assembly manifest: 8.0.50727.762 / 8.0.50727.4053 fixme:actctx:parse_manifest_buffer failed to parse manifest L"Z:\\Network\\wow\\World of Warcraft\\Microsoft.VC80.CRT.manifest" fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)

The incredibly useful WineTricks shell script (right-click, save-as) can be used to install the runtime: sh winetricks vcrun2005

Post-3.3.5 login issues
Using Wine version 1.1.44 or later together with Linux kernels between 2.6.33 and 2.6.35 RC4 (inclusive) causes WoW to crash at Battle.net login. It is recommended to upgrade the kernel to 2.6.35 final or later.

Using OpenGL with the built-in wldap32.dll may also cause a crash upon logging in. Either install vcrun2005 using winetricks, switch to Direct3D, or copy a native wldap32.dll into /windows/system32 and use winecfg to configure wldap32.dll library to "native, builtin".

Ubuntu 10.10 ptrace issue
Under Ubuntu 10.10, changes in the behavior of the  system call break some Wine applications, including WoW. To fix this, edit the file  and replace the last line

kernel.yama.ptrace_scope = 1

with

kernel.yama.ptrace_scope = 0

Then reboot the system.

Post-4.0.1 KERNEL32.SetFileValidData crash
The installer and launcher for WoW 4.0.1 and later require a new function in kernel32.dll. If your launcher crashes, upgrade Wine to at least version 1.2.1.

Config.wtf
Main article: Config.wtf

Sound corruption
If you have problems with sound stuttering you may have to increase or decrease the sound buffer a bit. It's configured by changing the value of the SET SoundBufferSize line in wtf/Config.wtf. Anything from 50 to 250 may cure your problem. Bear in mind that excessive buffer size may create audio sync issues.

You may try the following option as well: SET SoundOutputSystem "1"

UI corruption
If you experience corrupt icons or interface textures, you then you may need to set the UIFaster parameter in wtf/Config.wtf

Use it like this:

Set UIFaster "x"

Where x equals:

0 – This turns off all UI acceleration 2 – Enables partial UI acceleration only. 3 – Enables all UI acceleration.

Example: Set UIFaster "2"

The value 2 usually corrects this problem.

Audio driver
If you experience stuttering, bad sound or no sound what so ever, then you must try a few things in winecfg. Just type winecfg in a terminal, press enter, and the winecfg window should appear and you should go to the audio tab. Alsa is preferable.

Also, refer to the Voice chat section for information on getting multiple audio streams working with OSS and ALSA (more than one program using audio at once). It will save you grief should you ever want to listen to music and chat on Ventrilo or Teamspeak while playing, and similar.

You may also try ticking "Driver Emulation". Remove it again if it doesn't help.

If you hear no audio at all and set the Windows emulation to Vista, try setting it to XP (or lower if that does not work. XP should be your safest bet though if sound still does not work and you want to try out other settings).

Utilizing PulseAudio with Wine
Another resolution for the stuttering/choppy sound is to use the PulseAudio OSS wrapper. To do this:

Open a terminal console and type: padsp winecfg

Go to the Audio tab and deselect all sound drivers and select only OSS, click apply.

Modify any launcher shortcuts you have to: (modify to your Wow.exe file's location!!!) padsp wine "c:\World of Warcraft\Wow.exe" -opengl

Glitch every 3-5 sec
If you see a noticeable graphical stutter every 3 to 5 seconds or so for this you need to edit /etc/X11/xorg.conf and add something like: Option "UseFastTLS" "2"

to the Video card "Device" Section. This is normally a problem with the proprietary Linux Drivers for ATI cards.

Another possibility is a problem with the default kernel scheduler; this is particularly an issue with nVidia graphics. This is the same fix as described below, in the "Stuttering every 15 seconds.." section.

Installer.exe and RAM type
On certain systems there is a problem with RAM and the WoW Installer. On a Core2 Duo 6400 with DDR2-800, setting the RAM to DDR2-533 in BIOS allowed the installer to work flawlessly the first time. It's easy to confuse this issue with a CD/DVD problem because the installer will complain about a checksum error.''

Stuttering every 15 seconds and flickering line fix
On some distributions, World of Warcraft stutters exactly every 15 seconds. You will also notice a flickering bar on the top of your screen. This is associated with kernels using the CFS scheduler, which roughly corresponds with version 2.6.24 of the Linux kernel (or later).

In most cases, the fix will require rebuilding the kernel, and setting the kernel build configuration option "CONFIG_SCHED_DEBUG" to "y". To see if you need to rebuild the kernel, look for the file "/proc/sys/kernel/sched_features". If this file exists, you do not need to recompile your kernel.

Instructions for compiling your kernel are beyond the scope of this page; consult your distribution's documentation for information on how to do this. Here are some hints for specific distributions:


 * Arch Linux (this page is specific to this WoW problem)
 * Ubuntu
 * Debian
 * openSUSE

Once your kernel is recompiled (or you've found that it doesn't need to be recompiled), tuning your kernel is much easier. Just add the following lines to your /etc/sysctl.conf: kernel.sched_features=21 kernel.sched_batch_wakeup_granularity_ns=25000000 kernel.sched_min_granularity_ns=4000000 Save it, and reboot. World of Warcraft should now run without silly stuttering and flickering.
 * 1) World of Warcraft stutter and flickering line fix

TwinView
You know that you have this problem if World of Warcraft does not display correctly, and you have TwinView enabled. To fix this, set the in-game video settings to "Windowed Mode", and "Maximized". Unfortunately, you will not be able to set the resolution at the video settings, so: set the appropriate resolution by changing gxResolution in Config.wtf to your liking (this looks just like running in fullscreen). E.g.:

SET gxResolution "1280x1024"

Alternatively, if you by any chance cannot access the in-game video settings you can force these settings by enabling:

SET gxWindow "1" SET gxMaximize "1"

ATI no Object Textures/Models
Some ATI user have the problem, that character and object models are hidden. It seems to appear with newer ATI drivers. To solve the problem, add the following line to the Config.wtf SET M2UseShaders "0"

ATI enter game world crash
For users with an ATI video card: certain cards have trouble rendering games and video in opengl using current flgrx drivers which will cause your computer to hard locks when you attempt to enter a domain. This error will occur just after character creation/selection, as the game environment is loading, or possibly after a short period of play. In order to fix this error, add the following lines of code to your xorg.conf file in the ATI device section:

Option "Capabilities" "0x00000800" Option "UseFastTLS" "off" Option "KernelModuleParm" "locked-userpages=0"

This is where you find the file: /etc/X11/xorg.conf

The section should look something similar to this after editing: Section "Device" Identifier "aticonfig-Device[Amity wine]]ver      "fglrx"   Option       "Capabilities" "0x00000800"   Option       "UseFastTLS" "off"   Option       "KernelModuleParm" "locked-userpages=0" EndSection

Note: this has been tested and also works with NVidia cards.

Can't eject the CD
If you've got the disk space, the easiest solution would be to rip the entirety of disc 1, and the  files from the remaining discs to some folder on your computer (like ~/wow/), then run the installer from there.

Waiting for files to close...
This message appears during patching when certain files are open (Launcher.exe, Wow.exe, etc). To make sure you don't have any of those files open, try  to close all wine applications. If this didn't do anything, open  and change the Windows version to Windows NT 4.0. If it still doesn't work, you may have more luck with other Windows versions.

Your 3D accelerator card is not supported by World of Warcraft. Please install a 3D accelerator card with dual-TMU support.
There is a 99% chance that this is due to the drivers. If you just got a new graphic card or reinstalled the OS, you might be using outdated drivers. Distribution drivers are usually weeks or even months behind the current ones. It's strongly recommended to use the official ones (nVidia, ATI).

This error can also happen on 64-bit Linux distributions if you're using the proprietary drivers as packaged by the distribution. Some distributions put the 32-bit versions of the libraries in a separate package. Since Wine uses the 32-bit libraries even on 64-bit systems, Wine won't support accelerated OpenGL without them. Look for a package that's named similarly to the driver package, but includes a note about being 32-bit. For example, on 64-bit Debian, if you're using the "nvidia-glx" libraries, you want to also install "nvidia-glx-ia32".

If you have just updated your system's kernel or video drivers, you may simply need to restart your computer.

err:module:import_dll Library OPENGL32.dll
You get the following error on startup: err:module:import_dll Library OPENGL32.dll (which is needed by L"C:Program Files/World of Warcraft/wow.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:/Program Files/World of Warcraft/wow.exe" failed, status c0000135

Solution : check that /usr/local/lib/wine/opengl32.dll.so has ownership of root:root and permissions -rwxr-xr-x, if it does not then you may have not been super user when you ran the "make install" command. become superuser and repeat the make install command as shown in the howto. Do not just change the ownership/permissions of opengl32.dll.so as probably all the other files are wrong too, so do a make install. IMPORTANT: When going through the steps of compiling Wine from the source code to execute the "make install" command, be sure to include the following in the first step listed in the howto: sudo ./configure --enable-opengl</tt> If you miss this tiny part of the process, OpenGL will not install with Wine and WoW will not run, throwing the same error as listed above. You'll need to uninstall Wine and start the process all over again.

Error #134 "Unable to associate local address with socket..."
The socket is already bound to an address, or the parameter is a listening socket. You need to make sure your loopback interface is up, by running: ifconfig lo up or sudo ifconfig lo up

"DOS address space" or "DOS memory range" errors
See the Wine wiki page on this issue.

Mouse moves camera angle improperly or mouse pointer is shifted
These errors have been experienced with Ubuntu 10.04 using the default window manager: GNOME.

The first error is when depressing a mouse button anywhere in the characters field of vision will cause the camera to immediately pan upwards until it is right above the player character. Mouse use on any menu item, however, does not affect the camera.

The second error is when the mouse pointer has been skewed. So, in order to press a button in game, the mouse pointer must be a few millimeters off the target.

The cause is unknown at this time, however the fix has been to use a more light weight window manager: Fluxbox.

To install (in Ubuntu), enable the universe software source, then you can use apt-get to install it.

sudo apt-get install fluxbox

Then, log out of your current window manager to get to the login screen. Under the title "Sessions", there will be the option to select "Fluxbox"

For Ubuntu users: To connect to the Internet in Fluxbox, you can hit Alt+F2 for a "Run Program" dialog. Then type in: nm-applet

Cyrillic letters issue
If you have ????? letters while typing in wow with russian layout, try this steps:

1. Install MS fonts a. Install MS fonts with you distribution package manager (for ubuntu:   $sudo apt-get install msttcorefonts  for gentoo:    emerge corefonts b. copy them to your wine's drive_c/windows/fonts/ directory. Usually that can be done in such way:

cp /path/to/installed/fonts/* /home/username/.wine/drive_c/windows/Fonts/

2. Force wow to use cp1251 charset a. Open menu item (.desktop file) wich you are using to launch wow with text editor

nano /usr/share/applications/Wow.desktop

b. change exec line to include env LANG="ru_RU.cp1251". That's mine: Exec=env LANG="ru_RU.cp1251" WINEPREFIX="/home/username/.wine" wine H:\\\\path\\\\to\\\\World\\ of\\ Warcraft\\\\Wow.exe