PDA

View Full Version : LUAVolume plug-in fails to load at boot time only



avid
January 22nd, 2005, 12:31 PM
Last week I added a 2nd audio card to my HTPC. I am very successfully controlling the choice of card for each app (TV, CD, etc) via SetWaveDev. However, whenever I restart the HTPC, Girder reports a "failed to load plugin" message. This occurs ONLY at boot time. If I subsequently exit and restart Girder, all is fine. By eliminating plugins one at a time, I have deduced the offender is LUAVolume.

I am running Girder 3.3.7.

Any ideas??

Brian

Promixis
January 22nd, 2005, 06:10 PM
Brian,

Are you running any scripts at start up?

It almost sounds like the system isn't ready for luavolume to start...?

avid
January 24th, 2005, 01:10 AM
Mike,

Nope - no scripts at startup. But if I remove the LUAVolume DLL from the plugins folder, the alert does not appear. So it looks like the plugin's initilaisation is failing.

Brian

avid
February 1st, 2005, 02:50 AM
Mike,

Any suggestions how to follow this one up?

I could attach a kernel debugger to allow me to capture tracing across the re-boot if that would help. But there is only any point in trying this if there is anything to capture.

Or any other ideas?

Brian

Promixis
February 1st, 2005, 06:07 AM
i though ron tracked this one down..?

avid
February 1st, 2005, 07:09 AM
Not that I heard. Ron??

Ron
February 1st, 2005, 09:49 AM
Try delaying the loading of Girder, sometimes hardware/software has to initialize before Girder will fully work.

avid
February 1st, 2005, 10:03 AM
Thanks Ron - I'll give that a go

Brian

avid
February 4th, 2005, 12:59 AM
Yes - that worked.

Thanks again,

Brian

Ron
February 4th, 2005, 09:42 AM
How much delay did you have to put in?

avid
February 4th, 2005, 11:06 AM
My first attempt was 10 seconds. That is enough, so I haven't tried to shorten it. My machine reboots very rarely (the record is 2 months!)

Brian

Promixis
February 4th, 2005, 01:02 PM
Brian,

You could also try the LoadPlugin / EnablePlugin settings from Lua

avid
February 4th, 2005, 01:13 PM
Mike,

Yes, that would work too. But a 2 line batch file works today and I can't be bothered to get the most perfectly elegant solution !

Brian