2012-08-30, 02:29
Hi!
I have annoying but little funny problem with xbmc or more possible with general configuration. My HTPC is also NAS running 24x7. My configuration is little bit problematic: Debian 7 and AMD Fusion APU (running fglrx) combined with Samsung TV connected using HDMI (video+audio).
Original concept was to run XBMC 24x7 but due to high cpu usage (~40% of each core, even with dirtyregions) I decided to leave xserver running and run XBMC using irxevent (+irxexec). Everything is fine if I run xserver (using standard startx command) when TV is turned on. If I try to run xserver when tv is off or try to quit and reopen xbmc in current xserver session (even not restarting TV) there is no sound. No errors, no logs ... just silient in TV speakers, event spekaers-test works fine but play nothing.
Only way to restore sound is to quit xserver (kill or just ctrl+c in terminal) and reopen it on running TV.
I also tried to kill xserver with XBMC but this scenario failed - irxevent need to be runned inside X-session, so if I quit xorg irxevent also dies and only way to run it again is to use ssh
Also restarting alsa (/etc/init.d/alsa-utils restart) does nothing.
Is anyone have any suggestions? I also tried installing pulseaudio - no lucky, still the same symptoms. I don't know how xserver can have any effects on sound actually....
Edit:
I wrote ~60 lines script which replace irxevent and doesn't require xserver session to run and configure it to restart whole xserver. Dirty workaround but works which ofc doesn't mean that I don't won't to resolve whole problem.
I have annoying but little funny problem with xbmc or more possible with general configuration. My HTPC is also NAS running 24x7. My configuration is little bit problematic: Debian 7 and AMD Fusion APU (running fglrx) combined with Samsung TV connected using HDMI (video+audio).
Original concept was to run XBMC 24x7 but due to high cpu usage (~40% of each core, even with dirtyregions) I decided to leave xserver running and run XBMC using irxevent (+irxexec). Everything is fine if I run xserver (using standard startx command) when TV is turned on. If I try to run xserver when tv is off or try to quit and reopen xbmc in current xserver session (even not restarting TV) there is no sound. No errors, no logs ... just silient in TV speakers, event spekaers-test works fine but play nothing.
Only way to restore sound is to quit xserver (kill or just ctrl+c in terminal) and reopen it on running TV.
I also tried to kill xserver with XBMC but this scenario failed - irxevent need to be runned inside X-session, so if I quit xorg irxevent also dies and only way to run it again is to use ssh
Also restarting alsa (/etc/init.d/alsa-utils restart) does nothing.
Is anyone have any suggestions? I also tried installing pulseaudio - no lucky, still the same symptoms. I don't know how xserver can have any effects on sound actually....
Edit:
I wrote ~60 lines script which replace irxevent and doesn't require xserver session to run and configure it to restart whole xserver. Dirty workaround but works which ofc doesn't mean that I don't won't to resolve whole problem.