Wine unable to find DX9 / driver version?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Das Letzte Einhorn
Level 4
Level 4
Posts: 194
Joined: Thu Jun 12, 2008 12:40 pm

Wine unable to find DX9 / driver version?

Post by Das Letzte Einhorn »

I updated wine to latest git (wine-1.1.26-390-g31dab8f) and upgraded my nvidia drivers to 190.18. When I attempted to test some of the DX9 and 10 games I usually test, none of them seem to be able to recognize either my DX version or the drivers. I suspect that the drivers are the issue. Here is a relevant example from a test for Assassins Creed.

xavier@xavier-pc /wine/assassinscreed/drive_c/jeu $ wine AssassinsCreed_Game.exe
fixme:system:SetProcessDPIAware stub!
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
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 Direct3D10 is not available without opengl
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
xavier@xavier-pc /wine/assassinscreed/drive_c/jeu $ err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x136848,0x1371e0): stub
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
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


The opengl module is already set.

xavier-pc xavier # eselect opengl list
Available OpenGL implementations:
[1] nvidia *
[2] xorg-x11

Has anybody else had issues like this? Should I downgrade the driver, or the issue is Wine related?
Frédéric Delanoy

Wine unable to find DX9 / driver version?

Post by Frédéric Delanoy »

On Thu, Aug 6, 2009 at 5:01 PM, Das Letzte
Einhorn<[email protected]> wrote:
I updated wine to latest git (wine-1.1.26-390-g31dab8f) and upgraded my nvidia drivers to 190.18. When I attempted to test some of the DX9 and 10 games I usually test, none of them seem to be able to recognize either my DX version or the drivers. I suspect that the drivers are the issue. Here is a relevant example from a test for Assassins Creed.

xavier@xavier-pc /wine/assassinscreed/drive_c/jeu $ wine AssassinsCreed_Game.exe
fixme:system:SetProcessDPIAware stub!
err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
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 Direct3D10 is not available without opengl
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
xavier@xavier-pc /wine/assassinscreed/drive_c/jeu $ err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x136848,0x1371e0): stub
err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
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


The opengl module is already set.

xavier-pc xavier # eselect opengl list
Available OpenGL implementations:
 [1]   nvidia *
 [2]   xorg-x11

Has anybody else had issues like this? Should I downgrade the driver, or the issue is Wine related?
Well, the nVidia 190.* series is still beta. The latest stable series
is 185.*... Maybe you should try with those (if your card is
supported)
ZettaDude
Level 1
Level 1
Posts: 7
Joined: Tue Aug 04, 2009 4:24 pm

Post by ZettaDude »

That is the same error I get on my nVidia 2 TI! :-O

I can't run OpenGL apps in WINE until someone finds a solution.

~ ZettaDude
Das Letzte Einhorn
Level 4
Level 4
Posts: 194
Joined: Thu Jun 12, 2008 12:40 pm

Post by Das Letzte Einhorn »

Tried to downgrade the driver, and it indeed worked. I will wait for another release before trying again the beta driver.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine unable to find DX9 / driver version?

Post by vitamin »

Das Letzte Einhorn wrote:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
You didn't install video drivers properly. Reinstall them, and make sure you install 32-bit libraries if you on x86-64 arch.
Evil Jay

Wine unable to find DX9 / driver version?

Post by Evil Jay »

Das Letzte Einhorn wrote:
Tried to downgrade the driver, and it indeed worked. I will wait for another release before trying again the beta driver.
Sounds like maybe you didn't install the related nvidia-glx-190-dev
package before compiling. I'm running the 190.18 drivers against DX9
games here with great results.

http://www.youtube.com/watch?v=QsHu5hY1QR0

-J
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Post by DL »

The 190.x drivers cause a glitch in the Witcher for me, though (trailing streams coming out of the head and shoulders of the main character)
Das Letzte Einhorn
Level 4
Level 4
Posts: 194
Joined: Thu Jun 12, 2008 12:40 pm

Post by Das Letzte Einhorn »

I fetched the latest wine source code and updated again as suggested the drivers to the beta version, and now they work. Odd, yet pleasant. Thanks!
Locked