Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Default theme stretches on failed game launch

    Recalbox General
    default theme stretches failed launch
    5
    15
    1704
    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.
    • stigzler
      stigzler last edited by

      Hi all,

      I've started having a problem with themes when a games fails to launch. When I come back to Emulation Station, the theme is stretched beyond to bounds of the screen, meaning I can only see the bottom left of the screen. Restarting ES doesn't help, I have to reboot recalbox. Could anyone advise on how to stop this? m(aside from not having non-launching games)

      log/messages:

      Feb  1 11:42:47 RECALBOX authpriv.info dropbear[1455]: Exit before auth: Timeout before auth
      

      emulationStation Log:

      [2021/02/01 11:44:19.270] (INFO ) : Loading music /recalbox/share_init/system/.emulationstation/themes/recalbox-next/music/Recalbox Main Theme 07 - TETRIS - by djpostka.ogg
      [2021/02/01 11:44:19.291] (INFO ) : AudioManager: Theme music found (From theme folder).
      [2021/02/01 11:44:19.292] (INFO ) : Playing Recalbox Main Theme 07 - TETRIS - by djpostka
      [2021/02/01 11:44:37.270] (INFO ) : Launching game...
      [2021/02/01 11:44:37.270] (INFO ) : Set Sony PLAYSTATION(R)3 Controller for player 0 (default)
      [2021/02/01 11:44:37.270] (INFO ) : Configure emulators command :  -p1index 0 -p1guid 050000004c0500006802000000800000 -p1name "Sony PLAYSTATION(R)3 Controller" -p1nbaxes 6 -p1nbhats 0 -p1nbbuttons 17 -p1devicepath /dev/input/event1
      [2021/02/01 11:44:37.270] (INFO ) : Controllers config :  -p1index 0 -p1guid 050000004c0500006802000000800000 -p1name "Sony PLAYSTATION(R)3 Controller" -p1nbaxes 6 -p1nbhats 0 -p1nbbuttons 17 -p1devicepath /dev/input/event1
      [2021/02/01 11:44:37.271] (INFO ) : Shutting down SDL AUDIO
      [2021/02/01 11:44:37.788] (INFO ) : 	python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.pyc  -p1index 0 -p1guid 050000004c0500006802000000800000 -p1name "Sony PLAYSTATION(R)3 Controller" -p1nbaxes 6 -p1nbhats 0 -p1nbbuttons 17 -p1devicepath /dev/input/event1 -system msx1 -rom /recalbox/share/roms/msx1/Night\ Knight\ \(Juan\ J.\ Martínez\).rom -emulator libretro -core bluemsx -ratio auto 
      [2021/02/01 11:44:37.789] (INFO ) : No pad2keyb configuration.
      [2021/02/01 11:44:37.789] (INFO ) : [Hardware] Start in-game Hardware processes
      [2021/02/01 11:44:37.789] (INFO ) : [MQTT] Publishing to tcp://127.0.0.1:1883 from recalbox-emulationstation OK!
      [2021/02/01 11:44:38.823] (INFO ) : [Hardware] Start in-game Hardware processes
      [2021/02/01 11:44:38.824] (WARN!) : ...launch terminated with nonzero exit code 1!
      [2021/02/01 11:44:38.824] (INFO ) : Creating surface...
      [2021/02/01 11:44:38.825] (INFO ) : [MQTT] Publishing to tcp://127.0.0.1:1883 from recalbox-emulationstation OK!
      [2021/02/01 11:44:38.833] (INFO ) : [Video] Resolution: 1920,1080
      [2021/02/01 11:44:38.840] (INFO ) : Created window successfully.
      [2021/02/01 11:44:38.845] (INFO ) : Activating vertical sync'
      [2021/02/01 11:44:38.846] (INFO ) : Normal VSync' activated.
      [2021/02/01 11:44:38.846] (INFO ) : Checking available OpenGL extensions...
      [2021/02/01 11:44:38.847] (INFO ) :  ARB_texture_non_power_of_two: MISSING
      [2021/02/01 11:44:39.079] (INFO ) : Loaded 21 configuration entries for device Sony PLAYSTATION(R)3 Controller
      [2021/02/01 11:44:39.079] (WARN!) : Added joystick Sony PLAYSTATION(R)3 Controller (GUID: 050000004c0500006802000000800000, Instance ID: 5, Device Index: 0, Axis: 6, Hats: 0, Buttons: 17)
      [2021/02/01 11:44:39.890] (INFO ) : SDL AUDIO Initialized
      [2021/02/01 11:44:39.891] (INFO ) : Loading music /recalbox/share_init/system/.emulationstation/themes/recalbox-next/music/Recalbox Main Theme 02 - by machette.ogg
      [2021/02/01 11:44:39.892] (INFO ) : AudioManager: Theme music found (From theme folder).
      [2021/02/01 11:44:39.892] (INFO ) : Playing Recalbox Main Theme 02 - by machette
      [2021/02/01 11:44:40.039] (INFO ) : [MQTT] Publishing to tcp://127.0.0.1:1883 from recalbox-emulationstation OK!
      [2021/02/01 11:44:40.060] (INFO ) : Reinitialize because of joystick added/removed.
      [2021/02/01 11:44:40.329] (INFO ) : Loaded 21 configuration entries for device Sony PLAYSTATION(R)3 Controller
      [2021/02/01 11:44:40.329] (WARN!) : Added joystick Sony PLAYSTATION(R)3 Controller (GUID: 050000004c0500006802000000800000, Instance ID: 6, Device Index: 0, Axis: 6, Hats: 0, Buttons: 17)
      
      Zing 1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator @stigzler last edited by

        @stigzler What is your hardware?
        What's your version of Recalbox (say the version, don't say "the last one")?
        Did you build your Recalbox yourself, or download a ready-made image from the internet, or did you buy everything ready?

        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

        1 Reply Last reply Reply Quote 0
        • stigzler
          stigzler last edited by

          Hi Zing

          Raspberry Pi 3 b+
          Version 7.1.1-Reloaded
          Installed via RaspberryPi Imager

          Video of the problem:

          https://youtu.be/R8xrsoRM_a0

          It's not just on MSX, it's also on C64 and others, I'm sure.

          1 Reply Last reply Reply Quote 0
          • stigzler
            stigzler last edited by

            Any ideas anyone? Is this a bug with Recalbox?

            Zing 1 Reply Last reply Reply Quote 0
            • Zing
              Zing Global moderator Translator @stigzler last edited by

              @stigzler Strange, have you modified any image settings? Smoothing? Overlay? Pixel Perfect?
              With a clean configuration, without modifications, this should not happen.

              Can you test on another monitor / TV?

              Or, can you redo the installation and try with a clean installation?

              Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
              If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

              1 Reply Last reply Reply Quote 0
              • RustyMG
                RustyMG last edited by

                I have also just had this problem.
                Setup an old Pi2 with clean install of 7.11, copied over a few systems, loaded up my first game to try it out, Sanxion tape version on the c64, and when I exited back out, it did exactly as shown in your video.

                Just tried Crash Bandicoot on PSX and on exiting game it did the exact same.

                Im sure its the front end theme related.
                I had made a few changes, to large screen pic, light background and a few other changes and it appeared to lower the resolution - id manually set mine at 720p in the config file.

                Going to try and put theme / front end back to normal to see if that fixes it.

                Sinclair ZX Spectrum 48k "dead flesh" keyboard, Commodore 64, Amiga A500, Amiga A1200, CD32, PC Engine, PS1, PS2, PSP, Nintendo DS, Dreamcast, Wii, XBox 360, Xbox One-X, Pi2, Pi3, Pi4 owner, ARRM contributor ( http://jujuvincebros.fr/wiki/arrm/doku.php ).

                1 Reply Last reply Reply Quote 1
                • stigzler
                  stigzler last edited by

                  Yes. I'm wondering whether it's theme related. I did a reinstall via pi imager and then incrementally recreated what I did on the malfunctioning installation. So far, nothing has recreated the error.

                  The only things I can put it down to is using installing NextPixel theme on my malfunctioning installation. IN the video - I've reverted to the default theme. Now on the malfunctioning one, I had next pixel 720p installed (read some advice that if running on pi 3, use 720p for some reason). However, Have the 1080p on the working install, so wondering whether it's got something to do with the 720p version..

                  Will investigate further once I have some time.

                  Thanks for the contribution, @RustyMG

                  1 Reply Last reply Reply Quote 0
                  • RustyMG
                    RustyMG last edited by

                    Oooh, first thing i did was enter the CEA 4 mode (cant remember exactly) to force Recalbox to 720p to save on video RAM...

                    May try leaving alone to see what happens.....

                    Sinclair ZX Spectrum 48k "dead flesh" keyboard, Commodore 64, Amiga A500, Amiga A1200, CD32, PC Engine, PS1, PS2, PSP, Nintendo DS, Dreamcast, Wii, XBox 360, Xbox One-X, Pi2, Pi3, Pi4 owner, ARRM contributor ( http://jujuvincebros.fr/wiki/arrm/doku.php ).

                    1 Reply Last reply Reply Quote 0
                    • stigzler
                      stigzler last edited by

                      @Zing OK - so after a few days of thinking it was my modifying things or the way I installed things and changing things as a result, it turns out it is a bug in Recalbox's vanilla install. See the video below for an example:

                      https://youtu.be/encKNBAfjNo

                      Basically, on a fresh install, C64>Rescuing Orc launches fine. However, if you change Games Settings>Shaders Set to Scanlines, it produces the stretched image error + the game does not load.

                      Weirdly, if you return the setting to none, the game will not load again. I have also confirmed the same behaviour on the MSX game, Night Knight (whilst not in the video, it runs fine prior to changing the Shader Sets to scanlines).

                      I haven't tested each and every system, but I'm sure this bug will be there for other systems.

                      I'll see if there's a bug report system somewhere for rb. 3 days of my life I won't get back on the theory that it couldn't be a fault with recalbox....

                      Zing 1 Reply Last reply Reply Quote 0
                      • Zing
                        Zing Global moderator Translator @stigzler last edited by Zing

                        @stigzler
                        If you edit the videomode in recalbox.conf on the line:
                        system.es.videomode=
                        The game does not start, but, you no longer have the "problem with theme stretches".

                        I did some tests here and reproduced the problem, but I couldn't help noticing one thing:

                        Rescuing Orc
                        Night Knight

                        Both games are from the same developer:
                        Juan J. Martínez

                        And, in both games, the developer name is in the file name, and, I tested renaming the file name by removing the accent from the i, changing to Juan J. Martinez. I changed the name of the picture, and edit the gamelist.
                        After that, the problem didn't happen anymore.

                        Can you test?

                        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                        1 Reply Last reply Reply Quote 0
                        • stigzler
                          stigzler last edited by

                          Well surely this is still a bug in Recalbox if it can't handle accents in game names/files? Any launcher should be able to handle these as there's potentially thousands!

                          Also, recalbox are including two files in its release that will cause this bug. Again, this would need some consideration by the developers?

                          I'm not wishing to sound ungrateful. As someone who's written a lot of software and completed a lot of projects for the retro gaming community, I know how much work they can be and how ungrateful others can be. However, if this was happening on one of my apps, it would be my issue to sort. I wouldn't ask users to ensure that none of their game files had accents in. It shouldn't be a mammoth coding task (just an encoding issues, most likely).

                          Here's the issue ticket if you want to update it:

                          https://gitlab.com/recalbox/recalbox/-/issues/1542

                          I will also post a link their to this thread.

                          best wishes

                          1 Reply Last reply Reply Quote 0
                          • stigzler
                            stigzler last edited by

                            Confirmed: amending the accent in all the references solves the problem.

                            1 Reply Last reply Reply Quote 0
                            • Pitch64
                              Pitch64 Staff last edited by

                              Usually, it's not recommended to have accents in the rom name. As example, at No-Intro, accents are not allowed in rom names following their naming convention. 🙂

                              I'm not sure if this will be considered as a bug by devs, we'll see 🙂

                              Pi4 8gb / Pi5 4gb / Pi02W / OGS / PC
                              Next release? Soon™

                              davidb2111 stigzler 2 Replies Last reply Reply Quote 0
                              • davidb2111
                                davidb2111 Staff @Pitch64 last edited by

                                @Pitch64 True, but that game is shipped with Recalbox, so we have to make it works 🙂

                                Thanks @stigzler for your bug report, we will check that.

                                1 Reply Last reply Reply Quote 1
                                • stigzler
                                  stigzler @Pitch64 last edited by

                                  @Pitch64 - I take your point, but as a front end developer myself, you just can't dictate to your users that they can't use any romsets with accented characters in. There a lot of problems with this. Firstly, you may have a set of 2000 where only 3 have an accented filename. You can't ask a user to go through all 2000 and weed out the accented ones. Also, users may lose games without their knowing. I'm also aware that recalbox is french, therefore it would surprise me if they would try to force the anglicisation of all game names (what about french games with a french title?).

                                  The solution is often in things such as database encoding setup etc and shouldn't be too hard a fix. Essentially, I'm easy, but good design would dictate an accommodation of accented game names.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Want to support us ?

                                  64
                                  Online

                                  99.6k
                                  Users

                                  28.1k
                                  Topics

                                  187.1k
                                  Posts

                                  Copyright © 2021 recalbox.com