Sign up ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

One may buy a simple HDMI-to-VGA cable, or an HDMI-to-DVI cable. Example: on Amazon. However, my vague knowledge is that these cables only work for video cards that have special support for this function. Does the Raspberry Pi support such things?

Is there any easy way to use the Raspberry Pi on a screen that only takes VGA input without a converter box? What kind of conversion to other video outputs would the Raspberry Pi hardware support, and what cables or other equipment would be necessary for this?

share|improve this question
I have a HDMI to DVI cable that I've yet to test. I hope it works. – Jivings Jun 13 '12 at 14:37
I remember reading somewhere on Wiki that passive HDMI-DVI adapters should work but HDMI-VGA requires an active converter. – Tibor Jun 13 '12 at 14:51
Would a composite-VGA be a better option? – Alex Chamberlain Jun 13 '12 at 15:48
I think the product you linked to is designed to connect a PC's VGA output to a monitor's HDMI input, i.e. the opposite direction to what you want. – finnw Jun 13 '12 at 16:01
@Jivings - That's odd, HDMI is just single link DVI-D with a different connector. Are you sure it's not your monitor failing to sync to the resolution used by your RPi? – Mark Booth Jun 14 '12 at 10:15

8 Answers 8

up vote 67 down vote accepted


The reason a DVI-to-VGA adapter works on your PC & laptop is that DVI includes analog (RGB) pins. The adapter is passive; It just connects the red analog output of the PC to the red analog input of the monitor, ditto for green and blue. They are included on most PCs and laptops for backward compatibility.

HDMI-to-DVI cables are also passive, but they carry digital signals only. The analog RGB signals are missing, but that does not matter as the DVI monitor does not need them.

HDMI contains no analog signal so it is not possible for any combination of passive adapters and/or cables to convert it to VGA.

Active adapters work because they use DSPs and DACs to convert from one standard to the other, but of course they are more expensive than passive cables.

Related forum thread:

share|improve this answer
Good answer, want to select it. One small bit: what is an HDMI to VGA cable and why will it not work with the Raspberry Pi? – AlanSE Jun 13 '12 at 15:50
@AlanSE, dedicated HDMI to VGA cables will work, as they contain the necessary circuitry. But I assumed that was not what you meant because you said "simple cable." – finnw Jun 13 '12 at 15:51
What I meant is a simple cable like the one I linked to in the question. This cable does not contain the necessary circuitry. It works for some graphics cards and people are going to keep being confused about it unless it's clear what makes those different and why that does not apply for the Raspberry Pi. – AlanSE Jun 13 '12 at 15:54
@AlanSE - The important thing about that Amazon item is the NOTE: Your Video card must support digital signal output through VGA port function. I don't know of any video cards which support outputting VGA over pins of a HDMI connector, and a quick google search couldn't find any. – Mark Booth Jun 14 '12 at 10:21

The Neewer HDMI to VGA converter lead from Amazon does indeed work with the RPi but as has been reported elsewhere you have to do a bit of fine tuning in the /boot/config.txt file.

I still cannot get my Samsung 943N to see anything but a simple Dell generic 15" VGA monitor works fine. One problem seems to be that the default output signal level is not sufficient so setting config_hdmi_boost=4 seems necessary. The monitor also complains that it wants 1024x768 at 60Hz which is hdmi_mode=16.

The article at also suggests that the hdmi_group values documented should be 0 and 1 not 1 and 2 and indeed I needed to change hdmi_group to 1. So my current file looks like:


Modification for Dell 15" Monitor with Debian GNU/Linux 6.0 OS I found that it would only work with: hdmi_group=2

Raspberry Pi User Guide by Eben Upton has the video modes in the appendix. The user guide lists the hdmi_group values as 1 or 2.

share|improve this answer
You write that it needs some tuning? Does it need that in order to work at all, or does it need the tuning just to get a better picture? I am trying to connect my laptop/Raspberry to a monitor with a similar active adapter, and there is simply no connection. – Mads Skjern Feb 11 '14 at 21:09

The "simple" HDMI to VGA cables will not work quite simply because HDMI signals are pure digital and VGA is analogue. I made the mistake of buying a very cheap cable from Amazon which did not work for reasons that are clear to me now. I am awaiting the delivery of a "Neewer Black HDMI Input To VGA Adapter Converter For PC Laptop" from Amazon which I am confident will do the job. It was less than £15. I will post my findings here.

share|improve this answer

I am using this cable to connect my Raspberry Pi to an HP monitor (with DVI input).

A couple of notes: You can not then connect another cable or adapter to change this to a VGA input. Secondly, if converting the Raspberry Pi's HDMI to DVI be careful of the DVI connector; there is more than one type and one size does not fit all (I learned this lesson the hard way).

share|improve this answer
What type of DVI input did you have (like DVI-D) and was it a single link or dual link cable? I have an HP monitor myself and will need to get a cable for it. Is the selection based entirely on the monitor, or does the RasPi HDMI specs have anything to do with it? – AlanSE Jun 13 '12 at 20:00
@AlanSE The DVI adapter was a DVI-I, and the monitor wanted a DVI-D. The specs for the pi had nothing to do with it simple problem of pin/connector geometry. The cable I linked to in my answer works like a charm and was far cheaper than most local alternatives even with the expedited shipping included. – Steve Robillard Jun 13 '12 at 20:09
I still don't understand something. Why would you get a DVI-I adapter? And since the cable to your DVI monitor should have a male connector, and since the DVI-I has more connections than the DVI-D, you shouldn't physically be able to plug it in. The Amazon link you give isn't clear in the description, but the picture looks like DVI-D. This discussion might be better suited for a DVI question, but I'll see about giving an update when I do this myself. – AlanSE Jun 14 '12 at 15:59

It may be a problem with your configuration file. Try deleting it, and if that doesn't work try changing it to this.

# config.txt
hdmi_group = 2
hdmi_mode  = 4

A list of available properties for the Raspberry Pi can be found here.

share|improve this answer
Why is this downvoted? – user46 Jun 13 '12 at 15:19
probably because it will not work. The OP is (if I understand correctly) asking about a combination of a HDMI->DVI cable and DVI->VGA adapter. Your solution will work only for a DVI monitor. – finnw Jun 13 '12 at 15:42
I had in mind more of HDMI->VGA as opposed to HDMI->DVI->VGA although that's not important. Your claim that it can use a DVI monitor with passive cables is useful and relevant to the question, as well as the claim that it can not work with a VGA monitor without conversion equipment. I think we are close to consensus on that. – AlanSE Jun 13 '12 at 15:48

Here's a quick tutorial explaining exactly how to enable VGA output via a $5 cable I brought.

share|improve this answer
Hi Can you please write a brief description on how to do this. Linking to an external link is not great. – ppumkin Dec 7 '12 at 9:28

It is important to not just give up when the adaptor/converter doesn't seem to work out of the box. Most probably there will be converters which won't work and VGA displays which won't be supported, but my feeling is most of them work just fine - with some extra steps.

If you want to check whether yours has chances, use an empty /boot/config.txt file and add hdmi_safe=1 to it.

While this won't give you the best resolution, it probably will get you to the login prompt.

After that you can start with tweaking it further until you get the most out of your monitor capabilities.

You can get some useful information about your monitor by entering these 3 commands:

/opt/vc/bin/tvservice -m CEA /opt/vc/bin/tvservice -m DMT /opt/vc/bin/tvservice -s

Use the Raspberry Pi Video Modes reference link to yield the above results and finetune.

After rebooting the Pi, your monitor firmware might show errors like 'out of sync' or 'resolution not supported'. Lower the resolution and/or refresh rate and try again.

After testing I got good results even with small Chinese $3 adaptors connected to the cheapest monitors available in the shop. Out of the box the converter gave a blank screen with the monitor going into powersave mode seconds after. After following the above steps my /boot/config.txt now shows:

hdmi_group=1 hdmi_mode=16

share|improve this answer

No +5v supply from setop box like tatasky dishtv hd box in hdmi output so converter not work. it can work properly after supply +5v in pin no.2of hdmi port.

share|improve this answer
Can you expand on this answer please? I don't understand what you're trying to say. – Jacobm001 Jun 9 at 18:54

protected by goldilocks Oct 25 at 7:11

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.