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

    hdmi to component CRT Help..runcommand

    Scheduled Pinned Locked Moved Help and Support
    runcommand-onenruncommand-onsthdmi to componecrt tvtranscoder
    33 Posts 7 Posters 6.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.
    • MrCoffeeM
      MrCoffee @MrCoffee
      last edited by mitu

      @MrCoffee

      @MrCoffee said in hdmi to component CRT Help..runcommand:

      Hi first post,, I've been looking up and down the forums and found some info, that kinda helped but right now I'm a bit stuck.

      So im using a HDMI to Component Converter/Transcoder..into my NTSC crt tv. It works off the bat from boot, and into es games look good,, but I want to use the runcommand to get a wider resolution ,, like 1280x240 but i can not get it to switch.. ..
      Im using a Rasp-pi 3, retropie 4.4. last updated about 3 weeks ago.

      from boot this is what i added to the config ..
      ...
      overscan_scale=1
      hdmi_cvt=360 240 60 1 1 0 0
      #hdmi_cvt=336 249 60 1 0 0 0
      #hdmi_cvt=1280 240 60 1 1 0 0
      #hdmi_cvt=2048 240 60 1 1 0 0

      hdmi_group=2
      hdmi_mode=87
      hdmi_force_hotplug=1
      config_hdmi_boost=7
      hdmi_ignore_edid=0xa5000080
      hdmi_pixel_encoding=1
      ...
      the #hdmi_cvt=**** work too.

      so this is my runcommand-onstart.sh
      ..
      vcgencmd hdmi_cvt=1280 240 60 1 1 0 0
      tvservice -e "DMT 87"
      fbset -depth 32 && fbset -depth 32 -xres 1280 -yres 240
      ..
      and runcommand-onend.sh
      ..
      vcgencmd hdmi_cvt=360 240 60 1 1 0 0
      tvservice -e "DMT 87"
      fbset -depth 32 && fbset -depth 32 -xres 320 -yres 240
      ..
      This is what im using...

      https://www.ebay.com/itm/New-HDMI-to-5RCA-RGB-Component-YPbPr-Video-R-L-Audio-Adapter-Converter-HD-TV/253156028580?epid=2248106783&hash=item3af14670a4:g:veMAAOSwEfBZui6~

      So to recap, 240p works from the boot config, but i can not get it to switch to a different resolution using the runcommand . I would like to set it too.

      hdmi_cvt=1280 240 60 1 1 0 0

      and it does work but only if i set it in the boot config.

      So this is an update, got it working, but its not 100% but good..

      This is what im using...

      https://www.ebay.com/itm/New-HDMI-to-5RCA-RGB-Component-YPbPr-Video-R-L-Audio-Adapter-Converter-HD-TV/253156028580?epid=2248106783&hash=item3af14670a4:g:veMAAOSwEfBZui6~

      what i added to my boot config.

      
      #what worked on my CRT yours may differ. if needed at all
      overscan_left=-16
      overscan_right=-16
      overscan_top=-32
      overscan_bottom=-32
      
      overscan_scale=1
      
      
      #hdmi_cvt=360 248 60 1 1 0 0
      #hdmi_cvt=1280 240 60 1 1 0 0
      #hdmi_cvt=1920 240 60 1 1 0 0
      hdmi_cvt=1600 240 60 1 1 0 0
      
      hdmi_group=1 
      hdmi_mode=6 
      avoid_safe_mode=1
      hdmi_force_hotplug=1
      config_hdmi_boost=7
      hdmi_ignore_edid=0xa5000080
      hdmi_pixel_encoding=2
      
      

      so I need to just start in 480i
      CEA mode 6

      and use DMT mode 87 to pick my 1600x240 for retroarch using the runcommand, the biggest problem i was having was switching back to 480i for ES, then i got it working but only 80% of the time so i had to add a sleep command to help with the timing of the switch ..

      so this is my runcommand-onstart.sh

      tvservice -e "DMT 87" ; sleep 3 ; fbset -depth 8 ; fbset -depth 32; tvservice -s
      

      and this is runcommand-onend.sh

      tvservice -e "CEA 6" ; sleep 3 ; fbset -depth 8 ; fbset -depth 32; tvservice -s
      

      ..

      sleep 3 was needed for it all to work right..

      this is a google drive video of it working...

      https://drive.google.com/file/d/1QQS8rxP3dBaIJIldj6YoqBMOedK14d03/view?usp=sharing

      some pics

      https://drive.google.com/file/d/1-3o18evIVNlvwd2CfktyViauQuzJybda/view?usp=sharing

      https://drive.google.com/file/d/1-4vFl6dJREXw_WGzrwmjYyPqqMuwY9Pu/view?usp=sharing

      https://drive.google.com/file/d/1-8lXRrckHlpDGfTS_BobunVnNasr9OSH/view?usp=sharing

      something else I'am working on

      https://drive.google.com/file/d/1eCDH_gzMVdlCq-HV_xnIqOCWCa5gWF47/view?usp=sharing

      M 1 Reply Last reply Reply Quote 3
      • MrCoffeeM
        MrCoffee @mitu
        last edited by

        @mitu got home,, update with a reply,, added a google drive video of it working .. thanks for the help .

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

          Thanks for providing the solution.
          I've reformatted a bit your last reply so the config and commands are more readable.

          MrCoffeeM 1 Reply Last reply Reply Quote 0
          • MrCoffeeM
            MrCoffee @mitu
            last edited by

            @mitu thanks I'm new here, don't know how to do that yet.

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

              @MrCoffee The posts are formatted with Markdown - https://commonmark.org/help/. I just basically added some ``` and leading spaces to create code blocks.
              There used to be a help link shown when you typed a reply/created a new topic which pointed to that help page, but I see now that is gone. Probably removed by a forum software update.

              MrCoffeeM 1 Reply Last reply Reply Quote 0
              • MrCoffeeM
                MrCoffee @mitu
                last edited by

                @mitu Bookmarked thank you .. :)

                edmaul69E 1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @MrCoffee
                  last edited by

                  @MrCoffee if 3 backticks on the line above and the line below your code isnt possible to do on a device your on, you can leave the line above and below your code blank and indent your code lines 4 spaces.

                  EfriimE 1 Reply Last reply Reply Quote 0
                  • EfriimE
                    Efriim @edmaul69
                    last edited by Efriim

                    @edmaul69
                    Is there a way to define the syntax highlighting like that? eg. bash, c, xml

                    MrCoffeeM mituM 2 Replies Last reply Reply Quote 0
                    • MrCoffeeM
                      MrCoffee @Efriim
                      last edited by

                      @Efriim lol thats looks cool ,, kinda like fortune cookies in my linux terminal.

                      EfriimE 1 Reply Last reply Reply Quote 0
                      • EfriimE
                        Efriim @MrCoffee
                        last edited by Efriim

                        @MrCoffee
                        mr! eat your vitamins.
                        http://ascii.co.uk/art/vitamins

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

                          @Efriim said in hdmi to component CRT Help..runcommand:

                          Is there a way to define the syntax highlighting like that? eg. bash, c, xml

                          Yes, you just add the name of the highlighter after the code block start
                          ```xml.

                          1 Reply Last reply Reply Quote 0
                          • MrCoffeeM
                            MrCoffee @Efriim
                            last edited by

                            @Efriim lol nice. I'am saving that one.

                            1 Reply Last reply Reply Quote 0
                            • M
                              mukelarvin @MrCoffee
                              last edited by

                              @MrCoffee

                              Cool video. You’ve got all the solutions I’ve been looking at. Which would you say you prefer? Vga666 to component? Retrotink component? Aliexpress HDMI to component?

                              MrCoffeeM 1 Reply Last reply Reply Quote 1
                              • MrCoffeeM
                                MrCoffee @mukelarvin
                                last edited by

                                @mukelarvin Well what i use in the video is the cheapest, but as of late I've been using a VGA to Component transcoder, theres a 15khz distro of retropie that someone made that works like a dream. they use some kinda data base for the customs timings, but I do like the RetroTink, its less of a mess when it comes to wires, but its about 90 bucks and needs some time to set up.

                                So the HDMI to Component is kinda the poor mans way but it does work , it has its small problems , overall its a good starting point .. 12 bucks + 5 or so for the cables.

                                for the vga666 i think i got mine on ebay for like 12 bucks and the transcoder is like 50 ish now..But its a mess of cables however with the right distro it's what works best for me, most of the arcade games run at the right rez. Retropie CRT Edition.

                                keep an eye on this guy.He sales vga or scart to component transcoder's ..

                                https://www.ebay.com/usr/linuxbot3000?_trksid=p2047675.l2559

                                As far as the Retrotink goes its just the cleanest after setup, less cables and less of a mess. I've trying to get that RGB-pi working with it .

                                1 Reply Last reply Reply Quote 0
                                • P
                                  PUME04
                                  last edited by

                                  I am trying to get an HDMI to Component converter (no scaling, 480i compatible) working with a 27" Sony Trinitron 27FS13 (480i/240p) on a pi4. It looks something similar was done here. I can start a new thread if that makes more sense, but this seemed to be the most recent thread on this topic. Is anyone up and running on a CRT over component on a pi4 using the method here? @MrCoffee, should your method here still work? Is there a more up to date guide for accomplishing this with current hardware/build? Thanks for any feedback.

                                  MrCoffeeM 1 Reply Last reply Reply Quote 0
                                  • M
                                    myzar
                                    last edited by

                                    @PUME04 no it doesn't work , you can't switch res with tv service , it's broken , the fmks video driver on the rpi4 was made by people who hates crt monitors and cabs ;)

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

                                      @myzar said in hdmi to component CRT Help..runcommand:

                                      the fmks video driver on the rpi4 was made by people who hates crt monitors and cabs ;)

                                      The same 'people' added support for video resolution switching to tvservice in the first place and also added support for 240p for analog video, so I think your comment is out of place.

                                      M 1 Reply Last reply Reply Quote 1
                                      • M
                                        myzar @mitu
                                        last edited by myzar

                                        @mitu i was simply joking , but framebuffer support is such a basic stuff that is amazing that is still broken , and without anyhope to be fixed since the new kms in 5.4 is broken in the same way.

                                        It's not a priority and no one cares, that's a fact :)

                                        P..s the vc4 driver is not made by the same people who coded dispamax

                                        mituM 1 Reply Last reply Reply Quote 0
                                        • MrCoffeeM
                                          MrCoffee @PUME04
                                          last edited by

                                          @PUME04 said in hdmi to component CRT Help..runcommand:

                                          should your method here still work? Is there a more up to date guide for accomplishing this with current hardware/build? Thanks for any feedback.

                                          I do own a Pi4 now but I haven't had the time to have a go with it. I have used this method on a pi2-3-3b+ and it works fine.. I keep seeing out on reddit that people have gotten a retrotink and RCA out up and going @240p but there some problems with slow down or resolution switching .

                                          I hope its just something that could be fix , they did add 240p to the pi at a later date if i remember correctly..

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            myzar @MrCoffee
                                            last edited by

                                            @MrCoffee 240p output works fine btw , but you can't switch res , you are stuck with the res you boot in config.txt

                                            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.