2012-04-13, 22:09
All:
So I ran into a weird issue TWICE now, I would do a base install of xbmcubuntu on a Zotac ZBOXHD-ID34BR - This worked great initially, I would add my files etc - then sound would stop playing and video would stop playing.
In both cases what seemed to cause this was that I had done an apt-get update - and then would install a package
the first time I did a full upgrade - patched the box, updated everything that needed it. - I couldn't figure out what was going and was frustrated so I went back and did a complete reinstall.
After the reinstall, same behavior, except this time all I did was install VIM
I can't for the life of me figure out why doing any apt install would cause this, but the end result is I would get the following errors in the crash logs
running an aplay -l resulted in me being told it was corrupt.
I have been able to get it to work again by deleting the file and recreating the file to look like this
This has fixed the problem - but what I'm worrying is that I no longer have any of the advanced digital decoding and such - I am apparently not the only person with this problem and I for sure would like to get this figured out as it's definitely an issue...
As it stands right now audio is outputting over HDMI, in a 2 channel mode - I'll connect the box to my stereo later and work on it some more... any guidance would be appreciated, I can post the "corrupted" .asoundrc file as well... it was never edited manually or changed by me - if it was changed it got changed either by xbmc or the apt processes...
So I ran into a weird issue TWICE now, I would do a base install of xbmcubuntu on a Zotac ZBOXHD-ID34BR - This worked great initially, I would add my files etc - then sound would stop playing and video would stop playing.
In both cases what seemed to cause this was that I had done an apt-get update - and then would install a package
the first time I did a full upgrade - patched the box, updated everything that needed it. - I couldn't figure out what was going and was frustrated so I went back and did a complete reinstall.
After the reinstall, same behavior, except this time all I did was install VIM
I can't for the life of me figure out why doing any apt install would cause this, but the end result is I would get the following errors in the crash logs
Code:
14:09:18 T:2932398960 NOTICE: running thread: CDVDPlayerAudio::Process()
14:09:18 T:2932398960 NOTICE: Creating audio device with codec id: 86019, channels: 6, sample rate: 48000, no pass-through
14:09:18 T:2932398960 ERROR: PulseAudio: Failed to connect context
14:09:18 T:2932398960 ERROR: PulseAudio: Failed to create context
14:09:18 T:2932398960 ERROR: Unable to open audio mixer
14:09:18 T:2940791664 NOTICE: fps: 23.976024, pwidth: 704, pheight: 336, dwidth: 614, dheight: 336
14:09:18 T:2940791664 NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
running an aplay -l resulted in me being told it was corrupt.
I have been able to get it to work again by deleting the file and recreating the file to look like this
Code:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave{
pcm "hw:1,3"
rate 48000
channels 2
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm. !default {
type plug
slave.pcm "dmixer"
}
This has fixed the problem - but what I'm worrying is that I no longer have any of the advanced digital decoding and such - I am apparently not the only person with this problem and I for sure would like to get this figured out as it's definitely an issue...
As it stands right now audio is outputting over HDMI, in a 2 channel mode - I'll connect the box to my stereo later and work on it some more... any guidance would be appreciated, I can post the "corrupted" .asoundrc file as well... it was never edited manually or changed by me - if it was changed it got changed either by xbmc or the apt processes...