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 0hdmi_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...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.
-
@MrCoffee
calling vcgencmd from shell needs to be written without the '='
vcgencmd hdmi_cvt 360 240 60 1 1 0 0 -
@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 0I 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..
-
@MrCoffee Maybe reducing the sampling rate, I don't know. But I believe there is a way.
-
@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. -
@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.
-
@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..
-
@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?..
-
@MrCoffee Don't worry, when you have the time to test things just add a new reply to the topic with your findings.
-
@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 0hdmi_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...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...
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 6and 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
-
@mitu got home,, update with a reply,, added a google drive video of it working .. thanks for the help .
-
Thanks for providing the solution.
I've reformatted a bit your last reply so the config and commands are more readable. -
@mitu thanks I'm new here, don't know how to do that yet.
-
@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. -
@mitu Bookmarked thank you .. :)
-
@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.
-
@edmaul69
Is there a way to define the syntax highlighting like that? eg. bash, c, xml -
@Efriim lol thats looks cool ,, kinda like fortune cookies in my linux terminal.
-
@MrCoffee
mr! eat your vitamins.
http://ascii.co.uk/art/vitamins -
@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
.
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.