Due to maintenance, our forum will be offline for a short while on Monday June 1st, around 22:00 UTC.

  •   
  • 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 54
  •   
Linux AudioEngine testers - Linux only
(2012-09-27, 05:21)furii Wrote:
(2012-09-27, 04:01)VanillaXtract Wrote: My system is in my signature. XBMC - HDMI - receiver - TV. I can play DTS and AC3 files just fine. If I play a DTS-HD file I usually get no sound and my receiver states no audio signal. Sometimes it'll make noise and show PCM 7.1. Same with TrueHD except the receiver shows PCM 2.0. If I switch audio output in XBMC to optical/spdif (but still use HDMI) then my receiver states DTS and plays fine.

Also, if I play an AAC file with audio set to HDMI then my receiver sees a AAC 2.0 track. If I switch to optical out then the receiver gets a 5.1 file.

I'm running snipex 20120830.1450 and have upgraded my alsa driver to 1.0.25 with no improvements. The audio output and passthrough are set to HDA Nvidia, HDMI.

ion1 does not support bitstreaming hd audio, this is a hardware limitation.
Well hell. Thanks for answering that. I guess it's time to build that i3 system.
Living Room: Ubuntu 16.10 x64 | BayTrail-M SOC | Krypton | Hitachi 55L6 | Yamaha RX-V665 | 7.1 Polk Surround
Den: RetroPie 4.1 | Raspberry Pi 3 | Krypton | VIZIO XVT553SV
Bedroom: OSMC 2017.02-1 | Raspberry Pi 3 | Krypton | VIZIO E370VA
HP Chromebook 14: Ubuntu 16.04 x64 | Celeron 2955U | Jarvis
NAS: Windows 10 | 20TB on DrivePool | Emby DB | Subsonic | Plex
Reply
(2012-09-27, 07:17)VanillaXtract Wrote:
(2012-09-27, 05:21)furii Wrote:
(2012-09-27, 04:01)VanillaXtract Wrote: My system is in my signature. XBMC - HDMI - receiver - TV. I can play DTS and AC3 files just fine. If I play a DTS-HD file I usually get no sound and my receiver states no audio signal. Sometimes it'll make noise and show PCM 7.1. Same with TrueHD except the receiver shows PCM 2.0. If I switch audio output in XBMC to optical/spdif (but still use HDMI) then my receiver states DTS and plays fine.

Also, if I play an AAC file with audio set to HDMI then my receiver sees a AAC 2.0 track. If I switch to optical out then the receiver gets a 5.1 file.

I'm running snipex 20120830.1450 and have upgraded my alsa driver to 1.0.25 with no improvements. The audio output and passthrough are set to HDA Nvidia, HDMI.

ion1 does not support bitstreaming hd audio, this is a hardware limitation.
Well hell. Thanks for answering that. I guess it's time to build that i3 system.

you might be better off with an ion2 system or small htpc with an nvidia fermi card. you can get hd audio on sandy/ivybridge with a kernel patch but i believe 24hz/23.976hz playback is still busted on intel.
Reply
Yup, SB (and I think Ivy Bridge) has a hardware bug for 24fps playback. 23.976fps content is played at 24fps always. There's no way around it. About every 40 seconds there's some judder as input and output framerates have to catch up with one another.
Reply
Today i have set up my system with ubuntu 12.04 and a frodo build with AE

Everything is working except that AE is broken after i stop lightdm service via ssh and start it again.

Code:
00:29:02 T:140370137876352    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
00:29:02 T:140370137876352    INFO: CAESinkALSA::Initialize - Attempting to open device ""
00:29:02 T:140370137876352    INFO: CAESinkALSA - ALSA: pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
00:29:02 T:140370137876352    INFO: CAESinkALSA - Unable to open device "" for playback
00:29:02 T:140370137876352   ERROR: CAESinkALSA::Initialize - failed to initialize device ""
00:29:02 T:140370137876352   ERROR: CAESinkOSS::Initialize - Failed to get supported formats, assuming AFMT_S16_NE
00:29:02 T:140370137876352    INFO: CSoftAE::InternalOpenSink - NULL Initialized:
00:29:02 T:140370137876352    INFO:   Output Device :
00:29:02 T:140370137876352    INFO:   Sample Rate   : 44100
00:29:02 T:140370137876352    INFO:   Sample Format : AE_FMT_FLOAT
00:29:02 T:140370137876352    INFO:   Channel Count : 2
00:29:02 T:140370137876352    INFO:   Channel Layout: FL,FR
00:29:02 T:140370137876352    INFO:   Frames        : 22000
00:29:02 T:140370137876352    INFO:   Frame Samples : 2
00:29:02 T:140370137876352    INFO:   Frame Size    : 8
00:29:02 T:140370137876352   DEBUG: CSoftAE::Initialize - Using speaker layout: 5.1
00:29:02 T:140369851213568  NOTICE: Thread CSoftAE start, auto delete: false
00:29:02 T:140369851213568    INFO: CSoftAE::Run - Thread Started

System is a ION2 Nettop with Nvidia GT218 and uptodate drivers...

Wierd ist that after a complete reboot of the system AE is working sometimes and sometimes not...
Reply
I've never applied a patch before with git. Could someone point me to a resource or walk me through how to apply Xingchao's patch from #446?

Thanks!
Reply
(2012-10-06, 03:01)kingemp Wrote: I've never applied a patch before with git. Could someone point me to a resource or walk me through how to apply Xingchao's patch from #446?

Thanks!
I can try and help you.. well at least point you in the right direction. I know how to patch them against openelec.

Firstly there are 2 patches in post #446 one against alsa and one against the linux kernel. The kernel one is outdated and has been replaced by 3 new patches.

I don't know how you are supposed to name the patches but I will list how they are named in OpenElec I assume it is the same.


Patch for Alsa:

Paste the patch from #446, paste from this line "From Commit:47b54a7 Mon Sep 17 00:00:00 2001" to the end of that post.

In Openelec this file is named "alsa-lib-1.0.26-002-Fix-wrong-CTLINDEX-for-HBR-stream.patch" It has to be named according to which version of alsa you are using. here alsa is version 1.0.26 and the file goes in /your/git/cloned/folder/packages/audio/alsa-lib/patches



Patches for the Kernel:

You want the 3 patches from post #467. Here are the direct links:

Patch#1 in OpenElec this file is named "linux-3.6-999.21-hdmi-fix_channel_allocation_array_wrong_order.patch"
Patch#2 in OpenElec this file is named "linux-3.6-999.22-HDMI-Enable_HBR_feature_on_Intel_chips.patch"
Patch#3 in OpenElec this file is named "linux-3.6-999.23-HDMI-Setup_channel_mapping_for_non_pcm_audio.patch"

With the 3 links above when you open the links the patch is displayed. Firstly click the "--" at the bottom of the text to expand the whole patch. Now copy and paste all the text into a file (seperate file for each) and name them as above. These patches are found in OpenElec in the following directory: /your/git/cloned/folder/packages/linux/patches

Again these have to be named as per your kernel in above example I am running kernel 3.6 ie if you are running kernel 3.2.0 then they would read "linux-3.2.0-999.21-hdmi-fix_channel_allocation_array_wrong_order.patch" etc etc

Hope this helps, good luck
Guide to building an all in one Ubuntu Server - TV(vdr),File,Music,Web

Server Fractal Designs Define XL, Asus P5QL/EPU, Dual Core E5200, 4gb, L4M-Twin S2 v6.2, Supermicro AOC-USAS-L8I, 1*SSD & 13*HDD drives (24TB total) - Ubuntu Server
XBMC 1 ASRock Z77E-ITX, G850, 8GB RAM, SSD, BD - Ubuntu / OpenElec frodo
XBMC 2 Revo 3700 - OpenElec frodo
XBMC 3 Raspb Pi
Reply
Hi,

i´m on XBMC since the first XBOX Builds and i´d like to thank all devs for teir great work over the last ten jears.

AE is the biggest improvement for me since XBMC hast turnt over to the PC.

I use the PC in my Homecinema (AMD X2 6000+, Geforce GT 520, 4MB Ram) for hires Audio Files und my CD Collection (ripped to Flac).
The PC is connected via HDI (and aktual SPDIF for testing) to my Multichannel Pre (Rotel 1069).

Today i noticed a strange bevavior of AE with my Flac of Dire Straits Borthers in Arms:

The CD is HDCD coded.
With my oppo 95 player the Rotel Pre shows HDCD 44.1 khz when i play the Flac.
With XBMC the Rotel switches permanently between PCM and HDCD witch makes the Sound stutter.
It makes no differce if i use the HDMI or SPDIF Connection

My Audio Settings are (System):
Speaker Config: 5.1
Bosst Volume Level on Downmix : off
Output Stereo to all Speakers: off
Audio Output device:HDA ATI SB, ALC 887 Digital SPDif
Passtrough Audio Device: HDA ATI SB, ALC 887 Digital SPDif
or for NVIDIa and HDMI:
Audio Output device:HDA NVIDIA ETR RSX1058 on HDMI
Passtrough Audio Device: HDA NVIDIA ETR RSX1058 on HDMI

Music Settings:

ReplayGain Volume Level: off
Preamp Level gained and not gained: 89db
Avoid Clipping: off
Crossfade:off

There is no differece in AE Behavior when i switch from ATI SPDIF out to NVIDIA HDMI out.
When i change Replay Gain Volume Level from off to Track Level the Rotel Pre shows constantly PCM 2 CH without switching to HDCD an Sound is playing.
But the output stream doesn´t seam bitperfect to me, because the Rotel can´t dedect the HDCD flags and the sound is slightly different to the oppo output
If also used this advancedsettongs.xml settings without luck:

Code:
<advancedsettings>
- <audio>
  <resample>0</resample>
  <forceDirectSound>0</forceDirectSound>
  <audiophile>1</audiophile>
  <audiosinkbufferdurationmsec>50</audiosinkbufferdurationmsec>
  <allowtranscode44100>0</allowtranscode44100>
  <streamsilence>1</streamsilence>
  </audio>
  </advancedsettings>

I´m on Openelec r12126 from october 5, Nvidia Driver is 304.51

sorry for my bad english.
@admins, please feel free to move my post to the right place if i´m in the wrong tread or delete it if you think it´s stupid Big Grin

Reply
Weird, I have an issue with the same album in 5.1 FLAC.
Reply
Hi,
I need to adjust a custom alsa audio device (given with my asoundrc), because the channels are wrapped wrong by default.
In XBMC <12 there was the possibility to choose a "custom" field in audio settings, now (XBMC 12 alpha 7) I have no idea how to set up my custom device..

Thanks for your help Smile
Reply
(2012-10-08, 01:06)pumkinut Wrote: Weird, I have an issue with the same album in 5.1 FLAC.

strange, but to point it out: i have theses issues with every Hdcd coded Album.
there are no problems with 24/96 5.1 Flacs and 24/192 Stereo Flacs.

Reply
Updated from Eden to git 69220e64f8d41645ed1515eaedbacdde29fcb25d. Now with AE I only get 2 channel audio over spdif, although I chose 5.1 speaker configuration and enabled AC3 capable receiver.
Log: http://paste.debian.net/hidden/5a607d40/
Reply
i´ve made a log File during the playback of an HDCD coded track (about 30 sec.)
hope i made it right and it helps: pastebin
Reply
(2012-10-08, 21:56)rat666 Wrote: i´ve made a log File during the playback of an HDCD coded track (about 30 sec.)
hope i made it right and it helps: pastebin

Hi Rat666,

I posted about a similar issue to yours (post #417 in this thread), but so far didnt receive any feedback.

My setup is fairly similar to yours: SPDIF from xbmc pc to rotel RSP1066 receiver. I also experience drop outs when playing -some- FLAC files. Reading your post made me wonder if the problematic files might be HDCD encoded but Im not sure how to tell (they seem to include some +/- db settings when comparing to flac files that work. Is this HDCD?).

I noticed I can play back the problematic files without dropouts if I switch the receiver from 2 channel stereo to 5 channel stereo. Maybe you can test this on your setup?
Reply
(2012-10-11, 08:59)Mark487 Wrote: I currently have the Xvba version installed but would like to play around with the AE build. How do I compile it without hosing my current xbmc installation? Uber noob here.. havent compiled a thing in my life before.ImageImageImageImageImage

**Edit I guess I replied to some bot/troll or both. nothing to see!

Reply
After updating from Eden to Frodo (nightly) my sound device is not relased bei xbmc (disabled gui sounds, navigation sound etc.).

In debug.log i got following entries every 10 seconds:
Code:
04:23:27 T:140681139398400   DEBUG: CSoftAE::Run - Sink restart flagged
04:23:27 T:140681139398400    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
04:23:27 T:140681139398400    INFO: CAESinkALSA::Initialize - Attempting to open device "@:CARD=NVidia,DEV=0"
04:23:27 T:140681139398400    INFO: CAESinkALSA::Initialize - Opened device "front:CARD=NVidia,DEV=0"
04:23:27 T:140681139398400    INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
04:23:27 T:140681139398400    INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
04:23:27 T:140681139398400   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 512, periods 16, bufferSize 8192
04:23:27 T:140681139398400   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 512, periods 16, bufferSize 8192
04:23:27 T:140681139398400   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
04:23:27 T:140681139398400   DEBUG: CSoftAE::InternalOpenSink - ALSA Initialized:
04:23:27 T:140681139398400   DEBUG:   Output Device : HDA NVidia
04:23:27 T:140681139398400   DEBUG:   Sample Rate   : 44100
04:23:27 T:140681139398400   DEBUG:   Sample Format : AE_FMT_S32NE
04:23:27 T:140681139398400   DEBUG:   Channel Count : 2
04:23:27 T:140681139398400   DEBUG:   Channel Layout: FL,FR
04:23:27 T:140681139398400   DEBUG:   Frames        : 512
04:23:27 T:140681139398400   DEBUG:   Frame Samples : 1024
04:23:27 T:140681139398400   DEBUG:   Frame Size    : 8
04:23:27 T:140681139398400   DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
04:23:27 T:140681139398400   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 4096
04:23:27 T:140681139398400    INFO: CAESinkALSA - ALSA: pcm_hw.c:587:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed (-32): Broken pipe

on bug tracker i found only this issue: http://trac.xbmc.org/ticket/13246 - but it's closed (since 1 month) and i use a actual nightly
Reply
  •   
  • 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 54
  •   
 
Thread Rating:
  • 4 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
AudioEngine testers - Linux only54
This forum uses Lukasz Tkacz MyBB addons.