Linux AudioEngine testers - Linux only

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
papy Offline
Junior Member
Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #371
I put some True HD audio file test on my local hardDrive and enable debug log.

I reboot, start the test extract in true HD and here is the log.

I pickup this line might be the problem .

INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting

edit : as it was not said clearly, driver version is currently nVidia 190,10. I tried with newer version listed above and same result.

Thanks for help
(This post was last modified: 2012-06-22 21:09 by papy.)
find quote
charlie0440 Offline
Senior Member
Posts: 297
Joined: Dec 2011
Reputation: 5
Post: #372
I'm getting some strange behaviour using the alpha XBMCbuntu 12.04 .

90% of the time AE is working perfectly. But occasionally I will boot into XBMC and it will play a BluRay rip with no sound and stuttering video (when trying to playback AE). Full log found here. Looking at the log I have these errors:

At the beginning of the log: ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
When I try and play a file:

ERROR: CAESinkALSA::InitializeHW - Unable to open the required number of channels
ERROR: CAESinkOSS::Initialize - Failed to get supported formats, assuming AFMT_S16_NE

Normally a reboot, sometimes 2 or 3 fixes it and I'm back in business.

PC > AVR > TV

Hardware:
GT430
A3600
A75M-ITX

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
(This post was last modified: 2012-06-24 17:46 by charlie0440.)
find quote
G12345567 Offline
Junior Member
Posts: 38
Joined: Apr 2004
Reputation: 0
Post: #373
I updated to the latest AE build of openelec with the current drivers and it seems to have fixed alot of the problems I was having in the past with the 1.95.4 (beta 4) build. Especially DVD playback. Though somtimes I still get no audio on main menu in DVD and when I select playback sometimes it will play video slowly with no audio. Selecting menu and switching back to main menu. Seems to restore sound and normal playback speeds.

I am currently running:
Build: Openelec AudioEngine Frodo-r15902 XBMC 12.0 Alpha3 Git: 273c4f8 Compiled June 21 2012
Sound Card: generic PCIe x1 low profile sound card with spdif optical out to my receiver
Video Card: Nvidia GT520. Nvidia v290.10 (HDMI out to TV)
HTPC: HP Microserver N36L (AMD CPU)

Not sure if this is an AE or Codec or other problem. This build seems to have problems with some Internet radio stations not loading or playing correctly. I am using separate PLS playlists for each radio station that my internet service provider rebroadcasts quota free. Considering all these internet radio stations play fine on a windows based media player.

Previously from official Openelec 1.02 build. Only had a problem with 2 stations. Loading with no audio, But there seems to be a few more not working in this build. Considering most stations play fine. Except for the selected few listed below.

2 of 10 stations from same network Failed to load.
* All MP3 44000kHz 48kbps AAC

9 load ok, play for two seconds then stop. All stations from same network owner.
* All MP3 44000kHz 32kbps AAC

3 Play at wrong speed (very slow audio)
* MP3 32kHz 96kbps
* WMA 22khz 32kbps
* MP3 24kHz 64kbps

1 Loads ok, but no audio is heard
* WMA 40kHz 40kbps

Just no idea why its only selected radio stations won't load or play correctly considering other stations with same specifications work fine.
(This post was last modified: 2012-06-27 05:55 by G12345567.)
find quote
frawau Offline
Junior Member
Posts: 8
Joined: Jan 2012
Reputation: 0
Location: Latkrabang, Bangkok
Post: #374
Hi,

For what it's worth, here is what I got when running the new AE trying to get HD sound.

Hardware:
- A75M-UD2H Mobo with 8 GB
- AMD A6-3500 APU
- GT 630 with 2GB (Replaced my HD6870-based as per first post)
- Marantz SR6005 connected via HDMI

Software:
- Ubuntu 12.04. Boots directly into XBMC, no display manager, no pulse audio
- XBMC Frodo alphas 3 (wsnipex ppa)
- ALSA: kernel reports 1.0.24. utilities 1.0.25
- nvidia driver 295.49-0ubuntu0.1

AV material: (Accessed over NFSv4)
- Chicago V, 2 ch 192kHz 24 DVD-A rip FLAC
- Chicago V, 5.1 ch 96Khz DVD-A rip FLAC
- Various Ogg, FLAC
- In the line of fire BD rip, TrueHD and AC3 audio, mkv container

Initially, all my HD sounds were down-mixed to 48kHz, as it turned out I MUST boot my XBMC box when the receiver is on and XBMC box is the active input. Here is what I got when booting with the XBMC box not the selected channel on the receiver

Code:
john@Hollywood:~# cat /proc/asound/card1/eld#3.0
monitor_present         1
eld_valid               1
monitor_name            marantz-AVR

connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0x4935
product_id              0x1b
port_id                 0x20000
support_hdcp            0
support_ai              0
audio_sync_delay        0
speakers                [0x1] FL/FR
sad_count               1
sad0_coding_type        [0x1] LPCM
sad0_channels           2
sad0_rates              [0xe0] 32000 44100 48000
sad0_bits               [0xe0000] 16 20 24

As you can see:
- The receiver is detected and the brand recognized (Great!)
- The maximum sampling rate is 48 kHz (oops)


With the XBMC box booted whilst the selected input of the receiver I got:

Code:
john@Hollywood:~# cat /proc/asound/card1/eld#3.0
monitor_present         1
eld_valid               1
monitor_name            marantz-AVR

connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0x4935
product_id              0x1b
port_id                 0x20000
support_hdcp            0
support_ai              0
audio_sync_delay        0
speakers                [0x5f] FL/FR LFE FC RL/RR RC RLC/RRC
sad_count               7
sad0_coding_type        [0x1] LPCM
sad0_channels           8
sad0_rates              [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad0_bits               [0xe0000] 16 20 24
sad1_coding_type        [0x7] DTS
sad1_channels           6
sad1_rates              [0x6c0] 44100 48000 88200 96000
sad1_max_bitrate        1536000
sad2_coding_type        [0x2] AC-3
sad2_channels           6
sad2_rates              [0xe0] 32000 44100 48000
sad2_max_bitrate        640000
sad3_coding_type        [0xb] DTS-HD
sad3_channels           8
sad3_rates              [0x1ec0] 44100 48000 88200 96000 176400 192000
sad4_coding_type        [0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad4_channels           8
sad4_rates              [0xc0] 44100 48000
sad5_coding_type        [0xc] MLP (Dolby TrueHD)
sad5_channels           6
sad5_rates              [0x1ec0] 44100 48000 88200 96000 176400 192000
sad6_coding_type        [0xc] MLP (Dolby TrueHD)
sad6_channels           8
sad6_rates              [0x6c0] 44100 48000 88200 96000

Much better.

Result:

Various OGG,Flac: No problem
2 ch 192kHz: No problem
5.1 ch 96kHz: Worked good but XBMC frozen during one of the track change (system OK can ssh into it).
I saw that problem before, it is probably not an HD sound issue
AC3 : No problem
True HD : Does not work. The sound and image alternate between too slow and too fast. Changing the audio stream
to AC-3 solves the issues

I need to do some more testing: upgrade ALSA, downgrade NVidia

Anyway thanks guys, we are almost there.

François
(This post was last modified: 2012-06-27 18:32 by frawau.)
find quote
charlie0440 Offline
Senior Member
Posts: 297
Joined: Dec 2011
Reputation: 5
Post: #375
(2012-06-27 18:26)frawau Wrote:  Hi,

For what it's worth, here is what I got when running the new AE trying to get HD sound.

Hardware:
- A75M-UD2H Mobo with 8 GB
- AMD A6-3500 APU
- GT 630 with 2GB (Replaced my HD6870-based as per first post)
- Marantz SR6005 connected via HDMI

Software:
- Ubuntu 12.04. Boots directly into XBMC, no display manager, no pulse audio
- XBMC Frodo alphas 3 (wsnipex ppa)
- ALSA: kernel reports 1.0.24. utilities 1.0.25
- nvidia driver 295.49-0ubuntu0.1

AV material: (Accessed over NFSv4)
- Chicago V, 2 ch 192kHz 24 DVD-A rip FLAC
- Chicago V, 5.1 ch 96Khz DVD-A rip FLAC
- Various Ogg, FLAC
- In the line of fire BD rip, TrueHD and AC3 audio, mkv container

Initially, all my HD sounds were down-mixed to 48kHz, as it turned out I MUST boot my XBMC box when the receiver is on and XBMC box is the active input. Here is what I got when booting with the XBMC box not the selected channel on the receiver

Code:
john@Hollywood:~# cat /proc/asound/card1/eld#3.0
monitor_present         1
eld_valid               1
monitor_name            marantz-AVR

connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0x4935
product_id              0x1b
port_id                 0x20000
support_hdcp            0
support_ai              0
audio_sync_delay        0
speakers                [0x1] FL/FR
sad_count               1
sad0_coding_type        [0x1] LPCM
sad0_channels           2
sad0_rates              [0xe0] 32000 44100 48000
sad0_bits               [0xe0000] 16 20 24

As you can see:
- The receiver is detected and the brand recognized (Great!)
- The maximum sampling rate is 48 kHz (oops)


With the XBMC box booted whilst the selected input of the receiver I got:

Code:
john@Hollywood:~# cat /proc/asound/card1/eld#3.0
monitor_present         1
eld_valid               1
monitor_name            marantz-AVR

connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0x4935
product_id              0x1b
port_id                 0x20000
support_hdcp            0
support_ai              0
audio_sync_delay        0
speakers                [0x5f] FL/FR LFE FC RL/RR RC RLC/RRC
sad_count               7
sad0_coding_type        [0x1] LPCM
sad0_channels           8
sad0_rates              [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad0_bits               [0xe0000] 16 20 24
sad1_coding_type        [0x7] DTS
sad1_channels           6
sad1_rates              [0x6c0] 44100 48000 88200 96000
sad1_max_bitrate        1536000
sad2_coding_type        [0x2] AC-3
sad2_channels           6
sad2_rates              [0xe0] 32000 44100 48000
sad2_max_bitrate        640000
sad3_coding_type        [0xb] DTS-HD
sad3_channels           8
sad3_rates              [0x1ec0] 44100 48000 88200 96000 176400 192000
sad4_coding_type        [0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad4_channels           8
sad4_rates              [0xc0] 44100 48000
sad5_coding_type        [0xc] MLP (Dolby TrueHD)
sad5_channels           6
sad5_rates              [0x1ec0] 44100 48000 88200 96000 176400 192000
sad6_coding_type        [0xc] MLP (Dolby TrueHD)
sad6_channels           8
sad6_rates              [0x6c0] 44100 48000 88200 96000

Much better.

Result:

Various OGG,Flac: No problem
2 ch 192kHz: No problem
5.1 ch 96kHz: Worked good but XBMC frozen during one of the track change (system OK can ssh into it).
I saw that problem before, it is probably not an HD sound issue
AC3 : No problem
True HD : Does not work. The sound and image alternate between too slow and too fast. Changing the audio stream
to AC-3 solves the issues

I need to do some more testing: upgrade ALSA, downgrade NVidia

Anyway thanks guys, we are almost there.

François
Sure this is the same problem I had 3 posts before, no. 372. I have to boot my XBMC box at the same time as turning on my AVR otherwise HD audio does not play at all!

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
(This post was last modified: 2012-06-27 22:00 by charlie0440.)
find quote
((( atom ))) Offline
Member
Posts: 58
Joined: Jun 2009
Reputation: 0
Post: #376
Hi, hope it's the right thread to ask: I use my xbmc box for playing audio as well (squeezeslave). Recently I installed brutefir and have totally fallen in love with the sound! Is there any chance audioengine could decode all my movie audio and presenting the resulting channels to jackd, so I can feed them to brutefir and output them als lpcm over hdmi into my receiver again?

Is that to weird or is there a chance?
find quote
hochopeper Offline
Junior Member
Posts: 9
Joined: Feb 2010
Reputation: 0
Location: Brisbane, Australia
Post: #377
(2012-06-28 02:05)((( atom ))) Wrote:  Hi, hope it's the right thread to ask: I use my xbmc box for playing audio as well (squeezeslave). Recently I installed brutefir and have totally fallen in love with the sound! Is there any chance audioengine could decode all my movie audio and presenting the resulting channels to jackd, so I can feed them to brutefir and output them als lpcm over hdmi into my receiver again?

Is that to weird or is there a chance?

This is a feature I would love as well though I only use xbmc on my pc.

I have been using a minidsp for room correction in the bass freq and it is a big improvement (I have measured it with Room EQ Wizard and calibrated mic) but I can't help but feel like the additional AD/DA stage is a compromise I don't really need and brutefir would fix this for sure.
find quote
Aenima99x Offline
Member+
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #378
(2012-05-31 20:51)DDDamian Wrote:  
(2012-05-31 18:50)Aenima99x Wrote:  
(2012-05-27 06:21)Aenima99x Wrote:  Gave that a shot and it fixed the issue....

Not trying to bug you, just wanted to see if you had a chance to look at this. Thanks!

Patience - this is rather obscure (transcoding mono to AC3) - I have made a note on the to-do list.

Just checking on this again. Angel Thanks.
find quote
furii Offline
Senior Member
Posts: 285
Joined: Jun 2009
Reputation: 4
Location: chicago
Post: #379
(2012-07-04 07:02)Aenima99x Wrote:  
(2012-05-31 20:51)DDDamian Wrote:  
(2012-05-31 18:50)Aenima99x Wrote:  Not trying to bug you, just wanted to see if you had a chance to look at this. Thanks!

Patience - this is rather obscure (transcoding mono to AC3) - I have made a note on the to-do list.

Just checking on this again. Angel Thanks.

https://github.com/xbmc/xbmc/commit/d67b...44e0c54d13
find quote
Aenima99x Offline
Member+
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #380
(2012-07-04 17:16)furii Wrote:  
(2012-07-04 07:02)Aenima99x Wrote:  
(2012-05-31 20:51)DDDamian Wrote:  Patience - this is rather obscure (transcoding mono to AC3) - I have made a note on the to-do list.

Just checking on this again. Angel Thanks.

https://github.com/xbmc/xbmc/commit/d67b...44e0c54d13
Yeah that doesn't fix it.....I thought it would, but it doesn't. Confused
find quote
Post Reply