Kodi Community Forum
Testing audio engine ActiveAE - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Testing audio engine ActiveAE (/showthread.php?tid=170338)



RE: Testing audio engine ActiveAE - FernetMenta - 2013-09-27

Quote:I try to close XBMC and restart it and it also hangs

Most likely not related to audio engine but Windows not reading EDID/ELD after tv is powered on again.


RE: Testing audio engine ActiveAE - jjd-uk - 2013-09-27

(2013-09-27, 14:46)pyrodex Wrote: Recently I went from 12.2 to 09/21/2013 nightly to resolve PVR issues when I upgraded to Mythtv 0.27. I have two identical machines with the same configuration except for one difference. The bedroom is set for 2.0 audio and the downstairs is set for 5.1 since that is their native configurations. I leave both machines running 24/7 and they never sleep, however I do shut down the AVR (downstairs) and TV (bedroom) attached when not using. I've observed on the bedroom HTPC that when I power the system back up to watch shows that there is no audio and the playback is sluggish, I try to close XBMC and restart it and it also hangs. I have to reboot the machine to allow for XBMC to function with sound and normal speed and it will work fine until I shut down the TV and attempt again a few hours later. Any thoughts on if it could be related to ActiveAE? BTW both are running Windows 7.

Likely due to Windows hot plug detection so tape over Pin 19 of the HDMI (assuming you are using HDMI).

See http://forum.xbmc.org/showthread.php?tid=165307&pid=1426172#pid1426172


RE: Testing audio engine ActiveAE - lordashram - 2013-09-27

@pyrodex,
I had a very similar issue as you are having, the only thing that worked for me was to uncheck "Stream silence when idle" in the System/Audio menu (you may need to change level from basic to advanced or expert to access that option), hopefully that works for you too.


RE: Testing audio engine ActiveAE - pyrodex - 2013-09-28

Thanks for the feedback guys and I understand all the points given but my concern is that nothing changed other than the XBMC version....

@lordashram I will try that option and see if it helps.


RE: Testing audio engine ActiveAE - fritsch - 2013-09-28

@lordashram and @pryodex: Please reproduce and get us the logfiles. Especially with the stream silence problem. I could only think of some programm in the background accessing the audio card, when it is in exclusive use via wasapi and then that happens.

But logfile will tell.

@lordashram: Your problem seems to be different one, but we will see.

@pryodex: Your problem seems in deed ELD related, but als here xbmc sould not crash / hang.


RE: Testing audio engine ActiveAE - pyrodex - 2013-09-28

I reviewed that thread and I already have an HDMI detective in line. I bought that for that reason so could it still be that?


RE: Testing audio engine ActiveAE - fritsch - 2013-09-28

Debug Log thank you.


RE: Testing audio engine ActiveAE - pyrodex - 2013-09-28

Here you go

http://xbmclogs.com/show.php?id=63532

This was before the Silence change recommended earlier which seems to have resolved the issue for some reason.


RE: Testing audio engine ActiveAE - fritsch - 2013-09-28

Disabling stream silence means that the device is automatically drained and unloaded after 10 seconds. I think that something in the background tries to grab the Audio device, when it is in exclusive mode.

Do you idle xbmc in fullscreen or alt tab to something else?


RE: Testing audio engine ActiveAE - pyrodex - 2013-09-28

(2013-09-28, 18:03)fritsch Wrote: Disabling stream silence means that the device is automatically drained and unloaded after 10 seconds. I think that something in the background tries to grab the Audio device, when it is in exclusive mode.

Do you idle xbmc in fullscreen or alt tab to something else?

This pc is a dedicated xbmc machine and it does run idle in full screen mode all the time. Only time else I use it for would be to vnc to the machine for updates to xbmc.


RE: Testing audio engine ActiveAE - FernetMenta - 2013-09-28

(2013-09-28, 18:00)pyrodex Wrote: Here you go

http://xbmclogs.com/show.php?id=63532

This was before the Silence change recommended earlier which seems to have resolved the issue for some reason.

Thanks, this log revealed an issue in the code. I'll fix it.


RE: Testing audio engine ActiveAE - lordashram - 2013-09-29

I was about to post my log but it looks like you may not need it.


RE: Testing audio engine ActiveAE - fritsch - 2013-09-29

I am currently doing some jenkins testing builds for windows with the fix by fernetmenta. You can find it later here: http://mirrors.xbmc.org/test-builds/win32/ build is something with -activefix in name.

Here is it, fresh out of the oven: http://mirrors.xbmc.org/test-builds/win32/XBMCSetup-20130928-9c27a02-activefix.exe


RE: Testing audio engine ActiveAE - lordashram - 2013-09-29

I spoke too soon, I immediately compiled the latest commit with FernetMenta's patch but still I am getting a crash when I exit out of XBMC if I leave "Stream silence when idle" checked and turn off my TV+A/V receiver & leave it for a little while. But if I leave my TV+A/V receiver on for a while I can still exit out of XBMC without a crash or if I turn off "Stream silence when idle" then no crashes. This did not start happening until ActiveAE was added:

http://xbmclogs.com/show.php?id=63828


RE: Testing audio engine ActiveAE - fritsch - 2013-09-29

Retry with the build above, i cannot really see which revision you have there, it tells: "c0b225e" the relevant branch is at: "9c27a02"

So retry.