Kodi Community Forum
AudioEngine branch - DO NOT REQUEST BINARY BUILDS - 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: AudioEngine branch - DO NOT REQUEST BINARY BUILDS (/showthread.php?tid=78289)



- Hack_kid - 2012-02-10

dude stop flooding this thread with your troubleshooting. ever heard of modprobe lines? this has all been covered before in many threads including this one pages back (pg 82 i think) and theres even a wiki on it. you need to set up modprobes. its all documented then only one audio device will show up with aplay -l which will fix ALL these issues you are complaining about come back after you have a working setup

btw anyone heard from gnif lately?


- DDDamian - 2012-02-10

Hack_kid Wrote:btw anyone heard from gnif lately?

He's been working on migrating some servers - patience Laugh


- rodercot - 2012-02-10

It has nothing to do with a modprobe line. everything works fine in myth and vlc and every other app I test.

options snd-hda-intel enable_msi=0 probe_mask=0x108 - has been there since day one. Hey man do some research Olympia, PAoleary a few others and I were the first ones to get hdmi audio out working with xbmc on any board 4 years ago or more I think the thread is still around here some where so yes I 've been down the modprobe road and patched many files and bought and sold many pieces of hardware to try and help the cause. I think Olympia's minimal install guide is still one of the most visited guides to date.

had you bothered to look at the dmesg reports or read the posts, you would have saw the card at dev3 only and what does an udev rule hdmi/dp hotplug event have to do with a modprobe line.

I am not a coder so this is my way of helping the cause if my help is not needed no problem.

Dave


- joethefox - 2012-02-11

Linux AE from git 29 Jan 2012.
there is an annoying bug while watching liveTV and I think it occurs when the provider changes the format of the audio stream on the fly (for example during the advertising), when this happen the audio stops to work and the video begins to stutter. Debug says:
23:01:27 T:140263680796416 DEBUG: CDVDPlayerAudio:: Discontinuity - was:72851747758.850006, should be:72851747344.000000, error:-414.850006
23:01:28 T:140263680796416 DEBUG: CDVDPlayerAudio:: Discontinuity - was:72852772851.608994, should be:72852732851.608994, error:-40000.000000

Let me know if you need full debug.


- Hack_kid - 2012-02-11

rodercot Wrote:It has nothing to do with a modprobe line. everything works fine in myth and vlc and every other app I test.

options snd-hda-intel enable_msi=0 probe_mask=0x108 - has been there since day one. Hey man do some research Olympia, PAoleary a few others and I were the first ones to get hdmi audio out working with xbmc on any board 4 years ago or more I think the thread is still around here some where so yes I 've been down the modprobe road and patched many files and bought and sold many pieces of hardware to try and help the cause. I think Olympia's minimal install guide is still one of the most visited guides to date.

had you bothered to look at the dmesg reports or read the posts, you would have saw the card at dev3 only and what does an udev rule hdmi/dp hotplug event have to do with a modprobe line.

I am not a coder so this is my way of helping the cause if my help is not needed no problem.

Dave

ha! same issue i had, dont use 0x108 use ffff,fff2 (regardless of card) trust me, it will work


- DDDamian - 2012-02-11

joethefox Wrote:Linux AE from git 29 Jan 2012.
there is an annoying bug while watching liveTV and I think it occurs when the provider changes the format of the audio stream on the fly (for example during the advertising), when this happen the audio stops to work and the video begins to stutter. Debug says:
23:01:27 T:140263680796416 DEBUG: CDVDPlayerAudio:: Discontinuity - was:72851747758.850006, should be:72851747344.000000, error:-414.850006
23:01:28 T:140263680796416 DEBUG: CDVDPlayerAudio:: Discontinuity - was:72852772851.608994, should be:72852732851.608994, error:-40000.000000

Let me know if you need full debug.

Thx joethefox - this seems to be the major issue right now, and affecting all video not just those with HD audio. It doesn't appear to be due to AE code, might need a re-merge with newer XBMC code. Don't really need the full debug on this one - thx for highlighting that it's occuring on non-HD tho.


- rodercot - 2012-02-13

Gnif,

I can now reproduce the error everytime with either nvidia 295 driver no problem with the 290.10 driver and it does not happen on a clean git of eden b3 or XBMCbuntu B3 - I am running 295.17 on both of those versions right now.

turn off sync to display problem goes away. XBMC seems to be creating all the hotplug hdmi messages as well.

Dave


- Fneufneu - 2012-02-13

since commit: "fixed audiophile setting not being applied properly"
i have loop issue back:

Code:
15:19:56 T:34695035904   DEBUG: CSoftAE::Run - Sink restart flagged
15:19:56 T:34695035904    INFO: CSoftAE::OpenSink - RAW passthrough enabled
15:19:56 T:34695035904    INFO: CSoftAE::Initialize - OSS Initialized:
15:19:56 T:34695035904    INFO:   Output Device : /dev/dsp
15:19:56 T:34695035904    INFO:   Sample Rate   : 48000
15:19:56 T:34695035904    INFO:   Sample Format : AE_FMT_DTS
15:19:56 T:34695035904    INFO:   Channel Count : 2
15:19:56 T:34695035904    INFO:   Channel Layout: FL,FR
15:19:56 T:34695035904    INFO:   Frames        : 256
15:19:56 T:34695035904    INFO:   Frame Samples : 512
15:19:56 T:34695035904    INFO:   Frame Size    : 4
15:19:56 T:34695035904   DEBUG: CSoftAE::Run - Sink restart flagged
15:19:56 T:34695035904    INFO: CSoftAE::OpenSink - RAW passthrough enabled
15:19:56 T:34695035904   DEBUG: CSoftAE::Run - Sink restart flagged
15:19:56 T:34695035904    INFO: CSoftAE::OpenSink - RAW passthrough enabled
15:19:56 T:34695035904   DEBUG: CSoftAE::Run - Sink restart flagged
15:19:56 T:34695035904    INFO: CSoftAE::OpenSink - RAW passthrough enabled
15:19:56 T:34695035904   DEBUG: CSoftAE::Run - Sink restart flagged
15:19:56 T:34695035904    INFO: CSoftAE::OpenSink - RAW passthrough enabled



- DDDamian - 2012-02-13

@Fneufneu -yep the commit prior was the last stable. Have you turned it off in advancedsettings? That commit was almost a re-write of SoftAE and I think something with starting a "paused" or pending stream starts a loop of re-opening the output sink.

I know gnif's been busy with migrating some servers for work - hope he'll get the chance to get back to it soon - he did a huge flurry of coding on this in a few short weeks.


- Hack_kid - 2012-02-13

So what date was the last stable build I've just been using current got, only issue I'm having is audio cutting out and the end of some tracks


- DDDamian - 2012-02-13

Hack_kid Wrote:So what date was the last stable build I've just been using current got, only issue I'm having is audio cutting out and the end of some tracks

The 28th. To workaround the dropouts sync to video clock and drop/dupe audio packets. For the issue at the end of tracks pick either audiophile or cross-fade, not both.


- mightymouse2045 - 2012-02-14

Hi Gnif,

Can you tell me if your branch works with ffmpeg 0.10 release or is the latest 0.9 only?

Also is DTS-HD and TrueHD working in AE as of now or is it a work in progress?

I am currently using cxbiker16's release that supports up to DTS-HD but no TrueHD, but I have noticed it also blocks any other media apps like VLC for example using passthrough while XBMC is running, even though there is nothing being played through XBMC.

Does AE handle device sharing a little better or do I need to upgrade the Alsa release to resolve this? I am currently on 1.0.24-2 Alsa base (Ubuntu 11.10).

Edit:

No response .... is this thread still active?


- wingrunr21 - 2012-02-20

You should be using the internal ffmpeg when compiling xbmc. There are patches in the internal one that aren't applied against upstream yet. Yes, it also works with TrueHD.

Is anyone using AirPlay/AirTunes with AE? I'm running AE merged with Eden b3 and xbmc locks up hard whenever I try and AirPlay to it. No log output, no UI response, just a solid lock. If I stop iTunes/my iPhone from trying to send AirPlay stuff to it, xbmc regains responsiveness in a few minutes.


- Hack_kid - 2012-02-21

DDDamian Wrote:The 28th. To workaround the dropouts sync to video clock and drop/dupe audio packets. For the issue at the end of tracks pick either audiophile or cross-fade, not both.


For Linux or windows what specific commit should I revert to


- DDDamian - 2012-02-21

Hack_kid Wrote:For Linux or windows what specific commit should I revert to

Would suggest up to and including: f573a9681cd2a793962d9958bcf7165a3921132a