RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Fullscreen is always on when starting an arcade game

    Scheduled Pinned Locked Moved Help and Support
    fbneoretroarch.cfg
    18 Posts 5 Posters 2.0k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Since you have modified the stock arcade system config, my guess is you modified some of the video aspect/scale options and this produces scaling you're noticing.

      Remove the retroarch.cfg from your arcade config folder and then re-install lr-fbneo to re-generate it. See if you get the same scaling issue.

      rogeriolR 1 Reply Last reply Reply Quote 0
      • rogeriolR
        rogeriol @mitu
        last edited by

        @mitu it's not the case, but I did what you suggested.

        The same continues, I cannot start an arcade game in window fulscreen only, fullscreen is also enabled every time.

        To illustrate:

        fs enabled (always)
        fs.jpg

        fs game (more borders up and down)
        fsg.jpg

        fs disabled (manual, window fs enabled)
        wfs.jpg

        window fs game (up and down borders smaller, best fit)
        wfsg.jpg

        thanks

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

          Hm, the screenshot you posted doesn't look like the stock RetroArch RGUI config - are you sure you've reset the configuration ? Get a verbose log and post it on pastebin.com.

          rogeriolR 1 Reply Last reply Reply Quote 0
          • ByteThisB
            ByteThis @rogeriol
            last edited by

            @rogeriol I'm sure I saw your post on Reddit about this problem and you said you were not using the Retropie stock image but a 3rd party one. If so.that may be your problem.

            rogeriolR 1 Reply Last reply Reply Quote 1
            • rogeriolR
              rogeriol @ByteThis
              last edited by

              @ByteThis hi, I did not post this anywhere else. I'm using the stock image, latest.

              I found out this problem happens in several cores, if not all. NES, SNES, PSX, MSX.

              Have deleted retroarch config and reinstalled it. Changed the config again to:

              # Start in fullscreen. Can be changed at runtime.
              video_fullscreen = "false"
              

              I just cannot disable fulscreen mode with the config, only manually inside retroarch.

              B 1 Reply Last reply Reply Quote 0
              • B
                barbudreadmon @rogeriol
                last edited by barbudreadmon

                @rogeriol I'm not sure i understand what you are trying to do here. You are running retroarch outside of a desktop environment, so it will always run fullscreen since there is no window manager to run it in windowed mode.
                By "fullscreen", are you maybe refering to wrong aspect ratio and/or integer scaling ?

                FBNeo developer - github - forum

                rogeriolR 1 Reply Last reply Reply Quote 0
                • rogeriolR
                  rogeriol @mitu
                  last edited by

                  @mitu here is the log

                  verbose

                  with this, I figure the culprit is the --appendconfig /dev/shm/retroarch.cfg.

                  This file content (below) sets fulscreen true and it's recreated every time, so no point in editing it. I havent found how this is created or how to disable the -appendconfig when running retroarch... any tips?

                  video_refresh_rate = "60"
                  video_fullscreen = "true"
                  video_fullscreen_x = "1280"
                  video_fullscreen_y = "720"
                  libretro_directory = "/opt/retropie/libretrocores/lr-fceumm"
                  

                  TIA

                  mituM 1 Reply Last reply Reply Quote 0
                  • rogeriolR
                    rogeriol @barbudreadmon
                    last edited by

                    @barbudreadmon should work only window fullscreen, this is what I want, so the game will fit better on the screen.

                    Works manually, I dont see why retroarch cannot start with fullscreen disabled and window fs enabled.

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

                      @rogeriol said in Fullscreen is always on when starting an arcade game:

                      with this, I figure the culprit is the --appendconfig /dev/shm/retroarch.cfg.

                      This file content (below) sets fulscreen true and it's recreated every time, so no point in editing it. I havent found how this is created or how to disable the -appendconfig when running retroarch... any tips?

                      /dev/shm/retroarch.cfg contains the resolution that you chose from the runcommand launch menu to be applied to the core/game. You should check the launch menu to see what resolution you have set there.

                      rogeriolR 1 Reply Last reply Reply Quote 0
                      • B
                        barbudreadmon @rogeriol
                        last edited by barbudreadmon

                        @rogeriol said in Fullscreen is always on when starting an arcade game:

                        so the game will fit better on the screen.

                        This is the part i don't understand as a developer on this project: switching between fullscreen and windowed fullscreen is not supposed to be used to change how a game "fit" on the screen. Looks to me like you are using some kind of weird bug to get around something that you are supposed to handle through integer scaling and/or aspect ratio.

                        To clarify, if windowed fullscreen acts differently from fullscreen as far as how games "fit" on the screen, then this is definitely a retroarch bug and not something intended, it might even be already fixed in the latest version of retroarch (which isn't available on retropie yet ?) since it does sound strangely similar to the issue i fixed in https://github.com/libretro/RetroArch/pull/15247 a few months ago.

                        Nonetheless, if you absolutely want your windowed fullscreen thingy, you might need to set video_windowed_fullscreen in retroarch.cfg.

                        FBNeo developer - github - forum

                        1 Reply Last reply Reply Quote 0
                        • rogeriolR
                          rogeriol @mitu
                          last edited by rogeriol

                          @mitu runcommand launch menu has nothing set on in besides the emulator to use with all games of the same category.

                          It's fetching this from somewhere else. I have set the resolutions on the main config.cfg but
                          video_fullscreen = "false"
                          is not respected, somehow it gets transformed into
                          video_fullscreen = "true" in this appendconfig file.

                          @barbudreadmon I agree, my tv even resyncs when disabling fulscreen manually, but since retroarch cryptic configurations and the high probability to mess things up when changing a lot of configs, I thought it would be easier to just disable fulscreeen at launch, but it's proving to be a challenge as well.
                          video_windowed_fullscreen is set to true since the beginning.

                          sds

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

                            @rogeriol said in Fullscreen is always on when starting an arcade game:

                            It's fetching this from somewhere else. I have set the resolutions on the main config.cfg but
                            video_fullscreen = "false"
                            is not respected, somehow it gets transformed into
                            video_fullscreen = "true" in this appendconfig file.

                            The fullscreen is automatically added by Runcommand, based on your detected resolution. As @barbudreadmon said, since emulators are running 'headless' on the Pi, there's no windowing system present so the emulator window is always 'fullscreen'.

                            Did you modify the config.txt file on the boot partition of your sdcard to force 720p as the video resolution ?

                            rogeriolR 1 Reply Last reply Reply Quote 0
                            • rogeriolR
                              rogeriol @mitu
                              last edited by

                              @mitu I changed resolution on raspi config to 1280 720 to be easier on the rendering, but no mention to Fullscreen here.

                              1280 720 was having an effect on my TV upscale so that borders were huge. Still don't understand why window fs made things better.

                              As a workaround I changed it to 1920 1080 on raspi config so Fullscreen takes the whole area now. Still the setting can't be changed, but the main problem is solved.

                              If I leave the resolution adjust to best fit the tv, 4k is selected and I believe this could tax the rendering on performance in RetroArch.

                              Thanks

                              mituM dankcushionsD 2 Replies Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator @rogeriol
                                last edited by

                                @rogeriol said in Fullscreen is always on when starting an arcade game:

                                Still the setting can't be changed, but the main problem is solved.

                                You can still change the rendering resolution from the Runcommand launch menu, overriding the default one. 1080p is a good compromise though - 4k is a bit much for the GPU rendering.

                                1 Reply Last reply Reply Quote 0
                                • dankcushionsD
                                  dankcushions Global Moderator @rogeriol
                                  last edited by dankcushions

                                  @rogeriol said in Fullscreen is always on when starting an arcade game:

                                  If I leave the resolution adjust to best fit the tv, 4k is selected and I believe this could tax the rendering on performance in RetroArch.

                                  https://retropie.org.uk/docs/Pi4/#4k-video-display

                                  @rogeriol said in Fullscreen is always on when starting an arcade game:

                                  I changed resolution on raspi config to 1280 720 to be easier on the rendering

                                  pi4 is very capable of doing 1080p so i would use that, using the method in the previous link.

                                  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.