Recalbox Forum

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

    Solved 3:2 Aspect Ratio?

    Recalbox General
    aspect ratio
    3
    11
    4809
    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.
    • BuToNz
      BuToNz last edited by

      Hey guys,

      Is there anyway to make the UI and the games run in 3:2 ratio? I have a 480x320 display which everything looks 'tall' on.

      I've looked through the possible config.txt settings but not able to find that resolution.

      I have already set:
      framebuffer_width=480
      framebuffer_height=320

      but doesn't seem to make a difference?

      Thanks!

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @BuToNz last edited by Substring

        @BuToNz have you looked at hdmi_cvt inconfig.txt ? The ratio doesn't matter at all, but your screen does. See https://www.raspberrypi.org/documentation/configuration/config-txt.md

        Is your screen on SPI ? HDMI or DPI ? Or even composite ?

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        BuToNz 1 Reply Last reply Reply Quote 0
        • BuToNz
          BuToNz @Substring last edited by

          @Substring Thanks! I did look at that but seems you have to define a ratio? There is no 3:2. The screen is HDMI 🙂

          Changing the RetroArch config to 3:2 ratio the games look fine, just struggling with the UI looking right now. I wouldn't mind black bars at the top and the bottom but the 'tall' stretch is bugging me!

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @BuToNz last edited by

            @BuToNz you're taking the problem in the wrong order i believe ... If your screen was set to 480x320 right from the start and you tell recalbox not to change the resolution when launching an emulator, i think you'd be good.

            https://github.com/recalbox/recalbox-os/wiki/Video-configuration-detailled-(EN) wouldn't hurt to read 😉

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            BuToNz 1 Reply Last reply Reply Quote 1
            • BuToNz
              BuToNz @Substring last edited by

              @Substring It's not the emulators that are a problem now it's the UI. I have read through the video config but don't see a way to force my resolution? None of the HDMI modes or the CVT mode has the right resolution/aspect ratio options? Perhaps I am understanding it wrong...

              This is the display I am using: https://www.aliexpress.com/item/Newest-3-5-LCD-USB-Touch-Screen-Display-HDMI-1920x1080-LCD-Display-Audio-for-Raspberry-Pi/32770598031.html

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @BuToNz last edited by

                @BuToNz So just set a hdmi_cvt yourself in the config.txt (see my 1st link), switch to hdmi_group=2 and hdmi_mode=87 in /boot/config.txt, and global.videomode=default in recalbox.conf

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                BuToNz 1 Reply Last reply Reply Quote 0
                • BuToNz
                  BuToNz @Substring last edited by

                  @Substring I understand but in custom CVT I need to define an aspect ratio?
                  aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9 are the only options, no 3:2?

                  Substring 1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring @BuToNz last edited by

                    @BuToNz then hdmi_timings rather maybe
                    The doc says you're 1080p, why not run at such res ?

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    BuToNz 1 Reply Last reply Reply Quote 1
                    • BuToNz
                      BuToNz @Substring last edited by

                      @Substring Thanks for the help! I created a custom mode without the aspect ratio, seems to have done the trick! Font looks horrible but I could probably modify the theme for larger font to fix that.

                      So my config.txt has this:
                      hdmi_cvt=480 320 60
                      hdmi_group=2
                      hdmi_mode=87
                      hdmi_drive=2

                      It will take a 1080p/720p signal but it looks 'tall' hence trying to set a custom resolution/aspect ratio.

                      Substring 1 Reply Last reply Reply Quote 0
                      • Substring
                        Substring @BuToNz last edited by

                        @BuToNz great !

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                        1 Reply Last reply Reply Quote 1
                        • ian57
                          ian57 Staff last edited by

                          @BuToNz did you check this page https://github.com/recalbox/recalbox-os/wiki/TFT-Screen-SPI-Bus-(EN) and the section on the 3.5 waveshare tft screen :

                          #tft screen
                          #Waveshare 3.5 TFT Screen
                          #same resolution for hdmi and tft
                          hdmi_force_hotplug=1
                          hdmi_cvt=480 320 60 1 0 0 0
                          hdmi_group=2
                          hdmi_mode=1
                          hdmi_mode=87
                          
                          dtparam=spi=on
                          dtoverlay=waveshare35a:rotate=270,speed=27000000
                          

                          "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

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

                          Want to support us ?

                          96
                          Online

                          91.7k
                          Users

                          27.0k
                          Topics

                          183.6k
                          Posts

                          Copyright © 2021 recalbox.com