After Power Outage Video Output Fails

Kodi 14.2
Open Source Media Center 0.9.9

We had a huge tropical storm today with a power outage. After the outage was over I shut down the mediacenter.service and rebooted the Pi. I have to reboot the Pi after a power outage because the Pi boots faster than the MacMini which hosts the media files and the MySQL database.

The Pi booted normally and started the GUI. However, using the remote to navigate the GUI almost immediately causes the video output to stop.

Here’s a log fragment. This is the “down” keypress after which the video went blank:

15:10:01 T:3023966208   DEBUG: OnKey: down (0xf081) pressed, action is Down
15:10:01 T:2814309408   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0xa22f79f8
15:10:01 T:2814309408   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(81920), nBufferAlignmen(16)
15:10:01 T:2814309408   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0xa1200d30
15:10:01 T:2814309408   DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)

The entire kodi.log is here: kodi.log

I have verified that the media files and SQL library are fine as they are both reachable and useable from Kodi running on a Mac.

Have you tried composite output? just to see if you can get a video out that don’t freeze? Then if that works check and maybe reset the video out settings

1 Like

You have likely suffered some corruption.

S

1 Like

Thanks. I will reinstall.

This is likely not necessary. I would:

sudo systemctl stop mediacenter
rm -rf .kodi
sudo systemctl start mediacenter

That worked. Restored userdata files from backup.

All is well.

Thanks again.