VOGONS


First post, by InterClaw

User metadata
Rank Newbie
Rank
Newbie

This is more of a technical question.

I've attempted three different VGA to HDMI adapters off of AliExpress now. While the results have varied some, they do behave very similarly to each other in that they don't work below 640x480. On my old 486 I do see the POST screen, but then when it switches to 320x200 I get a no input message on the TV. I have to use my old CRT to go into a game and set a minimum of 640x480 and then switch back to the adapter to get a picture on the TV.

I'm wondering why this is the case. Some theories:

1. I've been trying to understand some hard facts on how HDMI works. Is there a minimum resolution to an HDMI signal so that it simply doesn't work below 640x480? Below that doesn't exist for HDMI? Do I need a more advanced scaler that takes the 320x200 input signal and scales it up to something that will work over HDMI?

2. Or does the HDMI cable I use matter at all here? I'm guessing no on this one.

3. Could it be the crappy TV I'm trying this on that's the problem? Do different displays have different minimum HDMI resolutions?

I'm not looking for a perfect solution here with the absolute best image possible. I just want a fallback available to at least output an image if and when my CRT ultimately dies on me...

Reply 1 of 10, by sdz

User metadata
Rank Member
Rank
Member

The minimum pixel clock specified in the DVI and later HDMI standard, is 25MHz. That's the pixel clock of 640x480@60. Anything lower than that is outside of the official spec and, in most cases, will not work.

Reply 2 of 10, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

The pixel clock of most video modes below 640x480 is still the same; they use a higher refresh rate (70Hz) to even things out, which is probably the actual problem (cheap HDMI converters only supporting 60Hz with no frame conversion/dropping for higher refresh rates).

Reply 3 of 10, by darry

User metadata
Rank l33t++
Rank
l33t++
InterClaw wrote on 2025-01-04, 02:52:
This is more of a technical question. […]
Show full quote

This is more of a technical question.

I've attempted three different VGA to HDMI adapters off of AliExpress now. While the results have varied some, they do behave very similarly to each other in that they don't work below 640x480. On my old 486 I do see the POST screen, but then when it switches to 320x200 I get a no input message on the TV. I have to use my old CRT to go into a game and set a minimum of 640x480 and then switch back to the adapter to get a picture on the TV.

I'm wondering why this is the case. Some theories:

1. I've been trying to understand some hard facts on how HDMI works. Is there a minimum resolution to an HDMI signal so that it simply doesn't work below 640x480? Below that doesn't exist for HDMI? Do I need a more advanced scaler that takes the 320x200 input signal and scales it up to something that will work over HDMI?

2. Or does the HDMI cable I use matter at all here? I'm guessing no on this one.

3. Could it be the crappy TV I'm trying this on that's the problem? Do different displays have different minimum HDMI resolutions?

I'm not looking for a perfect solution here with the absolute best image possible. I just want a fallback available to at least output an image if and when my CRT ultimately dies on me...

My recommendations, in descending order of preference :
1) get an OSSC + a monitor that can force any input resolution to 4x3 aspect ratio (unless you don't mind a stretched image) (IMHO, the best option by far)
OR
2) get an Extron RGB-hdmi 300 or RGB-DVI 300 variant and use any monitor (refresh rate will always be converted to 60Hz on output). This will work with practically any monitor or TVA with DVI or HDMI input (the Extron handles aspect ratio conversion, as desired).
OR
3) get a 4x3 monitor (or one that can force any input resolution to 4x3 aspect ratio) with a VGA input

and call it a day .

Summary explanation :

The standard VGA 320x200 mode has a refresh rate of 70Hz (closer to 70.8Hz , actually), not 60Hz which may be part of the problem.

Additionally , VGA output is never actually 320x200 at 70Hz, from the point of view of what comes out of the analogue VGA connector, it is actually doubled scanned by the VGA card and output as 640x400 at 70Hz .

Furthermore, standard VGA text mode, which is 720x400 at 70Hz (and output as such through the analogue VGA connector) has the same timings (active picture time, blanking interval, etc) as 320x200 at 70Hz doubled scanned by the VGA card and output as 640x400 at 70Hz.

This usually means the following :

a) A VGA to HDMI/DVI adapter that can handle 720x400 at 70Hz (VGA text mode) should also handle 320x200 at 70Hz (doubled scanned by the VGA card and output as 640x400 at 70Hz), as do LCD monitors with an analogue VGA input
b) Such a VGA to HDMI/DVI adapter that can handle 640x400 (doubled 320x200) and 720x400 at 70Hz will need to "guess" which of 720x400 or 640x400 (doubled 320x200) is is actually receiving. Adapters (and LCD monitors with VGA input) will typically assume 720x400, which will cause 640x400 (doubled 320x200) to be displayed with slightly uneven pixels (LCD monitors with an analogue VGA input have the same issue)

I can go on, but I think it best if you ask questions at this point, if you would like more details on any specific point(s).

Reply 4 of 10, by clb

User metadata
Rank Oldbie
Rank
Oldbie
InterClaw wrote on 2025-01-04, 02:52:

I've attempted three different VGA to HDMI adapters off of AliExpress now.

Do you have the exact models of which adapters you have tried? Maybe some other people at Vogons might have the same adapters, and could then share their exact experience with those adapters.

InterClaw wrote on 2025-01-04, 02:52:

On my old 486 I do see the POST screen, but then when it switches to 320x200 I get a no input message on the TV.

Can you clarify this one? When a PC POSTs, the video mode depends a bit on the PC, but e.g. on my 486 PC, the POST video mode is EGA Mode 10h, 640x350 (which on a VGA adapter is 70Hz, though on original EGA would have been 60Hz):

The attachment 486-POST-video-mode.png is no longer available

After the PC POST screen, the PC will typically not switch to 320x200 unless you have some very specific OS or AUTOEXEC.BAT thing running, but e.g. for DOS boot, it will instead switch to CGA Mode 03h, 720x400:

The attachment 486-boot.png is no longer available

which is the same mode where the C:\>_ command prompt shows up:

The attachment DOS-video-modes.png is no longer available

Is that the video mode that is not working for you?

InterClaw wrote on 2025-01-04, 02:52:

1. I've been trying to understand some hard facts on how HDMI works. Is there a minimum resolution to an HDMI signal so that it simply doesn't work below 640x480?

There is no minimum HDMI resolution signal, but there is a requirement in the standard that each HDMI device must work with at least the VGA 640x480 @ 25.125 MHz pixel clock 60Hz vertical refresh resolution. (Although in the modern times with crazy gaming displays, I do have a ASUS PG259QN 360Hz G-sync display that I find does not support that resolution) This requirement has been made to have at least one common agreed video mode for all displays in the standard.

Besides that, displays can make their own arbitrary decisions of which video modes to support. For example, I have this ASUS ProArt PA248QV display, which has an arbitrary vendor restriction that it won't sync to video modes where the resolution width <= height. (not that it would be common to occur, but there are DOS tweak modes where that happens)

InterClaw wrote on 2025-01-04, 02:52:

Is there a minimum resolution to an HDMI signal so that it simply doesn't work below 640x480? Below that doesn't exist for HDMI? Do I need a more advanced scaler that takes the 320x200 input signal and scales it up to something that will work over HDMI?

I would be surprised if the VGA scalers here would be at fault. If you are booting at DOS, the PC will be in 720x400 @ 70 Hz video mode.

One important thing to note is that for analog VGA signal, information about horizontal resolution is not passed over the cable, so if the data is flowing to a digital display, the receiver has to guess/reinterpret what the horizontal resolution would be. So they can interpret 720x400 signal as 640x400, and that will work just fine, only that it will visually degrade the image quality (rather badly actually), but for the purposes of seeing an image, the horizontal resolution should offer no obstacles.

Like has been mentioned in previous posts, this leaves two potential challenges: A) either the vertical resolution (400 scanlines) is not supported, or B) the video refresh rate (70 Hz) is not supported.

Overall, my guess would be that each of the cheap VGA->HDMI converters you have should happily support any arbitrary vertical resolution, and up to 70Hz refresh rate as well, since it is produced from the same pixel clock that should not be out of limits, and they would actively have to do something "silly" to prevent that from working. And the issue is in your TV end rather.

InterClaw wrote on 2025-01-04, 02:52:

2. Or does the HDMI cable I use matter at all here? I'm guessing no on this one.

A bit unlikely that what you are observing here would be a cable problem.

InterClaw wrote on 2025-01-04, 02:52:

I have to use my old CRT to go into a game and set a minimum of 640x480

3. Could it be the crappy TV I'm trying this on that's the problem? Do different displays have different minimum HDMI resolutions?

Which game are you testing on?

From this I guess that it is the case that:
- DOS 720x400@70Hz command prompt screen is not syncing,
- maybe the game starts up at DOS 320x200@70Hz ? (which is actually 320x400@70Hz for VGA) and that doesn't sync either,
- and ingame, you switch to VGA 640x480, which is actually 60Hz and not 70Hz, and that does sync.

In VGA, 640x480 is 60Hz:

The attachment DOS-640x480.png is no longer available

This suggests towards B) 70Hz video refresh rate being the root problem.

Reply 5 of 10, by InterClaw

User metadata
Rank Newbie
Rank
Newbie

Wow, that's a lot of great information!

I did actually know that "regular", low resolution DOS runs at 70Hz, but didn't really connect the dots here... Long story short, I'm starting to think that it's simply the TV that is unable to handle anything else than 60Hz. Next thing to try here would be to introduce the 486 to an at least halfway decent monitor that can do something more than 60Hz. Hopefully, such a monitor could give some insight into what resolution is actually being sent from the adapter as well.

Btw, yes, your guesses are right. I'm just running MS-DOS (7.10 CDU). The POST screen looks something like this (not quite, but close).
Aptiva-complete-1.jpg
Maybe this is 640x480@60Hz then? The exact model computer I have is IBM Aptiva 2144-888.

But after the POST screen then it switches to outputting what I now have learned technically is 720x400@70Hz then (DOS text), but actually internally is doubled from 360x200?

And most older games, internally running at 320x200, are technically output as 640x400@70Hz throught the VGA port?

Tried a few games I know have several resolution options, like Blood and The Settlers II. These games run like crap on this computer though and I'm mostly interested in games from the first half of the 90s for this system, which typically just run at 320x200 (is my understanding), so that is the resolution I was hoping to output to a TV or something without too much requirements for special equipment. Anyway, when setting 640x480 (60Hz) in games like these and switching back to the adapters I get picture and audio throught the HDMI connection as expected, yes.

So you still think these oddbal resolutions, at or around 25MHz pixel clock, are just put into an HDMI signal the way they are? These adapters aren't converting/scaling them to anything more "modern" or commonplace for HDMI? It's technically possible for the HDMI signal to have pretty much any resolution? Might be formally out of spec and not easily understood by the receiving display, but technically possible to at least send like that?

Here are links to the adapters I've tried:
1.
https://www.aliexpress.com/item/1005006398281206.html
When I do get picture, it's very dark and green and blue. Either it's busted somehow and missing the red channel, or it's pinned differently for some other standard. I read something about that VGA is different in Japan?

2.
https://www.aliexpress.com/item/1005005507343141.html
(The 2nd option.) I think I saw pictures of adapters that looks like this one around here, so I tried this one next. Hate that the power cable sticks out the side. Produces a pretty bright image. Crops out a few pixels on the right for some reason. Draws 0.25A. So-so happy about this one.

3.
https://www.aliexpress.com/item/1005007557544740.html
I like that it comes with a decent length HDMI cable. Also like the fixed power and audio cables. Picture quality seems pretty good on this one. Not as bright as with #2. Also doesn't seems to crop out any pixels. Draws 0.16A.

@darry
I will probably not go all the way and get an OSSC that you mention, but out of curiosity, do you have experience with it? If so, what does it do with the 70Hz signal? Do you have the option of either also outputting 70Hz as well, or to convert it to 60Hz (with resulting stuttering)?

Reply 6 of 10, by darry

User metadata
Rank l33t++
Rank
l33t++
InterClaw wrote on 2025-01-05, 00:10:

@darry
I will probably not go all the way and get an OSSC that you mention, but out of curiosity, do you have experience with it? If so, what does it do with the 70Hz signal? Do you have the option of either also outputting 70Hz as well, or to convert it to 60Hz (with resulting stuttering)?

OSSC preserves the horizontal refresh rate (70Hz stays 70Hz , 60Hz stays 60Hz). There is not way to change that with OSSC. You need a monitor/TV that at least accepts 70Hz as input.

The Extron option always converts everything to 60Hz (if it isn't already at 60Hz).

Reply 7 of 10, by clb

User metadata
Rank Oldbie
Rank
Oldbie
InterClaw wrote on 2025-01-05, 00:10:

But after the POST screen then it switches to outputting what I now have learned technically is 720x400@70Hz then (DOS text), but actually internally is doubled from 360x200?

The DOS 80x25 text Mode 03h is actually full 720x400 in VGA, and not a scan- or clockdoubled 360x200. VGA adapters only scandouble the original 320x200 graphics mode.

To give the full historical details of this scandoubling business (maybe too much information for this VGA->HDMI conversation, but here we go):

Historically, CGA adapter brought three types of video modes:
- Modes 00h and 01h: 320x200 pixels 40x25 text mode in 60Hz with 8x8px font,
- Modes 02h and 03h: 640x200 80x25 text mode in 60Hz with 8x8px font,
- Modes 04h and 05h: 320x200 pixels 4 color graphics mode in 60Hz

VGA "updated" these video modes in four ways:
- it upgraded the earlier 8x8px adapter font to a 8x16 px font,
- it added a new "Dot 9" mode, which added extra 9th column of empty pixel space after each horizontal 8px of font to give a bit of spacing between characters to make them more readable (i.e. 320px -> 360px and 640px -> 720px),
- it added this scandoubling mode of operation to allow doublescanning modes with 200px of vertical resolution (for better visual clarity)
- it changed the original 12.5 MHz CGA crystal to two different, 25 and 28.25 MHz pixel clock crystals that could be divided by 2 to get 12.5 and 14.125 MHz respectively.

Putting these effects all together changed the above CGA video modes to:
- Modes 00 and 01h: 360x400 pixels 40x25 text mode in 70Hz with 8x16 font with Dot9 spacing, using 14.125 MHz pixel clock
- Modes 02h and 03h: 720x400 pixels 80x25 text mode in 70Hz with 8x16 with Dot9 spacing, using 28.25 MHz pixel clock
- Modes 04h and 05h (and a new Mode 13h): 320x400 pixels graphics mode in 70Hz using 12.5 MHz px clock (no Dot9 spacing)

InterClaw wrote on 2025-01-05, 00:10:

And most older games, internally running at 320x200, are technically output as 640x400@70Hz throught the VGA port?

Technically to be a bit pedantic, in VGA the 320x200 video modes become 320x400, not 640x400. However, like mentioned before, analog VGA wire does not carry information about horizontal resolution, so for any receivers on the VGA end, one can effectively pretend as if that mode is 640x400. But every two pixels of that 640 pixels are effectively the same, i.e. there's only 320 pixels worth of information in X direction.

I.e. when the signal is still digital before reaching RAMDAC, it is actually only 320x400, and not 640x400. (VGA only scandoubled, but not clockdoubled)

Though that is a technical distinction that is only visible to devices that are interfacing with the Feature Connector, e.g. when using CRT Terminator Digital VGA Feature Card ISA DV1000 .

InterClaw wrote on 2025-01-05, 00:10:

So you still think these oddbal resolutions, at or around 25MHz pixel clock, are just put into an HDMI signal the way they are? These adapters aren't converting/scaling them to anything more "modern" or commonplace for HDMI?

I believe that is the case: the VGA->HDMI converters won't do any "magic" reshaping, or re-framerateing of the signal. Re-framerateing would require a framebuffer-based rescaler, which is much more complex than a simple genlock + TMDS+LVDS encoder.

It is very likely that the cheaper the device, the simpler its operation is, so no framebuffer-based complex reshaping.

InterClaw wrote on 2025-01-05, 00:10:

It's technically possible for the HDMI signal to have pretty much any resolution?

That is correct. HDMI can carry any arbitrary horizontal and vertical resolution and arbitrary xx.yyzz... Hz fraction of a refresh rate that one can imagine. The cable framing protocol itself doesn't impose any restrictions.

In addition to those parameters, there are also other "blanking" and synchronization parameters that relate to nonvisible aspects of the video timing, and also a possible (visible) overscan/border that can be present. These variables together constitute "timing geometry", that can either follow some timing standard, such as "DMT", "VESA", or "CVT", or "CVT-Reduced Blanking" (of which there is now a third iteration of coming out), or the video geometry might not follow any standard, which e.g. these 720x400 70Hz or 320x400 70Hz video modes will fall under.

InterClaw wrote on 2025-01-05, 00:10:

Might be formally out of spec and not easily understood by the receiving display, but technically possible to at least send like that?

In my tests, most LCD displays are generally quite compliant to displaying many arbitrary nonstandard resolution modes, but the most critical requirements are the min and max horizontal and vertical frequencies. So the 70 Hz vertical refresh requirement is most often the out of spec requirement. The VGA -> HDMI scalers will generally happily pass through 70Hz VGA out as 70Hz HDMI, and leave it to the receiver to be able to cope with such a signal.

(with a somewhat limited test size set,) TVs tend to be more picky.. Modern Samsung smart TVs at least have been quite picky to only want to accept "standards compliant" CVT video timings, or they bark with a blank screen.

InterClaw wrote on 2025-01-05, 00:10:

I will probably not go all the way and get an OSSC that you mention, but out of curiosity, do you have experience with it? If so, what does it do with the 70Hz signal? Do you have the option of either also outputting 70Hz as well, or to convert it to 60Hz (with resulting stuttering)?

I have the earlier regular (non-pro) OSSC: https://videogameperfection.com/products/open … scan-converter/ . That one is a rapid naive (in the positive sense of the word) "scan multiplier" upscaler: i.e. what it does is it buffers up a single scanline, and then clock- and scan multiplies it N*M times (N and M being 1x, 2x, 3x, 4x, ...). It has a limitation (or benefit, depending on one's intended use case perspective) that it will (must) retain whatever the vertical refresh rate of the input was intact to the output. So input VGA 70Hz will likewise output that same 70Hz to HDMI. I.e. it physically cannot alter the frame rate of the video.

Scan and clock multiplication upscaling has another limitation that it cannot shrink the "time in blank" portion of the video, so large scan multiplication factors become infeasible. E.g. 320x400 -> 1600x1200 would require 5x3 scan+clock multiplication, which would result in a baffling pixel clock of 376.875 MHz, way out of any reasonable pixel clock (that OSSC non-pro could handle).

The newer OSSC Pro has a more complex framebuffer mode that enables upscaling in a way that does not amplify "time in blank". As result, it can do more sophisticated rescaling that also achieves re-framerateing.

CRT Terminator Digital VGA Feature Card ISA DV1000 is also a framebuffer based upscaler (and it can also do a simpler framebuffer bypassing clockdoubling upscaling in "Passthrough" mode) like OSSC Pro, although from what I gather, OSSC Pro has a wider family of different upscaling algorithms to choose from. (I don't have OSSC Pro to verify how exactly it operates)

Reply 8 of 10, by InterClaw

User metadata
Rank Newbie
Rank
Newbie

That's both good an bad, I guess, that these adapters don't "do much" when converting to HDMI. Mostly good I hope, to be able to deal with a more unaltered signal on the receiving end.

Really interesting to get all these explanations on how this actually works! I understand about 95% of what you write, so it's really helpful to me.

I will need to test these adapters more then with a better display, but the only ones I have around here at the moment are 60Hz only, so it might be a while. It would be interesting to see what a more modern, high refresh rate TV (or monitor) makes of this HDMI signal, for sure.

I do have an old Dell U3011 in the attic that does have a VGA input and I have tested it with this computer and believe it does work with it, but I don't remember in what fashion. I don't think it magically goes to 70Hz, but probably converts the signal to 60Hz, with choppiness as a result. The manual I find online doesn't say anything about the refresh rate capabilities over VGA, so it's probably still just 60Hz.

Anyway, that thing is too unwieldy. And the idea here was to get the old computer to work with "any" readily available screen on the cheap, but it seems that's not going to happen. 😀

Reply 9 of 10, by darry

User metadata
Rank l33t++
Rank
l33t++
InterClaw wrote on 2025-01-07, 00:50:
That's both good an bad, I guess, that these adapters don't "do much" when converting to HDMI. Mostly good I hope, to be able to […]
Show full quote

That's both good an bad, I guess, that these adapters don't "do much" when converting to HDMI. Mostly good I hope, to be able to deal with a more unaltered signal on the receiving end.

Really interesting to get all these explanations on how this actually works! I understand about 95% of what you write, so it's really helpful to me.

I will need to test these adapters more then with a better display, but the only ones I have around here at the moment are 60Hz only, so it might be a while. It would be interesting to see what a more modern, high refresh rate TV (or monitor) makes of this HDMI signal, for sure.

I do have an old Dell U3011 in the attic that does have a VGA input and I have tested it with this computer and believe it does work with it, but I don't remember in what fashion. I don't think it magically goes to 70Hz, but probably converts the signal to 60Hz, with choppiness as a result. The manual I find online doesn't say anything about the refresh rate capabilities over VGA, so it's probably still just 60Hz.

Anyway, that thing is too unwieldy. And the idea here was to get the old computer to work with "any" readily available screen on the cheap, but it seems that's not going to happen. 😀

It supports a range of refresh rates between 56 Hz to 86 Hz , both through VGA and digitally.
EDIT: That does not mean that >60Hz input will actually get displayed as such. It is quite possible the display actually only supports 60Hz output and converts anything >60Hz to 60Hz.
This is easy to test in modern Windows with https://vsynctester.com and custom resolutions

See page 6 of that pdf you linked or this excerpt

The attachment Dell U3011_specs.pdf is no longer available

Reply 10 of 10, by InterClaw

User metadata
Rank Newbie
Rank
Newbie
darry wrote on 2025-01-07, 02:15:
It supports a range of refresh rates between 56 Hz to 86 Hz , both through VGA and digitally. EDIT: That does not mean that >60H […]
Show full quote

It supports a range of refresh rates between 56 Hz to 86 Hz , both through VGA and digitally.
EDIT: That does not mean that >60Hz input will actually get displayed as such. It is quite possible the display actually only supports 60Hz output and converts anything >60Hz to 60Hz.
This is easy to test in modern Windows with https://vsynctester.com and custom resolutions

See page 6 of that pdf you linked or this excerpt

The attachment Dell U3011_specs.pdf is no longer available

Ah, I didn't check that document very thoroughly I see. Thanks for the highlight! 😁

Then, yeah, I'm probably not misremembering that it worked with that screen then when I tested it, albeit with a choppy 60Hz output.