Please do not post a support request without first reading and following the advice in

Intermittent white boxes for art?

  • I'm running on my first pi zero + tft (pigrrl zero) and I'm encountering an issue I haven't seen on any other system before. Sometimes the art just becomes white boxes, both the game box art and the system art in the background. If I start a game and exit, sometimes the art will display again properly. Sometimes it's just one system, sometimes it's all of them. Has anyone encountered this before?


  • @farrisgoldstein that's your system running out of video memory. What's the ES version you're on, what's your VRAM setting in ES, what's the memory split on your zero and what's the resolution of your scraped images?

    I take it you're using an official image from here?

  • @pjft said in Intermittent white boxes for art?:

    What's the ES version you're on, what's your VRAM setting in ES, what's the memory split on your zero and what's the resolution of your scraped images

    It's a modified official image, yes. FWIW, I ran an in-place update via last night, and so far it seems like these issues are gone. For reference though:

    ES: Version 2.7.5rp, built Feb 27 2018 - 17:35:47

    ES VRAM limit: 100Mb


    The scraped images all appear to be around 300x268 for short box art and 397x660 for taller ones. I realize that's bigger than my screen res, so there's some scaling going on. However, like I said, after an update everything seems to be OK for now, so should I bother re-scraping or modifying the existing scrapes?

  • administrators

    @farrisgoldstein your gpu_mem is too low. it should be 128MB minimum really. Please post your whole /boot/config.txt though as there are other gpu_mem configs that can override it. (please use markdown to make it a code block on the forum).

  • @farrisgoldstein also change the VRAM to 80 after setting the memory split. Or even lower, adjust as needed.

    Also, please don't really use modified images. It's impossible for us to really help you effectively if we can't be sure of what's installed and how it's been configured.

    Not to mention that those images are terrible for the project's reputation.

  • @pjft

    I set gpu_mem to 44 based on some Adafruit docs, but that appears to be some snowballed misinformation based on older pis with less mem. However, I've just realized that I also have gpu_mem_512=256, so that is the actual effective gpu_mem. I suspect that got updated when I did I updated all the packages, since the date on my /boot/config.txt is from last night when I updated. That also explains why this odd behavior is gone now.

    I appreciate what you mean about images and reputation, but this image is one I made based on the official image. A completely-stock image would require a lot of custom changes up front just to get things working. That's not something I want to do manually each time I build one of these. The only major modifications to them are for the custom inputs required and the tft, and the rest are just minor changes. Granted, what I said above about snowballed misinformation is part of what you're saying, but I'm not distributing these images, just using them as backups and starting points for clones.

    Anyway, I think this is mostly solved, but here's my full config.txt, in case you want to gently point out anything else dumb I'm doing. Thanks for the help.

    # For more options and information see
    # Some settings may impact device functionality. See link above for details
    # uncomment if you get no picture on HDMI for a default "safe" mode
    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan
    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    # uncomment to force a console size. By default it will be display's size minus
    # overscan.
    # uncomment if hdmi display is not detected and composite is being output
    # uncomment to force a specific HDMI mode (this will force VGA)
    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    # uncomment for composite PAL
    #uncomment to overclock the arm. 700 MHz is the default.
    # Uncomment some or all of these to enable the optional hardware interfaces
    # Uncomment this to enable the lirc-rpi module
    # Additional overlays and parameters are documented /boot/overlays/README
    # Enable audio (loads snd_bcm2835)
    hdmi_cvt=320 240 60 1 0 0 0

  • @farrisgoldstein I find when that happens it's because the image is too big. Make it a bit smaller and it's all fine.

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.