• 1
  • 21
  • 22
  • 23(current)
  • 24
  • 25
  • 54
Linux AudioEngine testers - Linux only
(2012-06-11, 06:40)Aubrien Wrote: I am using a GT210 ION with the 290.10 NVIDIA drivers. In previous versions I had to specify plughw:X,7 as a custom output device in order to get audio over HDMI. I compiled the latest git version and I cannot seem to get any sound to output anymore and I cannot specify a custom audio device anymore either. From the xbmc log it looks as if the AE is selecting a different device (X,3). I can still use speaker-test to output sound to plughw:X,7 but I have no idea how to get AE to pipe sound to the correct device anymore. All I have is generic HDMI devices in the audio options and it looks like no matter which i select it still uses X,3 not X,7 for playback. Any ideas for a work around so I can just play SD audio again while still using git versions for the newest features? I'd hate to have to roll back as more than just AE is in the git versions but AE seems to have broken all audio output for me.

When you ran ./configure did you use --enable-alsa --disable-pulseaudio? Also, do you have a /etc/asound.conf? When I switched to the AE branch I had to remove /etc/asound.conf on my system. Just a couple of suggestions that might help...
Reply
uname -r
Code:
2.6.35-31-generic

cat /proc/asound/version
Code:
Advanced Linux Sound Architecture Driver Version 1.0.23.

aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

aplay -L
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC662 rev1 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions

xbmc.log
http://pastebin.com/tn8NC268

When I run...
Code:
speaker-test -Dplughw:1,7

I get sound as expected but it looks like AE wants to use 1,3 as it is the first in the list for HDMI. In previous versions of xbmc I used plughw:1,7 as my custom output device. I can't select that anymore and AE assumes the wrong device.
Reply
@vicbitter

I usually just ran ./configure with no parameters and took the defaults but I just tried ./configure --enable-alsa --disable-pulse, make -j2, make install, and rebooted. My asound.conf has been renamed to asound.conf.old until I can sort things out. Still no luck Sad

In case it matters here is a link to the exact hardware I am using in addition to all of the logs I already posted...
http://www.newegg.com/Product/Product.as..._-56176029
Reply
@Aubrien

someone can correct me if i'm wrong but i'm pretty sure you need to be on alsa 1.0.25.

edit: yup. pretty obvious from the log:
Code:
19:05:48 T:3077704192   DEBUG: CAESinkALSA::EnumerateDevicesEx - Unable to obtain ELD information for device hdmi:CARD=NVidia,DEV=0, make sure you have ALSA >= 1.0.25
Reply
@furii

I was reading back through the earlier pages of this post and it does in fact say that you need to be at either a 1.0.25 alsa or a 3.3 kernel as the custom device settings were removed. Looks like i need to upgrade Ubuntu to precise to get my audio back. Also it is pretty obvious from the xbmc.log as you pointed out...

Quote:make sure you have ALSA >= 1.0.25

That's embarrassing lol. Thanks for the look over. Looks like i have some updates to do.
Reply
I had a similar issue, so I installed xbmcbuntu and compiled and everything works ok
alsa version in that is 1.0.24 and kernel is 3.0.0-19, now I just have the dreaded vdpau crash Smile
Reply
I'm surprised it selected the correct device since it is a lower alsa version and kernel than AE needs to automatically select the correct HDMI device. This vdpau crash; would I expect to see this after updating Ubuntu to precise? Is it related to nvidia driver version? I'd hate to go through the trouble to fix audio and then break video.
Reply
Doesn't actually break the video, just the vdpau acceleration, I've just turned it off for now and the cpu seems to be able to cope ( pentium g620T) just fine without - not one freeze since - see this post http://forum.xbmc.org/showthread.php?tid...pid1122913
Reply
Well I installed a fresh 12.04 Ubuntu, cloned the git master, and compiled. alsa-base is at 1.0.25 and kernel is 3.2. nvidia-current is installed and is at 295.40. First I configured and compiled without VDPAU. Sound worked and the audio output was recognized correctly. It even called it by the name of my TV as read from the ELD. Pretty impressive. Anyway, my sound worked but when I played HD video the framerate slowed at times as is expected with VDPAU disabled and decoding H264 on an Intel Atom CPU. I then decided to get daring and reconfigured with VDPAU enabled. After another make I verified VDPAU was indeed compiled in and enabled and I then played back the same HD movie. Audio worked, VDPAU worked, awesome frame rate with no segfaults. So it looks like the 295.40 worked for me on my GT218 using 12.04 Ubuntu built from a minimal net install with a git pull from just a couple hours ago. Success!

My wife then stole the TV so if after further testing I see the 295.40 gets buggy I'll post again.
Reply
I am running OpenELEC and it seems that either nvidia 290.10 or 295.33 are currently the most stable drivers to use...
Reply
Just wanted to report back...the system was in use all day today and no VDPAU issues. AE works as does hardware accelerated graphics.

I did find a new issue however. I posted over in the RCB thread too but it looks like AE wont share with external emulators very well and I only get sound when xbmc is either not running or configured to use an audio device I am not using at all. Its like AE locks the hardware for itself only. I didn't have this issue before AE and I can confirm it is new and was working pre-AE.

http://forum.xbmc.org/showthread.php?tid...pid1127044
Reply
Hey, I do have a problem with AE as well.

I own an Intel Core i3 with an H55M-Mainboard. Buy a H55M they said ... it has native bitstream support for HDAudio they said....Wink

Well everything is working nearly fine. MP3 and AC3/DTS Sound is working fine - AE detects the HDMI and the Receiver correctly.
What does not work are the HD Formats DTS HD Master / True HD

here are some additional Infos:
Code:
xbmc@htpc:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Intel [HDA Intel], Gerät 0: ALC889 Analog [ALC889 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: Intel [HDA Intel], Gerät 3: ALC889 Digital [ALC889 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: Intel [HDA Intel], Gerät 7: HDMI 0 [HDMI 0]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0

Code:
xbmc@htpc:~$ uname -a
Linux htpc 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Code:
aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=Intel
    HDA Intel, ALC889 Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC889 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
    HDA Intel, ALC889 Digital
    HDMI Audio Output
hdmi:CARD=Intel,DEV=1
    HDA Intel, HDMI 0
    HDMI Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=3
    HDA Intel, ALC889 Digital
    Direct sample mixing device
dmix:CARD=Intel,DEV=7
    HDA Intel, HDMI 0
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=3
    HDA Intel, ALC889 Digital
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=7
    HDA Intel, HDMI 0
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=3
    HDA Intel, ALC889 Digital
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=7
    HDA Intel, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=3
    HDA Intel, ALC889 Digital
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=7
    HDA Intel, HDMI 0
    Hardware device with all software conversions

A full logfile of playing an DTS HD MA Sample file can be found here: http://paste.ubuntu.com/1041329/
Let me know if you need more infos Smile

Last but not least: Awesome work! Thank you! Where's your 'donate' Button?
Reply
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...
Reply
ignore.
Reply
Not sure my AE is working correctly.. as it doesn't auto detect my Onkyo Amp.. i still have a huge list of devices to select from in the drop downs.

aplay -l


**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

aplay -L

null
Discard all samples (playback) or generate zero samples (capture)
default
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
dmix:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample snooping device
hw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Hardware device with all software conversions
sysdefault:CARD=SB
HDA ATI SB, ALC662 rev1 Analog
Default Audio Device
front:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
Direct sample mixing device
dmix:CARD=SB,DEV=1
HDA ATI SB, ALC662 rev1 Digital
Direct sample mixing device
dsnoop:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
Direct sample snooping device
dsnoop:CARD=SB,DEV=1
HDA ATI SB, ALC662 rev1 Digital
Direct sample snooping device
hw:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
Direct hardware device without any conversions
hw:CARD=SB,DEV=1
HDA ATI SB, ALC662 rev1 Digital
Direct hardware device without any conversions
plughw:CARD=SB,DEV=0
HDA ATI SB, ALC662 rev1 Analog
Hardware device with all software conversions
plughw:CARD=SB,DEV=1
HDA ATI SB, ALC662 rev1 Digital
Hardware device with all software conversions

Full xbmc.log from reboot/startup.

http://pastebin.com/tsG2MZqp
Reply
  • 1
  • 21
  • 22
  • 23(current)
  • 24
  • 25
  • 54

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