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

    [SDL2] upgrade to a newer version?

    Help and Support
    sdl2 upgrade question
    3
    7
    171
    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.
    • nemo93
      nemo93 last edited by

      Disclaimer: apologize if that's not the right space to post this (or if it's not ok to ask for such thing). Feel free to close this one off in that case.

      I wonder if a new SDL2 version will soon be merged into Retropie. Currently it is stuck to 2.0.10 (which I guess is a tailor-made release with custom patches etc). Current SDL2 stable is 2.0.22 (as of typing).

      This might be an issue for some emulator(s) even if I understand other can break with a newer version. On the latter I saw your attempt to bring 2.0.20 thanks to this PR which seemed to cause issues indeed.

      If there's a better place to discuss this please let me know.

      Thanks again for all the support provided and for the amazing platform Retropie is for us to enjoy retrogaming!
      Take care.

      BuZz 1 Reply Last reply Reply Quote 1
      • BuZz
        BuZz administrators @nemo93 last edited by

        @nemo93 throughout the updates we have been closely watching SDL. Testing and debugging issues. Unfortunately there's some problems we still need sorting. Eg. https://github.com/libsdl-org/SDL/issues/5399

        joolswills created this issue in libsdl-org/SDL

        open SDL_GL_LoadLibrary / SDL_GL_GetProcAddress fails with KMSDRM backend. #5399

        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

        1 Reply Last reply Reply Quote 2
        • nemo93
          nemo93 last edited by nemo93

          Hi, I didn't want to raise another topic for the below in order to keep things in one place. It's a little bit the same ask yet for gcc this time.

          Another emu (DOSBox Staging) demands gcc 9 as a minimum to compile. Currently Retropie ships with 8.3which is no longer supported. I'll update Staging's Retropie script to stick to the (soon deprecated) 0.78.1 stable release. No big deal but I start to think I'm a jinx :-D

          If you don't mind I'll keep reporting such issues to keep track. If you do have a better place to discuss this please let me know. Same if you do have any beta of an upcoming 5.0 Retropie I'd be happy to help test it.

          Thanks again!

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

            @nemo93 said in [SDL2] upgrade to a newer version?:

            Another emu (DOSBox Staging) demands gcc 9 as a minimum to compile. Currently Retropie ships with 8.3which is no longer supported.

            When was this change added ? Is it a direct requirement of dosbox-staging or some 3rd party dependency that's required ?

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

              @mitu a 3rd party lib does require gcc 9. The upcoming release (0.79) of Staging is imminent and I was about to run into an extensive testing session. I can't tell you when this lib was merged in though as it's been a while I haven't tested Staging.

              An alternative would be to cross-compile 0.79 and provide only the binary in Retropie's menu. But I do love the ability to compile stuff from source :-)

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

                @nemo93 said in [SDL2] upgrade to a newer version?:

                a 3rd party lib does require gcc 9.

                Ah, I see it. Though not declared in the build configuration, it has an assert in the actual code that breaks everything. Mumble, mumble.. that's why we can't have nice things.

                We can probably select the branch based on the compiler major version, as we do for OpenMSX.

                EDIT: or may we caught a lucky break.

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

                  @mitu said in [SDL2] upgrade to a newer version?:

                  EDIT: or may we caught a lucky break.

                  Indeed you linked the PR we discussed about. It will be merged in soon meaning I'll be able to proceed with testing of Staging's upcoming release. It should be going fine yet count on me to report anything should I hit another roadblock.

                  As usual thanks a lot for your assistance and always swift replies. Truly appreciated.

                  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.