DirectX 9.0 in Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Durionfly
Level 1
Level 1
Posts: 6
Joined: Thu Apr 08, 2010 7:44 am

DirectX 9.0 in Wine

Post by Durionfly »

Hi friends I've tried to play Mabinogi, the firts time that I attempted to run it, Mabinogi ran correctly.

But after I format Ubuntu and reinstall all, when I tried to run Mabinogi it shows me a error window:

Code: Select all

DirectX 9.00 or highter is required to run Mabinogi client. Download and install the latest DirectX version and try again.[quote]

But I've done the following:
1.Install the NVIDIA drivers of my GT 220
2.Test the OpenGL (it seems to work correctly)
3.Install Wine
4.Configure Wine and add the libraries
5.With Winetricks install DirectX 9.0

And the game don't detect the directX !! [/list][/quote]
Durionfly
Level 1
Level 1
Posts: 6
Joined: Thu Apr 08, 2010 7:44 am

Post by Durionfly »

Err sorry I didn't include my information:

OS: Ubuntu 9.10 Karmic Koala
Wine: 1.1.42
GPU: NVIDIA GT 220
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Could you post console output? And, since you said it worked in the first time, could you try and run it with a different wine prefix?
Durionfly
Level 1
Level 1
Posts: 6
Joined: Thu Apr 08, 2010 7:44 am

Post by Durionfly »

All the final errors:

Code: Select all

err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on USB Device 0x46d:0x802, disabling mixer
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x16a498,0x16a970): stub
err:wgl:opengl_error No OpenGL support compiled in.
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
[/quote]
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Durionfly wrote:All the final errors:

Code: Select all

err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on USB Device 0x46d:0x802, disabling mixer
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x16a498,0x16a970): stub
err:wgl:opengl_error No OpenGL support compiled in.
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
[/quote]

Something is wrong with your OpenGL installation. Are you sure that it is fine? Maybe Wine isn't finding it. Are you running a 64-bit OS?

Cheers,

Jorl17
Durionfly
Level 1
Level 1
Posts: 6
Joined: Thu Apr 08, 2010 7:44 am

Post by Durionfly »

Yes I'm running Ubuntu 9.10 Karmic Koala 64 bits version. How can I reinstall OpenGL?
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

Durionfly wrote:Yes I'm running Ubuntu 9.10 Karmic Koala 64 bits version. How can I reinstall OpenGL?
check if OpenGl is working... like try to run glxgears... if that shows up, your OpenGL is working

if OpenGL is working, then its just your Wine build is not built with OpenGL support compiled in... which means you have Wine installed/compiled incorrectly.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

doh123 wrote:check if OpenGl is working... like try to run glxgears... if that shows up, your OpenGL is working
That doesn't mean he has 32-bit OpenGL libraries.

What you can do is download 32-bit version of glxgears and test with that.
Locked