[How to] Build and test Wine experimental worker thread

Channel:
Subscribers:
394
Published on ● Video Link: https://www.youtube.com/watch?v=YLHuVCbESo0



Diablo III
Game:
Diablo III (2012)
Category:
Guide
Duration: 8:05
248 views
3


This how-to' will cover the steps to build wine with the csmt patch-set.
The wined3d worker thread is still an experimental in development feature; but it can yield a great performance improvement to some games.

I) Pre-requist
You'll need a proper tool chain and development tools (gcc multilib, git...), and wine's dependencies.
These points are allready covered here :
http://wiki.winehq.org/Recommended_Packages
http://youtu.be/N4XwY0nsEmQ

II) Download
In a terminal :
git clone https://github.com/stefand/wine ~/winecsmt

III) Build
cd ~/winecsmt
./configure
make -j4

IV) Configuration
In order to enable the experimental worker thread, you have to edit a registry key :
For the sole purpose of an exemple, we will create a new wineprefix (you can skip this step if you just wanna use your standard wineprefix, and thus, never use the WINEPREFIX variable)
WINEARCH=win32 WINEPREFIX=/home/--userdir--/.winecsmt winecfg
WINEPREFIX=/home/--userdir--/.winecsmt regedit
Open HKEY_Current_User/Software/Wine
Create a new key Direct3D (if it doesn't allready exist)
Create a new string within Direct3D named CSMT and edit it with the word : enabled

V) Use it :
Now you may launch your applications this way :
(allways disable all debug channel, as this cost -A LOT- of performances)
WINEDEBUG=-all WINEPREFIX=/home/-userdir-/.winecsmt ~/winecsmt/wine --yourapplicationtolaunch--







Tags:
How-to (Media Genre)
Wine (Software)
GNU/Linux (Operating System)
Ubuntu (Software)



Other Statistics

Diablo III Statistics For snowdreike

snowdreike presently has 8,257 views for Diablo III across 9 videos, and less than an hour worth of Diablo III videos were uploaded to his channel. This is 1.80% of the total watchable video on snowdreike's YouTube channel.