Educational App Problem (4nec2x): Fail When 3d Window Closed

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
motsteve
Level 1
Level 1
Posts: 8
Joined: Thu Sep 16, 2010 7:58 am

Educational App Problem (4nec2x): Fail When 3d Window Closed

Post by motsteve »

I've looked at the faq page, searched through the forum (users), looked around appdb and did a tenative look in the bugzilla and can't seem to find my problem so here goes:

When using my antenna analysis app, 4nec2x (free and easy to find), Wine performs like a champ in all respects save one. If I open the 3d window (by pushing F9), the performance is as is to be expected unless you close the 3d window before closing the rest of the session. You get the following error:

ResizeWindowed--DX-error -2147467259:E_FAIL and a stop statement afterwards in a separate window.

This does not occur if running Windoz 7 or XP Pro. It has done it for all versions of Wine up to my now 1.3.23. It has done it on Mint 10, Mint 11, OpenSuse 11.3, Ubuntu 10.04, and Ubuntu 11.04. My NVidia drivers are latest and greatest and the BIOS is up to date.

The last window in the error messages, does say that if it works in Windoz then put in a bugzilla report to winehq. I'm pretty good about troubleshooting, but all I can tell with this error message is it looks like it may be a DirectX problem and I know diddle about this. I'm a real wimp when it comes to submitting bugs because in the past I've been flammed like crazy in the other bugzilla pages for not doing a complete and thorough scouring of the database. Guess what else I'm not good at? :shock:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Educational App Problem (4nec2x): Fail When 3d Window Cl

Post by dimesio »

motsteve wrote: When using my antenna analysis app, 4nec2x (free and easy to find), Wine performs like a champ in all respects save one. If I open the 3d window (by pushing F9), the performance is as is to be expected unless you close the 3d window before closing the rest of the session. You get the following error:

ResizeWindowed--DX-error -2147467259:E_FAIL and a stop statement afterwards in a separate window.
Error messages from the app itself are usually not enough to debug a problem. You need to look at the console output. http://wiki.winehq.org/FAQ#get_log
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

I can reproduce the problem by starting the app, pressing f9, closing
the 3d window, and pressing f9 again. The log shows

fixme:d3d:wined3d_device_reset Cannot change the device window yet.
err:d3d:context_create Failed to retrieve a device context.

when F9 is pressed the second time.

That suggests that Wine is known to be missing a feature.
I haven't heard of this causing a crash before, so I filed a bug for it,
http://bugs.winehq.org/show_bug.cgi?id=27683

Thanks for the report.
motsteve
Level 1
Level 1
Posts: 8
Joined: Thu Sep 16, 2010 7:58 am

Post by motsteve »

Thanks for reporting it. With so many people using this app, I can't believe by now someone didn't submit one, but you have it covered now. Thanks again. :D
Locked