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.
    • EfriimE
      Efriim @MrCoffee
      last edited by

      @MrCoffee
      calling vcgencmd from shell needs to be written without the '='
      vcgencmd hdmi_cvt 360 240 60 1 1 0 0

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

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

        @MrCoffee
        calling vcgencmd from shell needs to be written without the '='
        vcgencmd hdmi_cvt 360 240 60 1 1 0 0

        I got working the next day,I will update my post soon,, I did it with some other commands. I works tho, cheap hdmi into component transcoder for i think i paid 12 bucks for it, and it looks so much better than composite video, Just taking my time with it because tho sound is a bit wonky/distorted , trying to see if there a config setting that can fix it but i don't think so..

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

          @MrCoffee Maybe reducing the sampling rate, I don't know. But I believe there is a way.

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

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

            Just taking my time with it because tho sound is a bit wonky/distorted , trying to see if there a config setting that can fix it but i don't think so..

            Are you using the audio jack on the Pi ? Try playing with the audio_pwm_mode parameter in /boot/config.txt - set it to 0 or 2.
            Or check if [this](https://retropie.org.uk/docs/Sound-Issues/#white-noise-fix] applies.

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

              @Efriim I'm just thinking is hardware, I can just use the 3.5mm jack for sound. when It switch's over to 1600x240 the sound is bad, but after a few moments it gets better,but still off.

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

                @mitu no all video/sound is over HDMI, but i'm just going to use the 3.5mm jack,, the sound is okay for now. I'm still looking into it ,I do have hdmi boost on 7, but messing with that number did not do anything too..

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

                  @mitu I will post an update on how i got it working, I'm just not near my pi right now to read off the commands,, should I just edit my post with the new info,, or just make a comment here?..

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

                    @MrCoffee Don't worry, when you have the time to test things just add a new reply to the topic with your findings.

                    MrCoffeeM 1 Reply Last reply Reply Quote 0
                    • 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
                                            • 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.