• 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 59
Testing audio engine ActiveAE
Just to confirm what I said on IRC.

Using DanielaE's [WINDOWS][PATCH]Bitstream output of HD audio formats build the E-AC3 7.1 Channel Check sample works perfectly as a passthrough format with my AVR detecting it as DD+ 7.1, sorry fritsch I know you were hoping it was a duff sample.

DanielaE's source is at https://github.com/DanielaE/xbmc/commits...r_HD-Audio

From what I can see from the commit history, the E-AC3 improvements seem to be centred around these commits:

https://github.com/DanielaE/xbmc/commit/...3ef71e4bd8
https://github.com/DanielaE/xbmc/commit/...7f1e885ebb
https://github.com/DanielaE/xbmc/commit/...88cd04ffa0
https://github.com/DanielaE/xbmc/commit/...5572033905

No idea if that will be of help since it's the pre-AE audio core and I'm no coder, but hopefully it might at least provide some pointers in the right direction.
Reply
(2013-08-29, 13:00)fritsch Wrote: @ray1112: Can you test with that version: http://mirrors.xbmc.org/test-builds/win3...fixes2.exe Check how often it is blinking now.
Sorry I haven't Windows.
I checked the last build from git (13.0-ALPHA7 Git:20130829-18a4377).
The result is the same (display is blinking with about 0.5 sec period).
Log: http://pastebin.com/SantZZPy
Ubuntu 22.04, Linux desktop 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kodi (20.1 (20.1.0) Git:20230312-289ec664e3). Platform: Linux x86 64-bit
Sony Android TV, Kodi 20.1
Reply
Checkout my aefixes2 branch and build it, please.
Here: https://github.com/fritsch/xbmc/tree/aefixes2

Make sure you have the "Streamsilence when idle" enabled.

Edit: I have sent you a PM on howto checkout aefixes2 branch and build
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2013-08-29, 22:42)fritsch Wrote: Checkout my aefixes2 branch and build it, please.
Here: https://github.com/fritsch/xbmc/tree/aefixes2

Make sure you have the "Streamsilence when idle" enabled.
How can I switch to you branch?

Code:
$ git clone https://github.com/fritsch/xbmc/tree/aefixes2
Cloning into 'aefixes2'...
fatal: https://github.com/fritsch/xbmc/tree/aefixes2/info/refs not found: did you run git update-server-info on the server?

$ git clone git://github.com/fritsch/xbmc/tree/aefixes2
Cloning into 'aefixes2'...
fatal: remote error:
  fritsch/xbmc/tree/aefixes2 is not a valid repository name
  Email [email protected] for help
Ubuntu 22.04, Linux desktop 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kodi (20.1 (20.1.0) Git:20230312-289ec664e3). Platform: Linux x86 64-bit
Sony Android TV, Kodi 20.1
Reply
(2013-08-30, 09:05)ray1112 Wrote:
(2013-08-29, 22:42)fritsch Wrote: Checkout my aefixes2 branch and build it, please.
Here: https://github.com/fritsch/xbmc/tree/aefixes2

Make sure you have the "Streamsilence when idle" enabled.
How can I switch to you branch?

Code:
$ git clone https://github.com/fritsch/xbmc/tree/aefixes2
Cloning into 'aefixes2'...
fatal: https://github.com/fritsch/xbmc/tree/aefixes2/info/refs not found: did you run git update-server-info on the server?

$ git clone git://github.com/fritsch/xbmc/tree/aefixes2
Cloning into 'aefixes2'...
fatal: remote error:
  fritsch/xbmc/tree/aefixes2 is not a valid repository name
  Email [email protected] for help
These questions don't belong in a testing thread.

https://help.github.com/
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
(2013-08-29, 20:35)massa84 Wrote:
(2013-08-29, 09:13)fritsch Wrote: Only thing I see:
Quote:19:26:27 T:6264 ERROR: CAESinkWASAPI::InitializeExclusive: IsFormatSupported failed (AUDCLNT_E_UNSUPPORTED_FORMAT) - trying to find a compatible format

Please supply a debug log

log with active ae enabled:
http://xbmclogs.com/show.php?id=52036

log with active ae disabled:
http://xbmclogs.com/show.php?id=52034

were the logs usefull?
there's something else i can do to help debugging?
Reply
(2013-08-30, 09:54)massa84 Wrote:
(2013-08-29, 20:35)massa84 Wrote:
(2013-08-29, 09:13)fritsch Wrote: Only thing I see:

Please supply a debug log

log with active ae enabled:
http://xbmclogs.com/show.php?id=52036

log with active ae disabled:
http://xbmclogs.com/show.php?id=52034

were the logs usefull?
there's something else i can do to help debugging?

You've not mentioned whether you only get the problem with ActiveAE audio engine enabled? or whether you get it with the default SoftAE audio engine as well?
Reply
(2013-08-30, 10:19)jjd-uk Wrote: You've not mentioned whether you only get the problem with ActiveAE audio engine enabled? or whether you get it with the default SoftAE audio engine as well?

i did in the first post.

i have the same problem with both activeAE and softAE.
the difference between the two engines is that using activeAE, when i get the sounds corruption after i stop the movie, i also hear a cracking noise every couple of seconds.
Reply
did you try with DirectSound as well?
Reply
(2013-08-30, 10:38)massa84 Wrote:
(2013-08-30, 10:19)jjd-uk Wrote: You've not mentioned whether you only get the problem with ActiveAE audio engine enabled? or whether you get it with the default SoftAE audio engine as well?

i did in the first post.

i have the same problem with both activeAE and softAE.
the difference between the two engines is that using activeAE, when i get the sounds corruption after i stop the movie, i also hear a cracking noise every couple of seconds.
I'm not a dev but I've looked at the logs but don't see anything obvious, however from the logs the I see you are using WASAPI, so if there is a bug here it might be with the WASAPI sink since that's what the 2 audio engines have in common.

What do you have Speaker Configuration set to? log suggests to me it might be 5.1, this should be set to 2.0.

Try with "Boost volume level on downmix" disabled, and also definitely try with Directsound as suggested above.

The only other thing I see in the log is DXVA warnings, I don't believe that would affect audio, but since you have an i3 you don't really need hardware acceleration so try with DXVA2 disabled as well.
Reply
ignore this... i wrote something that was really stupid.
Reply
(2013-08-29, 22:42)fritsch Wrote: Checkout my aefixes2 branch and build it, please.
Here: https://github.com/fritsch/xbmc/tree/aefixes2

Make sure you have the "Streamsilence when idle" enabled.

Edit: I have sent you a PM on howto checkout aefixes2 branch and build
Unfortunately the problem (AVR display blinking) rests.

Log: http://pastebin.com/xEbPmnxs
Ubuntu 22.04, Linux desktop 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kodi (20.1 (20.1.0) Git:20230312-289ec664e3). Platform: Linux x86 64-bit
Sony Android TV, Kodi 20.1
Reply
Did the interval change? Or blinking exactly the same interval?
This only happens in idle, right?

Does anything change, if you do:

sudo -s
echo 0 > /sys/module/snd_hda_intel/parameters/power_save
echo N > /sys/module/snd_hda_intel/parameters/power_save_controller
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2013-08-30, 22:46)fritsch Wrote: Did the interval change? Or blinking exactly the same interval?

This only happens in idle, right?
I think the interval is shorter (3-5 times per second).

This only happens in idle, right? Yes. When I play music the display is not blinking.

(2013-08-30, 22:46)fritsch Wrote: Did the interval change? Or blinking exactly the same interval?
This only happens in idle, right?

Does anything change, if you do:

sudo -s
echo 0 > /sys/module/snd_hda_intel/parameters/power_save
echo N > /sys/module/snd_hda_intel/parameters/power_save_controller

Before XBMC starting or when XBMC is working?
Ubuntu 22.04, Linux desktop 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kodi (20.1 (20.1.0) Git:20230312-289ec664e3). Platform: Linux x86 64-bit
Sony Android TV, Kodi 20.1
Reply
Does not matter :-)

Try the powersaving settings first, please. I pushed another code change, so just go to the folder you checkout xbmc and do git pull, that will update, afterwarwards a make -j5 is enough.

Thanks for your help.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
  • 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 59

Logout Mark Read Team Forum Stats Members Help
Testing audio engine ActiveAE1