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

    Rpi & error creating SDL window

    Scheduled Pinned Locked Moved Help and Support
    rpi4sdl
    8 Posts 2 Posters 1.6k 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.
    • P
      Papp
      last edited by

      Hello everyone,

      I'm new to the forum and a complete noob with Rpi.

      Today I received my first Rpi4 and I wanted to transform it into a retro console.
      So I read the official instructions, flashed my sd card, and put it in the rp4.
      After displaying the retropie image, the system stops showing the following errors:
      lv10: Error creating SDL window! Could not initialize EGL
      lv10: Renderer failed to initialize!
      lv10: Window failed to initialize!
      Wi-Fi is currently blocked by rfkill.
      Use rapi-config to set the country before use.

      I've seen this error in many old posts 2016, and a recent one, which wasn't helpfull.

      Can anyone please help me with this?

      Thank you so much in advance

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

        Are you sure you downloaded and flashed the Pi4 image and not the Pi3 one ?

        1 Reply Last reply Reply Quote 0
        • P
          Papp
          last edited by

          Hi, thank you for the extremely quick reply!
          The file I flashed is named 'retropie-buster-4.6-rpi4.img'

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

            That's strange. Did you modify the config.txt configuration file on the boot partition ?

            1 Reply Last reply Reply Quote 0
            • P
              Papp
              last edited by

              I added 5 lines at the very end of the files as I am using a 5-inch screen.
              The end of the file now looks like this:

              [all]
              #dtoverlay=vc4-fkms-v3d
              overscan_scale=1

              max_usb_current=1
              hdmi_group=2
              hdmi_mode=87
              hdmi_cvt 800 480 60 6 0 0 0
              hdmi_drive=1

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

                @Papp said in Rpi & error creating SDL window:

                I added 5 lines at the very end of the files as I am using a 5-inch screen.

                Are you sure you didn't disable anything else ? Please post the entire file's contents.

                1 Reply Last reply Reply Quote 0
                • P
                  Papp
                  last edited by

                  No need, I tried uncommenting the line dtoverlay=vc4-fkms-v3d and now it magically works.
                  It's weird as the manufacturer explicitly suggested to comment that line for rp4.

                  Thank you so much for your help! I really appreciate that

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

                    @Papp said in Rpi & error creating SDL window:

                    It's weird as the manufacturer explicitly suggested to comment that line for rp4.

                    That disables the GPU drivers for the Pi4 and makes your system unusable for RetroPie. Next time you report an issue, please include all pertinent information, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

                    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.