Solved Frodo RC1 - Failure to detect HDMI on boot or resume
#1
Bug 
Hi,

I am experiencing a problem with XBMC not detecting the output for HDMI when booting up for the first time or resuming from hibernate.
The workaround I have been using is to close XBMC and then start XBMC again. Go to settings, select Audio output device to "AMD HDMI" and it works again. It however doesn't stick once the machine is rebooted or hibernates. XBMC has to be closed, restarted and then settings applied again. Frustrating. Tongue

xbmchdmi1.log - is me starting xbmc after closing it after a reboot and selecting Alsa Device 4.
http://pastebin.com/a2ENJWvr

xbmchdmi2.log - is xbmc starting from a reboot which shows no Device 3 or 4 listed at all.
http://pastebin.com/pXWdyJX7

Running Ubuntu Precise with ATI Radeon card.

Any ideas out there on a better workaround or what might be wrong?

Been using the wsnipex-ppa for sometime and never had HDMI issues under Eden.

Thanks
Reply
#2
I should probably add that I have tried starting the machine with the TV already on. Doesn't make any difference.
Reply
#3
how do you start xbmc on boot? seems like xbmc comes up too early, before the audio devices are fully up
Reply
#4
Hi wsnipex,

XBMC starts with Ubuntu auto logging on and then via a xsessions entry as per this guide:

http://wiki.xbmc.org/index.php?title=HOW...Xubuntu.29

It was working under Eden without issues.
I have tried using asound.conf custom entries with no luck either. XBMC just seems to be failing to detect the HDMI output in Alsa.

Might have to go back to Eden in the meantime. Sad
Reply
#5
you could try editing your /etc/init/lightdm.conf

edit this part, adding "and stopped udevtrigger"
Code:
start on ((filesystem
           and runlevel [!06]
           and started dbus
           and stopped udevtrigger
           and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                or stopped udev-fallback-graphics))
          or runlevel PREVLEVEL=S)

Another, albeit dirty hack would be to just add a "sleep 10" to the script section.
Reply
#6
Ok thanks for the lightdm suggestions.

I tried a "sleep 30" also before execution of lightdm.

No luck though.

I have also noticed the library autoupdate fails to connect on reboot with the start of xbmc. It asks me if I wish to continue scanning, I hit yes and then it connects fine.
Reply
#7
is this on WLAN?
if yes, you should try with LAN, just to check if thats the issue
Reply
#8
Is this a clean install of Frodo?

I Had similar problems with a clean install where Eden worked fine.

I 're-installed Eden and got it all working then upgraded to Frodo via putty.

Matt
Main - LG - OLED65CX6LA 65" Smart 4K Ultra HD HDR OLED TV - Yamaha RXV383 - N2plus running CoreELEC Nexus - Harmony Elite remote
BedRoom - Panasonic DX-700 UHD TV - N2 running CoreELEC Nexus - Harmony Elite remote
Server - debian based 10TB Media Server 
Reply
#9
I have this same issue except it does the same thing on Eden.

XBMCbuntu
Zotac HD-ID11
Crucial 128GB SSD

Logging out and back in after boot fixes the audio detection error.
Not sure what to do.
Reply
#10
(2012-12-13, 17:04)WickdTrns Wrote: I have this same issue except it does the same thing on Eden.

XBMCbuntu
Zotac HD-ID11
Crucial 128GB SSD

Logging out and back in after boot fixes the audio detection error.
Not sure what to do.

Does yours "default" to a different audio output when it can't detect HDMI?
Mine "defaults" to pulseaudio output everytime.
Reply
#11
(2012-12-13, 13:18)wsnipex Wrote: is this on WLAN?
if yes, you should try with LAN, just to check if thats the issue

Its all LAN connected with no wifi.
(2012-12-13, 13:25)matt77303 Wrote: Is this a clean install of Frodo?

I Had similar problems with a clean install where Eden worked fine.

I 're-installed Eden and got it all working then upgraded to Frodo via putty.

Matt

Its been upgraded from Eden to Frodo. I might try a fresh install of Frodo or just go back to Eden.
Reply
#12
(2012-12-13, 23:45)auszig Wrote:
(2012-12-13, 17:04)WickdTrns Wrote: I have this same issue except it does the same thing on Eden.

XBMCbuntu
Zotac HD-ID11
Crucial 128GB SSD

Logging out and back in after boot fixes the audio detection error.
Not sure what to do.

Does yours "default" to a different audio output when it can't detect HDMI?
Mine "defaults" to pulseaudio output everytime.

It says "Error - no devices found" on Audio and Passthough. Logout, Login and there it is working again "Default (HDA NVidia HDMI 0)" for audio, and "HDA NVidia (hdmi_formatted), SAM SAMSUNG on HDMI" for passthrough.
It almost feels like it boots too fast to detect the device.
Reply
#13
Did you try the lightdm and sleep method that wsnipex suggested?
It didn't work for me but might work in your case?
Reply
#14
BOOM!!!
added "and stopped udevtrigger" to lightdm and it worked like a charm.... I have no idea what any of it means, but it worked!! Many thanks!!
Reply
#15
(2012-12-14, 06:28)WickdTrns Wrote: BOOM!!!
added "and stopped udevtrigger" to lightdm and it worked like a charm.... I have no idea what any of it means, but it worked!! Many thanks!!

Cool, glad it worked for you. Smile

Mine defaults to pulseaudio and doesn't do what yours was doing "no devices found". So my problem is probably different to yours although the symptoms are similar.
Reply

Logout Mark Read Team Forum Stats Members Help
Frodo RC1 - Failure to detect HDMI on boot or resume1