Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Kodi: Screen goes black after video finishes



  • @Rascas
    thanks for pointing me in the right direction. Apologies for my ignorance, I just really need help with this :(

    My debug file can be found here.

    Like I said, new install of both retropie and kodi. Screen goes blank on video ending but kodi is still active and I can still load up a new tv show with the app and I can hear the clicks in the background but can't see anything. HDMI is working fine.



  • @sphirst there is no errors in Kodi log that can be related to your problem, but it seems also that you didnt played any file. Reproduce your problem and post the log again.



  • @rascas thanks for your patience with my limited knowledge. I thought I’d set it so it showed a log of before I restarted the pi - because obviously I can’t upload the log after replicating the problem as the GUI is no longer visible after the video ends.

    I’ll try and have a look the best way to upload the debug log without using the GUI





  • I am not seeing any error related to what you described. Are you sure that it happened in this log ? Does it happen everytime ? Do you have another HDMI cable to test, or another TV/monitor ? If you don't use CEC, you can also try to disable it in Kodi settings, although very rare, there are reports of it not working good with some TV brands/models implementations.



  • Thanks for having a look at it @Rascas

    It happens every time, and also if I press stop on a video.

    I will try a different HDMI to check but I'm 100% it is not that as there is still sound (the clicking of menu items) in the background and then when I load another video from the kodi remote app the video (with audio and sound) loads instantly.

    Someone else suggested it may be skin related (which I guess as the skin menu is not "showing" after the video ends, it could be) so testing it with another skin loaded may be the next avenue.

    Really odd that nothing shows in the debug log.

    I will also try disabling CEC.

    I have another rpi3 running kodi on osmc - exactly the same skin and settings, and no issues, so it leads me to think it's a clash somehow with retropie? Is there a way to roll back the version of kodi to 17.2 or something?



  • You can downgrade kodi version, but I am almost sure that it won't solve your problem with your current setup. I am saying this because I never had a report of something like that, either on plain Raspbian, RetroPie or PiPplware. There was some reports of something similar in the past and they were related to what I explained to you before, like HDMI cable, the TV model because of CEC and such.
    Another thing, did you change something in the way Kodi is started ? Like creating a separate menu in ES or something ? Running a "unofficial" ES version etc ?
    Can you try exiting Emulation Station to terminal and starting Kodi from there ?
    Running Kodi on the RPi can be a bit tricky, because nothing else can use some hardware resources at the same time while you are running Kodi, like the hardware video decoders, CEC, and such, otherwise it can cause problems like that.



  • Tried changing the CEC settings and resolution, same problem.
    Tried the pi on a different TV, same problem.

    Kodi is autostarted in retropie. There is a separate menu in emulationstation for it - I followed a straight forward guide to do this - has this been known to cause issues before? My next thing to do is to check what happens if I what..disable this from being accessible in the emulationstation menu?

    Could there be any problem with mySQL database affecting it perhaps?



  • @sphirst dont think so, I also have a mysql database on my pi's and it works fine. Making a separete menu for Kodi might be the cause of your problem. Which "straight forward" guide did you follow ? Did you tried with cec disabled in kodi? Have you tried launching kodi from terminal?



  • @SPHIRST - Did you ever solve this issue? I'm having the exact same problem without much luck in finding info online!



  • @worldofjay Did you tried what I mentioned above? Did you made any special modification how Kodi launches like creating a dedicated menu? The way that is explained in the wiki was made by a unknown user and it is not recommended like it is.
    You have to explain your setup otherwise we wont be able to help you.



  • I'm getting exactly this happening now, after months of perfect function, it's lost the CEC control as well.



  • Ppl, just complaining won't get things fixed, this is something caused by some specific user configuration, because it doesn't happen on a clean install. You have to provide more information about your setup and logs so we can help you.



  • Hi, i have the same problem, but i discovered that if you run Kodi from EmulationStation it runs without that bug. Only happens when the autostart in Retropie is configured "start kodi at boot".
    Exit from kodi and try todo start from ports. If works, i think its a autostart script problem... Permissions maybe?
    Good luck.



  • @darkgroove Please post the information asked here:
    https://retropie.org.uk/forum/topic/3/read-this-first
    And also a full Kodi debug log:
    http://kodi.wiki/view/Log_file



  • @rascas It is not a problem for me. Only trying to help. Im not enough capable to log Retropie startup and Kodi but im sure it works ok when Kodi starts from EmulationStation. Sorry 4 my english.



  • This issue was introduced for me in Kodi 18. Solution for me was to:

    Settings > Player > Videos > Playback > Adjust display refresh rate > On start / stop

    Hope this helps others.



  • @j1lted said in Kodi: Screen goes black after video finishes:

    This issue was introduced for me in Kodi 18. Solution for me was to:

    Settings > Player > Videos > Playback > Adjust display refresh rate > On start / stop

    Hope this helps others.

    I could bloody kiss you, mate. Thanks for choosing to gravedig an old topic with your solution. I was pulling my hair out until I found your post. :)


Log in to reply
 

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.