Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Is there a such thing as a refresh doubler?  (Read 1868 times)

0 Members and 1 Guest are viewing this topic.

Jack Burton

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1384
  • Last login:April 07, 2025, 02:12:05 pm
  • .
Is there a such thing as a refresh doubler?
« on: March 10, 2011, 04:37:04 am »
Wouldn't it be nice if there were a device that would double whatever the refresh rate of the signal from a PCB was so that it would be playable on many CRT PC monitors?

Anyone ever heard of anything that can do this?  Could you set up a computer to do it?
« Last Edit: March 10, 2011, 04:39:35 am by Jack Burton »

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Is there a such thing as a refresh doubler?
« Reply #1 on: March 10, 2011, 10:09:36 am »
It's certainly possible to build one (I've done it on an FPGA dev board as part of a larger project).  There are probably standalone boxes out there, but I'm guessing they command something of a price premium as they're probably targeted toward professional markets.  Line doublers are more common, but they won't do exactly what you're seeking.  They'll keep the refresh rate the same but duplicate every line to double the horizontal scanrate.

Using a PC to do this would be possible with the right equipment, I guess, but it seems non-ideal.  You'd need an RGB 4:4:4 video capture device capable of low resolutions (they exist but tend to be expensive as they are again targeted towards professionals), a video output device capable of the target output resolution (trivial, almost all PCs can do it), and some software to munch on the data in a timely fashion.  The amount of data isn't absurd, but it's non-trivial, so you'd need at least a decent PC to do it.  Conventional operating systems will also have trouble guaranteeing the timing you'd want to ensure low latency and smooth output with no tearing or skipping, but this isn't strictly a hardware limitation.  The software isn't too complicated (it's just a couple of framebuffers that swap every input frame and draw each output frame twice).

Get 10+ people together who want one of these and I'll build one in hardware, if you really want one.

Numbski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 296
  • Last login:November 03, 2020, 01:51:50 pm
    • Numbski
Re: Is there a such thing as a refresh doubler?
« Reply #2 on: March 10, 2011, 12:12:24 pm »
Couldn't you just take one of these Mini-ITX computer boards that have an SVideo input and encoder card built-in and flush the desired output to the VGA?
Build a man a fire, keep him warm for the night.
Set a man on fire, keep him warm for the rest of his life.

Jack Burton

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1384
  • Last login:April 07, 2025, 02:12:05 pm
  • .
Re: Is there a such thing as a refresh doubler?
« Reply #3 on: March 10, 2011, 05:01:14 pm »
@monmothma, thank you once again for great info, is there anything you don't know about this stuff?

A hardware solution would be ideal because as you mentioned any software solution would involve things like v-sync and input delay.  That would probably nullify a lot of the benefits of the idea in the first place. 

As long as the price wasn't too high, say less than $200 each, I think that 10 guys would be pretty easy to round up among here, SRK, Neo-geo.com, and shmups.  

I'll ask around and see how it goes.  Without making any promises of course.  

« Last Edit: March 10, 2011, 05:07:25 pm by Jack Burton »

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Is there a such thing as a refresh doubler?
« Reply #4 on: March 10, 2011, 07:31:53 pm »
Couldn't you just take one of these Mini-ITX computer boards that have an SVideo input and encoder card built-in and flush the desired output to the VGA?

If your source is S-Video, sure.  I think it'll still be difficult to convince a typical PC OS (Windows, Linux, whatever) to get the video OUTPUT into the exact timings you want (exactly 2x the input refresh rate) and keep everything synced up, but there's generally no reason the hardware can't do it.

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Is there a such thing as a refresh doubler?
« Reply #5 on: March 11, 2011, 11:25:43 am »
BTW, a device such as this will, out of physical necessity (unless you know how to get around that pesky causality thing) lag at least half an input frame (one output frame).  Practical implementations will generally lag one full input frame, crappy implementations maybe more.

$200 is a reasonable target, if aggressive, in qty 10.  I won't make much money, if any, at that price, so keep that in mind if you're looking for support.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Is there a such thing as a refresh doubler?
« Reply #6 on: March 12, 2011, 10:16:39 pm »
60hz is that bad, huh?
-Banned-

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Is there a such thing as a refresh doubler?
« Reply #7 on: March 13, 2011, 04:06:33 pm »
60hz is that bad, huh?

The intent is usually to double the horizontal scanrate to display standard and medium resolution games on a PC monitor or newer arcade that can't go below 30kHz horizontal but can go up to 120Hz vertical.  It does also reduce flicker, which can be nice.

The other option for displaying such signals on such monitors is a line doubler.  This doubles only the horizontal scanrate without altering the refresh rate, which can be nice since some monitors don't support 120Hz, but it messes up the scanline effects which some people really really like as it doubles the number if lines of video (by duplicating each one).  This can also be done with less latency (just one scanline) than a refresh doubler.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Is there a such thing as a refresh doubler?
« Reply #8 on: March 16, 2011, 11:46:01 pm »
Usually people just use scalers for PCBs to higher scan rate monitors. I wouldn't bother with either method.
-Banned-

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Is there a such thing as a refresh doubler?
« Reply #9 on: March 17, 2011, 12:40:34 am »
I would tend to agree.  Find an outboard scaler that doesn't lag (!!) and use it.  But some people REALLY love their scanlines, which a scaler will destroy.  It will also tend to smear hard edges since most scalers want to assume photorealistic input images, and classic arcade games are pretty much not that.  Again, personal preference.  Many people are used to soft images, now, mostly due to the prevalence of scalers, but some people want things as "original" as they can get.

Blanka

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2248
  • Last login:January 25, 2018, 03:19:28 pm
Re: Is there a such thing as a refresh doubler?
« Reply #10 on: March 17, 2011, 03:26:06 am »
You do need a line doubler instead of a refresh doubler. That would double the signal refresh as well (15->30Khz). 60Hz vertical is perfect for PC CRT's already. But 240 lines is not. VGA cards have a line doubler as well.

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Is there a such thing as a refresh doubler?
« Reply #11 on: March 17, 2011, 04:05:04 am »
That's the idea.  Double the refresh (which will also double the horizontal scanrate since the number of lines is unaltered) without doing anything else.  This will preserve the actual image exactly as it was.  Each frame is simply displayed twice.  The only perceptible change would be less flicker and maybe a brighter image.

This works great...if your monitor can handle 120Hz refresh.  This pretty much limits you to PC monitors, but there were a few high res only (30kHz+) arcade monitors made that can do it, too, as well as some low res (15kHz capable) arcade monitors, but you could just display the original video on those.  On a PC monitor, this will look a little funny.  PC monitors weren't generally designed for such low resolutions, so the scanlines will be VERY pronounced.

A line doubler would double every line, messing up the scanlines some.  On a PC monitor, this may be preferable (see above), but on an arcade monitor with a coarser grain dot pitch, it might not look as good.  And yes, if you're generating the graphics with a PC, you don't need an outboard device to do this (or double the refresh, for that matter) - just enable doublescan.

Note that doubling both the number of lines AND the refresh rate will QUADRUPLE the horizontal scanrate.

A niche application device, to be certain, but if someone wants it, it is doable.