Java crashes in wined3d.dll

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
RickJones
Newbie
Newbie
Posts: 2
Joined: Sun Mar 01, 2009 3:54 pm

Java crashes in wined3d.dll

Post by RickJones »

I'm trying to run a Java program in Wine on 2 different machines, and on one it crashes when it tries to draw the main window. The crash is in native code called from wined3d.dll.

I'm not sure why it needs to use wined3d as it's just displaying an ordinary workaday application window, nothing fancy, but it seems that awt.dll calls d3d9.dll anyway, which then calls wined3d.

The machine it fails on uses an Nvidia graphics card (5200 GPU), the one that works uses Intel graphics (Asus Eee netbook). I've tried disabling the Nvidia accelerated driver and it makes no difference.

I'm running Wine 1.1.16 on Ubunto 8.10. Is this a known problem, are there any workrounds?

(of course being a Java program it shouldn't really be necessary to use Wine, but currently it's only available as a Windows build - shame)

TIA, Rick
ericmixamo
Newbie
Newbie
Posts: 2
Joined: Mon Jul 27, 2009 7:41 pm

Any update?

Post by ericmixamo »

I am running into the same problem, using Wined3d on virtualbox and Java 1.6.0_14.

Does anyone know if other versions (of wined3d or java) work?

appreciate it!

cheers,
eric
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Java crashes in wined3d.dll

Post by vitamin »

Rick Jones wrote:I'm trying to run a Java program in Wine on 2 different machines, and on one it crashes when it tries to draw the main window. The crash is in native code called from wined3d.dll.
Try disabling ddraw in java (google for the command line option that does that).
RickJones
Newbie
Newbie
Posts: 2
Joined: Sun Mar 01, 2009 3:54 pm

Post by RickJones »

I eventually solved it just by disabling the d3d9 library in Wine config. As the app isn't actually using 3d it's not a problem.

I got the tip somewhere else - can't remember where now!. Sorry, should have posted the solution before.

Cheers
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

Well I believe java is actually using d3d9 for faster 2D drawing. By hiding d3d9 I guess it falls back to 'software' rendering or at least less acceleration.
ericmixamo
Newbie
Newbie
Posts: 2
Joined: Mon Jul 27, 2009 7:41 pm

Thanks all

Post by ericmixamo »

i came to the same conclusion after perusing the bugzilla a bit.

thanks all. cheers.
Locked