Unable to create D3D device

Questions about Wine on macOS.
Locked
gamingman
Level 2
Level 2
Posts: 29
Joined: Wed Feb 24, 2010 11:43 am

Unable to create D3D device

Post by gamingman »

I am using Mac OS Tiger 10.4 and am still trying to get Portal by Valve to run. The only problem is that it says "Unable to create D3D device" and crashes, no matter what dxlevel I put into the launch options.
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: Unable to create D3D device

Post by jeffz »

gamingman wrote:I am using Mac OS Tiger 10.4 and am still trying to get Portal by Valve to run. The only problem is that it says "Unable to create D3D device" and crashes, no matter what dxlevel I put into the launch options.
Hello

Please tell us which `wine --version` and attach terminal output.
gamingman
Level 2
Level 2
Posts: 29
Joined: Wed Feb 24, 2010 11:43 am

Post by gamingman »

I have:
The newest version of Wine, as I installed only about a week ago through MacPorts.

Mac OS 10.4.1 Tiger

A fresh build of X11 through MacPorts

X11 and wine are working very well together, but this Direct3D problem is annoying, as Portal and the rest of the Orange Box is what I intended to play in the first place using Wine.

By the way, Steam works terrific!
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

Have you tried any other 3D rendering apps in Wine... do they work?

Are you running it in a virtual desktop?
gamingman
Level 2
Level 2
Posts: 29
Joined: Wed Feb 24, 2010 11:43 am

Post by gamingman »

No, I have not tried any other 3d rendering applications, but it is not in a virtual desktop. What is another good (but free) 3d application to try?
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

gamingman wrote:No, I have not tried any other 3d rendering applications, but it is not in a virtual desktop. What is another good (but free) 3d application to try?
neverball for windows is a good test.

But first just try running in a virtual desktop
gamingman
Level 2
Level 2
Posts: 29
Joined: Wed Feb 24, 2010 11:43 am

Post by gamingman »

Neverball works perfectly in wine. So how can I fix the Unable to create D3D device error?
gamingman
Level 2
Level 2
Posts: 29
Joined: Wed Feb 24, 2010 11:43 am

Post by gamingman »

By the way, I do not want to purchase a virtual desktop application. That's why I am trying to get wine to work with Portal.
User avatar
dimesio
Moderator
Moderator
Posts: 13278
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

gamingman wrote:By the way, I do not want to purchase a virtual desktop application.
Nobody told you to. Use Wine's virtual desktop. It's on the graphics tab in winecfg.
gamingman
Level 2
Level 2
Posts: 29
Joined: Wed Feb 24, 2010 11:43 am

Post by gamingman »

OK, now I can HEAR the main menu, but all I see is a white screen. If I move my mouse where the menu buttons should be, I hear the sound of that, too. How can I fix this last issue? The terminal output repeats this about a million times:

Code: Select all

fixme:d3d_shader:shader_glsl_select >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB @ glsl_shader.c / 4562
Interspaced with a few of these:

Code: Select all

fixme:d3d_surface:surface_load_ds_location (0x1e0720) Not supported with fixed up depth stencil
gamingman
Level 2
Level 2
Posts: 29
Joined: Wed Feb 24, 2010 11:43 am

Post by gamingman »

Also, before those two errors begin to spawn, I see various d3d errors relating to "shader"[/code]
Gorky
Newbie
Newbie
Posts: 1
Joined: Mon Aug 15, 2011 1:17 am

Post by Gorky »

I got a similar error:

Unable to create D3D device: 1272x883

So, I opened Users/[my name]/AppData/Roaming/Need For speed World/
and then there is a config file.

I found out that 1272x883 is the resolution it wants to create the game on. When I changed that to 1280x1024, it started up perfectly.

So I suppose something is going wrong in the saving of screen resolution, on which the game fails to start.
Locked