2012-02-29, 03:44
Hey mightymouse - not quite that easy. You can certainly merge AE back with the latest Eden releases, but the logging is still going to come from AE. Let's just say you've found a bug and a workaround (no gui sounds) all in one
mightymouse2045 Wrote:I have tried disabling the pulse audio altogether, not building with pulse support, setting gstreamer properties to various outputs and all of them have failed.
1. Copy the text in the above link.
2. Create empty patch.diff file in the root of the latest build of XBMC AE (eg command line to do it: 'gedit /path/to/your/AEbuild/patch.diff')
3. Paste in the lines from the above link
4. Save and close it
5. at CLI run (without quotes):
'cd /path/to/your/AEbuild'
'patch -p0 <patch.diff'
repi Wrote:Hi, I was hoping I could get some elementary help: I have compiled the AE branch on Ubuntu 11.10 and video works fine but I have no audio. In the system prefs in xbmc it says "no audio device found". I saw some posts that said to write a custom mapping of 'plughw:0,7" and I tried that but still nothing.
I have selected my HDMI stereo connection in the sound preference of the ubuntu system.
If you can point me to a thread that would help, or if you can offer help, I would appreciate it. I want to use Linux as my HTPC but need sound! Thanks
mightymouse2045 Wrote:UPDATE:
To ensure the statements in my previous post were true I decided to rebuild with --disable-pulse (again?), well obviously I hadn't done it with AE, I had done it with Eden as part of my getting passthrough working with that (which didn't help in the Eden build), but it HAS fixed the AE build from the merge on the 28th Jan!!!!!!!!!!! Latest Build still fails...
wingrunr21 - thanks for the suggestion - I had seen pulse conflicts in other posts and had tried disable pulse (but only with Eden not AE!).
Anyways so I thought I would try my hand at fixing this. Thanks to a suggestion by DDDamian, he thought the Alsa stopped working around the 28th of Jan, so I went backwards and well here is some detailed testing results and other info:
http://pastebin.com/7VwKD6Vm
As you can see from that, the commit on the 28th Jan labeled:
[AE][ALSA] fixed conversion of periods to frames, periods are already in frames on 28/1/2012, broke Alsa for us guys using HDMI.
The temporary fix is to apply this patch to the LATEST git build. This will revert back to the default behavior of attempting to use whatever you have set as your custom device.
PATCH:
http://pastebin.com/a4MZTSb5
Code:1. Copy the text in the above link.
2. Create empty patch.diff file in the root of the latest build of XBMC AE (eg command line to do it: 'gedit /path/to/your/AEbuild/patch.diff')
3. Paste in the lines from the above link
4. Save and close it
5. at CLI run (without quotes):
'cd /path/to/your/AEbuild'
'patch -p0 <patch.diff'
Once applied build as you normally do
On a Side note:
I still have a problem where I need to disable pulse when I build. If I don't disable pulse when building even if I have navigation sounds disabled and disabled nav sounds during playback it still ties up the Alsa passthrough device and I get passthrough failed in the logs and PCM only appearing on my receiver.
That's a fix for gnif (when he's finished working on the Eden release)
ERROR: Initialize - failed to open custom device plughw:CARD=NVidia,DEV=3,AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 (error:No such file or directory), retry with default plughw:CARD=NVidia,DEV=3
INFO: CAESinkALSA::Initialize - Attempting to open device hw:1,3,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x02
ERROR: CAESinkALSA::Initialize - snd_pcm_open_lconf(-2) - hw:1,3,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x02
wingrunr21 Wrote:Again, the ONLY issue I have is with DTS audio. It it severely choppy. All other audio codecs stream to the receiver just peachy (including DTS-HD). I am living with the DTS issue for now by just having it output PCM for that codec.
17:31:04 T:139924712654592 INFO: CAESinkALSA::Initialize - Attempting to open device hdmi:CARD=NVidia
17:31:04 T:139924712654592 ERROR: CAESinkALSA::InitializeHW - Unable to open the required number of channels
17:31:04 T:139924712654592 ERROR: CAESinkOSS::Initialize - Failed to get supported formats, assuming AFMT_S16_NE
17:31:04 T:139924712654592 INFO: CSoftAE::Initialize - NULL Initialized:
17:31:04 T:139924712654592 INFO: Output Device : NULL
17:31:04 T:139924712654592 INFO: Sample Rate : 48000
17:31:04 T:139924712654592 INFO: Sample Format : AE_FMT_FLOAT
17:31:04 T:139924712654592 INFO: Channel Count : 7
17:31:04 T:139924712654592 INFO: Channel Layout: FL,FR,FC,BL,BR,SL,SR
17:31:04 T:139924712654592 INFO: Frames : 4800
17:31:04 T:139924712654592 INFO: Frame Samples : 33600
17:31:04 T:139924712654592 INFO: Frame Size : 28
00:45:10 T:139930336474880 DEBUG: FactoryCodec - Audio: passthrough - Opening
00:45:10 T:139930336474880 DEBUG: FactoryCodec - Audio: passthrough - Failed
gnif Wrote:1) STOP POSTING MODPROBE/ASOUNDRC STUFF HERE, IT IS NOT AE RELATED, there is an entire section on the wiki devoted to this subject, any further posts in this thread along those lines will be given an infraction!, this thread is under XBMC Development, it is NOT a support thread.
wingrunr21 Wrote: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.
wingrunr21 Wrote:To be fair, when audio settings work from the main branch and don't work here (ie the custom devices failing for people here), I think that qualifies for this thread.
Quote:But it seems this person rather delete posts that help peopleI am not just a "person" I am the core developer of AE, this thread is for debugging issues with AE that cause major issues such as segfaults and the like.
Quote:To be fair, when audio settings work from the main branch and don't work here (ie the custom devices failing for people here), I think that qualifies for this thread.AE works VERY differently from the main branch, and not all the settings and hacks are required any-more as AE's logic is much smarter, so NO, do not expect the same settings to work the same way.
repi Wrote:I agree. xbmc works for me from the main branch but not with AE. But it seems this person rather delete posts that help people rather than let people get help for these problems. Luckily, I printed the page before he deleted everything relevant to me.
Quote:Developers forums for XBMC related development, by programmers and coders only!
No end-user support, no bug reports, and no feature/function requests in this forum!
phil65 Wrote:we all want the devs spending their time in developing instead of wasting their time with useless support because things aren´t final yet, don´t we? Time for that will come when this piece of code becomes part of the main development branch.
Quote:gnif is smart enough to see the difference, supposedly.I am also smart enough to know when to keep my mouth shut. You are out of line, back down, this forum is NOT for support, its for developers. I can obviously skip over the trash in the thread, but that is my development time wasted trying to separate out what issues are real and what are not.
gnif Wrote:I am also smart enough to know when to keep my mouth shut. You are out of line, back down, this forum is NOT for support, its for developers. I can obviously skip over the trash in the thread, but that is my development time wasted trying to separate out what issues are real and what are not.
Any more discussion along these lines in this thread will incur an infraction, you have been warned.
@wingrunr21 - Can you please post a complete debug log, I need to see everything to get an idea of what's going on.