DirectX and Jenkins

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

DirectX and Jenkins

JeanArthurdeda
This post has NOT been accepted by the mailing list yet.
Hello Everyone,

I'm using Jenkins 1.450 and windows 7 professional 64bit and I'm currently in a bit of a trouble when I'm using DirectX within Jenkins. What I'm having is that any DirectX application fails to initialize when run inside Jenkins. To better isolate the problem I've created a simple VC 2010 application that just creates the IDirect3D9 and printfs the number of adapters that we have. When run from within cmd.exe I get the real number of adapters 1 but within Jenkins I get 0.

Does anybody have any form of solutions/workaround anything that can help me some how move forward with running directX applications within Jenkins?

For the record from the DirectX application we do render to texture :)

Regards,
Jean-Arthur Deda.
Reply | Threaded
Open this post in threaded view
|

Re: DirectX and Jenkins

JeanArthurdeda
This post has NOT been accepted by the mailing list yet.
So, I've found a great workaround and I'm just posting here for community benefits.
What I've found is that on windows jenkins is working as a windows service and this with directx can cause some problems. The work around that I've made was to add a slave to jenkins (on the same machine), configure the slave to work with java run and then I've set the master # of executors to 0 to disable the master and always use the slave. This worked like a charm to me and if it helps anyone else then it's my pleasure.

Later aligatorz,
Jean-Arthur Deda.