RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Pi4 - Can RetroPie use X/EGL in Raspbian?

    Scheduled Pinned Locked Moved Ideas and Development
    rpi4retropie
    6 Posts 3 Posters 137 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
      bluestang
      last edited by

      Greetings,

      Due to boredom, I compiled RA with EGL to use both the KMS and X11 environments. The point I'm making is that if I can run RA in the full desktop environment on my Pi4 using EGL and X without significant issues (more below) why not the whole RetroPie build?

      So the bottom-line question is can the build script options of RetroPie be updated for this use case? (run RetroPie on the RPiOS desktop environment)

      Notes:
      I did this on both the 64-bit RPiOS and 32-bit RPiOS. I had some frame drops in the 32-bit OS (21 of 7036) surprisingly, but I think that maybe OS related.

      Also on the 64-bit RPiOS I also could use the Full KMS driver for both environments.

      I'll reiterate that this was just was tested on a RPi4 only.

      RascasR 1 Reply Last reply Reply Quote 0
      • RascasR
        Rascas @bluestang
        last edited by

        @bluestang What is RA ?

        RascasR 1 Reply Last reply Reply Quote 1
        • RascasR
          Rascas @Rascas
          last edited by

          Ok, RetroArch. I will not comment about that because there is people here with more experience and knowledge than me, you will soon get the anwser.

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

            @bluestang said in Pi4 - Can RetroPie use X/EGL in Raspbian?:

            So the bottom-line question is can the build script options of RetroPie be updated for this use case? (run RetroPie on the RPiOS desktop environment)

            Most of them probably already would work already, since they're using SDL2, which supports EGL for GL(ES) context creation and the build scripts - AFAIK - don't disable X11 support.

            why not the whole RetroPie build?

            What advantages would that bring ? We're not using X11 on the Pi/other SBCs, only on x86.

            B 2 Replies Last reply Reply Quote 0
            • B
              bluestang @mitu
              last edited by

              @mitu said in Pi4 - Can RetroPie use X/EGL in Raspbian?:

              @bluestang said in Pi4 - Can RetroPie use X/EGL in Raspbian?:

              So the bottom-line question is can the build script options of RetroPie be updated for this use case? (run RetroPie on the RPiOS desktop environment)

              Most of them probably already would work already, since they're using SDL2, which supports EGL for GL(ES) context creation and the build scripts - AFAIK - don't disable X11 support.

              why not the whole RetroPie build?

              What advantages would that bring ? We're not using X11 on the Pi/other SBCs, only on x86.

              Evidently, again reiterating my point that this has only been tested on my Pi4, but just having a terminal window open in the RPiOS desktop does what I originally posted asking for. It appears you are correct but with the caveat that a terminal window needs to be opened prior.

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

                why not the whole RetroPie build?

                What advantages would that bring ? We're not using X11 on the Pi/other SBCs, only on x86.

                Other than the fact that users can still be in a desktop environment after they quit ES I'm not sure. As for the RPi4 though, it appears that it can use the X11/EGL so long as you have a terminal window open.

                In fact if you open terminal and run ES from it, it pretty much all but guarantees that's the case and well it works.

                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.