Recalbox Forum

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

    Splash videos too big for 7" screen

    Recalbox General
    splash videos too big
    2
    11
    1195
    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.
    • lackyluuk
      lackyluuk Translator last edited by

      Sorry, I forgot to mention my hardware:

      • Board: RPi 3B+

      NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

      ian57 2 Replies Last reply Reply Quote 0
      • ian57
        ian57 Staff @lackyluuk last edited by

        @lackyluuk some users reported this too... We are going to check and try to adapt video to screen. Thanks for reporting.

        "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 1
        • ian57
          ian57 Staff @lackyluuk last edited by ian57

          @lackyluuk the /etc/init.d/S06splash script is based on the height of the framebuffer to display the video.

          # cut -d, -f2 /sys/class/graphics/fb0/virtual_size
          1024
          

          On my 4/3 1280x1024 screen the videos are well displayed. But as the videos are natively in 1920x1080, there are black stripes at the top and bottom.

          As your resolution is not standard, the value returned by the function must not be good.

          Try to add the following configuration at the end of the /boot/config.txt file to tune your own resolution

          disable_overscan=1
          hdmi_group=2
          hdmi_mode=87
          hdmi_cvt=1024 600 3 0 0 0
          

          Tell me if it is better.

          "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
          • lackyluuk
            lackyluuk Translator last edited by

            hi @ian57
            I have just tried your suggestions. Unfortunately if I enable all these options I only have sound but the screen stays black. And the sound is very clippering.

            thanks in advance 🙂

            NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

            ian57 1 Reply Last reply Reply Quote 0
            • ian57
              ian57 Staff @lackyluuk last edited by

              @lackyluuk ok you can try to add only

              hdmi_cvt=1024 600 3 0 0 0
              

              can you give us the full reference of your screen please.

              and what does the following command give on your RB without any modification of config.txt :

              # cut -d, -f2 /sys/class/graphics/fb0/virtual_size
              

              "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
              • lackyluuk
                lackyluuk Translator last edited by lackyluuk

                Hi @ian57
                When I only add this line, the video plays but it is still too large

                The command gives the following result:

                cut -d, -f2 /sys/class/graphics/fb0/virtual_size
                480
                

                Here is a link to the display I have:
                https://www.pi-shop.ch/hdmi-4-pi-7-display-no-touchscreen-1024x600-mit-mini-driver

                NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                ian57 1 Reply Last reply Reply Quote 0
                • ian57
                  ian57 Staff @lackyluuk last edited by ian57

                  @lackyluuk the vertical resolution detected is not good, you should have 600 instead. I need to check how S06splash display video

                  sorry I missed a parameter in the previous configuration ! a important one : the refresh frequency.
                  please try this

                  # uncomment if hdmi display is not detected and composite is being output
                  hdmi_force_hotplug=1
                   
                  # uncomment to force a specific HDMI mode (here we are forcing 800x480!)
                  hdmi_group=2
                  hdmi_mode=1
                  hdmi_mode=87
                  hdmi_cvt=1024 600 60 3 0 0 0
                  

                  It should work better see here https://learn.adafruit.com/hdmi-uberguide/2300-hdmi-4-pi-7-display-no-touchscreen-1024x600-w-slash-mini-driver the same screen as yours

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

                  lackyluuk 1 Reply Last reply Reply Quote 0
                  • lackyluuk
                    lackyluuk Translator @ian57 last edited by

                    @ian57 thanks for the adafruit link 🙂
                    I have changed the config accordingly (commented also things like

                     #disable_overscan=1
                     #hdmi_drive=2
                    

                    Now it looks much better, but still the video does not match the video (at least on the sides) exactly. But it is already almost good.

                    NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                      @lackyluuk that's cool, can you post a picture of what goes wrong for splash video please.

                      can you retry the command

                      cut -d, -f2 /sys/class/graphics/fb0/virtual_size
                      

                      and put the result.
                      thx

                      "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
                      • lackyluuk
                        lackyluuk Translator last edited by

                        Hi @ian57
                        The command now returns the correct value.

                        # cut -d, -f2 /sys/class/graphics/fb0/virtual_size
                        600
                        

                        Here you can see a "original" recalbox splash video. This one is worse than others (I use two unofficial ones, which fits a little bit better).

                        VID_20201011_212154_exported_659_1602444157054.jpg

                        NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                        Want to support us ?

                        85
                        Online

                        99.6k
                        Users

                        28.1k
                        Topics

                        187.1k
                        Posts

                        Copyright © 2021 recalbox.com