Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
@PatrickVogeli:
You have an EDID problem. The HDMI soundcard "forgets" the EDID information of your TV/AMP when resuming. Blame your vendor or workaround it by overwriting the edid via xorg.conf (in the nvidia case) or /etc/ati/dfp1.edid in the (amd case).
@Martijn: Did you realize, all those came good out of suspend :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 575
Joined: Jul 2010
Reputation:
8
2013-02-11, 20:21
(This post was last modified: 2013-02-11, 23:06 by PatrickVogeli.)
So... can anybody point me in the right direction? I doubt it is an HDMI EDID issue, I think this worked fine with Openelec 2.0 builds... I'll confirm later
EDIT: ok, I've loaded Openelec 2.0 and tried the same again: shutdown TV + AMP, then suspend, resume and then turn on TV + AMP. Result: sound works, so I'd say it's not an EDID thing.
With Frodo, when the error happens, if I play a movie file which bitreams audio, I have sound. After that, playing music works again.
Posts: 7,648
Joined: Jun 2011
Reputation:
287
and if TV and AMP is on, you have sound on resume? try that a couple of times.
Posts: 575
Joined: Jul 2010
Reputation:
8
2013-02-11, 23:21
(This post was last modified: 2013-02-11, 23:24 by PatrickVogeli.)
Hi,
to make things clear:
If I suspend the computer, and after that shutdown the TV + AMP, I have sound on resume. When this problem happens, I only get sound when I bitstream something (mkv with 5.1 dolby digital works fine and bitstreams audio) and after that, everything works.
Also, if I suspend and leave TV + AMP on, I also get sound fine. The only event when it doesn't work is when you suspend the computer while the TV and AMP are off. Which device I resume first, if TV + AVR or computer doesn't mind.
Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
This was done with the old OpenELEC build. Retry with the one now posted in the original place you found the other build.
It does not work with 2.99.2 that is clear.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
Your log is the one, that did not crash - No Suspend / Resume in logfile.
This PR tries to fix Suspend / Resume with AMP / TV whatever turned on. The other stuff is as said EDID dependend.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 7,648
Joined: Jun 2011
Reputation:
287
well, that log is incomplete, I don't even see you suspending the htpc
Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
My code works :-)
you get both events on suspend and the sinks are completeley reenumerated on resume. The same number of devices was found again.
What happens, when you boot the PC with receiver + TV turned off? I think the Xorg.0.0.log is more relevant here, but open an other thread - as you highjacked this one quite badly.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.