Sound Issues
#1
I was unhappy with some things in Intrepid, so I reverted to Hardy (fresh install). However, XBMC is having issues playing sound for anything other than digital - mp3's and most avi's don't play sound (video is fine). Tested the files in mplayer and they're fine.

Could this be caused by some of the more recent svn changes?
Reply
#2
Read the stickies. There is one that covers this.

ALSA bug.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
fasteddy Wrote:I was unhappy with some things in Intrepid, so I reverted to Hardy (fresh install). However, XBMC is having issues playing sound for anything other than digital - mp3's and most avi's don't play sound (video is fine). Tested the files in mplayer and they're fine.

Could this be caused by some of the more recent svn changes?

See this thread and in particular, this post:
http://forum.xbmc.org/showthread.php?tid=35901&page=3

Should get you back up and running.

xnappo
Reply
#4
tslayer Wrote:Read the stickies. There is one that covers this.

ALSA bug.

I tried that. Didn't help. I assumed this meant I was having other issues. I'll try again, I suppose.
[Edit: Nope. Any other suggestions? Note that I am using hdmi rather than spdif. Also, I should have mentioned that the menu sounds work just fine. Odd...]
Reply
#5
What version of ALSA? Oh and what video drivers? Both of those must be updated even on Intrepid to get proper HDMI sound - and then ALSA config files have to be dorked with <sigh>
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
Reply
#6
BLKMGK Wrote:What version of ALSA?

1.019 via the Ubuntu forums script for ALSA, and 180.37 for NVIDIA. I'm using the same .asoundrc that I used in Intrepid (had none of these sound problems. I got rid of Intrepid for unrelated reasons).
Reply
#7
How about a debug log?
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#8
tslayer Wrote:How about a debug log?

I'll try to get one together tonight.
Reply
#9
Tried to play an episode of 30 Rock (.avi). Video fine, but no sound. Debug:

http://pastebin.ca/1369494

Ubuntu Hardy
ALSA 1.019 over hdmi
NVIDIA 180.37
XBMC linuxport rev 18831
Reply
#10
Okay, so it turns out Pulseaudio is the culprit. I killed pulseaudio and files played fine. Interesting. PA behaved fine under Intrepid. I have libpulse-dev installed - I was under the impression pulse issues were mostly solved.
Reply
#11
Sorry, no idea. I don't use pulse Sad
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#12
It seems I posted too quickly. My issues are not completely solved, as DTS audio does not seem to be working (with or without PA). My receiver is not DTS capable, so I haven't selected it in xbmc audio settings (regardless of whether I do or not, it doesn't work).
Reply
#13
Different issue...

So, create a different thread. And saying it isn't working doesn't help. Provide as much detail as possible (always pastebin the debug log!).
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#14
Actually, as it turns out, it was all the same issue. Everything was pulseaudio-related. I fixed it by copying over my .asoundrc and .pulse folder from the previous intrepid install (good thing I backed it up).

So if anyone is curious, here's how I solved it:

.asoundrc:
Code:
pcm.dmixer {
   type dmix
   ipc_key 1024
   ipc_key_add_uid false
   ipc_perm 0660
   slave {
      pcm "hw:0,3"
      rate 48000
      channels 6
      format s32_le
      period_time 0
      period_size 1024
      buffer_time 0
      buffer_size 12288
   }
}

pcm.!default {
   type plug
   slave.pcm "dmixer"
}

ctl.!default {
   type plug
   slave.pcm "dmixer"
}


~/.pulse folder:

daemon.conf:
Code:
default-sample-rate = 48000

default.pa (copied from /etc/pulse and appended the following to the end):
Code:
load-module module-alsa-sink device=dmixer sink_name=hdmi mmap=0
set-default-sink hdmi
set-default-source hdmi.monitor

default-sink
Code:
hdmi

default-source
Code:
hdmi.monitor
Reply

Logout Mark Read Team Forum Stats Members Help
Sound Issues0