Wine 1.6 Fails To Initialize Direct X

Questions about Wine on Linux
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

Hello im new here my windows xp crashed and i was forced to use Ubuntu and im using Ubuntu Rairing Ringtail 13.04.
Recently I have been using Wine v1.4 and it runs Project64, GensRW, ePSXe, VBAM, etc all with direct X settings being used. After I herd 1.6 was out I updated and now nothing that uses direct X works ive followed the instructions and loaded all the dlls in the user reg and configured them but nothing wants to run and everything ran fine even when I didnt load all the dlls in the user reg it didnt make a difference but now with Wine 1.6 it wont even run unless theres a GL beck-end to everything. anyone have any ideas why this is happening. im new so you may need to walk me through
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 1.6 Fails To Initialize Direct X

Post by dimesio »

Wineprefixes should survive updates, but sometimes they don't, particularly if there is a big jump in versions such as going from one major stable release to the next. Start by reinstalling all your apps to a clean wineprefix in 1.6.
loaded all the dlls in the user reg and configured them
How exactly are you doing that? I hope you don't mean you are manually editing user.reg in a text editor, because that' a very good way to completely mess up a wineprefix.

Use winetricks to install any native dlls that are needed. I suggest testing without any first; one possible reason for your problem is that you are using overrides that are no longer necessary.
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

http://www.dedoimedo.com/games/wine-directx.html this is what I did on here and I tried everything without doing this it was my last resort ive tested everything even on a fresh install of Ubuntu and wine but I can only get games and stuff to run on 1.4 and on 1.6 there a direct x error for all my apps
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 1.6 Fails To Initialize Direct X

Post by dimesio »

Outside howtos aren't supported here. If you insist on following one, ask its author for help.

Delete the wineprefix and reinstall your apps in 1.6. Start with no native dlls; if any are needed, use winetricks to install them. Do not edit user.reg directly in a text editor.
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

ive done a fresh install as in wipe my harddrive clean and re-install Ubuntu all together to just removing wine and nothing works and wine-tricks dosnt give me an option in the GUI to install any dlls
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 1.6 Fails To Initialize Direct X

Post by dimesio »

Have you actually tested your apps without any native dlls?
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

if you mean running an app without messing with anything in wine after a fresh install of wine and the app then yes I have. For instance I am using 1.4 and playing Sonic CD from steam and it runs like a charm but now I am using 1.6 and it says cant initualize direct3d please check to make sure you have the latest direct X and it closes its almost as if it dosnt detect direct X
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 1.6 Fails To Initialize Direct X

Post by dimesio »

Post terminal output from a clean wineprefix in 1.6. http://wiki.winehq.org/FAQ#get_log
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

When Running Sonic CD Steam Version


err:d3d:wined3d_adapter_init_gl_caps Received a NULL GL_RENDERER.
err:d3d:wined3d_adapter_init Failed to initialize GL caps for adapter 0x1437d8.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by DanKegel »

That error message shows up in http://bugs.winehq.org/show_bug.cgi?id=21708#c37 ...
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

so I guess this is something that is being worked on and will see a fix soon?
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by lahmbi5678 »

Which graphics card are you using? If you are using an older intel integrated graphics, you may consider filing a bug in wine's bugzilla.

There are similar threads with the same error message "Received a NULL GL_RENDERER" in this forum, especially for intel graphics. My personal guess is that this happens with older integrated graphics like intel 945G. These chipsets are unable to do some shader model 2.0 (3.0) functions in hardware, even though they were advertised as DX9.0 or DX9.0c compatible, see https://en.wikipedia.org/wiki/Intel_Ext ... generation . The windows drivers emulated the missing functions in software. The intel linux drivers are probably missing some of that emulation. Imho this would justify a bug report at intel respective freedesktop, see https://01.org/linuxgraphics/documentat ... ort-bugs-0 .
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

Memory 1.5 GiB
Processor Intel® Pentium(R) 4 CPU 2.80GHz × 2
Graphics Intel® 915G x86/MMX/SSE2

If it worked back on 1.4 why is it doing bad on 1.6? it should work fine shouldn't it?

this is my bug report on bugzilla
http://bugs.winehq.org/show_bug.cgi?id=34238
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by lahmbi5678 »

Hi,

in http://bugs.winehq.org/show_bug.cgi?id=21708 , which is about older radeon graphics, there is some kind of, well, "explanation", but to be honest, I don't understand it at all.

I'm afraid, this will have to be left over for the wine 3d developers, it's already a good sign, that they asked for a verbose log.
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

I cant do anymore on this bug I cant install 1.7 to run a regression test, and if im right there are reports of errors with my same prob so Ill just wait till someone figures it out.
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 1.6 Fails To Initialize Direct X

Post by dimesio »

You can get the +wgl,+d3d log that was requested using 1.6.

http://wiki.winehq.org/FAQ#head-16da35b ... 16862d0f5e
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by lahmbi5678 »

You could still provide the debug log Henri Verbeet asked for. To make things a bit clearer, he expects you to run a command line like this:

WINEDEBUG="+wgl,+d3d" wine yourgame.exe &>debug.txt

This debug log will only be useful, if you've installed the debug version of wine, e.g. for opensuse there's a package "wine-debuginfo-1.6*.i586.rpm". Under Ubuntu you'll probably need to install a package "wine-1.6-dbg", don't know for sure, since I'm an opensuse user.
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

wine client error:0: version mismatch 431/440.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

Nvm that i did a fresh install of 1.6 and got the debug log sent to bugzilla
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

http://bugs.winehq.org/show_bug.cgi?id=34238

Can anyone tell me whats going on? Im confused
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 1.6 Fails To Initialize Direct X

Post by dimesio »

Nothing's going on. The comments after you posted your log are from another user with the same problem.
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

oh ok. well as far as I can see this is all I can do for now so thank you all you guys have been great ill keep in contact if this gets fixed or if anything goes wrong again.
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

http://bugs.winehq.org/show_bug.cgi?id=34238 ok so he wants me to apply a patch but I dont know how and in order to do so it will take more then just a few simple steps help :(
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by lahmbi5678 »

Hi Raylight,

the error you got when trying to build wine means that you need to install some x.org development packages. I think, the main package in Ubuntu for that purpose is called xorg-dev, which may require some dependent dev-packages.
Raylight
Level 2
Level 2
Posts: 20
Joined: Thu Aug 08, 2013 12:21 am

Re: Wine 1.6 Fails To Initialize Direct X

Post by Raylight »

yea i figured that out im compiling wine now but its taking forever does it usually take awhile to do? ive been waiting 2 hours now for it to finish compiling is that normal?
Locked