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

    Announcing Pegasus Frontend

    Scheduled Pinned Locked Moved Ideas and Development
    frontendpegasusc++developmentqml
    1.7k Posts 145 Posters 5.1m 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.
    • lilbudL
      lilbud @AndersHP
      last edited by lilbud

      @AndersHP In my eyes, it is a frontend that was built from scratch with all kinds of features added from the beginning, rather than taking 2 year old code and trying to shove changes in.

      Artists depiction of Emulationstation with all of these features:
      0_1496496351572_46406938-7f96-42cf-98bc-84870de3a6bb-image.png

      Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

      Backlog: http://backloggery.com/lilbud

      1 Reply Last reply Reply Quote 1
      • DarksaviorD
        Darksavior @AndersHP
        last edited by

        @AndersHP That is what I'm hoping. I'm anxiously waiting for a working build I can easily install.

        1 Reply Last reply Reply Quote 1
        • fluffypillowF
          fluffypillow
          last edited by

          Me when I see that people like Pegasus: alt text

          lilbudL 1 Reply Last reply Reply Quote 2
          • lilbudL
            lilbud @fluffypillow
            last edited by lilbud

            @fluffypillow Is Pegasus going to have the same views as ES, simple, detailed, video, etc. ?

            Sidenote, if you need any graphics, just let me know.

            Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

            Backlog: http://backloggery.com/lilbud

            1 Reply Last reply Reply Quote 1
            • ?
              A Former User
              last edited by

              Let me know too.

              1 Reply Last reply Reply Quote 1
              • fluffypillowF
                fluffypillow
                last edited by

                Thanks, actually, I was thinking about collecting the different asset types in separate GitHub repos: there could be a repo for colored system logos, one for white-only logos, or another for platform controller icons (like you can see on lakka.tv's front page; I wonder where are those from?). So kind of like themes, but without the ES-specific XML files. I think assets like system logos are usually not customized as often as eg. backgrounds, so with this method you could create separate asset packs, and when you start working on a new theme, you can just pull the one that feels right for your project. I could also imagine a theme and separate icon/logo set mixing feature in the program itself too (in the far future).

                As for the views, there is no such settings yet. Since the simple and detailed views look completely different, instead of forcing one theme to support all kinds of user configurations, and keeping the theme updated when a new type of view is added (like video mode), I think creating separate themes would be more maintainable.

                lilbudL 1 Reply Last reply Reply Quote 0
                • lilbudL
                  lilbud @fluffypillow
                  last edited by

                  @fluffypillow said in Announcing Pegasus Frontend:

                  I wonder where are those from?

                  https://github.com/libretro/retroarch-assets/tree/master/xmb/systematic/png

                  How will theme creation work? Would it be done with the Qt Creator?

                  Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                  Backlog: http://backloggery.com/lilbud

                  1 Reply Last reply Reply Quote 0
                  • fluffypillowF
                    fluffypillow
                    last edited by

                    @lilbud oh nice, thanks. There's a drag-and-drop kind of layout designer in Qt Creator, but it's so slow on my PC I can't use it. It can help learning the basic layout and item types at the beginning though. I've found the regular text editor in Qt Creator comfortable enough (auto complete, jump to definition, debug tools, ...), but as with XML, you can use any other editor if you want.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      shantigilbert @fluffypillow
                      last edited by

                      @fluffypillow sorry to keep bothering you about this, I think I am very close to getting this to work on my Amlogic S905 using Libreelec but I ran into a problem I am not sure why its happening:

                      qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

                      do you have any udea why its trying to use qt4 instead of qt5 to compile ?

                      I am sure it has to be something on my system but I cannot figure it out :(

                      1 Reply Last reply Reply Quote 0
                      • fluffypillowF
                        fluffypillow
                        last edited by

                        @shantigilbert There's probably a different qmake in your $PATH (eg. under /usr/bin/), or you have an old package called qtchooser installed, which tends to set up some weird symlinks (but x64 on an ARM? Wow).

                        It's not really a problem though, you can have more than one Qt setup. Just call your own qmake directly (/path/to/my/qmake [params]). Make sure the libs are installed to the location you've set during the Qt build.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          shantigilbert @fluffypillow
                          last edited by

                          @fluffypillow I am cross compiling so x64 is not running on ARM, but I compile and installed QT5, I don't think I ever installed QT4 at all, so not sure why its trying to call it in that path.

                          1 Reply Last reply Reply Quote 0
                          • fluffypillowF
                            fluffypillow
                            last edited by

                            @shantigilbert for some reasonqtchooser is a dependency of some Qt4-based programs on Debian, it might've been installed with your system. But as long as you either you directly call your own qmake or make it so it's the first qmake in your $PATH, compilation should work fine.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              shantigilbert @fluffypillow
                              last edited by

                              @fluffypillow Well I finally got it to work someway or the other, now unfortunately when I try to run the FE itself I get this error:

                              This application failed to start because it could not find or load the Qt platform plugin "xcb"
                              in "".

                              Available platform plugins are: linuxfb, minimal, offscreen, vnc.

                              Reinstalling the application may fix this problem.
                              Aborted (core dumped)

                              QT was compiled without xcb (as per your instructions) is there a way to tell pegasus not tu use xcb?

                              1 Reply Last reply Reply Quote 0
                              • fluffypillowF
                                fluffypillow
                                last edited by

                                @shantigilbert hm it sounds like the embedded graphics plugin (eglfs) is not available; either it has some missing library dependencies, or it was not build. Here's what you can do:

                                • Check that [QTDIR]/plugins/platforms/libqeglfs.so does exist
                                • If it's there, it was built correctly, but it might have some separate dependencies (I think if it found touchscreen libs during the build, it tries to access them on the device too). Post the output of ldd /path/to/libqeglfs.so, which will tell what it needs exactly.
                                • If it's not there, it was not build for some reason -- make sure that sou see EGL detected on the output of the Qt configure script (there should be a backup of that in config.summary). You should see EGL: yes, OpenGL ES 2.0: yes, EGLFS: yes and and EGLFS Mali: yes on the output.
                                1 Reply Last reply Reply Quote 0
                                • S
                                  shantigilbert
                                  last edited by

                                  I did a recompile making sure eglfs was there, and now this is the error:

                                  This application failed to start because it could not find or load the Qt platform plugin "xcb"
                                  in "".

                                  Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc.

                                  Reinstalling the application may fix this problem.
                                  Aborted (core dumped)

                                  when I do ldd libqeglfs.so this is the result:

                                  /usr/lib/libarmmem.so (0xf74a2000)
                                  libQt5EglFSDeviceIntegration.so.5 => /usr/local/qt5/lib/libQt5EglFSDeviceIntegration.so.5 (0xf746b000)
                                  libQt5Gui.so.5 => /usr/local/qt5/lib/libQt5Gui.so.5 (0xf7097000)
                                  libQt5Core.so.5 => /usr/local/qt5/lib/libQt5Core.so.5 (0xf6bfc000)
                                  libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf6ab7000)
                                  libc.so.6 => /usr/lib/libc.so.6 (0xf6982000)
                                  libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf68fb000)
                                  libEGL.so => /usr/lib/libEGL.so (0xf67e2000)
                                  libpthread.so.0 => /usr/lib/libpthread.so.0 (0xf67ba000)
                                  libdl.so.2 => /usr/lib/libdl.so.2 (0xf67a5000)
                                  libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xf6779000)
                                  libz.so.1 => /usr/lib/libz.so.1 (0xf6766000)
                                  libm.so.6 => /usr/lib/libm.so.6 (0xf66e8000)
                                  librt.so.1 => /usr/lib/librt.so.1 (0xf66d1000)
                                  /usr/lib/ld-linux-armhf.so.3 (0xab243000)
                                  libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xf66b2000)
                                  

                                  I made a pastebin of config.sumary

                                  https://pastebin.com/gXqJZ9Gh

                                  Thanks for the help!

                                  1 Reply Last reply Reply Quote 0
                                  • fluffypillowF
                                    fluffypillow
                                    last edited by

                                    Progress of week 11 (I think?):

                                    • The gamepad config screen is now functional: https://webmshare.com/QPnKL It's not 100% complete, but it works, so I think I'll check some other features now. The gamepad image is a bit meh, I'll redraw it later.
                                    • Qt 5.9 is now out, it has performance and memory consumption improvements. I'm experimenting with its build system, trying to find the best build parameters I'd use for a release.
                                    lilbudL 1 Reply Last reply Reply Quote 0
                                    • fluffypillowF
                                      fluffypillow
                                      last edited by

                                      @shantigilbert the config seems fine (though I think you'll need GStreamer 1.0 if you want video support), and the EGL plugin has all the dependencies too. Now that it's available, running Pegasus like this: pegasus-fe -platform eglfs should work. Alternatively, seting the QT_QPA_PLATFORM=eglfs env var should work too.

                                      S 1 Reply Last reply Reply Quote 0
                                      • lilbudL
                                        lilbud @fluffypillow
                                        last edited by

                                        @fluffypillow said in Announcing Pegasus Frontend:

                                        gamepad image is a bit meh

                                        What happened to the gamepad image that @Rookervik drew?

                                        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                        Backlog: http://backloggery.com/lilbud

                                        1 Reply Last reply Reply Quote 0
                                        • fluffypillowF
                                          fluffypillow
                                          last edited by

                                          I still have it, but I'd like to avoid looking too close to one specific device (though, per-device images would be possible too).

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            sselph
                                            last edited by

                                            @fluffypillow Hi, I haven't been paying much attention to the forums but someone mentioned your project and it looks nice. I wanted to let you know that it you want to add the ability to scrape from within your app, let me know. I can and have played around with compiling my scraper as a C shared library.

                                            At one point I had it working in ES but never followed up and got it pushed out. It was also not great since it was hacking around ES's UI, since I didn't know enough to change it.

                                            I know you probably have higher priority issues to solve but when you get to something like that feel free to reach out to me on github.

                                            Auto-scraper: https://github.com/sselph/scraper
                                            Donate to Extra-Life 2018 and help save lives: https://goo.gl/diu5oU

                                            1 Reply Last reply Reply Quote 3
                                            • 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.