Kodi Community Forum
Linux AudioEngine testers - Linux only - 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: Linux AudioEngine testers - Linux only (/showthread.php?tid=128298)



RE: AudioEngine testers - Linux only - blingg - 2012-06-21

(2012-06-20, 20:49)blingg Wrote:
(2012-06-19, 23:02)Hasu0bs Wrote:
(2012-06-15, 13:43)Hasu0bs Wrote: I've tested an openELEC version with PVR support and have a problem:

As I watch television via DVB-T: When I select a channel is runs well for several minutes. But sometimes when there is bad signal(way to often in my area .. ) the whole video slows down to maybe 2 fps and i got no sound. If I switch channels back and forth I am fine again.

Here is a log:

http://sprunge.us/iehO
I enabled live TV and the problem directly occurs. Then I switched channels back an forth and had to wait several minutes till it happens again...

I figured that it does not simply depend on signal quality... Sometimes it just shutters and I can watch on...

I have the same with DVB-S. But it also could be reproduced with material streamed over slow network. Like playing a 720p video on youtube over slow wi-fi link. The stream would pause, start buffering and never recover.

I accidentally discovered that on channels with multiple audio tracks, if the stream gets stuck like described above, switching to a different audio track without stopping playback helps recover playback.


RE: AudioEngine testers - Linux only - ray1112 - 2012-06-21

(2012-06-20, 22:18)abudabi Wrote: Thank you sir. I saw that but as it's not the "package" way of ubuntu I was hesitant. Will give it a bash.
I use only "aptitude update/safe-upgrade" and have alsa version 1.0.25:
uname -a
Linux acer 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:33:05 UTC 2012 i686 i686 i386 GNU/Linux

dpkg -l | grep alsa
ii alsa-base 1.0.25+dfsg-0ubuntu1 ALSA driver configuration files
ii alsa-utils 1.0.25-1ubuntu5 Utilities for configuring and using ALSA
ii bluez-alsa 4.98-2ubuntu7 Bluetooth ALSA support
ii gstreamer0.10-alsa 0.10.36-1 GStreamer plugin for ALSA



RE: AudioEngine testers - Linux only - Krewe - 2012-06-22

Back with an update. I had gone to some local computer stores in hopes of grabbing a 430, but there were none to be found. Since I was impatient, I decided to risk it and picked up a cheap 610.

Results are much better, though only one problem that I'm currently experiencing. All sources play (DTS, AC3, TrueHD, DTS-MA), and HD audio is registering on my receiver. But when playing DTS-MA I'm getting a constant clicking on all sources.

Since I'm testing this out on a 610 card, the only way I could get this to work was to use the 302.17 drivers from x-swat. At this point, with the exception of the DTS-MA sound problem, I'm very happy. At least for now I can just switch to DTS.

I did rebuild the box from scratch in order to test this, starting with XBMCbuntu, then upgrading to 12.04.

cat /proc/asound/version
Code:
Advanced Linux Sound Architecture Driver Version 1.0.25.
Compiled on Jun 22 2012 for kernel 3.2.0-25-generic-pae (SMP).

aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

aplay -L
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output

uname -a
Code:
Linux htpc1 3.2.0-25-generic-pae #40-Ubuntu SMP Wed May 23 22:11:24 UTC 2012 i686 i686 i386 GNU/Linux

The log is a capture of playing Beowulf (TruHD) followed by Chronicle (DTS-MA).
xbmc.log


RE: AudioEngine testers - Linux only - abudabi - 2012-06-22

(2012-06-20, 21:59)furii Wrote:
(2012-06-20, 21:29)abudabi Wrote: So I got myself an nvidia card and started setting up my new 12.04 box. I'm trying to get my alsa upgraded to .25 as required by AE but cant seem to get it right. I tried using this guide : https://help.ubuntu.com/community/SoundTroubleshootingProcedure#Step but the drivers still seem to stay on 1.0.24 while library and utilities upgraded to 1.0.25 just fine.

Any suggestions?

http://ubuntuforums.org/showthread.php?t=1681577


Cool.. followed the guide and even though it reports make failed at the end, it still seems to report drivers of 1.0.25 now. Will run it through it's paces over the weekend


RE: AudioEngine testers - Linux only - AbMagFab - 2012-06-22

Hi there - I've got this installed on Ubuntu, and the core functionality seems to work, but I've got two significant issues:
1) There's no hw acceleration on the video
2) The HD audio is coming through as stereo

I have it set to HDMI, 5.1, and HDMI (ALSA), and I've installed the production AMD drivers. I've tried selecting VAAPI, and even VDPAU, and nothing makes a difference. It does properly switch to 24p if I set it to match refresh rate.

I'm using an AMD E-350 with 4GB of memory. The video card is an AMD Radeon HD 6310 (which shows up properly in the XBMC sys info).

The OpenGL version that shows up is 4.2.11627

I know this card supports HD audio and video acceleration as I had the hacked Windows install of XBMC v10 for a while, and that worked fine. I just dislike Windows and would prefer to have this running on Linux.

Thanks in advance for any help!


RE: AudioEngine testers - Linux only - furii - 2012-06-22

(2012-06-22, 16:17)AbMagFab Wrote: I know this card supports HD audio and video acceleration as I had the hacked Windows install of XBMC v10 for a while, and that worked fine. I just dislike Windows and would prefer to have this running on Linux.

you're going to be sorely disappointed when you actually go and read the first post to this thread...




RE: AudioEngine testers - Linux only - AbMagFab - 2012-06-22

(2012-06-22, 16:21)furii Wrote:
(2012-06-22, 16:17)AbMagFab Wrote: I know this card supports HD audio and video acceleration as I had the hacked Windows install of XBMC v10 for a while, and that worked fine. I just dislike Windows and would prefer to have this running on Linux.

you're going to be sorely disappointed when you actually go and read the first post to this thread...

Yeah, just saw that about ATI HD audio… Bummer.

But what about the video? Does it not support video acceleration either?

I've also got a couple Intel/ION2 systems I'm using for MythTV that I could try. I didn't think the ION supported HD audio. Am I incorrect in that assumption?


RE: AudioEngine testers - Linux only - furii - 2012-06-22

(2012-06-22, 16:27)AbMagFab Wrote:
(2012-06-22, 16:21)furii Wrote:
(2012-06-22, 16:17)AbMagFab Wrote: I know this card supports HD audio and video acceleration as I had the hacked Windows install of XBMC v10 for a while, and that worked fine. I just dislike Windows and would prefer to have this running on Linux.

you're going to be sorely disappointed when you actually go and read the first post to this thread...

Yeah, just saw that about ATI HD audio… Bummer.

But what about the video? Does it not support video acceleration either?

I've also got a couple Intel/ION2 systems I'm using for MythTV that I could try. I didn't think the ION supported HD audio. Am I incorrect in that assumption?

i'm not sure as i run a nvidia card. i think there is an xvba branch that brings hardware acceleration to (certain?) amd chips. edit: yup, check this out http://forum.xbmc.org/showthread.php?tid=134252

i'm pretty sure the ion2 chips support hd audio but not the ion1. someone correct me if i'm wrong.


RE: AudioEngine testers - Linux only - papy - 2012-06-22

Hi all,
first many thanks for your work,

I'm running on a Zbox HD ID11 which as ION 2 GPU. As far as I read, it's able to bitstream HD Audio.

I'm version of Frodo with AE : OpenELEC_frodo-ION.x86_64-devel-20120621180006-r11375

I tried different build as they recommend me on Openelec forum, they got different driver version. I tried
- nvidia 290.10
- nvidia-295.53
- nvidia-302.07

in my case, DTS HD/Dolby TRUE HD won't work, on the amps, the logo is blinking but no sound except sometime a 500ms exception,

I give you the XBMC log

If S.O could help that will be awsome !!
Thanks in advance


RE: AudioEngine testers - Linux only - furii - 2012-06-22

(2012-06-22, 18:24)papy Wrote: Hi all,
first many thanks for your work,

I'm running on a Zbox HD ID11 which as ION 2 GPU. As far as I read, it's able to bitstream HD Audio.

I'm version of Frodo with AE : OpenELEC_frodo-ION.x86_64-devel-20120621180006-r11375

I tried different build as they recommend me on Openelec forum, they got different driver version. I tried
- nvidia 290.10
- nvidia-295.53
- nvidia-302.07

in my case, DTS HD/Dolby TRUE HD won't work, on the amps, the logo is blinking but no sound except sometime a 500ms exception,

I give you the XBMC log

If S.O could help that will be awsome !!
Thanks in advance

enable debug logging and try playback locally rather than over samba.


RE: AudioEngine testers - Linux only - papy - 2012-06-22

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


RE: AudioEngine testers - Linux only - charlie0440 - 2012-06-24

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


RE: AudioEngine testers - Linux only - G12345567 - 2012-06-27

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.


RE: AudioEngine testers - Linux only - frawau - 2012-06-27

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


RE: AudioEngine testers - Linux only - charlie0440 - 2012-06-27

(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!