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

    Switching video out on pi 3

    Scheduled Pinned Locked Moved Help and Support
    pi 3video outhdmivideo switch
    6 Posts 2 Posters 4.6k 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
      bfenty
      last edited by

      I have a somewhat odd request. I'd like to switch between analog and HDMI video out as easily as possible-perhaps as a script that could be run from the menu.

      My project uses HDMI to go to a built-in screen on the system. That should always be the default. But I also wanted to use the 4-way analog plug to plug into an external tv. The idea being I could hook the system up to a tv and use USB controllers with friends, or use it portable with the built in screen.

      Does that make sense? How hard would that be?

      1 Reply Last reply Reply Quote 0
      • suprjamiS
        suprjami
        last edited by

        You need to reboot to change the video output, but this will do what you want automatically depending on HDMI plugged in or not:

        https://github.com/superjamie/lazyweb/wiki/Raspberry-Pi-Display-Auto-Switching

        B 1 Reply Last reply Reply Quote 0
        • B
          bfenty @suprjami
          last edited by

          @suprjami so what about the opposite? Because hdmi drives the built in screen so it will ALWAYs be plugged in. It's the analog that might not be

          suprjamiS 1 Reply Last reply Reply Quote 0
          • suprjamiS
            suprjami @bfenty
            last edited by

            @bfenty You'll need to play around with the tvservice command and see what output it gives in each situation, look at what changes you need to make to config.txt to put the output on the display you want, then modify that script to suit.

            B 1 Reply Last reply Reply Quote 0
            • B
              bfenty @suprjami
              last edited by

              @suprjami ok. Thanks that gets me started. If I can get it working I'll post back.

              Is there a way to add a shortcut script to the menu in retro pie?

              1 Reply Last reply Reply Quote 0
              • suprjamiS
                suprjami
                last edited by suprjami

                @bfenty The script runs automatically on boot, so you just reboot the normal way.

                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.