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

    EmulationStation not booting with forced video mode

    Scheduled Pinned Locked Moved Help and Support
    pi400
    6 Posts 2 Posters 411 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.
    • W
      windfisch
      last edited by

      I just got my Pi400. When I force the resolution to be CEA-31 (1080p50) I get a black screen when ES starts. Anyone experiencing similar issues?

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

        @windfisch Does your display support this resolution ?
        Attach your config.txt and the output of tvservice -s.

        1 Reply Last reply Reply Quote 0
        • W
          windfisch
          last edited by windfisch

          config.txt:

          # For more options and information see
          # http://rpf.io/configtxt
          # Some settings may impact device functionality. See link above for details
          
          # uncomment if you get no picture on HDMI for a default "safe" mode
          #hdmi_safe=1
          
          # uncomment this if your display has a black border of unused pixels visible
          # and your display can output without overscan
          disable_overscan=1
          
          # uncomment the following to adjust overscan. Use positive numbers if console
          # goes off screen, and negative if there is too much border
          #overscan_left=16
          #overscan_right=16
          #overscan_top=16
          #overscan_bottom=16
          
          # uncomment to force a console size. By default it will be display's size minus
          # overscan.
          #framebuffer_width=1280
          #framebuffer_height=720
          
          # uncomment if hdmi display is not detected and composite is being output
          #hdmi_force_hotplug=1
          
          # uncomment to force a specific HDMI mode (this will force VGA)
          #hdmi_group=1
          #hdmi_mode=31
          
          # uncomment to force a HDMI mode rather than DVI. This can make audio work in
          # DMT (computer monitor) modes
          #hdmi_drive=2
          
          # uncomment to increase signal to HDMI, if you have interference, blanking, or
          # no display
          #config_hdmi_boost=4
          
          # uncomment for composite PAL
          #sdtv_mode=2
          
          #uncomment to overclock the arm. 700 MHz is the default.
          #arm_freq=800
          
          # Uncomment some or all of these to enable the optional hardware interfaces
          #dtparam=i2c_arm=on
          #dtparam=i2s=on
          #dtparam=spi=on
          
          # Uncomment this to enable infrared communication.
          #dtoverlay=gpio-ir,gpio_pin=17
          #dtoverlay=gpio-ir-tx,gpio_pin=18
          
          # Additional overlays and parameters are documented /boot/overlays/README
          
          # Enable audio (loads snd_bcm2835)
          dtparam=audio=on
          
          [pi4]
          # Enable DRM VC4 V3D driver on top of the dispmanx display stack
          dtoverlay=vc4-fkms-v3d
          max_framebuffers=2
          
          [all]
          dtoverlay=vc4-fkms-v3d
          #overscan_scale=1
          

          tvservice -s

          state 0xa [HDMI CUSTOM RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
          

          tvservice -m CEA

          Group CEA has 19 modes:
                     mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
                     mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
                     mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
                     mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive 3D:FP|TopBot|SbS-HH
                     mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced 3D:FP|TopBot|SbS-HH
                     mode 6: 720x480 @ 60Hz 4:3, clock:27MHz x2 interlaced
                     mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced
            (prefer) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive 3D:TopBot|SbS-HH
                     mode 17: 720x576 @ 50Hz 4:3, clock:27MHz progressive
                     mode 18: 720x576 @ 50Hz 16:9, clock:27MHz progressive
                     mode 19: 1280x720 @ 50Hz 16:9, clock:74MHz progressive 3D:FP|TopBot|SbS-HH
                     mode 20: 1920x1080 @ 50Hz 16:9, clock:74MHz interlaced 3D:FP|TopBot|SbS-HH
                     mode 21: 720x576 @ 50Hz 4:3, clock:27MHz x2 interlaced
                     mode 22: 720x576 @ 50Hz 16:9, clock:27MHz x2 interlaced
                     mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive 3D:TopBot|SbS-HH
                     mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive 3D:FP|TopBot|SbS-HH
                     mode 34: 1920x1080 @ 30Hz 16:9, clock:74MHz progressive 3D:FP|TopBot
                     mode 60: 1280x720 @ 24Hz 16:9, clock:59MHz progressive 3D:FP
                     mode 62: 1280x720 @ 30Hz 16:9, clock:74MHz progressive 3D:FP
          

          tvservice -m CEA |grep 1920 |grep 50

                     mode 20: 1920x1080 @ 50Hz 16:9, clock:74MHz interlaced 3D:FP|TopBot|SbS-HH
                     mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive 3D:TopBot|SbS-HH
          

          EDIT:
          When plugging into the other HDMI port and issuing tvservice -e "CEA 31 HDMI" manually before booting Emulationstation, it works for some reason...

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

            tvservice is not working on a Pi4 as on previous models, it's not the correct command to change resolution. Use the runcommand video mode selection to do so, before starting a game.

            1 Reply Last reply Reply Quote 0
            • W
              windfisch
              last edited by

              The runcommand method does not work for me, this produces the aforementioned strange results. Since I only intend to use this setup with 1080p50, I put the tvservice command that sets 1080p50 in my autostart.sh before starting ES.

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

                Then set the resolution via raspi-config or directly into config.txt, this will set the resolution globally, without the need to run tvservice. See https://www.raspberrypi.org/documentation/configuration/config-txt/video.md.

                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.