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

    Scheduled Pinned Locked Moved Help and Support
    sdlcrashcommand lineraspberry pi 3b
    6 Posts 2 Posters 13.7k 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.
    • S
      Septcanmat
      last edited by Septcanmat

      I just got a new RPi 3 B in the mail today and I'm trying to install RetroPie on it. I'm installing RetroPie on top of a fresh install of Raspbian, so I followed these instructions; https://github.com/retropie/retropie-setup/wiki/manual-installation (I did a 'Basic Install' as a 'Full Install' wasn't available in the menu).

      I tried to run EmulationStation from the command line and nothing happened - the terminal went black for a moment and then returned me back to the command line. I tried it again, and this time noticed a flicker of text and made out the word 'Error'. I tried to run it again and this time piped stderr to a text file. These were the results;

      lvl0: Error creating SDL window!
      Could not get EGL display
      lvl0: Renderer failed to initialize!
      lvl0: Window failed to initialize!
      reset: standard error: Inappropriate ioctl for device

      I did some searching for this error about the SDL error, and found this thread; https://retropie.org.uk/forum/topic/2028/error-creating-sdl-window - it suggested that the latest rpi-update should fix the issue. I did the updates, rebooted, and the error persists.

      There don't seem to be any relevant log files anywhere, the only USB devices are my keyboard and mouse, I haven't connected a controller yet, etc. etc. etc. If there's any other information that's relevant I'll be happy to provide it. Thank you.

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @Septcanmat
        last edited by

        @Septcanmat have you logged out of the pixel desktop environment entirely?

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        S 2 Replies Last reply Reply Quote 0
        • S
          Septcanmat @herb_fargus
          last edited by

          @herb_fargus I have not. I didn't realize that was necessary for running Enulation Station. I will give that a try now and report back.

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @Septcanmat
            last edited by

            @Septcanmat RetroPie doesn't run under x. My personal preference is to start with the RetroPie image and use the built in Raspbian tools option in the setup script to install pixel as it adds an option in the ports menu for an easy transition to pixel. But anyways personal preference. Many ways to do it.

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • S
              Septcanmat @herb_fargus
              last edited by

              @herb_fargus By the way, this was in fact the solution. Seems quite obvious but it wasn't anywhere in the guide I was following. Wasted quite a bit of time trying to figure out how to fix it. Maybe that guide should have a comment about this? Anyway, thanks a ton for the help!

              herb_fargusH 1 Reply Last reply Reply Quote 0
              • herb_fargusH
                herb_fargus administrators @Septcanmat
                last edited by

                @Septcanmat glad you got it sorted. there are two versions of Raspbian, one with the desktop environment, the other without(Raspbian lite) obviously the RetroPie sd image is built on Raspbian lite.

                Wiki can be edited by anyone so feel free to make a note of it

                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                Also if you want a solution to your problems read this first: 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.