• 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

Problem with HDMI and RCA

Scheduled Pinned Locked Moved Help and Support
hdmircaretropie4b model
9 Posts 2 Posters 1.4k 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.
  • C
    Composer
    last edited by 23 Jul 2020, 19:11

    Hello everyone;

    Im in a project that consist on put a Raspberry Pi 4B in a PS1 case. And i wanna use the HDMI port and the RCA port.

    Now i can get image with the RCA with a 240p resolution, but when i reboot the raspberry with the HDMI plugged and the RCA unplugged i didn't recieve any image.

    I have a mini Jack to females RCA and a microHDMI to male HDMI and a Female HDMI to Female HDMI connected.

    Any help??

    Os paso mi archivo config.txt

    This is my 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=352
    framebuffer_height=240
    
    # 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=2
    #hdmi_mode=4
    
    # 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
    enable_tvout=1
    #sdtv_mode=0
    sdtv_aspect=1
    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
    

    Thank you!

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by mitu 23 Jul 2020, 19:23

      @Composer said in Problem with HDMI and RCA:

      # uncomment for composite PAL
      enable_tvout=1
      

      Remove/comment the line above and the HDMI output should work.

      C 1 Reply Last reply 23 Jul 2020, 20:12 Reply Quote 0
      • C
        Composer @mitu
        last edited by 23 Jul 2020, 20:12

        @mitu said in Problem with HDMI and RCA:

        @Composer said in Problem with HDMI and RCA:

        # uncomment for composite PAL
        enable_tvout=1
        

        Remove/comment the line above and the HDMI output should work.

        But when i comment this line i cant use the RCA.

        I need to use the HDMI and when i disconnect the HDMI i need to use the RCA without edit the config.txt file.

        Thanks for the quick answer!

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 24 Jul 2020, 02:59

          That's not possible on the Pi4 - it worked on previous models though. On the Pi4, you need to explicitly enable the analog output, since it's disabled by default:

          Cf. https://www.raspberrypi.org/documentation/configuration/config-txt/video.md:

          On the Raspberry Pi 4, composite output is disabled by default, due to the way the internal clocks are interrelated and allocated. Because composite video requires a very specific clock, setting that clock to the required speed on the Pi 4 means that other clocks connected to it are detrimentally affected, which slightly slows down the entire system. Since composite video is a less commonly used function, we decided to disable it by default to prevent this system slowdown.

          C 1 Reply Last reply 24 Jul 2020, 07:31 Reply Quote 0
          • C
            Composer @mitu
            last edited by 24 Jul 2020, 07:31

            @mitu said in Problem with HDMI and RCA:

            That's not possible on the Pi4 - it worked on previous models though. On the Pi4, you need to explicitly enable the analog output, since it's disabled by default:

            Cf. https://www.raspberrypi.org/documentation/configuration/config-txt/video.md:

            On the Raspberry Pi 4, composite output is disabled by default, due to the way the internal clocks are interrelated and allocated. Because composite video requires a very specific clock, setting that clock to the required speed on the Pi 4 means that other clocks connected to it are detrimentally affected, which slightly slows down the entire system. Since composite video is a less commonly used function, we decided to disable it by default to prevent this system slowdown.

            oh... i see, there is a fix or workaround to do that i need?

            M 1 Reply Last reply 24 Jul 2020, 08:17 Reply Quote 0
            • M
              mitu Global Moderator @Composer
              last edited by 24 Jul 2020, 08:17

              @Composer There's no fix - you'll have to workaround having different configuration files or using some conditional configuration.

              You can have 2 different files - one for RCA and one for HDMI video output - and switch between them with a pair of scripts that you can call from the RetroPie menu. You can drop any .sh script in $HOME/RetroPie/retropiemenu and they'll appear in the RetroPie menu in EmulatonStation, you can execute the script (that switches the configuration) and then reboot.

              A conditional config.txt could also work. One method that might work is to have flip switch that you can toggle to activate a GPIO pin, then you can put the enable_tvout option behind this GPIO condition

              [gpio4=1]
              # Settings here are applied if GPIO 4 is high
              enable_tvout=1
              [all]
              enable_tvout=0
              

              If you decide on this approach, I'd encourage you to ask in the Raspberry PI forums for confirmation that it would work - I haven't tested it.

              C M 2 Replies Last reply 24 Jul 2020, 10:20 Reply Quote 0
              • C
                Composer @mitu
                last edited by 24 Jul 2020, 10:20

                @mitu Ok i see...
                To use the GPIO i need to connect the switch to a GPIO that give 5v right?

                And to have a workaround.... can i have a menu like another emulator that give me the option to run a script to change the config file?

                Thank you!

                M 1 Reply Last reply 24 Jul 2020, 12:09 Reply Quote 0
                • M
                  mitu Global Moderator @Composer
                  last edited by 24 Jul 2020, 12:09

                  @Composer said in Problem with HDMI and RCA:

                  @mitu Ok i see...
                  To use the GPIO i need to connect the switch to a GPIO that give 5v right?

                  Probably one of the ground pins.

                  And to have a workaround.... can i have a menu like another emulator that give me the option to run a script to change the config file?

                  Yes, I just explained that in my previous post.

                  C 1 Reply Last reply 24 Jul 2020, 12:18 Reply Quote 0
                  • C
                    Composer @mitu
                    last edited by 24 Jul 2020, 12:18

                    @mitu Oh Sorry!!
                    My english is very bad jaja.

                    So.. im gonna to try the scripts and when i have a switch im gonna try it connecting it to ha 5V and ground GPIO.

                    Thank you so much!

                    1 Reply Last reply Reply Quote 0
                    • M mitu forked this topic on 21 Feb 2023, 02:39
                    • M mitu referenced this topic on 21 Feb 2023, 04:28
                    9 out of 9
                    • First post
                      9/9
                      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