Random black screen flickering on Generic - Legacy

  • When using Generic-Legacy on an Intel laptop, everything works fine aside from a half-second black screen that occurs seemingly at random, whether hardware acceleration is on or off. I haven't been able to fix the issue and I don't know what triggers the black screen.

  • Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link
  • Seems like LE is still trying to use the laptop display (eDP1):

    Code
    2024-05-25 17:41:16.176 T:18747 warning <general>: CXRandR::Query - output eDP1 has no current mode, assuming disconnected
    ...
    2024-05-25 17:41:30.582 T:18747 warning <general>: CXRandR::Query - output eDP1 has no current mode, assuming disconnected
    ...
    2024-05-25 17:41:34.177 T:18747 warning <general>: CXRandR::Query - output eDP1 has no current mode, assuming disconnected

    Add this to the boot options:

    Code
    video=eDP-1:d
  • Thanks. Please upload a crash report to PasteBin, and post the link.

    Code
    May 25 17:40:57.146052 LibreELEC kernel: waiting[18636]: segfault at 10 ip 00007f6dc98222ab sp 00007f6d95796730 error 4 in libpython3.11.so.1.0[7f6dc960e000+3c9000] likely on CPU 1 (core 0, socket 0)
    May 25 17:40:57.146156 LibreELEC kernel: Code: 8b 47 10 48 89 fa 48 8b 78 28 48 8d 70 60 48 81 c7 60 01 00 00 e9 a5 fc ff ff 0f 1f 44 00 00 55 31 f6 53 48 89 fb 48 83 ec 08 <48> 8b 47 10 48 8b 68 28 48 8d bd 38 02 00 00 e8 41 13 ee ff 48 39
    May 25 17:41:03.137349 LibreELEC kodi.sh[1075]: Segmentation fault (core dumped)
    May 25 17:41:05.498753 LibreELEC kodi.sh[1075]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20240525174103.log
  • There may be a misunderstanding, the issue doesn't cause a crash

    there was a crash as I was logging but it was unrelated, its because I tried to back out of a bunch of menus way too quickly


    After more testing, this seems to either be my laptop's HDMI port, the TV's ports, or the cables ive used, as Windows also has this problem.

    Edited once, last by snooziepup: Merged a post created by snooziepup into this post. (May 26, 2024 at 8:38 PM).

  • After more testing, this seems to either be my laptop's HDMI port, the TV's ports, or the cables ive used, as Windows also has this problem.

    Makes sense, because I don't see any serious issues in the log.

    • try another HDMI cable (if you buy a new one, get a 4K cable (a.k.a. HDMI 2.0 or 2.1))
    • use the first HDMI port on your TV