Wine Reviews
DirectX 9.0c March 2008 redistributable on Linux with Wine PDF Print E-mail
Written by Tom Wickline   
Sunday, 23 March 2008 09:24
About DirectX

Microsoft DirectX is a collection of application programming interfaces for handling tasks related to multimedia, especially game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. DirectX, then, was the generic term for all of these Direct-something APIs, and that term became the name of the collection. Over the intervening years, some of these APIs have been deprecated and replaced, so that this naming convention is no longer absolute. In fact, the X has caught on to the point that it has replaced Direct as the common part in the names of new DirectX technologies, including XAct, XInput, and so forth.

Direct3D (the 3D graphics API within DirectX) is widely used in the development of computer games for Microsoft Windows, Microsoft Xbox, and Microsoft Xbox 360. Direct3D is also used by other software applications for visualization and graphics tasks, most notably among the engineering sector for CAD/CAM, because of its ability to quickly render high-quality 3D graphics using DirectX-compatible graphics hardware. As Direct3D is the most widely recognized API in DirectX, it is not uncommon to see the name DirectX used in place of Direct3D.

Wine configuration

This is with a clean configuration directory and running in a 1024x768 virtual desktop.

DirectX version installed: March 2008 DirectX 9.0c redistributable
Windows version emulated: 2000
Wine version tested: 0.9.58

$ winecfg

Once the .wine directory is built the configuration tool will start and you can set a virtual desktop in the graphics tab if you wish. This is a good time to also set your Audio driver in the Audio tab.

next up is to install a native mscoree.dll and streamci.dll into /system32 from a windows install and set them to native Windows.

You will need to set a large number of dlls to native for the install to work properly. Here is the full list of dlls that needs to be set.

[Software\\Wine\\DllOverrides] 1206264929
"d3d8"="builtin"
"d3d9"="builtin"
"d3dim"="native"
"d3drm"="native"
"d3dx8"="native"
"d3dx9_24"="native"
"d3dx9_25"="native"
"d3dx9_26"="native"
"d3dx9_27"="native"
"d3dx9_28"="native"
"d3dx9_29"="native"
"d3dx9_30"="native"
"d3dx9_31"="native"
"d3dx9_32"="native"
"d3dx9_33"="native"
"d3dx9_34"="native"
"d3dx9_35"="native"
"d3dx9_36"="native"
"d3dxof"="native"
"dciman32"="native"
"ddrawex"="native"
"devenum"="native"
"dinput"="builtin"
"dinput8"="builtin"
"dmband"="native"
"dmcompos"="native"
"dmime"="native"
"dmloader"="native"
"dmscript"="native"
"dmstyle"="native"
"dmsynth"="native"
"dmusic"="native"
"dmusic32"="native"
"dnsapi"="native"
"dplay"="native"
"dplayx"="native"
"dpnaddr"="native"
"dpnet"="native"
"dpnhpast"="native"
"dpnlobby"="native"
"dsound"="builtin"
"dswave"="native"
"dxdiagn"="native"
"mscoree"="native"
"msdmo"="native"
"qcap"="native"
"quartz"="native"
"streamci"="native"

You can set all the dlls in winecfg under the "Libraries" tab or just set the first dll "d3d8"="builtin" and then go to .wine/user.reg and find the DLL override section [Software\\Wine\\DllOverrides] and copy the above list under it.

Installing Directx

Download DirectX 9.0c March 2008 release from here.

The directx_mar2008_redist.exe executable will extract the installer files to a directory of your choice.

tom@tuxonfire ~ $ wine directx_mar2008_redist.exe
fixme:advapi:DecryptFileA "Z:\\home\\tom\\dx\\" 00000000
tom@tuxonfire ~ $




Now cd to the directory where you choose to extract the DirectX installer and run DXSETUP.EXE.

tom@tuxonfire ~ $ cd /home/tom/dx
tom@tuxonfire ~/dx $ wine DXSETUP.exe






Now we need to install gm.dls to test Direct Music, this driver file goes into ~/.wine/drive_c/windows/system32/drivers

Now lets run dxdiag.exe

tom@tuxonfire ~ $ cd /home/tom/.wine/drive_c/windows/system32
tom@tuxonfire ~/.wine/drive_c/windows/system32 $ wine dxdiag.exe
fixme:advapi:SetEntriesInAclA 1 0x33f79c (nil) 0x33f7d4
fixme:advapi:SetSecurityInfo stub




I have some screenshots of the DirectX test being run here: DirectX 9.0c on Linux with Wine they are the same, so why repost everything. ;)

You will notice in system32 d3dx9_24.dll up to d3dx9_36.dll is now installed, this really helps when you run into a game that needs these additional DirectX dlls.

Now you have the option to run most DirectX dlls in native or builtin mode, for example if you have a game that's crashing on the builtin Wine quartz.dll you can test the game with the native Windows dll to see if this will improve the situation.

Keep in mind d3d8, d3d9, ddraw will only work as builtin, and in most cases you should try to use builtin dsound and dinput. I have had limited success with (dsound and dinput) in native Windows mode btw... The reason why these dlls have to be used in builtin mode is there need for direct access to your hardware. direct music and direct play can be used in native windows mode in most circumstances.

Del.icio.us     Digg This!     Furl     Google     Seed Newsvine     Reddit     Slashdot     Stumble It!     Technorati     Yahoo MyWeb

Comments
Add New Search RSS
dxdiag.exe?
Rex 2008-08-18 07:59:00

Hi,

Nice howto, but why do I not have this dxdiag.exe in system32.

wine 1.1.1
directx9.0c august.
WINE 1.1.0 Gentoo Directx9.0cAug
John 2008-08-18 15:37:36

Hi:

Got it installed, had to run it twice as complained of some fatal error and it could not
display the error message because mscorees.dll could not be found, please reinstall .Net. I ignored
that.
Running wine dxdiag.exe:
SOund worked but it complained of no direct HW buffering, will use SW
buffering only.
Display, directdraw worked all tests. Direct3D caused wine to crash.
Now onto
aoEIII.
Cheers,
John
Johannes 2008-08-19 11:23:31

Hi all,

I had the same problem, I didn't find the dxdiag.exe in windows/system32. With Wine running
in Windows2000-mode it worked, though... You should try that!

I installed the new version of
directx from August 2008, seems to work well!

Cheers for that guide!
Tom Wickline 2008-08-19 14:24:54

Yea, you have to install DirectX in windows 2000 mode or dxdiag.exe doesnt get copied to
/system32

See: Windows version emulated: 2000

Thanks "Johannes" :D

Tom
Installer quits
raix 2008-08-24 01:36:11

Hey, i tried to install DX9 with Wine 1.1.3.
I extracted the DX-Files and started DXSetup with
"wine DXSetup.exe". After that I can confirm the License-Agreement, click on next and get
the window shown in the second Screenshot above.
But when I click on "Next" in that window
the installer just quits..

Any Ideas?
Installer Quits
Fool 2008-09-18 14:52:27

This happens to me too with wine 1.1.4. I click next and the installer crashes.
Does not work
Millan 2008-08-25 22:27:21

Well, I downloaded the DX9c, extracted it, and it refuses to install. After agreeing the agreement,
it makes error message that tells me to look into log file and refuses to install. If I read the log
files, it complains about it is not able to veryfy crypt archive.
Works Great
Akspa 2008-08-26 16:53:45

This helps to get TF2 and all other HL2-based games working properly on CrossOver Games for MacOSX.
Apparently, the CrossOver devs fail to tell the end user that manual modding in the Wine registry is
needed for most games to work properly.
just wondering 2008-08-31 06:51:48

i was just wondering.. if you need windows 2000 mode to install will it still work if i change back
to windows xp after its done? because im afraid my steam games wont run in 2000 mode
win2000
Rex 2008-08-31 07:09:54

It's just the dxdiag.exe that gets copied with the win2000 mode. The libraries are ok when
installing in normal mode. At least in my case games are running.
Have an error
Teo 2008-09-05 05:31:29

+1 tried to install DX9 with Wine 1.1.3.
I extracted the DX-Files and started DXSetup with
"wine
DXSetup.exe". After that I can confirm the License-Agreement, click on next and get
the window
shown in the second Screenshot above.
But when I click on "Next" in that window
the
installer just quits with this error in Terminal :

err:alsa:ALSA_CheckSetVolume Could not find 'PCM
Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume'
element
fixme:mixer:ALSA_MixerInit No master control found on PnP Audio Device , disabling
mixer

eny1 could solve my problem ?
Error
Teo 2008-09-05 05:43:13

tried to install DX9 with Wine 1.1.3.

I extracted the DX-Files and started DXSetup
with

"wine
DXSetup.exe". After that I can confirm the License-Agreement, click on next BUT
installer just quits with this error in Terminal :



err:alsa:ALSA_CheckSetVolume Could not find
'PCM Playback Volume' element

err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume'
element

fixme:mixer:ALSA_MixerInit No master control found on PnP Audio Device , disabling mixer
first done
Teo 2008-09-05 22:57:45

I'v solve my problem with alsa mixer by:
winecfg
and in the audio tab deselect alsa and select oss
- stuped but it works ) now i have only error fixme:reg:GetNativeSystemInfo (0x7e4aa710) using
GetSystemInfo() eny thoughts ?
WTF ??
Teo 2008-09-08 06:24:13

could eny1 help me with ?
________________________________________________ ______

Language: English
(Regional Setting: English)

System Manufacturer: n/a

System Model: n/a


BIOS: n/a

Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+, MMX, 3DNow (2
CPUs)

Memory: 2026MB RAM

Page File: 549MB used, 2449MB available


Windows Dir: C:windows

DirectX Version: DirectX 9.0c (4.09.0000.0904)

DX Setup Parameters:
None

DxDiag Version: 5.03.2600.2180 32bit Unicode

DxDiag Previously: Crashed in system
information (stage 2)



------------

DxDiag Notes

------------

DirectX Files Tab:


Display Tab 1: The file is not digitally signed, which means that it has not been tested by
Microsoft's Windows Hardware Quality Labs (WHQL). You may be able to get a WHQL logo'd driver from
the hardware manufacturer. Problems were found in the system registry. Details are available in the
saved text file. You should reinstall DirectX to get the latest version. DirectDraw test results:
Failure at step 5 (User verification of rectangles): HRESULT = 0x00000000 (error code) Direct3D 7
test results: All tests were successful. Direct3D 8 test results: All tests were successful.
Direct3D 9 test results: All tests were successful.

Sound Tab 1:

Music Tab:
DirectMusic test results: All tests were successful.

Input Tab: No problems found.


Network Tab: The registry information for the service provider 'DirectPlay8 TCP/IP Service
Provider' is missing or damaged. You should reinstall DirectX. The registry information for the
service provider 'DirectPlay8 IPX Service Provider' is missing or damaged. You should reinstall
DirectX. The registry information for the service provider 'DirectPlay8 Modem Service Provider' is
missing or damaged. You should reinstall DirectX. The registry information for the service provider
'DirectPlay8 Serial Service Provider' is missing or damaged. You should reinstall DirectX. You
should reinstall DirectX to get the latest version. Problems were found in the system registry.
Details are available in the saved text file.



--------------------

DirectX Debug
Levels

--------------------

Direct3D: 0/4 (n/a)

DirectDraw: 0/4 (retail)

DirectInput: 0/5
(n/a)

DirectMusic: 0/5 (n/a)

DirectPlay: 0/9 (retail)

DirectSound: 0/5 (retail)

DirectShow:
0/6 (retail)



---------------

Display Devices

---------------

Card name: X11 Windowing
System

Manufacturer:

Chip type:

DAC type:

Device Key: Enum


Display Memory: 259.0 MB

Current Mode: 1024 x 768 (32 bit) (60Hz)

Monitor: X11
Windowing System

Monitor Max Res:

Driver Name:

Driver Version: ()

DDI
Version: 9 (or higher)

Driver Attributes: Final Retail

Driver Date/Size: , 0 bytes

WHQL
Logo'd: No

WHQL Date Stamp: None

VDD: n/a

Mini VDD:

Mini VDD Date:
n/a, 0 bytes

Device Identifier: {AEB2CDD4-6E41-43EA-941C-8361CC760781}

Vendor ID: 0x10DE


Device ID: 0x0402

SubSys ID: 0x00000000

Revision ID: 0x0000

Revision
ID: 0x0000

Video Accel:

Deinterlace Caps: n/a



Registry Errors Found:

Key
'HKCRDirectXFileCLSID' is missing.

Key 'HKCRDirectXFile' is missing.

Key
'HKCRCLSID{4516EC41-8F20-11d0-9B6D-0000C0781BC3}In procServer32' is missing.

Key
'HKCRCLSID{4516EC41-8F20-11d0-9B6D-0000C0781BC3}In procServer32' is missing.

Key
'HKCRCLSID{4516EC41-8F20-11d0-9B6D-0000C0781BC3}' is missing.

Key 'HKCRDirect3DRMCLSID' is
missing.

Key 'HKCRDirect3DRM' is missing.

Key 'HKLMSoftwareMicrosoftDirect3DDX6TextureEnumInclus
ionList8 bit Luminance' is missing.

Key 'HKLMSoftwareMicrosoftDirect3DDX6TextureEnumInclus
ionList24 bit BumpLum DuDv' is missing.

Key 'HKLMSoftwareMicrosoftDirect3DDX6TextureEnumInclus
ionList16 bit Luminance Alpha' is missing.

Key 'HKLMSoftwareMicrosoftDirect3DDX6TextureEnumInclus
ionList16 bit BumpLum DuDv' is missing.

Key 'HKLMSoftwareMicrosoftDirect3DDX6TextureEnumInclus
ionList16 bit Bump DuDv' is missing.

Key 'HKLMSoftwareMicrosoftDirect3DDriversRGB Emulation' is
missing.

Key 'HKLMSoftwareMicrosoftDirect3DDriversRGB Emulation' is missing.

Key
'HKLMSoftwareMicrosoftDirect3DDriversRamp Emulation' is missing.

Key
'HKLMSoftwareMicrosoftDirect3DDriversRamp Emulation' is missing.

Key
'HKLMSoftwareMicrosoftDirect3DDriversRamp Emulation' is missing.

Key
'HKLMSoftwareMicrosoftDirect3DDriversDirect3D HAL' is missing.

Key
'HKLMSoftwareMicrosoftDirect3DDriversDirect3D HAL' is missing.

Key
'HKLMSoftwareMicrosoftDirect3DDriversDirect3D HAL' is missing.

Key 'HKCRDirectDrawClipperCLSID' is
missi...
DXSETUP.exe crashes
Yoshua 2008-09-09 03:35:16

after accepting the agreement, I click "next", thand it says "To start installation
please click Next", I click "next" and it crashes saying
"A fatal error ocurred.
However, mscoree.dll could not be loaded to display the appropriate error message.

Please reinstall
the .NET Framework"

Anyone an idea how to fix this?
Vitek 2008-10-23 18:41:22

Got the same problem with mscorees.dll.
I tried to install .NET Framework, but had a crash
again...

Mandriva 2008.1, kernel 2.6.27, wine 1.1.16
Problem Testing Directx
Luis 2008-09-17 02:03:10

I have installed the Directx but when I do the testing appear that is missing the ddrawex.dll ?
Please help me !
Download it
BM 2008-09-20 05:22:23

You can get yourself a working copy for free under www.dlldump.com
Problems with need for speed MW
Juan 2008-09-20 04:26:10

Hello, i have installed the DIrectx and the dxdiag works, but when i want to install the Need For
speed a error appears.
It Says:
INtallation cannot continue because this game requires Direct X
9.0c or higher to be installed on your system.
More information please
BM 2008-09-20 05:28:02

Which NFS version do you want to install?
What exactly means "dxdiag" works? Did you test
all the functionality (2D/3D graphics, music)?
re: More information please
Juan 2008-09-20 12:01:24

I want to Install Need For Speed Most Wanted... When I want to install NFS Carbon the error appears
too
I have tested all the funcionality and they work

PD: Sorry, I not speak English well, i'm
from Argentina
Try this
BM 2008-10-15 10:14:47

Hi, I know it's a very late reply but you could have a look at
this site:
http://appdb.winehq.org/objectManager.php?sC lass=version&iId=6224

Quote:
Additional Comments
Can install, But you have to copy dvd to a folder. once there remove the DirectX dir and
run setup.exe game will install normal.

wouldn't install
aaron 2008-09-28 18:23:22

got this error message 7 times:
fixme:shell:DllGetClassObject failed for
CLSID=
{1d2680c9-0e2a-469d-b787-065558bc7d43} (Fusion Cache)
Then this:
fixme:advapi:DecryptFileA
"C:\windows\system32\DirectX\& #34; 00000000
fixme:mixer:ALSA_MixerInit No
master control found on HDA ATI HDMI, disabling mixer
thought it might have been because I didn't
use the command line, so I fixed that and only got this error message:
fixme:mixer:ALSA_MixerInit No
master control found on HDA ATI HDMI, disabling mixer
fixme:reg:GetNativeSystemInfo (0x7e435710)
using GetSystemInfo()
then when I try to run dxdiag it says:
wine: could not load
L"C:\windows\system32\dxdiag.exe&# 34;: Module not found
oops
aaron 2008-09-28 18:24:56

Ubuntu 8.04, Wine 1.1.5, sorry
0Net 2008-09-29 00:21:18

Ubuntu Hardy 8.04.1, Wine 1.1.4+3dmark patch.
Everyting ok! Thank you for manual!
directx_aug2008_redist.exe
John 2008-10-23 19:25:55

Running on Wine 1.1.4.
Followed the instructions to the T, ignore the mscoree.dll error at the
beginning. Set to windows 2000 mode fo rthe install.

All tests worked using dxdiag.exe except
direct music.

Only problem is, when it defaults to full screen it either goes to 640x480 or 800x600
virtual screens, then it returns back to 1024x768 when done.

Cheers,
john
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
Text:

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Latest Comments

Most Comments

Stats

Statistics

Members : 2
Content : 348
Content View Hits : 317938
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday200
mod_vvisit_counterYesterday1552
mod_vvisit_counterThis week6356
mod_vvisit_counterThis month6356
mod_vvisit_counterAll241115