RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    "Error Creating SDL Window!": LCD-show

    Scheduled Pinned Locked Moved Help and Support
    7 inch displayraspberry pi 4retropiesdl window
    9 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BeanFT
      last edited by BeanFT

      Just bought a 7 inch screen that I was going to use for the RetroPie, and when I put in the commands:

      sudo rm -rf LCD-show
      got clone https://github.com/goodtft/LCD-show.git
      chmod -R 755 LCD-show
      cd LCD-show/
      sudo ./LCD7C-show

      It refreshed, and the error in the title appears. When I tried to enter:
      emulationstation
      It just repeats the error. Any help is appreciated, thanks.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Please add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

        Are you using a Pi4 ?

        B 1 Reply Last reply Reply Quote 1
        • B
          BeanFT @mitu
          last edited by

          @mitu
          Raspberry Pi 4 Model B
          Mophie 20k power bank, with RAVIAD cable
          retropie-buster-4.6-rpi4.img
          Keyboard, 32GB USB, GeekPi controller, and 7 inch display

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            Check your config.txt and make sure you have the next 2 lines uncommented:

            dtoverlay=vc4-fkms-v3d
            max_framebuffers=2
            
            B 1 Reply Last reply Reply Quote 1
            • B
              BeanFT @mitu
              last edited by

              @mitu Worked perfectly mitu, thanks a lot. Can you explain what that did?

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @BeanFT
                last edited by BuZz

                @BeanFT re-enabled the fkms gfx drivers. You either disabled them or a script did. A couple of other had this issues after filling some LCD guide, maybe there's some bad instructions on an external site.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                B 1 Reply Last reply Reply Quote 1
                • B
                  BeanFT @BuZz
                  last edited by

                  @BuZz Got it working thanks to mitu. The manual just instructed on the code in the initial question. If you could, what does the "fx" and all those lines of code mean? Thanks again.

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @BeanFT
                    last edited by

                    gfx = the GPU (Graphics) drivers, the Pi4 has a different driver which is enabled by the lines in the config.txt. As @BuZz said, the script doesn't add the lines to the file, it's probably geared towards previous Pi models, where the lines were not needed.

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      BeanFT @mitu
                      last edited by

                      Perfect, thanks for the help mitu & BuZz 😁

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      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.