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.
    • R
      retrolang @Darksavior
      last edited by retrolang

      I can also reproduce @Darksavior 's bug, but only with a keyboard. I can't scroll fast enough with a controller for it to occur. I need to hold down the down arrow key on a keyboard to make it happen. Don't really see any errors at the command line but: this one: glGetGerror 0x505, not sure it's related though. If you scroll back up, previously loaded images disappear and will fail to load.

      0_1500445449367_IMAG1161.jpg

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

        @retrolang Yes, I managed to exit pegasus with the distorted image to see the same error. I did use a keyboard to scroll since pegasus won't use my dpad to control the menu, but it does SEE the dpad as an analog stick for some reason..

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

          I can also confirm the bug on Pi 3 + keyboard (though it also freezes for me sometimes). The bug appears somewhere between #39 and #45; I'm trying to find out which commit exactly. It seems something causes Pegasus to go out of memory (that's the OpenGL error 0x505).

          pjftP 1 Reply Last reply Reply Quote 0
          • pjftP
            pjft @fluffypillow
            last edited by

            @fluffypillow That's video/texture memory. You're trying to load textures but the GPU memory is not available.

            You can check by running

            sudo vcdbg reloc
            

            When that happens.

            You may want to implement something similar to ES Video RAM's texture cycling - but addressing the current implementation's shortcomings :)

            Happy to chat if it'd help.

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

              @pjft GPU memory and textures are handled by the Qt library -- which I've recently updated on the build server to 5.9.1. It's supposed to be a minor maintenance/bugfix release to 5.9, but as it turned out it was the cause of the bug. So for now I'll revert to 5.9, and try to report the bug to the Qt devs.

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

                Here's another weekly changelog:

                • added file logging
                  • log file is saved to CONFIGDIR/lastrun.log, where CONFIGDIR is ~/.config/pegasus-frontend on Linux and C:\Users\<UserName>\AppData\Roaming\pegasus-frontend OR C:\Users\<UserName>\AppData\Local\pegasus-frontend on Windows
                • added external theme support
                  • TODO: add documentation
                • new experimental Qt 5.9 build
                  • libinput is no longer required
                  • fixed missing libpng error on Ubuntu 17.04
                1 Reply Last reply Reply Quote 2
                • R
                  red2blue
                  last edited by

                  You should totally make a netflix style theme with this...

                  Basically using Box art but scrolling horizontal.

                  When you hover over the game, on top right it shows video [like netflix] top left it shows the wheel [like netflix showing movie logo] with description underneath and rating under that.

                  Then if you press the down button on controller, you can browse the next system like netflix. for example

                  [ - - - - - - - - - - - -- - - - - -- - - - - - - - - -- - - - - - - -- - - - - - - -- - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - -- - - - -- - - - -- - - - -- ]

                      GAME MARQUEE HERE      
                  
                    GAME DESCRIPTION HERE                                      GAME VIDEO PREVIEW HERE        
                    
                      GAME Rating Here
                  
                  
                  
                             SYSTEM CATEGORY HERE [NES]
                    •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• 
                  
                             SYSTEM CATEGORY [SNES]
                    •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• 
                  
                             SYSTEM CATEGORY [ARCADE]
                    •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• •Boxart• 
                  
                  
                              etc etc etc
                  

                  [ - - - - - - - - - - - -- - - - - -- - - - - - - - - -- - - - - - - -- - - - - - - -- - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - -- - - - -- ]

                  1 Reply Last reply Reply Quote 0
                  • DarksaviorD
                    Darksavior
                    last edited by Darksavior

                    Minor bug that's existed for a while, maybe since it's creation. The keyboard stops working when going to retropie-setup or any of those type of menus like adjusting the alsamixer.

                    The only reason I bring this up now is that a recent update to retropie, maybe .10 or .11, something changed that made my snes pad buttons to stop working in those menus. The dpad works in those menus. No issues in all emulators, ES, Pegasus (not the dpad though, since it sees dpad as analog sticks for some reason, but I'm hoping to be able to have the ability to remap in the future). I believe this to be an isolated problem with the gamecon driver and retropie only, not Pegasus. (update, problem fixed)

                    With Pegasus or ES, Usb pads work in retropie-setup menu and alsamixer, but it won't allow me to exit the mixer menu. That's limited to ESC on kb, which doesn't work if launched from Pegasus.

                    So if I want to update retropie or go to any of those menus with kb only, I must exit pegasus, boot to ES, then keyboard works.

                    1 Reply Last reply Reply Quote 0
                    • PokeEngineerP
                      PokeEngineer @fluffypillow
                      last edited by

                      @fluffypillow said in Announcing Pegasus Frontend:

                      • gamelist reading and asset finding speed optimizations: currently loading ~1000 games, all with videos, box front, screenshot and logo takes less than 2 seconds on a Pi 3, and less than 10 seconds on a first gen Pi 1; these numbers may improve later

                      Wow. Just freaking wow. That is amazing!

                      Don't sweat it.
                      When in doubt, take a BYTE out of life.

                      😎

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

                        @pokeengineer You're late, we already did our reactions.

                        lilbudL 1 Reply Last reply Reply Quote 0
                        • lilbudL
                          lilbud @A Former User
                          last edited by

                          @PokeEngineer You are about 3 months late on reactions.

                          alt text

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

                          Backlog: http://backloggery.com/lilbud

                          PokeEngineerP 1 Reply Last reply Reply Quote 2
                          • PokeEngineerP
                            PokeEngineer @lilbud
                            last edited by

                            @lilbud

                            Yeah, I know.

                            Don't sweat it.
                            When in doubt, take a BYTE out of life.

                            😎

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

                              @fluffypillow In trying pegasus-fe_alpha2-77-gd928551_rpi2-static, none of my pictures are showing anymore. What are the new filenames it's looking for? Looks like jpg is no longer supported and -image seem to be the replacement for -boxFront but I don't know the rest. I also can't add any new -image.png files. It will only read the existing -image.png I accidentally left there previously.

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

                                @Darksavior Yeah there've been lots of changes this week -- I'll finish up some patches then write a changelog!

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

                                  Okay, here are this week's main features:

                                  • Improved ES2 compatibility
                                    • added support for <rating>
                                    • fixed <releasedate> and <lastplayed> parsing
                                    • added support for <image> (used as box front image), <marquee> and <video> tags
                                    • in practice this means if an image shows up in ES, it should also show up in Pegasus without any changes
                                    • with these changes all <game>-related tags are supported (except <thumbnail>, because it's not used anyway)
                                  • Rewrote the asset loading
                                    • ~/.emulationstation/downloaded_images is no longer scanned (as the <image> tag is now supported)
                                    • [romdir]/media is scanned just as before, it wasn't changed
                                    • developers: the code got cleaner and more extendable, it'd be possible to eg. add attractmode compatibility
                                  • Audio support in the theme API
                                    • every game can have its own music
                                    • at the moment, MP3, OGG and WAV files are searched
                                    • like the other assets, the sound file's name should match the rom's file name; optionally, it can also have the -music suffix (eg. MyGame.ogg or MyGame-music.mp3)
                                    • at the moment there are no themes that actually use music
                                  • Performance optimizations (loading should be even faster!), translation file updates, bugfixes
                                  • Netflix theme!
                                    • video here
                                    • source repo here (put the repo into ~/.config/pegasus-frontend/themes/, then change the theme in the settings)

                                  0_1501445288329_flixnet_theme.jpg

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

                                    @fluffypillow That's great! But I still don't know how to get my pictures to show again-_-;
                                    They do show up in ES.

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

                                      @Darksavior ah I might've forgot to handle ~ in the ES2 <image> paths, so they'll probably fail, yes. I'll double check that tomorrow.

                                      Other than that, images in [romdir]/media should load fine.

                                      DarksaviorD lilbudL 2 Replies Last reply Reply Quote 1
                                      • DarksaviorD
                                        Darksavior @fluffypillow
                                        last edited by

                                        @fluffypillow Thank you, that works, but it still uses the old supported -boxFront,etc and not -image. I'll wait for your corrections instead. I also won't need to rename after using selph's scraper, heh.

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

                                          @fluffypillow So the images we scraped with ES won't work with Pegasus?

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

                                          Backlog: http://backloggery.com/lilbud

                                          TMNTturtlguyT DarksaviorD 2 Replies Last reply Reply Quote 0
                                          • TMNTturtlguyT
                                            TMNTturtlguy @lilbud
                                            last edited by

                                            @lilbud they should, he explains this in the change log just above.

                                            PokeEngineerP 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.