Posts: 24
Joined: Aug 2014
Reputation:
0
Mirar
Junior Member
Posts: 24
2014-08-20, 15:07
(This post was last modified: 2014-08-20, 15:08 by Mirar.)
I think you are correct and that it's something in PA. Thanks for sorting that out.
I will (I noticed I was running behind) upgrade to Mint 17 (≃Ubuntu 14.04 LTS) and in the meanwhile reset all PA settings and report back. As far as I know I've only changed the sample size/rate and default number of channels, but that doesn't mean PA isn't doing something strange...?
Edit: No, I didn't seem to have gnome-sound-applet but I kept searching for where I could test the speakers using only PA. Thanks for that too.
Posts: 24
Joined: Aug 2014
Reputation:
0
Mirar
Junior Member
Posts: 24
Well, nope.
1. nothing changed with the default pulseaudio config files with a fresh Mint 17 upgrade (I removed and forced in new config files from the package)
2. gnome-sound-applet gives the right sound in the right channels
I'm still confused here.
Posts: 24
Joined: Aug 2014
Reputation:
0
Mirar
Junior Member
Posts: 24
2014-08-20, 21:15
(This post was last modified: 2014-08-20, 21:48 by Mirar.)
Ok, now I will change this to a bug report. :p
I had some odd sound artifacts before so I had changed the audio settings to fixed/192kHz.
Changing the audio settings to 5.0 fixed the problem, but no subwoofer channel at all (I guess it's not mixed in from AC3/wmv to 5.0?).
Changing them back to optimized or best match fixed the problem.
Changing them to fixed/192kHz or fixed/96kHz repeats the problem.
Anything I can help with to nail down this problem?
(Edit: I can repeat the sound artifact. On a stereo - or possible mono - video, the sound gets excessively echo-y and in all channels if I don't use fixed. On a 5.1 video it's all fine. So to get decent sound I need to use fixed. I will upgrade to 13.2/14.0 again and see if that's still the case. No, I don't use stereo upmix and the sound is sent as 5.1 to the receiver. Edit 2: This seems to be due to pulseaudio enable-remixing default to yes, so not an XBMC problem.)
Posts: 23,229
Joined: Aug 2011
Reputation:
1,069
fritsch
Team-Kodi Developer
Posts: 23,229
Nope sub is never mixed into anything - think of 20 hz in some little rear speakers.
Please post a logfile with "working" config and with "non working" config.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,229
Joined: Aug 2011
Reputation:
1,069
fritsch
Team-Kodi Developer
Posts: 23,229
Sadly not a debug log - I cannot see a single difference :-) (but it's already late)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,229
Joined: Aug 2011
Reputation:
1,069
fritsch
Team-Kodi Developer
Posts: 23,229
2014-08-20, 22:58
(This post was last modified: 2014-08-20, 22:59 by fritsch.)
The latter is bad. It's a pulseaudio bug we trigger by accident, but I am quite sure I know where it is coming from :-)
If you look at default ALSA mappings, you see that speakers are always in pairs: FL, FR, center, lfe, BL, BR
in that case pulse or alsa or the mapping in between guesses the channel after Center must be LFE and and the 5th channel is BL and 6th channel is BR ... please file a bug with pulseaudio on their bugtracker - we sadly cannot really workaround this as pulse is not working as expected.
Therefore you get BL in the Sub and LFE in rear
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 24
Joined: Aug 2014
Reputation:
0
Mirar
Junior Member
Posts: 24
I can confirm the sound works with fixed in the git version (Git:2014-08-21-33
26758-dirty) while the exact same setup doesn't work in 13.2 final (Git:0f3db05).
Not sure how to file a bug report since I don't know how XBMC is handling the sound well enough. :p
Posts: 23,229
Joined: Aug 2011
Reputation:
1,069
fritsch
Team-Kodi Developer
Posts: 23,229
please paste the latest commit you have in here:
git show
as I added some more things.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.