Posted by stephen46
on June 19, 2009 at 6:16 AM PDT
Hoping someone can help me with the following problem:
I have built a media centre under jdk1.6.0_14 which involves a significant amount of 2D image manipulation, gradient and transparency operations. All works fine and the animation is greatly improved by the new DirectX acceleration.
The problem is after a while I get a Green Screen whenever I try to play a video in any DirectShow media player (e.g. MPC).
Please note the MPC process is separate to the media centre VM process. I can immediately fix the problem by exiting the VM - I dont even need to restart the MPC instance it just automatically fixes itself.
It would appear to me that the JVM is holding some resources within DirectX at the global level, which stops MPC from using them. When the process exits, they are free-ed for MPC (or any other DirectShow player) to resume normality.
Any ideas of what may be going on and how to debug / monitor to see what the resources are?