Running Frodo Beta - Openelec ION 64bit build on a Zotac ID41.
Audio output on HDMI to my DTS/AC3 capable AV Receiver.
No issues with sound from a cold boot - all works as intended.
However when I resume from suspend video is OK but sound doesn't come back.
I can get sound back if I perform a reboot but this defeats the purpose of resume from suspend.
This used to happen to me occasionally and I couldn't pin point why. Having xbmc restart on resume via a hook in /etc/pm/sleep.d/ solved this for me... and as a bonus xbmc now always loads to the home screen.
2012-12-15, 16:40 (This post was last modified: 2012-12-15, 16:42 by Kaio85.)
Hi.
I have the same problem (no hdmi sound after suspend). Eden worked perfect and after a reboot everything works fine.
My setup is:
Asrock 3D Vision 252B with pulse-eight HDMI-CEC
Pioneer VSX-1021K
Generic OpenELEC 3.0 (Beta 5) - 2.95.5 - i386 / Frodo Release Candidate 1
Thanks in advance
(2012-12-09, 20:46)teeedubb Wrote: This used to happen to me occasionally and I couldn't pin point why. Having xbmc restart on resume via a hook in /etc/pm/sleep.d/ solved this for me... and as a bonus xbmc now always loads to the home screen.
Im running ubuntu + xbmc and have never used openelec so I dont know if my method will work for you, but here is my resume hook script:
cat /etc/pm/sleep.d/80_restartx
Code:
#!/bin/sh
# restart x + xbmc
if [ "$1" = "resume" ]
then
/usr/bin/killall xinit
fi
IF openelec has the directory /etc/pm/sleep.d create the above script inside it, replace /usr/bin/killall xinit with whatever restarts xbmc for you and make it executable.
2012-12-27, 08:05 (This post was last modified: 2012-12-27, 08:06 by wiad.)
I have the same problem since upgrading to ubuntu 12.04 and xbmc frodo rc2 with asrock ion 330ht. After resuming from suspend, alsa seems to lose a couple of devices (as seen with "aplay -l") of which 'hdmi 0' is one. To get them back i need to run a force-reload of alsa, which crashes xbmc so then i need to restart xbmc too. I do this with a hook script in /etc/pm/sleep.d, as suggested before in this thread:
Code:
#!/bin/sh
# restart alsa and then x + xbmc
# to make hdmi audio work after resume
case "$1" in
resume)
# Kill xbmc before reloading alsa, to avoid hangup
/usr/bin/pkill xbmc.bin || /usr/bin/pkill -9 xbmc.bin
# Reload alsa
/sbin/alsa force-reload
# Restart window manager to force restart of xbmc
/usr/sbin/service lightdm restart
;;
esac
a bit crappy and not always working workaround, but better than nothing. The problem is in alsa, i would think.
is there anyone else having this issue NOT running Openelec?
The openelec mod on their forum (link in my original post) suggests this is a XBMC issue and not an openelec issue.
The issue is only registered on the Openelec issue tracker - hasn't been registered as a bug for investigation for the XBMC team.
I tried out Xbmcuntu the other day and I did not have this problem, however I did have a problem with sound after reboot and this was due to the fact I was using a ssd, no audio devices where detected. To solve this I added a sleep before loading the Lightdm (i think thats what it was called) service.
I'm guessing this is a similar problem as it only seems to occur when using an ssd.
2012-12-28, 18:29 (This post was last modified: 2013-01-03, 08:18 by wiad.)
i don't have a ssd and i dont run openelec (running ubuntu 12.04). Since 'aplay -l' on my system is missing devices after a resume from suspend i'm having a hard time believing the problem lies with xbmc. As i said before, alsa is a more likely suspect.