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
    sdl windowegl display
    13 Posts 4 Posters 6.9k 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.
    • mituM
      mitu Global Moderator
      last edited by

      The manual install documentation :

      The RetroPie SD image is built on top of Raspbian lite (Raspbian without the PIXEL desktop environment) RetroPie can also be installed on top of the full Raspbian but you can't run Retropie and PIXEL at the same time, you will need to logout of the PIXEL desktop environment in order to run emulationstation and the emulators RetroPie installs.

      1 Reply Last reply Reply Quote 0
      • C
        cbr_greg
        last edited by

        It worked that way before the update, so i guess i assumed it would continue to work. I did try changing the boot options in raspi-config to text console, automatically logged in as pi. when i reboot and run emulationstation, i just get a black screen.

        M mituM 2 Replies Last reply Reply Quote 0
        • M
          mechafatnick @cbr_greg
          last edited by

          @cbr_greg What's the video ram split? try increasing it to 256mb.

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

            @cbr_greg said in Error creating SDL Window:

            It worked that way before the update, so i guess i assumed it would continue to work

            What RetroPie version did you have have before the update ? Since it's not supported configuration, there's no guarantee that at some point it will stop working - either by accident or through configuration.

            1 Reply Last reply Reply Quote 0
            • C
              cbr_greg @mechafatnick
              last edited by

              @mechafatnick said in Error creating SDL Window:

              @cbr_greg What's the video ram split? try increasing it to 256mb.

              From what i Read Rpi4 that doesnt matter, but i did change GPU_mem=256 in /boot/config.txt... Same results.

              sudo git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git

              @mitu said in Error creating SDL Window:

              @cbr_greg said in Error creating SDL Window:

              It worked that way before the update, so i guess i assumed it would continue to work

              What RetroPie version did you have have before the update ? Since it's not supported configuration, there's no guarantee that at some point it will stop working - either by accident or through configuration.

              I'm very new to linux and all this in general, so i'm not entirely sure, but i used the following command to install this morning. and it worked until i updated this afternoon.
              sudo git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git

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

                The memory split won't help. Use the premade image or run outside of the desktop as @mitu has detailed.

                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

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

                  ... but i used the following command to install this morning. and it worked until i updated this afternoon.
                  sudo git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git

                  Then I think the problem is not from the RetroPie update, since there hasn't been any major update in RetroPie in the last 24 hours that would cause this.

                  Post your config.txt on pastebin.com and the EmulationStation log from $HOME/.emulationstation/es_log.txt - after you run it from the console terminal, not from the desktop env.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    cbr_greg @BuZz
                    last edited by

                    @BuZz said in Error creating SDL Window:

                    The memory split won't help. Use the premade image or run outside of the desktop as @mitu has detailed.

                    I am trying to run it outside of the desktop too, and when i run the emulationstation command, the screen just goes black.

                    1 Reply Last reply Reply Quote 0
                    • C
                      cbr_greg @mitu
                      last edited by

                      @mitu said in Error creating SDL Window:

                      ... but i used the following command to install this morning. and it worked until i updated this afternoon.
                      sudo git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git

                      Then I think the problem is not from the RetroPie update, since there hasn't been any major update in RetroPie in the last 24 hours that would cause this.

                      Post your config.txt on pastebin.com and the EmulationStation log from $HOME/.emulationstation/es_log.txt - after you run it from the console terminal, not from the desktop env.

                      config.txt

                      I'm trying to figure out the log but i am still really new to this.

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

                        @cbr_greg said in Error creating SDL Window:

                        I'm trying to figure out the log but i am still really new to this.

                        Then I suggest you don't modify the config.txt until you understand what it entails - especially for overclocking. You have disabled the necessary overlay (dtoverlay=vc4-fkms-v3d) for the Pi4 KMS video drivers. This is what breaks applications that use the GL drivers, including EmulationStation, and not the update you performed.

                        Why did you modify the config.txt ?

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          cbr_greg @mitu
                          last edited by

                          @mitu said in Error creating SDL Window:

                          @cbr_greg said in Error creating SDL Window:

                          I'm trying to figure out the log but i am still really new to this.

                          Then I suggest you don't modify the config.txt until you understand what it entails - especially for overclocking. You have disabled the necessary overlay (dtoverlay=vc4-fkms-v3d) for the Pi4 KMS video drivers. This is what breaks applications that use the GL drivers, including EmulationStation, and not the update you performed.

                          Why did you modify the config.txt ?

                          I did do the overclock because i was trying to play n64 games. however i didn't comment out (dtoverlay=vc4-fkms-v3d). I must have changed that using raspi-config > advanced options > GL Driver... Before I did the fresh install I was trying to setup the pi to boot from ssd, but I gave up on that since its still in beta.

                          I uncommented (dtoverlay=vc4-fkms-v3d) and now i get:
                          (* failed to add service - already in use?)

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

                            @cbr_greg Please re-install from the Pi4 image provided in retropie.org.uk/download. If you want to use the desktop, then you can install it as indicated in the Docs.
                            Before attempting to overclock, just run the games you're interested in and see if you really need to overclock.

                            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.