# After booting the Pi, if the asset set is a single image, it doesn't display, the screen remains dark with only the small purple screenly logo in the center

**URL:** <https://forums.screenly.io/t/after-booting-the-pi-if-the-asset-set-is-a-single-image-it-doesnt-display-the-screen-remains-dark-with-only-the-small-purple-screenly-logo-in-the-center/1166>\
**Category:** Anthias\
**Created:** [August 4, 2023, 10:04am UTC](https://forums.screenly.io/t/after-booting-the-pi-if-the-asset-set-is-a-single-image-it-doesnt-display-the-screen-remains-dark-with-only-the-small-purple-screenly-logo-in-the-center/1166 "2023-08-04T10:04:57Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![QuantumHaze](https://avatars.discourse-cdn.com/v4/letter/q/67e7ee/32.png) [@QuantumHaze](https://forums.screenly.io/u/QuantumHaze)\
**Post date:** [August 23, 2024, 2:23pm UTC](https://forums.screenly.io/t/after-booting-the-pi-if-the-asset-set-is-a-single-image-it-doesnt-display-the-screen-remains-dark-with-only-the-small-purple-screenly-logo-in-the-center/1166/28 "2024-08-23T14:23:54Z")

</div>

We have been struggling with this over the past week or so with new builds on Pi 3 B+ and Pi 4 B units. To install we use Raspbian Lite, run updates and raspi-config, and run the Anthias install shell script.

Once configured and loaded with a single asset I was able to follow the process and see that it would get to the loading of the STANDBY\_SCREEN, trigger the main loop, and trigger the asset (the asset is a web page if that is relevant), but that asset would not be displayed. If there was a second asset, it would be displayed after the delay for the first asset expired which would get things working. If we changed something about the single asset to cause the asset list to be generated again this would also resolve the issue.

To resolve this at the viewer.py level, I noted that there is a sleep delay built into the end of the asset\_loop but there was no delay after the initial loading of the STANDBY\_SCREEN in main. Once I added a sleep directly before the call from main to start\_loop, everything started working as expected for single asset lists after reboots or restarting the viewer container.

Original viewer.py code:

```auto
    view_image(STANDBY_SCREEN)

    load_screen_displayed = True

    if mq_data is not None:
        show_hotspot_page(mq_data)
        mq_data = None

    start_loop()

```

Update to resolve single asset issue:

```auto
    view_image(STANDBY_SCREEN)

    load_screen_displayed = True

    if mq_data is not None:
        show_hotspot_page(mq_data)
        mq_data = None

    sleep(0.5)

    start_loop()

```

---

_[View the full topic](https://forums.screenly.io/t/after-booting-the-pi-if-the-asset-set-is-a-single-image-it-doesnt-display-the-screen-remains-dark-with-only-the-small-purple-screenly-logo-in-the-center/1166)._
