[LINUX] UBUNTU 10.10 Stereo Audio over HDMI but no DTS
#1
Hello,

I have an HTPC connected to an amplifier with hdmi for video and audio.
On one partition I have an "old" XBMC version under ubuntu 9.04 which works fine that means that I have DTS sound for movies. I can check it easily with the amplifier display .

On another partition I installed latest version of XBMC under ubuntu 10.10.

I have system sounds, navigation sounds, stereo sounds for .mp3 and .wav but no DTS sounds for DVD or .mkv. I searched forums, tried many things but still no sounds.

Once I found a way to have audio for .mkv modifying .asoundrc but it was converted to stereo. So it was not good.

What is strange is under the audio panel of xbmc, besides hdmi and default, it shows "Internal Audio Digital Stereo (HDMI)" for device. As in System -> Prefrences -> Sound from ubuntu.
alsamixer knows only "S/PDIF" item whereas it is disabled by the bios and not connected.

Whatever I choose on the audio panel of XBMC, for device or passthrough, it says "Failed to initialize audio device" (or something like that).
Even if I enter "plughw:0,3".

Any idea ?

JP

Code:
uname -r :2.6.35-24-generic
Nvidia driver : 260.19.06
Alsa-base : 1.0.23
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

This command play a sound :
Code:
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
My almost silent XBMC PC : [CASE] Smart Teck Cube (PSU removed) [PSU] HFX EF15 fanless 150 watt [FAN] Noctua with fanmate at lowest speed
[MOBO] ASRock A75M-ITX [CPU] AMD A6-3500 [CPU Fan] Scythe Shuriken rev B [RAM] 4 GB [GPU] AMD Radeon HD 6530D onboard
[HDD]
2 TB [KEYBOARD] Logitech K400 [Remote] Logitech Harmony 900
[OS]
Windows 7 [SKIN] AEON MQ3
Reply
#2
Hi,

I just followed this in the HOW-TO : http://wiki.xbmc.org/index.php?title=HOW...controller

This did not worked :
Code:
sudo /usr/bin/amixer -q -c 0 sset 'Master',0 unmute && /usr/bin/amixer -q -c 0 sset 'Master',0 100
sudo /usr/bin/amixer -q -c 0 sset 'IEC958 Default PCM',0 unmute
sudo /usr/bin/amixer -q -c 0 sset 'IEC958',0 unmute && /usr/bin/amixer -q -c 0 sset 'IEC958',1 unmute
sudo alsactl store 0
I had this error :
Code:
amixer: Unable to find simple control 'Master',0

At the end, still no DTS in movies.

I tried several custom device for audio : hdmi:CARD=Nvidia, hw:..., plughw:...
Idem.
But always the same thing :" Failed to initialize audio device"

I updated ubuntu and then in alsamixer, I have PCM and SPDIF. Before I had only SPDIF.

Here is xbmc.log : http://pastebin.com/zNcz2nqf

Looking in this log I found that VDPAU is not working too : arg ! Another problem !

Any idea ?

JP
Reply
#3
Please update Nvidia drivers and ALSA. Follow the links in my sig. If it doesn't work, enable debug and post xbmc.log.

h.udo
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
Thanks for reply.

ALSA are up to date.

I was using nvidia drivers v260 through "Additional drivers" as they were far newer from the ones on the partition running ubuntu 9.04 and old xbmc.
But I followed your instructions and updated to 270.29 .

I had some warnings at installation :
Code:
Setting up nvidia-current (270.29-0ubuntu1~maverick~xup2) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia-current/ld.so.conf because                                                                   link group gl_conf is broken.
update-alternatives: warning: skip creation of /usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file /                                                                  usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1 (of link group gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libvdpau_nvidia.so because associated file /usr/lib3                                                                  2/nvidia-current/vdpau/libvdpau_nvidia.so (of link group gl_conf) doesn't exist.
update-initramfs: deferring update (trigger activated)
Loading new nvidia-current-270.29 DKMS files...
Building only for 2.6.35-28-generic
...
Maybe it was due that yesterday I had "ppa:nvidia-vdpau/ppa" to the repository but this did not worked well :
"W: Failed to fetch http://ppa.launchpad.net/nvidia-vdpau/pp...ackages.gz 404 Not Found". I uncheck it as it is useless.

After reboot, new drivers are used.

But still same problem. See debug log : http://pastebin.com/2dS14xu0

Reading your article, pulseaudio seems not mandatory. Must I uninstalled it ?

JP
Reply
#5
Removing pulseaudio is the solution ! Big Grin

As for mwhwsmith in this post : http://forum.xbmc.org/showthread.php?tid=97244

Try a few movies and musics, no problem.

However I lost the navigation sounds. Strange...

JP
Reply
#6
jpmur Wrote:Removing pulseaudio is the solution ! Big Grin

As for mwhwsmith in this post : http://forum.xbmc.org/showthread.php?tid=97244

Try a few movies and musics, no problem.

However I lost the navigation sounds. Strange...

JP

Navigation sound problems are a known issue and are scheduled to be fixed in the next XBMC version.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] UBUNTU 10.10 Stereo Audio over HDMI but no DTS0