Open britxpatusa opened 2 years ago
Hello, what OS are you trying to run the interface on? Raspberry pi OS, Recalbox OS, RGBpi OS, ... ? What screen are you using? what resolution?
Cordially Laurent
Hey, thanks for reaching out! P400, coinops legends for pi, using a panasonic CRT model CT-27SL15 with vga to rgb (same as Mister) i think its 480i or I can use vga to vga on a Dell monitor
here is what i have tried...i want to use the VGA and the second HDMI port
[pi4]
dtoverlay=vc4-fkms-v3d max_framebuffers=2
dtoverlay=audremap,pins_18_19 dtparam=audio=on
dtparam=i2c_arm=off
dtoverlay=vc4-kms-dpi-generic,rgb666-padhi dtparam=hactive=640,hfp=24,hsync=64,hbp=104 dtparam=vactive=480,vfp=3,vsync=6,vbp=34 dtparam=clock-frequency=13054080
max_framebuffers=2
gpio=0-1=a2 gpio=2-8,12-17,20-24=a2
boot_delay=0 disable_splash=1 avoid_warnings=2 avoid_safe_mode=1 audio_pwm_mode=2 arm_boost=1 force_turbo=1 force_eeprom_read=0
From: Laurent Le Goff @.> Sent: Wednesday, April 27, 2022 1:29:38 AM To: llegoff/Pi400RGB @.> Cc: BritX @.>; Author @.> Subject: Re: [llegoff/Pi400RGB] contacting you (Issue #1)
Hello, what OS are you trying to run the interface on? Raspberry pi OS, Recalbox OS, RGBpi OS, ... ? What screen are you using? what resolution?
Cordially Laurent
— Reply to this email directly, view it on GitHubhttps://github.com/llegoff/Pi400RGB/issues/1#issuecomment-1110559270, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEWJQLAU6BML3QYDZT5NWULVHDGEFANCNFSM5UNBEVZA. You are receiving this because you authored the thread.Message ID: @.***>
quick update on this: sound is working through the adapter HDMI is working VGA still no signal
Overlay vc4-kms-dpi-generic work with vc4-kms-v3d (not with vc4-fkms-v3d)
modify
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
by
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-kms-v3d
max_framebuffers=2
erase 2 line
gpio=0-1=a2
gpio=2-8,12-17,20-24=a2
this is already configured by the overlay vc4-kms-dpi-generic
I'm not sure that the vc4-kms-dpi-generic overlay is up to date on CoinOPS
the vc4-vga666 overlay (https://github.com/Cpasjuste/rpi-dpidac) can also be used with the mode6 option This overlay seems present on CoinOPS
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-vga666,mode6
Overlay vc4-vga666 work with vc4-kms-v3d (not with vc4-fkms-v3d)
I don't know CoinOPS, I download it to test
awesome ill give that a go thanks!
I tested CoinOPS, but my gamepad does not work. below are the 2 configs that work
configuration working with the vc4-kms-v3d overlay
# 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
# Disable rainbow image at boot
disable_splash=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=1280
#framebuffer_height=720
# 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=1
#hdmi_mode=16
# 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
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=2100
#v3d_freq=850
#over_voltage=7
# 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
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
# Run in 64-bit mode
arm_64bit=1
# Disable compensation for displays with overscan
disable_overscan=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
[pi4]
# Run as fast as firmware / board allows
#arm_boost=1
[all]
enable_uart=1
# Enable audio on GPIO for Pi400
dtoverlay=audremap,pins_18_19
dtparam=audio=on
dtoverlay=vc4-kms-dpi-generic,rgb666-padhi
dtparam=hactive=320,hfp=4,hsync=30,hbp=46
dtparam=vactive=240,vfp=4,vsync=5,vbp=14
dtparam=clock-frequency=6400000
# Resolution@freq hactive hfp hsync hbp vactive vfp vsync vbp clock-frequency
#VGA 640x480 @60 640 16 96 48 480 10 2 33 25175000
#SVGA 800x600 @60 800 40 128 88 600 1 4 23 40000000
#XGA 1024x768 @60 1024 24 136 160 768 3 6 29 65000000
#VESA 1368x768 @60 1368 72 144 216 768 1 3 23 85860000
#VESA 1280x800 @60 1280 64 136 200 800 1 3 24 83460000
#VESA 1280x1024 @60 1280 48 112 248 1024 1 3 38 108000000
#VESA 1400x1050 @60 1400 88 152 240 1050 1 3 33 122660000
#VESA 1600x1200 @60 1600 64 192 304 1200 1 3 46 162000000
#--- TV -----
#244p (NTSC res)@60 320 4 30 46 240 4 5 14 6400000
#288p (PAL res) @50 384 16 32 40 288 3 2 19 7363200
#480p @60 640 24 96 48 480 11 2 32 25452000
#720p @60 1280 110 40 220 720 5 5 20 74250000
#1080p @60 1920 88 44 148 1080 4 5 36 148500000
I note that with the vc4-dpi-generic overlay does not manage interlaced resolution
configuration working with the vc4-fkms-v3d overlay
# 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
# Disable rainbow image at boot
disable_splash=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=1280
#framebuffer_height=720
# 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=1
#hdmi_mode=16
# 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
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=2100
#v3d_freq=850
#over_voltage=7
# 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
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
# Run in 64-bit mode
arm_64bit=1
# Disable compensation for displays with overscan
disable_overscan=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
[pi4]
# Run as fast as firmware / board allows
#arm_boost=1
[all]
enable_uart=1
# Enable audio on GPIO for Pi400
dtoverlay=audremap,pins_18_19
dtparam=audio=on
# DPI
# disable i2c, pin use by h-sync & v-sync
dtparam=i2c_arm=off
gpio=2-9,12-17,20-24=a2
dpi_output_format=0x6
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
#244p@60
hdmi_timings=320 1 4 30 46 240 1 4 5 14 0 0 0 60 0 6400000 1
#288p@50
#hdmi_timings=384 1 16 32 40 288 1 3 2 19 0 0 0 50 0 7363200 1
#576i@50
#hdmi_timings=768 1 24 72 88 576 1 6 5 38 0 0 0 50 1 14875000 1
#480i@60
#hdmi_timings=640 1 24 64 104 480 1 3 6 34 0 0 0 60 1 13054080 1
#480p@60
#hdmi_timings=640 1 24 96 48 480 1 11 2 32 0 0 0 60 0 25452000 1
vc4-vga666 overlay is not installed on CoinOPS
TV resolutions are better handled on RecalboxOS and RGB-Pi-OS
ok i will try now! thanks for looking at this!
ok we have a picture now but its correct - need to find resolution? also lost sound from the VGA adapter?
I don't have the sound either on CoinOPS, but I have it on RaspberrypiOS with the same config
I saw in a CoinOPS documentation that the sound is by default on hdmi
there is probably a menu to activate the sound on the jack, but I do not have a controller compatible with CoinOPS, I do not have access to the menu
thanks i had the sound working through the adapter..the coinops build is HDMI only v3 will allow other... Are there any other options in terms of hdmi timings i can try? I have tried all of these by uncommenting each one(#) Im using a VGA to RGB adpater to the CRT tv (NTSC) USA tv
on the Recalbox wiki page there is a list of hdmi_timmings to test : https://wiki.recalbox.com/en/tutorials/video/crt/crt-screen-dpi-vga666-piscart-rgbpi
pi400RGB works well with Recalbox: https://wiki.recalbox.com/en/tutorials/video/crt/recalbox-on-crt-with-scart-dac
Thanks does the adapter work with a vga to rgb cable?
From: Laurent Le Goff @.> Sent: Wednesday, April 27, 2022 4:24:18 PM To: llegoff/Pi400RGB @.> Cc: BritX @.>; Author @.> Subject: Re: [llegoff/Pi400RGB] contacting you (Issue #1)
on the Recalbox wiki page there is a list of hdmi_timmings to test : https://wiki.recalbox.com/en/tutorials/video/crt/crt-screen-dpi-vga666-piscart-rgbpi
pi400RGB works well with Recalbox: https://wiki.recalbox.com/en/tutorials/video/crt/recalbox-on-crt-with-scart-dac
— Reply to this email directly, view it on GitHubhttps://github.com/llegoff/Pi400RGB/issues/1#issuecomment-1111446343, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEWJQLF43WQ5ZPMMGN2IRF3VHGO7FANCNFSM5UNBEVZA. You are receiving this because you authored the thread.Message ID: @.***>
There are 3 types of vga to RGB cables:
Hey thanks for all your help!
I have this cable but happy to buy another
Amazon.com: Zerone 5FT/ 1.5M VGA to 3 RCA Cable, VGA Male Plug 15 pin to TV S-Video 3 RCA PC Computer AV Adapter Cable for HDTV PC DVD Laptop : Electronics https://www.amazon.com/gp/product/B07F3WVV99/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
The CRT im trying to use it with has composite R/G/B or I can use component(Y)
Would I be better getter your SCART adapter and using a scart to RGB cable?
From: Laurent Le Goff @.> Sent: Thursday, April 28, 2022 12:03 PM To: llegoff/Pi400RGB @.> Cc: BritX @.>; Author @.> Subject: Re: [llegoff/Pi400RGB] contacting you (Issue #1)
There are 3 types of vga to RGB cables:
— Reply to this email directly, view it on GitHub https://github.com/llegoff/Pi400RGB/issues/1#issuecomment-1112385930 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWJQLAIIZCMTPHLPMZSIO3VHKZCBANCNFSM5UNBEVZA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AEWJQLHCQYJIJQ6POWF4RW3VHKZCBA5CNFSM5UNBEVZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIJG2TCQ.gif Message ID: @. @.> >
CT-27SL15 seems to have a YPbPr input, and cable is VGA to YPbPr, its good this cable contains components to convert RGB (VGA) to YPbPr Y=0,299R+0,587G+0,114B+Csync Pb=-0,168R-0,331G+0,5B pr=0,5R-0,418G-0,081*B
in europe we did not have YPbPr socket on CRT TVs, but a SCART socket with RGB input
hello - im trying to get the VGA adapter working but having no luck on a P400 or Pi4. can you help?