• 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 54
Linux AudioEngine testers - Linux only
This is working great for me on a zotac id 41 (ion2) DTS_HD and TRUE_HD is working along with most pcm, however I have one multichannel pcm track (an mkv) which is getting sound cut outs.

12:22:24 T:139779777754880 DEBUG: CDVDPlayerAudio:: Discontinuity - was:734296.903000, should be:625000.000000, error:-109296.903000
12:22:26 T:139781221213952 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
12:22:27 T:139779777754880 DEBUG: CDVDPlayerAudio:: Discontinuity - was:3175655.644000, should be:3057267.135936, error:-118388.508064
12:22:29 T:139779903579904 DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333
12:22:32 T:139781221213952 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun

full log here
http://sprunge.us/Vcbg

its reported as pcm_s24le. I have other pcm tracks reported as pcm_bluray that work fine, and it worked fine on eden

thx

RD

Reply
Do those sound droupouts continue? It seems like on all platforms there are one or two drops in the first second or two, always stopping as soon as CPullupCorrection detects the pattern, after which they stop in all logs I've seen. On any of my tests these are unnoticeable as they occur within a second or two of the skip/seek/start while my receiver detects the stream.
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon  AVR-3808CI  - Denon DVD-5900 Universal Player  - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray  - X-Box 360  - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
Reply
yes they continue on this track, a little more testing, shows a few other pcm tracks with this as well, however I have just changed from "video clock (resample)" to "video clock (Drop/Dupe audio) and this seems to fix it. I always had the previous setting in eden as i got audio artifacts otherwise, now drop dupe seems to work ok and fixes the issue, i guess it may be a bug in the resampling.

thx

RD
Reply
Personally I always disable Sync to Display - with passthrough formats it's just not a good thing.
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon  AVR-3808CI  - Denon DVD-5900 Universal Player  - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray  - X-Box 360  - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
Reply
you are probably right, but I'd rather not have the frame drops, also at eden passthough was not an option so i never had to think about it Smile. The issues though are with pcm, which isn't really passthrough.

thx

RD
Reply
Just want to say that the devs here have done an amazing job, installed on clean xbmc using openelec on my acer revo 3700 ion2, played a few clips of truehd and dtshd, and it worked flawlessly,

It detected my AVR through hdmi with no problems. Will do more testing and report back this weekend,

Again well done!
Current setup:
Amlogic M3/MX + Linux + BOXiK Skin + Pioneer vsx520 + Dali Lektor 6

Previous setup:
Revo 3700 + flirc + OpenElec nightlies + Quartz + Pioneer vsx520 + Dali Lektor 6
atv1 + Crystalbuntu + XBMC nightly + xperience1080
Reply
I know I am using openelec, but figured this might be more helpful hereHuh

Using OpenELEC_frodo-Generic.i386-devel-20120517012637-r11023

Hardware: ZBOX ND-22 (ION with celeron processor).

Both DTS-MA and TrueHD output is static with 3 second drop outs here and there, receiver shows it is receiving PCM 2 channel signal... Though I am happy to say no issues with menu sounds for onceSmile

I know I am supposed to post a full log but can't figure out how to get the file off of the machine, did a cat in ssh though...

EDIT: FULL LOG: http://sprunge.us/PdFS

Code:
20:04:33 T:2864524096   DEBUG: CDVDPlayer::SetCaching - caching state 2
20:04:33 T:3017476800   DEBUG: CGUIInfoManager::SetCurrentMovie(smb://TOWER/Storage/TVSeries/Dexter/Season 2/Dexter.s02e01.It's Alive!.mkv)
20:04:33 T:3017476800   DEBUG: GetMovieId (smb://TOWER/Storage/TVSeries/Dexter/Season 2/Dexter.s02e01.It's Alive!.mkv), query = select idMovie from movie where idFile=13
20:04:33 T:3017476800   DEBUG: GetEpisodeId (smb://TOWER/Storage/TVSeries/Dexter/Season 2/Dexter.s02e01.It's Alive!.mkv), query = select idEpisode from episode where idFile=13
20:04:33 T:3017476800   DEBUG: LoadVideoInfo, got episode info!
20:04:33 T:3017476800   DEBUG:   Title = It's Alive!
20:04:33 T:3017476800   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
20:04:33 T:3017476800   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
20:04:33 T:2984241984   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
20:04:33 T:2984241984   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(451159000.000000, 1)
20:04:33 T:2984241984    INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
20:04:33 T:2864524096   DEBUG: CheckPlayerInit - dropping packet type:2 dts:451117000.000000 to get to start point at 451159000.000000
20:04:33 T:2856131392   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(451100000.000000, 0)
20:04:33 T:2856131392    INFO: CAEStreamInfo::SyncTrueHD - TrueHD stream detected (6 channels, 48000Hz)
20:04:33 T:2856131392   DEBUG: CDVDPlayerAudio: Sample rate changed, checking for passthrough
20:04:33 T:2856131392   DEBUG: FactoryCodec - Audio: passthrough - Opening
20:04:33 T:2856131392   DEBUG: FactoryCodec - Audio: passthrough - Opened
20:04:33 T:2856131392  NOTICE: Creating audio stream (codec id: 86063, channels: 8, sample rate: 192000, pass-through)
20:04:33 T:2856131392    INFO: CSoftAE::MakeStream - AE_FMT_TRUEHD, 192000, RAW,RAW,RAW,RAW,RAW,RAW,RAW,RAW
20:04:33 T:3017083712   DEBUG: CSoftAE::Run - Sink restart flagged
20:04:33 T:3017083712    INFO: CSoftAE::InternalOpenSink - RAW passthrough enabled
20:04:33 T:3017083712    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] Missing reference picture
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] decode_slice_header error
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] Missing reference picture
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] decode_slice_header error
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] Missing reference picture
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] decode_slice_header error
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] Missing reference picture
20:04:33 T:2984241984   ERROR: ffmpeg[B1DFEB40]: [h264_vdpau] decode_slice_header error
20:04:33 T:2984241984  NOTICE:  (VDPAU) screenWidth:0 vidWidth:1920 surfaceWidth:1920
20:04:33 T:2984241984  NOTICE:  (VDPAU) screenHeight:0 vidHeight:1080 surfaceHeight:1088
20:04:33 T:3017476800   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:04:33 T:3017083712    INFO: CAESinkALSA::Initialize - Attempting to open device hdmi:CARD=NVidia,DEV=0,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x0e
20:04:34 T:3017083712   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 256, periods 16, bufferSize 4096
20:04:34 T:3017083712   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 256, periods 16, bufferSize 4096
20:04:34 T:3017083712   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 22 ms
20:04:34 T:3017083712    INFO: CSoftAE::InternalOpenSink - ALSA Initialized:
20:04:34 T:3017083712    INFO:   Output Device : hdmi:CARD=NVidia,DEV=0,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x0e
20:04:34 T:3017083712    INFO:   Sample Rate   : 192000
20:04:34 T:3017083712    INFO:   Sample Format : AE_FMT_S16NE
20:04:34 T:3017083712    INFO:   Channel Count : 8
20:04:34 T:3017083712    INFO:   Channel Layout: FL,FR,BL,BR,FC,LFE,SL,SR
20:04:34 T:3017083712    INFO:   Frames        : 256
20:04:34 T:3017083712    INFO:   Frame Samples : 2048
20:04:34 T:3017083712    INFO:   Frame Size    : 16
20:04:34 T:2856131392   DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
20:04:34 T:2864524096   DEBUG: CDVDPlayer::HandleMessages - player started 1
20:04:34 T:2984241984  NOTICE: Creating 1920x1080 pixmap
20:04:34 T:2984241984   DEBUG: Found 4 fbconfigs.
20:04:34 T:2984241984   DEBUG: Using fbconfig index 0.
20:04:34 T:2984241984  NOTICE:  (VDPAU) Total Output Surfaces Available: 2 of a max (tmp: 2 const: 4)
20:04:34 T:2984241984  NOTICE:  (VDPAU) Creating the video mixer
20:04:34 T:2984241984  NOTICE:  fps: 23.976024, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
20:04:34 T:2984241984   DEBUG: OutputPicture - change configuration. 1920x1080. framerate: 23.98. format: VDPAU
20:04:34 T:2984241984 WARNING: CRenderManager::Configure - timeout waiting for previous frame
20:04:34 T:2984241984  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
20:04:34 T:3017476800   DEBUG: Activating window ID: 12005
20:04:34 T:3017476800   DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
20:04:34 T:3017476800   DEBUG: ------ Window Init (VideoFullScreen.xml) ------
20:04:34 T:3017476800    INFO: Loading skin file: VideoFullScreen.xml
20:04:34 T:3017476800  NOTICE: Using GL_TEXTURE_2D
20:04:34 T:3017476800  NOTICE: GL: Using VDPAU render method
20:04:34 T:3017476800  NOTICE: GL: NPOT texture support detected
20:04:34 T:3017476800  NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:04:34 T:2864524096   DEBUG: CDVDPlayer::HandleMessages - player started 2
20:04:34 T:2864524096   DEBUG: CDVDPlayer::SetCaching - caching state 0
20:04:34 T:3017083712   DEBUG: CSoftAE::Run - Sink restart flagged
20:04:34 T:3017083712    INFO: CSoftAE::InternalOpenSink - RAW passthrough enabled
20:04:34 T:3017083712    INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_TRUEHD, FL,FR,BL,BR,FC,LFE,SL,SR, 192000hz
20:04:34 T:2856131392   DEBUG: CDVDPlayerAudio:: Discontinuity - was:451161026.881000, should be:451100000.000000, error:-61026.881000
20:04:34 T:2856131392   DEBUG: CDVDPlayerAudio:: Discontinuity - was:451259189.869000, should be:451394802.569680, error:135612.700680
20:04:35 T:2856131392   DEBUG: CDVDPlayerAudio:: Discontinuity - was:452394933.167680, should be:452379325.684357, error:-15607.483323
20:04:36 T:2856131392   DEBUG: CDVDPlayerAudio:: Discontinuity - was:453379479.256357, should be:453363971.513699, error:-15507.742658

Not sure if this is relevent but aplay -L doesn't really seem to workHuh

Code:
openelec ~/.xbmc/temp $ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
openelec ~/.xbmc/temp $ aplay
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:682: audio open error: No such file or directory

Reply
on openelec you can use
Code:
cat xbmc.log |paste
via ssh. You will get a pastebin link this way Smile
Reply
(2012-05-20, 13:26)Hasu0bs Wrote: on openelec you can use
Code:
cat xbmc.log |paste
via ssh. You will get a pastebin link this way Smile

Thanks... will post that up

FULL LOG: http://sprunge.us/PdFS
Reply
I've managed to get onto 11.04 and upgraded to alsa 1.0.25 at last on all of my machines. I am still getting an ELDL error in my logs concerning reading hardware information though. <shrug> Sound seems to be working fine at last however I thought that previously we would have DTS sound tracks downsampled if the DTS check box for our audio receiver wasn't checked. Of my two receivers only one supports this so when attempting to play audio that's DTS I get nothing on the one that doesn't. I'm also finding high CPU usage on some clips and frame rate cannot keep up. I should be getting VDPAU acceleration but I'm not sure it's actually occurring Sad
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
Reply
Hi all,

Just wanted to confirm two things with fellow linux pre-12.0 users:

- Visualisation is not working
- Crossfade (~5 secs) is on in party mode even though it is disabled in settings
EDIT: actually not really a crossfade, it just starts playing the next song 5 secs early at full volume (the previous song still playing)

This is not a whinge post, but just wanted to know if it was just my system.

Thanks and keep up the great work all Smile
Reply
getting a crash when playing an mkv with a 6.1 channel flac. dts-es 6.1 works fine with the same video. this is my first time attempting to do a backtrace (based on this post here) so let me know if i royally borked it.

xbmc log: http://paste.ubuntu.com/1001159/
gdb: http://paste.ubuntu.com/1001160/

ubuntu 12.04, nvidia 290.10 drivers, alsa 1.0.25
Reply
It looks like there is some sort of a race condition going on between several initialisation threads (as far as I can tell).

Building and running on Ubuntu 12.04, built after ./configure --disable-debug.

XBMC will randomly have audio or not. Testing by starting XBMC from the command line, opening an episode of The Big Bang Theory, stopping and exiting XBMC.

20:57 See pastebin http://pastebin.com/Z2XAYPZm, audio works fine.
20:58 See pastebin http://pastebin.com/Bj5NCcUJ, no audio.

Switching on debug logging using the settings menu will lead to successful audio every start. The extra time needed for the additional logging seems to prevent the problem from happening.... A bad thing as this means that I can not provide any detailed info. Nevertheless I hope these observations are helpful in some way.

ubuntu 12.04, Virtualbox
Reply
Does version 302.11 of nvidia drivers fix those issues that 295.x is known to have? Anybody tried it with AE?
Reply
Wondering if anyone can help with this one......
Ubuntu 12.04, GIT build from 5/22
I have an Nvidia GeForce GT520 video card using the 302.11 drivers, this is connected direct to my plasma via VGA (HDMI on tv is busted, don't ask)
I have to use a xorg.conf with custom modelines because the tv doesn't provide correct EDID data
I also have the nvidia card connected via hdmi to my receiver
XBMC is only recognizing the built-in Intel sound, not the HDMI. Here's the error
Quote:DEBUG: CAESinkALSA::EnumerateDevicesEx - Skipping HDMI device hdmi:CARD=NVidia,DEV=0 as it has no ELD data

Anyone know how to fix this?
Reply
  • 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 54

Logout Mark Read Team Forum Stats Members Help
AudioEngine testers - Linux only4