Default theme stretches on failed game launch



  • 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)
    

  • Global moderator Translator
    Translation Master
    Tester
    Global moderator

    @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?



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



  • Any ideas anyone? Is this a bug with Recalbox?


  • Global moderator Translator
    Translation Master
    Tester
    Global moderator

    @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?



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



  • 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



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



  • @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....


  • Global moderator Translator
    Translation Master
    Tester
    Global moderator

    @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?



  • 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



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



  • 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 🙂



Want to support us ?

337
Online

82.0k
Users

22.5k
Topics

163.0k
Posts