Linux Strange noise when switching from DTS 5.1 to PCM 2.0
#1
Hi guys

After a fresh boot everything works fine.

When switching between pcm 2.0 and dts 5.1 or dolby digital 5.1 I got a strange noise for about a second. Sometimes when stopping a 5.1 movie, menu brakes completely and I have to reboot to make it work again.

This is part of the log file:
http://pastebin.com/pegvcKW9

My sound settings are the following:

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 1: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: DG [Xonar DG], device 0: Multichannel [Multichannel]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: DG [Xonar DG], device 1: Digital [Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

/etc/asound.conf
Code:
pcm.!default {
   type plug
   slave {
       pcm "hw:2,1"
       rate 48000
   }
}


My settings in XBMC are.
optical
5.1
checked
checked
checked
custom, plughw: 2.1
custom, plughw: 2,1

I use XBMCbuntu 11.0.
Can somebody help.
Thanks in advance.
fritz222
Reply
#2
Any Ideas?

I recognized that this noise happens also switching the other way around: from pcm to dts.
Reply
#3
Your log:
21:36:55 T:2953390960 ERROR: Initialize - failed to open custom device plughw:2,1,AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 (error:No such file or directory), retry with default plughw:2,1

plughw is not an iec device, hence it does not accept AES parameters which are used to mute the device. A correct custom device for pass through starts with iec958 or hdmi. Try iec958:DG
Reply
#4
Thanks for your advice.

I tried this and I have still this strange noise for about one second when switching between this two sounds.

But the Errormessage in the log(See log link below) has gone and the menusound does not crash anymore.

Logfile:
http://pastebin.com/0AFd5tCf


Does anybody see a possibility to get rid of this noise? Thx.

Reply
#5
Is it normal to have this strange noise between switching the sound?
Reply
#6
Its about not so cool receiver hardware. My yamaha RX 3something doesn't do a beep when switching source format.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#7
Uuhh. Sad

So you think my soundsettings are alright in asound.conf and XBMC?

As receiver I have Lifestyle 48 DVD Home Entertainment System with 5.1 Sound. Mybe I should try tweaking the bose setting a little bit?

Thx.
Regards, fritz222
Reply
#8

Is this strange noise like a "clicking sound"?

Some receivers like onkyo do a speaker reset when switching between modes like pcm/dts/ac3.
Reply
#9
No it's like 'shshshshs'. I hope you know what I mean. This clicking noise I had only sometimes. But I did that what FernetManta said I don't have this clicking.

I think it's my receiver switching to the analog input because XBMC mutes the digitial output for a sec, then and there is no connection and thats why it gives this noise. But thats just an assumption. I'll try a few settings in bose today.
Reply

Logout Mark Read Team Forum Stats Members Help
Strange noise when switching from DTS 5.1 to PCM 2.00