XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2009-05-11, 22:59   #1
toiva
Senior Member
 
Join Date: Aug 2008
Posts: 204
toiva is on a distinguished road
Default (System wide) audio problem

I realize since this is a system wide issue there might be better places to ask for help.. But i'll start here.

Problem is that every time audio playback starts, there's a small chunk missing from the beginning, maybe about 0.5 seconds. This happens with all kind of audio tracks (pcm, ac3, dts). Every one of those formats play just fine, after the initial silence.
Also, every time i, let's say skip mp3 tracks in XBMC, i can see the pcm led turn off and back on in my av receiver.

System specs: Full intrepid desktop, Abit i-n73hd with Realtek ALC888 (optical to a Yamaha AV receiver), i've tried alsa .19 and .20. All kinds of audio should be directed to optical out. Pulseaudio is removed from the system.

Do i need to modify my asound.conf or what? My asound.conf looks like this, if i remove it i lose stereo sounds in XBMC and Rhythmbox etc.

Code:
pcm.!default {
        type hw
        card 0
        device 1
}
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
aplay -L
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
Any help is appreciated.

Last edited by toiva; 2009-05-11 at 23:12.
toiva is offline   Reply With Quote
Old 2009-05-12, 01:50   #2
ronie
Skilled Skinner
 
ronie's Avatar
 
Join Date: Jan 2009
Posts: 1,865
ronie is on a distinguished road
Default

I believe this is an issue with the receiver, not Ubuntu.

Check this thread for some more info:
http://xbmc.org/forum/showthread.php?t=50015
__________________
Transparency! - A Fanart Skin

Last edited by ronie; 2009-05-12 at 19:15. Reason: typo
ronie is offline   Reply With Quote
Old 2009-05-12, 08:13   #3
toiva
Senior Member
 
Join Date: Aug 2008
Posts: 204
toiva is on a distinguished road
Default

There isn't any problems in Windows.. I never really paid attention to receiver leds while using Windows, but there's no such pause/silence there, that's for sure.
toiva is offline   Reply With Quote
Old 2009-05-12, 09:07   #4
prae5
Senior Member
 
Join Date: Jan 2009
Posts: 297
prae5 is on a distinguished road
Default

I have the same problem with both of my Yamaha amps - it is the amp. If i use my Cambridge Audio amp I don't have this problem. It is the amp, although i only get it at the start of audio playback - can't say i've ever noticed it during playback or seeking.
prae5 is online now   Reply With Quote
Old 2009-05-12, 09:26   #5
toiva
Senior Member
 
Join Date: Aug 2008
Posts: 204
toiva is on a distinguished road
Default

In that case it sounds () like it's alsa which doesn't play nicely with Yamaha. Maybe i'll try live and see if the problem exists there.
toiva is offline   Reply With Quote
Old 2009-05-12, 19:17   #6
ronie
Skilled Skinner
 
ronie's Avatar
 
Join Date: Jan 2009
Posts: 1,865
ronie is on a distinguished road
Default

Mine is a Sony, same problem.
Although i'm convinced there's no solution, i hope someone will prove me wrong. :-)

Please report back if you find a fix.
__________________
Transparency! - A Fanart Skin
ronie is offline   Reply With Quote
Old 2009-05-12, 21:55   #7
toiva
Senior Member
 
Join Date: Aug 2008
Posts: 204
toiva is on a distinguished road
Default

Hmm http://www.mjmwired.net/kernel/Docum.../powersave.txt

Quote:
Note that you might hear click noise/pop when changing the power state. Also, it often takes certain time to wake up from the power-down to the active state.
This sounds very familiar..
toiva is offline   Reply With Quote
Old 2009-05-12, 22:08   #8
ronie
Skilled Skinner
 
ronie's Avatar
 
Join Date: Jan 2009
Posts: 1,865
ronie is on a distinguished road
Default

Quote:
Originally Posted by toiva View Post
i checked it's current state:
cat /sys/module/snd_hda_intel/parameters/power_save
0

so mine's disabled. i guess it's disabled by default.
__________________
Transparency! - A Fanart Skin
ronie is offline   Reply With Quote
Old 2009-05-12, 22:41   #9
topfs2
Team-XBMC Developer
 
topfs2's Avatar
 
Join Date: Dec 2007
Location: Sweden
Posts: 1,858
topfs2 is an unknown quantity at this point
Default

Just a fyi, XBMC will close and reinit the audiorenderer on skip. If it's passing through the playlist (no skip) it won't necessarily do it, just if the samplespecc changes.

It's a known issue which we are trying to mend and I for one is hoping to fix it until next point release.

It has also been suggested that xbmc should send nulldata when nothing is playing to keep the receivers busy to stop crackling, but is impossible with current design. perhaps MasterAudio will be able to fix this though. BUt I'll leave thoose questions to phi to answer.


Cheers,
Tobias
__________________
If you have problems please read this before posting

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.


topfs2 is online now   Reply With Quote
Old 2009-05-12, 23:57   #10
ronie
Skilled Skinner
 
ronie's Avatar
 
Join Date: Jan 2009
Posts: 1,865
ronie is on a distinguished road
Default

thanx for the feedback topfs2. good to know it's being looked at.
__________________
Transparency! - A Fanart Skin

Last edited by ronie; 2009-05-13 at 11:10.
ronie is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:04.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project