• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Border Issues, Black Bars, and Screen Stretch

Scheduled Pinned Locked Moved Help and Support
screen stretchblackbarsbordersstretch
29 Posts 4 Posters 16.5k 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.
  • B
    BingoLittle @dankcushions
    last edited by 28 Jul 2016, 09:57

    @dankcushions Hi - sorry, yes at the moment my games are in the /home/pi/RetroPie/roms/arcade/ folder.

    D F 2 Replies Last reply 28 Jul 2016, 10:00 Reply Quote 1
    • D
      dankcushions Global Moderator @BingoLittle
      last edited by 28 Jul 2016, 10:00

      @BingoLittle ok, that explains the very sparce mame-mame4all/retroarch.cfg :)

      could you paste /opt/retropie/configs/arcade/retroarch.cfg please? the problem is either there, or at least we can try some other settings :)

      B 1 Reply Last reply 28 Jul 2016, 15:47 Reply Quote 0
      • F
        Floob @BingoLittle
        last edited by 28 Jul 2016, 10:48

        @BingoLittle Out of interest is that composite out, so do you have the following in your config.txt?

        sdtv_mode=2
        sdtv_aspect=1
        

        http://elinux.org/RPiconfig#Video

        Maybe post yours to pastebin.com

        Please read the Docs before asking a new question.
        RetroPie Help Guides: https://goo.gl/3gcNsT

        B 1 Reply Last reply 28 Jul 2016, 15:52 Reply Quote 0
        • G
          GreenHawk84
          last edited by 28 Jul 2016, 11:02

          @BingoLittle , off topic one second, which do you use to play Mortal Kombat II? Hows your performance?

          B 1 Reply Last reply 28 Jul 2016, 15:21 Reply Quote 0
          • B
            BingoLittle @GreenHawk84
            last edited by 28 Jul 2016, 15:21

            @GreenHawk84 I use lr-imame4all and performance is absolutely perfect. This is despite many forums warning that games like Mortal Kombat II and NBA Jam are very slow...

            G 1 Reply Last reply 28 Jul 2016, 16:34 Reply Quote 0
            • B
              BingoLittle @dankcushions
              last edited by 28 Jul 2016, 15:47

              @dankcushions Hi again. Really sorry for the delay, I've been at work and can't access the files from there :)

              The /opt/retropie/configs/arcade/retroarch.cfg is also stock by the looks of it:

              # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
              
              input_remapping_directory = "/opt/retropie/configs/arcade/"
              
              #include "/opt/retropie/configs/all/retroarch.cfg"
              

              I only ever remember editing one file and that is the /opt/retropie/configs/all/retroarch.cfg file to be honest.

              Thanks for the help once again!

              D 1 Reply Last reply 28 Jul 2016, 16:09 Reply Quote 0
              • B
                BingoLittle @Floob
                last edited by 28 Jul 2016, 15:52

                @Floob Hi, yes I am using composite out (one of the reasons the Pi appealed to me so much was native composite out, so that I could avoid using one of those VGA to composite converters, which in my experience are not very good).

                I can confirm that my /boot/config.txt file contains sdtv_mode=2. The sdtv_aspect option is not explicitly set, but defaults to 1 if I am right.

                1 Reply Last reply Reply Quote 0
                • D
                  dankcushions Global Moderator @BingoLittle
                  last edited by 28 Jul 2016, 16:09

                  @BingoLittle said in Border Issues, Black Bars, and Screen Stretch:

                  @dankcushions Hi again. Really sorry for the delay, I've been at work and can't access the files from there :)

                  The /opt/retropie/configs/arcade/retroarch.cfg is also stock by the looks of it:

                  # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                  
                  input_remapping_directory = "/opt/retropie/configs/arcade/"
                  
                  #include "/opt/retropie/configs/all/retroarch.cfg"
                  

                  I only ever remember editing one file and that is the /opt/retropie/configs/all/retroarch.cfg file to be honest.

                  Thanks for the help once again!

                  i think floob might be on to something with the config txt settings, but i have a bit of a brute-force solution that you could try? i think perhaps imame4all isn't playing nice with the default aspect ratio settings (mame2003 has a few issues around this also).

                  use https://github.com/retropie/retropie-setup/wiki/Configuration-Editor

                  1. basic libretro options
                  2. additional options for arcade
                  3. change the aspect ratio setting. make a note of what it is originally. one should be for 4:3 which may be what you want, but i have a feeling it will warp games that are shown with a narrower aspect (eg, pacman, which is 3:4 or something like that?). if that happens, you might want to try these settings: 19 = Config, 20 = 1:1 PAR, 21 = Core Provided.

                  it's really cool you're running it on a CRT!

                  B 2 Replies Last reply 28 Jul 2016, 16:40 Reply Quote 0
                  • G
                    GreenHawk84 @BingoLittle
                    last edited by 28 Jul 2016, 16:34

                    @BingoLittle, you play MK2 on mame4all without any sound issues, any issues?

                    B 1 Reply Last reply 28 Jul 2016, 16:42 Reply Quote 0
                    • B
                      BingoLittle @dankcushions
                      last edited by 28 Jul 2016, 16:40

                      @dankcushions

                      Yes, I bought a CRT especially for the RetroPie, arcade games just look great on an old TV :-)

                      Ok I didn't change anything yet in my configuration files, I just wanted to show you that yes indeed lr-imame4all is stretching upright games:

                      Mr Do!: https://www.icloud.com/sharedalbum/#B0N5n8hH4KO0Fe;05AB175E-B8CA-42BF-ADC6-38465B5A7C36
                      Pac-Man: https://www.icloud.com/sharedalbum/#B0N5n8hH4KO0Fe;975AFFC6-56C3-4E69-B3DA-67EC6736D313

                      However, lr-fba-next is displaying them perfectly:

                      Mr Do!: https://www.icloud.com/sharedalbum/#B0N5n8hH4KO0Fe;3C591A25-9CDE-46F7-B090-7BF8DEFA9A51
                      Pac-Man: https://www.icloud.com/sharedalbum/#B0N5n8hH4KO0Fe;FD72A05F-1493-4D55-85F8-C8A25C1455FD

                      Of course Final Burn Alpha doesn't emulate some games I want to play, so I have one ROM set that I play out of the /home/pi/RetroPie/roms/arcade/folder using lr-imame4all and another set of ROMS that I play out of /home/pi/RetroPie/roms/fba/ depending on the game.

                      I will try your suggested settings shortly and let you know the outcome.

                      Thanks again!

                      1 Reply Last reply Reply Quote 0
                      • B
                        BingoLittle @GreenHawk84
                        last edited by 28 Jul 2016, 16:42

                        @GreenHawk84 Actually yes, now that you mention it there are occasional crackling sounds that can be heard, but it's pretty rare and goes away after a few seconds. The sound artefacts aren't particularly annoying, but they are there so sound is not 100% perfect, no...

                        1 Reply Last reply Reply Quote 0
                        • G
                          GreenHawk84
                          last edited by 28 Jul 2016, 16:45

                          @BingoLittle , okay, I was about to say, I have tried all the cores for Retropie and none of them do MK2 very well for me on a Pi3. Mame2003 seems the closest but suffers from a huge audio glitch periodically. Not trying to derail your topic but I couldn't help but ask. Thanks!

                          B 1 Reply Last reply 28 Jul 2016, 16:48 Reply Quote 0
                          • B
                            BingoLittle @GreenHawk84
                            last edited by 28 Jul 2016, 16:48

                            @GreenHawk84 Yeah sure thing, sorry I kinda misled you there, I had forgotten about the sound issues to be honest. In my experience most emulators are terribly slow, except lr-imame4all which is fast and doesn't drop frames, but has these huge borders and, yes, suffers from these audio glitches (but I must say they are rare enough). At first I thought they might be distortion so maybe it's got to do with the audio level in the Mortal Kombat's BIOS settings being too high? I have yet to try to see if that is the problem.

                            1 Reply Last reply Reply Quote 0
                            • G
                              GreenHawk84
                              last edited by 28 Jul 2016, 16:54

                              @BingoLittle, feel free to post anything you find out regarding audio and Mortal Kombat in my thread here: https://retropie.org.uk/forum/topic/2612/mortal-kombat-2-3-umk3-audio/19

                              If you would like, just to keep this thread on topic.

                              1 Reply Last reply Reply Quote 0
                              • G
                                GreenHawk84
                                last edited by 28 Jul 2016, 21:26

                                @BingoLittle, do you know how to get into the Retroarch GUI? It is START and X together. Go into Video settings and set your aspect ratio from default "Core" to "4:3." Let me know what happens.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BingoLittle @dankcushions
                                  last edited by 28 Jul 2016, 21:29

                                  @dankcushions

                                  Ok so I went and experimented with the settings using the Configuration Editor. Sure enough, setting it to 4:3 (it was actually set to Unset before I changed it) - this worked great for MKII and other games, virtually eliminating the borders. However, as you predicted upright games are stretched.

                                  But this is better than before, and presumably I can go into the RetroArch settings when playing using the HotKey+X command and edit settings for individual games? And somehow save settings for individual games?

                                  Thanks again, your help is certainly appreciated!

                                  F D 2 Replies Last reply 28 Jul 2016, 21:47 Reply Quote 0
                                  • F
                                    Floob @BingoLittle
                                    last edited by Floob 28 Jul 2016, 21:47

                                    @BingoLittle What happens if you enable integer scaling?
                                    http://emulation-general.wikia.com/wiki/Scaling

                                    video_scale_integer = true

                                    If you wanted to set a custom retroarch.cfg for each game you can do that which is how I set specific resolutions for this sort of thing

                                    Given arcade games (as opposed to consoles) have a wide range of native resolutions its not that uncommon to tweak them.
                                    You can create these in the same dir as the game with a name of gamename.zip.cfg

                                    Please read the Docs before asking a new question.
                                    RetroPie Help Guides: https://goo.gl/3gcNsT

                                    B 1 Reply Last reply 29 Jul 2016, 05:55 Reply Quote 0
                                    • D
                                      dankcushions Global Moderator @BingoLittle
                                      last edited by 28 Jul 2016, 22:35

                                      @BingoLittle said in Border Issues, Black Bars, and Screen Stretch:

                                      @dankcushions

                                      Ok so I went and experimented with the settings using the Configuration Editor. Sure enough, setting it to 4:3 (it was actually set to Unset before I changed it) - this worked great for MKII and other games, virtually eliminating the borders. However, as you predicted upright games are stretched.

                                      But this is better than before, and presumably I can go into the RetroArch settings when playing using the HotKey+X command and edit settings for individual games? And somehow save settings for individual games?

                                      Thanks again, your help is certainly appreciated!

                                      great! yeah lr-imame4all is pretty limited. mame4all-pi will work with the same romset and probably not have these display issues, if you don't mind it not being retroarch (may have to manually configure controls).

                                      mame2003 does this stuff better but has the aforementioned problems with MK2/3.

                                      you can do per game .cfg settings by creating a mk2.zip.cfg in your /arcade/ folder, with just the aspect_ratio_index = "14" (or whatever it is) in there.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        BingoLittle @Floob
                                        last edited by 29 Jul 2016, 05:55

                                        @Floob @dankcushions @GreenHawk84

                                        Hi folks,

                                        Ok so if I go and set video_scale_integer=true I get something like the following (e.g. Final Fight running on lr-imame4all):

                                        https://www.icloud.com/sharedalbum/#B0N5n8hH4KO0Fe;EE92B6C5-5765-49F9-9672-A9A999565446

                                        However, I noticed that by setting the aspect ratio to 5:4, I get a full screen for basically almost any game:

                                        https://www.icloud.com/sharedalbum/#B0N5n8hH4KO0Fe;1C299916-5E91-45BD-B85F-1150C3579A3B

                                        It doesn't seem to be sensitive to the resolution of the arcade game itself, unless the game is an upright, in that case I set the aspect ratio to 3:4 and they look perfect like that. So this setting works for MKII as well as it works for Final Fight or SFII.

                                        Even Mega Drive and SNES games stretch to fill the screen if I set the aspect ratio to 5:4.

                                        So I guess if you want to remove borders and you are using a CRT, then setting this one option seems to work most of time. Basically everything other option is set to default.

                                        Again, many thanks for all the help on this topic!

                                        PS @Floob your videos are excellent, I've watched quite a few of them at this point and they've helped a lot.

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          Floob
                                          last edited by 29 Jul 2016, 11:11

                                          @BingoLittle I think a lot of this will depend on how much you want the precise aspect ratio to be maintained, or if your priority is to fill the borders.
                                          Does "Core Provided" (21) with integer scaling look any good?
                                          The true ratio for final fight looks like 12:7 based on https://en.wikipedia.org/wiki/Final_Fight
                                          I'd be tempted to manually max that to fill the screen keeping the aspect ratio.

                                          I guess this will only really be an issue with arcade games given their varied res as opposed to consoles.
                                          For consoles you could just set a custom retroarch.cfg and be precise with the layout as 99% of the games will be the same.

                                          Please read the Docs before asking a new question.
                                          RetroPie Help Guides: https://goo.gl/3gcNsT

                                          B 1 Reply Last reply 29 Jul 2016, 12:46 Reply Quote 0
                                          14 out of 29
                                          • First post
                                            14/29
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received