The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)
Everything, once patches described below are applied.
What does not
Changing video settings causes a crash, requiring the use of killall. Apparently there is a patch fixing this as well, although I have not tested or applied it.
Video settings are applied on restart, regardless of the crash.
What was not tested
I applied the 2 patches GetExtendedTcpTable and AcceptEX, compiled wine 1.5.2 in ubuntu 12.04 32bit virtualbox (I run 12.04 x64 naively, wine refuses to compile 32bit on x64 systems thanks to multiarch), compressed and copied the resulting directory after ./configure and make, then used winetricks to install vcrun2008. If you're having trouble getting winetricks to run with your compiled and patched version of wine, this may help. Run the code below.
Wine=~/wine-1.5.2/wine sh ~/wine-1.5.2/winetricks vcrun2008
replace "~/wine-1.5.2" with your complied path and the location of the winetricks script ( I put it in the same place for convenience. download winetricks from http://wiki.winehq.org/winetricks )
My entire process was as follows:
*Run ubuntu 12.04 32 bit in virtual box (x64bit ubuntu multiarch workaround)
*Download Wine 1.5.2, extract to ~/wine-1.5.2
*$sudo apt-get build-dep wine1.4
*download patches http://bugs.winehq.org/attachment.cgi?id=39500 and http://bugs.winehq.org/attachment.cgi?id=39494 (right click, save as)
*$patch -p1 < 0001-GetExtendedTcpTable.patch
*$patch -p1 < 0001-AcceptEX-patch.patch
*compress ~/wine-1.5.2, and copy it to my actual x64 machine( again, 32bit/x64 multiarch workaround)
*download winetricks from http://wiki.winehq.org/winetricks
*$Wine=~/wine-1.5.2/wine sh ~/wine-1.5.2/winetricks vcrun2008
*$./wine ~/Desktop/Diablo-III-Beta-enUS-Setup.exe (enter your own location)
Launching after install can be accomplished by running the above code, but updating for the install location and Diablo III.exe
(more than likely ./wine ~/.wine/drive_c/Program\ Files/Diablo\ III\ Beta/Diablo III.exe
"Playing the game on Linux, although not officially supported, will not get you banned – cheating will." -- Bashiok
Running Diablo3 Beta from Windows Installation
Use the following code snippet to install the Microsoft Visual C++ 2008 Redistributable Package.
winetricks -q vcrun2008
Now you can run Diablo 3 from the directory it is installed by using the following, this will set the Locale to US English, if you need to use a
different locale you will want to change the command line argument.
wine "Diablo III.exe" -launch
Important info for test results posters
Thank you very much for wishing to spend some time on improving AppDB.
I have to warn you that general AppDB policies forbid (a) accepting test results for patched Wine versions and (b) forbid accepting results obtained from PoL-driven Wine installations, only "vanilla" unpatched Wine or Wine that had came by default with your distro are considered to be valid. I'm really sorry for that, but it is the way it currently is.
For more details feel free to read recent (as of 16th of May, 2012) discussion on wine-devel mailing list.
Aside from the requirements above your test results should comply with some simple rules to be accepted:
Please, test an application under fresh clean wineprefix;
Include exact specs of the computer you had tested an app on (CPU, GPU, amount of RAM and VRAM) in the "Extra Comments" section of the report;
Specify versions of essential software components, most notably: is your system 32bit or 64bit, what is the version of the GPU display driver you use and what is the version of the OS kernel;
Include detailed information on the native dll overrides you had to use in order to get the game working. If you had installed dlls yourself - include complete information on the sources of dlls and the exact steps you took to install them.
Thank you in advance!
Getting Diablo III to run best under Wine
As of Wine 1.5.6 Wine is able to both install and run Diablo III. However, if you are running an older version of Wine (such as the 'stable' 1.4.x branch), then you will need to either upgrade to a newer version of Wine or go through some extra steps each time a patch comes out (see the Historical Information section below).
Q: I have a recent version of Wine (>= 1.5.6) and when I try to install the game the installer seems to be stuck at "0%". A: Make sure you set your Wine prefix to emulate at least "Win XP". There were reports that best results are achived with version set to "Windows 7" or "Vista".
Q: I'm using a recent version of Wine (>= 1.5.6) and trying to install the game from DVD. Installer seems to be having problems with some files missing. A: Mount your DVD with "-o unhide" mount option, it should help.
Q: When I start up the game and try to log in into battle.net I always get "error 3007". A: You're on recent release of Ubuntu (or on any other distro affected by the ptrace bug, Bug #30410) or running a 64-bit OS. If you think you're affected by the ptrace bug then you can try executing the following in a terminal before starting Diablo III: echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope If you are running a 64-bit OS then you need to set the game to only use 3 GB of memory, to do this you'll need to modify the launcher to include "setarch i386 -3 " before calling Wine or launch the game from the game's folder in the terminal, like so: setarch i386 -3 wine Diablo\ III.exe
Q: When I play the game I've got bright red graphical glitches at the places that are expected to be rendered full-black. A: You had enabled forcing anisotropic filtering and/or texture sharpening in the GPU drivers settings utility. Make sure to turn it off into "let an app control it" state and your problem should be fixed.
Q: I'm using Intel GPU from recent series (HD 2000/3000/4000+). When I try to start the game it fails telling that my GPU lacks required features. A: Make sure that you're on recent-enough distro (2012+) which contain fresh-enough Mesa (8,1+) and kernel (3.1+). Then make sure to install S3TC texture compression support lib (it might be illegal to do in some countries; how to install it is out of the scope of this FAQ - google for it) and start the game up from terminal like this: "force_s3tc_enable=true wine "
Q: I'm experiencing game crashes/hangs at certain places of the game world (like "Cathedral", e.t.c.). A: Make sure to update your GPU driver. This problem is known to affect older versions of open source driver for ATI/AMD cards, and older versions of closed-source nVIDIA GPU linux driver. There might be other drivers out there suffering from the same problem we're unaware of, so updating driver won't hurt in any case.
Q: I've got "The application encountered an unexpected error." dialog box right after I start up the game. A: This is most likely due to using builtin Wine's vcrun2008 DLLs instead of native. Try to install VC++ 2008 Runtime into your prefix, it should help. One of the ways to do it is to use "winetricks" script like that: "winetricks vcrun2008".
Q: I'm on Ubuntu and use Unity desktop environment. When I start the game it loads into a shrunk fullscreen where the Unity bar and universal task bar are still visible. A: This is the incompatibility between compiz and many other applications which are considered by compiz to use "legacy fullscreen approach". You can workaround it by switching into using Unity 2D or by installing "Compiz Config Settings Manager" application and use "Legacy Fullscreen" support option found in "Workarounds" section.
Q: I'm using video card equipped with ATI/AMD GPU/APU and when I start up the game all I've got is a "black screen" or a "black window". A: Most likely you had hit a bug in the video card driver. Your best bet would be try to update it to the most recent version. In case you are already using latest driver release (or in case it's hard for you to update video card driver for some reason) you might have some luck workarounding this problem by applying a small registry change to your prefix. What you would want to do is to set "AlwaysOffscreen" key to "enabled" under "HKCU/Software/Wine/Direct3D". You could easily do it with recent enough winetricks by executing "winetricks ao=enabled" for your Diablo III Wine prefix.
Q: I'm using video card equipped with ATI/AMD GPU/APU and the game runs fine but I've got some rendering glitches like "large semi-transparent polygons" or "strange triangle-shaped glitches near light sources". A: It had been reported that due to some unknown reasons (bugs in driver? Wine doing something wrong?) for people using ATI/AMD GPUs it is required to switch Wine's DirectDraw renderer from using OpenGL into using GDI backend. This could be dobe by applying a small registry trick to your prefix. What you would want to do is to set "DirectDrawRenderer" key to "gdi" under "HKCU/Software/Wine/Direct3D". You could easily do it with winetricks by executing "winetricks ddr=gdi" for your Diablo III Wine prefix. Also switching the game to run in "Windowed Fullscreen" mode instead of simple "Fullscreen" might help.
Q: When I play Diablo III I've got extremely low or unstable FPS. My system is equipped with multi-core CPU (dual core or more). A: This problem also happen on native OS but there it manifests itself as a micro-stutter (rapid FPS jitter). Under Wine for some people it gets much worse and could easily render the game into nearly unplayable state. If you happen to suffer from this problem you could try changing so called "CPU affinity" for main Diablo III process to only use one or two cores of your multicore CPU. How to do it depends on the linux distro you use. In any case first step would be to start up the game and then Alt+TAB from it and run your favorite terminal emulator. Possible commands to use are: (a) "taskset -cp 0 `pidof Diablo\ III.exe`" or (b) "schedtool -a 0 `pidof Diablo\ III.exe`". Using "0-1" or "0,2" in place of "0" might give better results, depending on the phase of the moon and the amount of luck you have.
Another way to achieve the same effect it is use Wine's "Task Manager". To do it execute "taskmgr" inside the Diablo III Wine prefix prior starting up the game and then Alt+TAB into it from game and use its built-in functionality to change CPU affinity of the "Diablo III.exe" process. You could do it by right-clicking on "Diablo III.exe" list entry at the "Processes" tab, selecting "Set affinity..." and de-checking all assigned CPUs except for "CPU 0". Don't forget to press "OK" button before Alt+TABing back into the game. For some cases it might be better to assign two cores for Diablo III main process, like "CPU 0" and "CPU 1" for "real multicore" CPUs (all multi-core CPUs by AMD up to but excluding AMD FX and later series; Intel multicore CPUs without HyperThreading support) or "CPU 0" and "CPU 2" for "SMT-faked multicore" CPUs (AMD FX and later; all HT-enabled Intel CPUs which are really multicore - i.e. Pentium 4 CPU which seems to be "dual core" isn't really "dual core" thus it doesn't fit into this category). Try experimenting with CPU affinity a little so you could find the value that suits your system best. To check FPS inside the game you could press Ctrl+R on keyboard. FPS counter would be displayed at the top left corner of the game window.
Using an old version of Wine to play Diablo III
To play on older versions of Wine (<1.5.6) you either need to upgrade Wine, patch Wine to support AcceptEx, or copy a working Diablo III install from another PC and run the game with the "-launch" command-line parameter. The process looks like this:
Copy a working Diablo III install (either from a recent Wine version or a Windows PC).
Open up a terminal and navigate into the folder with the
installed game files (it is one where "Diablo III.exe" is located), for
example: cd ~/".wine/drive_c/Program Files/Diablo III/"
Execute the command to run Diablo III without using the launcher: wine Diablo\ III.exe -launch
Repeat this process whenever a new patch comes out.
Patching an old version of Wine to play Diablo III
As of Wine 1.5.6 the patches submitted by Erich were committed and the launcher no longer requires them. If you are using a previous version of Wine, 1.5.5 or earlier, please read below.
To get the D3 installer and launcher to work flawlessly under
Wine 1.5.5 and earlier, recompiling Wine with patches listed below is
needed. You could do it yourself, or you could use pre-built binaries
from third parties (in case you're risky enough to not mind security
threat it imposes). For the moment of the writing of this howto there's
known PPA for Ubuntu-like distros which had been reported to provide a
version of Wine binaries that had been patched to behave well with D3
installed/launcher. It could be found here: https://launchpad.net/~cheako/+archive/packages4diabloiii.
Keep in mind that AppDB maintainers have no idea about what is "inside"
that PPA and carry no responsibility about its contents.
"AcceptEx fix" patchset by Erich Hoover, "older" version
(compatible with Wine 1.5.2 and a number or earlier versions, have known
problems with 64bit arch; use this one only in case "new" version don't
work work you):
Note: after applying any of "AcceptEx" patchsets be sure
to run "./tools/make_requests" from the top level of the Wine source
Fix for the D3D error on game video setting change/restart
If you are using an old version of Wine (<1.5.7) and are
experiencing an issue where you see the dialog "An error occurred
reseting D3D. Click OK to retry" then this patch (taken from Bug #28201) should fix your problem:
I'd like to report, no I am reporting. That Diablo 3 works great now, after a new video card and an updated copy of wine from the winehq PPA. I don't believe the grfx drivers were updated, but they might have been as I'm pulling from xorg-edgers. Thanks a bunch this rocks now.
It works... (at last)
by Roberto on Saturday June 9th 2012, 6:23
After a lot of troubles (because of patch and changes)
I was able to run Diablo 3 1.03 on Linux using wine 1.4 with the following script (sorry fo Italian comments inside):
# Lancio Agent.exe (dalla 1.03 in poi e' la versione Agent.998)
wine ~/.wine/drive_c/users/Public/Application\ Data/Battle.net/Agent/Agent.998/Agent.exe --nohttpauth > /tmp/Agent.log 2>&1 &
# Faccio patch per Ubuntu 12.0 per problema al login (non so se serve)
# echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope
# Lancio comando sconosciuto che pero' fa funzionare il tutto....
env WINEPREFIX=/home/roby/.wine setarch i386 -3 -L -B -R /usr/bin/wine /Giochi/Diablo\ III/Diablo\ III.exe -launch -opengl > /tmp/Diablo3.log 2>&1
Stuck at updating files...
by André Fettouhi on Monday May 14th 2012, 15:21
I'm getting stuck at updating files at the moment using the patched version of wine 1.5.4 on Arch Linux 64 bit (32 bit prefix, xp with vcrun2008 and winhttp installed). I can't even get it to download the game.
Ubuntu 12.04 and Integrated Intel HD3000 fails
by Marcus on Monday May 14th 2012, 15:14
I've seen reports that the Intel HD3000 will work with Diablo 3 (at least for people running windows).
The installation worked fine using the patched 1.5.3 version of wine, however when the game is launched it just say that "Diablo 3 cannot run because this graphics card is missing required features. Updating your driver may fix this".
Anyone else got it to work with an integrated Intel HD3000 card?
Question about graphics card
by Christoph Cullmann on Monday May 14th 2012, 13:18
I use Ubuntu 12.04 + the patched wine 1.5.3.
Downloader + installer worked just fine, but thought I have a 78xx card and Catalyst drivers, Diablo tells me my "HD 3200" card is not supported and doesn't launch. Any workarounds know?
Thanks in advance.
Everything works, until I select a character and press the "Play" button.
A window pops up saying "Fatal error in gc : GetThreadContext failed"
And the game hangs on the loading screen forever. No error messages, nothing. Do you have experienced that ? Do you know where it may be coming from ?
It's annoying, after all that work, not to be able to play :)
I'm running Ubuntu Precise Pangolin, on x86-64, with Wine 1.5.3 compiled under a Precise Pangolin i386 as stated here. The issue appears both with Compiz-fusion/Unity and Gnome-session-fallback.
I got an Nvidia card with latest drivers (295.40)
by Charles de Noyelle on Monday April 23rd 2012, 16:35
There is a small typo in the Gentoo "patching" howto.
here are the things you need to do :
1. mkdir -p /etc/portage/patches/app-emulation/wine-9999/
2. download the 3 patches
3. put the file in this directory
(I had also a problem with GetExtendedTcpTable, but you can delete it right away)
4. Add 2 lines in /etc/portage/package.keywords :
5. emerge wine.
you should now get app-emulation/wine-9999 building... (with the patches applied on the very beginning (just after the git DL).
open beta fails at splash
by Bryguy on Friday April 20th 2012, 15:16
I downloaded and installed the open beta on a windows machine, copied it over, and applied the AcceptEx and GetExtendedTcpTable patch to my copy of the 1.4 wine tree. I can run the launcher just fine but when the game tries to start I get the following:
Request Issued: GET /gamesession/diablo3_beta_enus
Compatibility with Older version/What works with WoW?
by Willow Plays WoW on Tuesday April 17th 2012, 6:20
I got invited to the beta test two days ago, so I just started looking into this. Currently, of the three linux boxes in my house (two of which are identical as far as i know in hardware and Linux version) mine is the only one that behaves 'properly' for WoW, in terms of being able to download patches and such. (we copy it over to the other two so the other members of my family can play.)
i have Wine 1.3.24, which isn't on the drop-down list in the preferences to choose.
I'm getting the 'agent.exe has a problem, must close' error. I see the patches listed here, and I'm concerned that adding them in will break my currently functional WoW. Advice, and step-by-step instructions (or pointers thereto) would be greatly appreciated.
I'm an old user of Linux/Unix, but I'm not a coder - please take that into account when you answer.
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER: unimplemented TransmitFile
by lyon on Wednesday September 21st 2011, 17:43
Thanks to information by Stamatis from this thread ( appdb.winehq.org/objectManager.php?sClass=version&iId=24373 ) I was able to initiate the installation by downgrading the wine to version 1.1.42. It crashed after few second of downloading data, however after upgrading back to 1.3.28 it was able to finish the download via launcher.
I believe the Agent.exe gets stuck in 1.3.28 because of this:
Diablo 3 [Wine 1.2.2]
by Stamatis on Saturday September 17th 2011, 10:00
I got diablo 3 to start downloading the content(i am not sure if i can run the game because by the time i am posting it is downloading the critical content and i am not able to press on the play button).
I just installed winhttp on Windows XP mode and it started installing just fine.