GBS 8200/8220 CFW Project

The place for all discussion on gaming hardware
wally86
Posts: 1
Joined: Sun Mar 08, 2020 3:42 pm

Re: GBS 8200/8220 CFW Project

Post by wally86 »

Can I use an Adruino Leonardo R3 for gbs control? And what pins go to what? Thanks

http://imgur.com/a/wWK7DAe
rama wrote:If someone has one of these Koryuu S-Video to Component converters, could you test gbscontrol with it?
I have a report that there is some sync problem, but there's not much I can do with that info alone.
Component is pretty well specified, so I believe it should just work :/
rememberizer
Posts: 37
Joined: Mon Nov 25, 2019 3:38 am

Re: GBS 8200/8220 CFW Project

Post by rememberizer »

Ryoandr wrote:UnknownMK1179 :
you shouldn't use direct JAMMA RGBS signals, they are too high and are made for a high impedance monitor, even more since you removed GBS pots.

You should at least have some resistors to attenuate the signals to reasonable levels (the best is to attenuate and buffer with a video amp like a THS7374).

In any case, if you using it on a flat panel, you should try "HTotal++/--" and/or "lock to 50/60hz" options. Even over VGA, LCDs are much less tolerant than VGA PC CRT monitors.
What exactly is attenuating? Where would i install the resistors?

I get the exact same problems as UnknownMK but only for NeoGeo and CPS3. It did work well using a much older version, but not anymore. It eventually works when I turn Syncwatcher on and off over and over, and even then the top few pixels of the screen are bent a bit to the left. CPS2 and many of my other boards work great. I'm using a VGA monitor.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

Attenuating means a controlled lowering of the amplitude of a signal.
It's most often done by installing resistors, but sometimes this is too simple and may distort the signal too much.
This is why the buffer was recommended.
However, such a buffer can't be just thrown in there randomly. It needs to be carefully designed.
So this is one of the reasons why superguns exist, and you should look into getting one :)

Edit:
However, since it once worked, it means that my dynamic code that I use today is failing on your source.
If I had access to it, I could fix the problem for everyone. Any ideas?
Ryoandr
Posts: 269
Joined: Mon Jun 12, 2017 4:12 am

Re: GBS 8200/8220 CFW Project

Post by Ryoandr »

ah ha ok, I didn't try MVS for a long time, turns out it doesn't work now, image is jumping around.
Spoiler

Code: Select all

debug) ign. length: 0x60
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5E
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5E
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5D
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x60
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x60
. (debug) ign. length: 0x60
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x1A
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5E
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5E
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5C
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5D
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5E
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x5F
. (debug) ign. length: 0x60
.*****
PPZ
Posts: 1
Joined: Fri Apr 10, 2020 11:31 pm
Location: Live Streaming specialist / Electronic engineer

Re: GBS 8200/8220 CFW Project

Post by PPZ »

Hello,

This is my first post, thank you for accepting me :)

Today I modded two GBS8200 scalers, programmed ESP8266 D1 Mini controllers, and generally everything was fine.Tested with my Amstrad CPC464 few games, it was really impressive (thank you rama, great work!)

But, I run into a problem which I was unable to resolve.

Playing Ghosts and Goblins game was impossible, because image was stuttering, jumping, freezing.

On Tv set with RGB input this game is playing just fine.

Tried to switch resolution, blending, filters, scanlines, nothing helped.

Other games are playing fine, but I can not get it what is happening.Is it some special video mode that game is using, or some trick developers used for the scroll?

Check this out:

https://youtu.be/9535IpipT6A

Notice how image is freezing for a moment.Also, when this occurs, blue LED on ESP8266 is going off:

https://youtu.be/ronW0bEGVXA

I tried on both CRT and LCD monitor, it's the same.

And here is one example of game playing just fine:

https://youtu.be/b5v-P8A36Mo


Any suggestion on what might be? Some possible solution?

Thank you in advance.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

Ryoandr:

It looks like the dynamic sync window is tricky enough that I can't finalize it correctly without such hardware that fails on it.
I'm already looking for alternatives, but sometimes only the real hardware can demonstrate all aspects of an issue.

So yeah. While I might be able to fix your MVS, it would probably then break a few other sources.
I want to support them all, but right now I'm also super busy.
It will take a while.
User avatar
MrMistermister
Posts: 19
Joined: Sun Jul 22, 2018 3:11 am

Re: GBS 8200/8220 CFW Project

Post by MrMistermister »

Apologies if this has been answered before, but I was curious if I could use a GBS-8200 with GBSC to "normalize" (for lack of knowing a better term) off spec sync signals like SNES and NES RGBs in passthru mode going into an OSSC. Otherwise, do I have to apply some sort of scaling on the GBSC side in order for any sync correction to occur?

In other words, I'd like to try a setup where 240p can be passed through a GBS-8200 to the VGA port on an OSSC and line doubled from there, while still having sync correction/normalization taking place. If that's not possible, what would you recommend?

Either way, I just ordered the parts to get into this project and I'm excited to see what I can do with it.
User avatar
kitty666cats
Posts: 1270
Joined: Tue Nov 05, 2019 2:03 am
Location: Massachusetts, USA

Re: GBS 8200/8220 CFW Project

Post by kitty666cats »

Are there any glorious angels in here who'd accept compensation (or some sort of fun vidya / AV gear trade) in putting together my 8200 (Nov 2019 model) with the Wi-Fi board, 'n setting up GBSC with my Raspberry Pi 3B+? I have all of the above and could mail them. I just don't wanna botch this! I'm cursed with horribly shaky hands, genetically, from both sides of the family... shit sucks.

I DO have a SCART2DVI I could trade to someone if they'd want to take this lil' task on... with a DVI-I/A to DE-15 dongle it makes for a very easy way for you to plug SCART into the GBS! The audio seems a little wonky on said SCART2DVI but I am pretty sure that's just a simple attentuation issue that could be a quick fix. Also has on/off switchable LM1881 and LPF:)
rememberizer
Posts: 37
Joined: Mon Nov 25, 2019 3:38 am

Re: GBS 8200/8220 CFW Project

Post by rememberizer »

rama wrote:Ryoandr:

It looks like the dynamic sync window is tricky enough that I can't finalize it correctly without such hardware that fails on it.
I'm already looking for alternatives, but sometimes only the real hardware can demonstrate all aspects of an issue.

So yeah. While I might be able to fix your MVS, it would probably then break a few other sources.
I want to support them all, but right now I'm also super busy.
It will take a while.

Thanks for looking into it. If there's any way I can help, just let me know!


kitty666cats:

Does this work on a pi 3b+ now? Using 1920x240p?
User avatar
kitty666cats
Posts: 1270
Joined: Tue Nov 05, 2019 2:03 am
Location: Massachusetts, USA

Re: GBS 8200/8220 CFW Project

Post by kitty666cats »

rememberizer wrote:
rama wrote:Ryoandr:

It looks like the dynamic sync window is tricky enough that I can't finalize it correctly without such hardware that fails on it.
I'm already looking for alternatives, but sometimes only the real hardware can demonstrate all aspects of an issue.

So yeah. While I might be able to fix your MVS, it would probably then break a few other sources.
I want to support them all, but right now I'm also super busy.
It will take a while.

Thanks for looking into it. If there's any way I can help, just let me know!


kitty666cats:

Does this work on a pi 3b+ now? Using 1920x240p?
Oh, I am under the assumption that people use Pi's to control the WiFi board...? I could be misinformed.
User avatar
NoAffinity
Posts: 1018
Joined: Mon May 07, 2018 5:27 pm
Location: Escondido, CA, USA

Re: GBS 8200/8220 CFW Project

Post by NoAffinity »

Gbsc is controlled via web ui, by connecting to it via wifi. You can use a cell phone or connect it to your home wifi and control via web browser from any other web-capable device on the network.

Sent from my SM-G955U using Tapatalk
User avatar
BazookaBen
Posts: 2077
Joined: Thu Apr 17, 2008 8:09 pm
Location: North Carolina

Re: GBS 8200/8220 CFW Project

Post by BazookaBen »

So I've read that new firmware can downsample 480p to 240p. But what about 480i to 240p? Would be useful for certain Wii and PS2 games where 480p isn't possible.
User avatar
NoAffinity
Posts: 1018
Joined: Mon May 07, 2018 5:27 pm
Location: Escondido, CA, USA

Re: GBS 8200/8220 CFW Project

Post by NoAffinity »

BazookaBen wrote:So I've read that new firmware can downsample 480p to 240p. But what about 480i to 240p? Would be useful for certain Wii and PS2 games where 480p isn't possible.
YES!

The below were taken from the first release of the downscaling. I believe rama has made a few minor tweaks since then.

From a previous post of mine:
I’m no whiz with the camera, in terms of capturing displays. And it’s a Samsung S8 to boot, which is probably lacking something in this department as well. But, I will say that clean scanlines are there and no shimmer. It looks really good on my 27” Trinitron!
Spoiler
Image

Image

Image
User avatar
BazookaBen
Posts: 2077
Joined: Thu Apr 17, 2008 8:09 pm
Location: North Carolina

Re: GBS 8200/8220 CFW Project

Post by BazookaBen »

You have any images hosted elsewhere? I can't zoom those in to see if it's actually a 1:1 scale, it's asking me to make an account. Test grid from 240p test suite, running in 480i mode would be a good way to test it, for sure.
User avatar
NoAffinity
Posts: 1018
Joined: Mon May 07, 2018 5:27 pm
Location: Escondido, CA, USA

Re: GBS 8200/8220 CFW Project

Post by NoAffinity »

BazookaBen wrote:You have any images hosted elsewhere? I can't zoom those in to see if it's actually a 1:1 scale, it's asking me to make an account. Test grid from 240p test suite, running in 480i mode would be a good way to test it, for sure.
Sorry about that. Not sure why that hosting site started doing that. Here's a download link for the photos: https://drive.google.com/file/d/1dBC2Re ... sp=sharing

@rama - I just tried tapping a CPS2 AV IO, for RGBS and feeding that into GBS Control. The image is overly bright. I've turned gain all the way down, and it is still overly bright. To summarize, it is CPS2 direct RGBS output to GBS RGBS input. Thoughts? Components possibly needed in the outputs to make them more friendly to the GBS inputs?
User avatar
BazookaBen
Posts: 2077
Joined: Thu Apr 17, 2008 8:09 pm
Location: North Carolina

Re: GBS 8200/8220 CFW Project

Post by BazookaBen »

Your scaling, or deinterlacing, is pretty screwed up there. Check out the lettering on the copyright screen, it's all doubled up. Also, the capcom logo obviously has the two fields offset by one line. Yellow and blue lines where they're not supposed to be.

So has anybody successfully got 480i deinterlace perfectly into 240p?
User avatar
NoAffinity
Posts: 1018
Joined: Mon May 07, 2018 5:27 pm
Location: Escondido, CA, USA

Re: GBS 8200/8220 CFW Project

Post by NoAffinity »

NoAffinity wrote:
BazookaBen wrote:You have any images hosted elsewhere? I can't zoom those in to see if it's actually a 1:1 scale, it's asking me to make an account. Test grid from 240p test suite, running in 480i mode would be a good way to test it, for sure.
Sorry about that. Not sure why that hosting site started doing that. Here's a download link for the photos: https://drive.google.com/file/d/1dBC2Re ... sp=sharing

@rama - I just tried tapping a CPS2 AV IO, for RGBS and feeding that into GBS Control. The image is overly bright. I've turned gain all the way down, and it is still overly bright. To summarize, it is CPS2 direct RGBS output to GBS RGBS input. Thoughts? Components possibly needed in the outputs to make them more friendly to the GBS inputs?
The consensus is 480p -> 240p is better, but the 480i downscaling is improved now compared to those photos.

@rama - tested some more hardware. CPS1, Neo Geo and Konami all look good at the minimum GBSC gain setting.
​ ​ ​ ​ ​ ​ ​ ​
Image Image Image Image Image Image Image Image

https://klovimg.com/images/2020/04/12/1.jpg​

https://klovimg.com/images/2020/04/12/2.jpg​

https://klovimg.com/images/2020/04/12/3.jpg​

https://klovimg.com/images/2020/04/12/4.jpg​

https://klovimg.com/images/2020/04/12/5.jpg​

https://klovimg.com/images/2020/04/12/6.jpg​

https://klovimg.com/images/2020/04/12/7.jpg​

https://klovimg.com/images/2020/04/12/8.jpg​
captaineos
Posts: 28
Joined: Mon Aug 06, 2018 2:20 am

Re: GBS 8200/8220 CFW Project

Post by captaineos »

I'm happy chiming in to say I've bought a GBS 8200 and ESP module that should arrive this week via Australia Post. I am most excited by the 240p/480i handling and web interface. I'm currently an Extron die hard with various scalers but none seem to match this custom firmware control. I have printed the information about hardware mods such as removing pots and C11 replacement. My sync levels are TTL 5v C-SYNC so I wont add a 100ohm resistor to ground on sync.

Interestingly I owned a Gonbees board (now abbreviated to GBS by the looks of things) from Liksang.com many years ago but hated it as it was obviously deinterlacing 240p and had overall a poor picture.

I'll check back in when the postie comes and I probably get stuck programming the ESP board haha. I have terrible luck with them when I last did ATTiny PSNee mod chips (never again!).

So I plan to have profiles for inputs and select them via web interface and use my Extron DVS 304 as the final scale and or simply digitisation.
User avatar
manuelink64
Posts: 11
Joined: Fri Jul 27, 2018 3:38 pm
Location: La Serena, Chile

Re: GBS 8200/8220 CFW Project

Post by manuelink64 »

Hi to everyone!

I followed this thread from the beginning, recently I got all the stuff (HD9800 v5 [2015], Wemos D1R2, Arduino IDE, 5V/3A power supply).
then I did the following mods:

- 100 Ohms resistor between Sync and Ground.
- I Changed the C11 for the recomended value, 22uF.
- Removed the RGB pots and bridge the lines directly.

Then I welded all the wires and checked everything and programmed the lastest version of GBS-C on the Wemos

My test subjet is a Sony PS2 SCPH-50001 with Components AV cable.
the HD9800 is connected to the VGA input on my LG 50" Plasma TV from 2012

I started up and worked like a charm, I was super happy with the image quality! :D :shock:

I was running "Fantasy Zone: Complete Collection", testing all the Video Modes/Filters in the game (240p, 480i, 480p)
and testing all the video modes on the GBS-C through the WebGui.

Everything worked phenomenal for almost 30 minutes, BUT...THE HORROR! :shock:
suddenly, the image become terrible corrupted/static and then, a black screen.

Image

I checked the Power source, cables, everything was OK.

Then I grabbed my oscilloscope and started check some voltages and signals,
the voltajes were OK, but something wrong on the clock signals.

The clock on the Myson MVT230 was a beautiful 12 MHz sinusoidal wave, nothing wrong here.

Image

but I checked the clock on the TrueView 5725 and nothing, absolutely dead,
the clock here is supposed to be a 27 MHz sinusoidal wave and the only thing I get is a flatline of 1.48VDC.

Image


someone can check is supposed to works like this? :wink: :?:

Image

Occasionally the HD9800 "works", but the image stutter, like an old silent movie.
then the AGC become crazy (the brightness goes up and down) and
if the video mode or image change (on ps2), then become corrupted instantly.

Image

I checked the logs, and the GBS-C don't recognize the format of image input.
I tried to use the HD9800 without the GBS-C, this one boot with the Chinese logo
and then, the "No Signal" appears from the HD9800 itself. :(

Please help! :cry:
I really was shocked for the image quality of this project!
Last edited by manuelink64 on Tue Apr 14, 2020 12:41 am, edited 1 time in total.
rememberizer
Posts: 37
Joined: Mon Nov 25, 2019 3:38 am

Re: GBS 8200/8220 CFW Project

Post by rememberizer »

kitty666cats wrote:
rememberizer wrote: Oh, I am under the assumption that people use Pi's to control the WiFi board...? I could be misinformed.
There's no need for a pi for this.

I would love for this to support Raspberry Pi CRT output resolutions like 1920x240 and 3840x240 though, I would be able to capture from pi emulators that way!
User avatar
NoAffinity
Posts: 1018
Joined: Mon May 07, 2018 5:27 pm
Location: Escondido, CA, USA

Re: GBS 8200/8220 CFW Project

Post by NoAffinity »

@manuelink64 c11 should be a 22uf electrolytic cap. It replaces a smd cap.

From the github:
Remove C11, optionally replace with 22uF (6.3V to 16V) electrolytic cap

Sent from my SM-G955U using Tapatalk
User avatar
manuelink64
Posts: 11
Joined: Fri Jul 27, 2018 3:38 pm
Location: La Serena, Chile

Re: GBS 8200/8220 CFW Project

Post by manuelink64 »

NoAffinity wrote:@manuelink64 c11 should be a 22uf electrolytic cap. It replaces a smd cap.

From the github:
Remove C11, optionally replace with 22uF (6.3V to 16V) electrolytic cap

Sent from my SM-G955U using Tapatalk
You are right, but is only was a typo, I checked the C11 installed and was a 22uF/25V.

Image
captaineos
Posts: 28
Joined: Mon Aug 06, 2018 2:20 am

Re: GBS 8200/8220 CFW Project

Post by captaineos »

I need 1024x768 output as my Pioneer Plasma 50MXE20-S accepts this in 'Dot To Dot' mode and fills the screen correctly when set to 4:3. I have used the service menu to disable ABL in PC mode so 1024x768 is the dream, especially as everything want to scale is 4:3.

EDIT: Nevermind, I always intended to run the GBS via an Extron DVS 304 anyway which will output the fixed 1024x768. Therefore I select the 720x480 option in the web-ui as that will simply create a standard 480p from 240p/480i and then pass that through to the Extron.
User avatar
NoAffinity
Posts: 1018
Joined: Mon May 07, 2018 5:27 pm
Location: Escondido, CA, USA

Re: GBS 8200/8220 CFW Project

Post by NoAffinity »

@manuelink64 how do you have power routed to the wemos and what points are you connecting power to, on the wemos?

Also, have you tried other sources and older firmware versions?

Sent from my SM-G955U using Tapatalk
rememberizer
Posts: 37
Joined: Mon Nov 25, 2019 3:38 am

Re: GBS 8200/8220 CFW Project

Post by rememberizer »

@rama I just thought of something.

I have no idea if it will help, but maybe you can use a pi with native refresh rates via retroarch to be able to test cps2, neo geo, and other arcade systems without having to own all of them?
SuperSpongo
Posts: 315
Joined: Sat Mar 17, 2018 2:49 pm
Location: Germany

Re: GBS 8200/8220 CFW Project

Post by SuperSpongo »

I already suggested a similar idea sometime back, but with a Groovymame PC setup. I think he already set that up :)
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

rememberizer wrote:@rama I just thought of something.

I have no idea if it will help, but maybe you can use a pi with native refresh rates via retroarch to be able to test cps2, neo geo, and other arcade systems without having to own all of them?
I already have a PC with an AMD card and crtemudriver. It's not the same. I really need the real thing :p

manuelink64:
If you put a probe on these spots, they can easily kill the oscillation.
Try holding it near the crystal and select the lowest volts/div setting.
If you don't see anything that resembles a clock, the clock driver is dead.
rememberizer
Posts: 37
Joined: Mon Nov 25, 2019 3:38 am

Re: GBS 8200/8220 CFW Project

Post by rememberizer »

rama wrote:
rememberizer wrote:@rama I just thought of something.

I have no idea if it will help, but maybe you can use a pi with native refresh rates via retroarch to be able to test cps2, neo geo, and other arcade systems without having to own all of them?
I already have a PC with an AMD card and crtemudriver. It's not the same. I really need the real thing :p
:cry: oh well!

Btw I tested the GBSC on a raspberry pi 3b running Lakka right now and it works!
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

I would hope it works!
The current sync handling has been tested good with everything that I could throw at it, and that's a lot :)
rememberizer
Posts: 37
Joined: Mon Nov 25, 2019 3:38 am

Re: GBS 8200/8220 CFW Project

Post by rememberizer »

:D

Is there a way to manually set RGB cutoffs? I think the pots adjust gain, and my GBS seems to have different cutoff levels for each color. I can't quite get the colors right on my jamma stuff.
Post Reply