NathanWatso123
Posts: 14
Joined: Tue Feb 16, 2016 3:55 pm

HDMI to VGA KALI LINUX

Fri Feb 19, 2016 5:36 pm

Alright,

I have been trying for hours now to find a way that I can use my HDMI to VGA cable. I have had no luck. I found one idea which was to copy the Raspbian config.txt file and uncomment some of the commands. I went to do this then found that config.txt is empty! I have been trying all day long to find a way and it is starting to annoy me very much.

Any help we be great, this a great community and I love the Pi but this sort of stuff shouldn't be a problem.

NathanWatso123
Posts: 14
Joined: Tue Feb 16, 2016 3:55 pm

Re: HDMI to VGA KALI LINUX

Fri Feb 19, 2016 5:38 pm

I forgot to mention I am trying to use it on KALI LINUX so I was going to place the config.txt file in my kali linux SD card.

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: HDMI to VGA KALI LINUX

Fri Feb 19, 2016 5:42 pm

Is it an HDMI to VGA cable, or an HDMI to VGA converter? A plain cable will not work as it relies on the HDMI socket being capable of providing a VGA signal, which the one on the Pi doesn't.

A converter will have some active electronics inside that convert the HDMI digital signals to VGA analog signals. It should also read the capabilities of the monitor and provide them as EDID data to the Pi so it can auto-select the screen mode to use. Ideally no changes to config.txt would be required, although this isn't always the case.

NathanWatso123
Posts: 14
Joined: Tue Feb 16, 2016 3:55 pm

Re: HDMI to VGA KALI LINUX

Fri Feb 19, 2016 5:45 pm

It is a convertor.
Last edited by NathanWatso123 on Fri Feb 19, 2016 5:56 pm, edited 1 time in total.

NathanWatso123
Posts: 14
Joined: Tue Feb 16, 2016 3:55 pm

Re: HDMI to VGA KALI LINUX

Fri Feb 19, 2016 5:46 pm

I read something about this, if I make a file config.txt and put these commands in would that potentially help?

hdmi_safe=1 (Puts screen in a lower resolution)
hdmi_force_hotplug=1 (Forces HDMI to work or something along those lines)

I am no computer genius so please excuse me if I am wrong.

NathanWatso123
Posts: 14
Joined: Tue Feb 16, 2016 3:55 pm

Re: HDMI to VGA KALI LINUX

Fri Feb 19, 2016 6:15 pm

Alright, I fixed it myself.

What I did:
1. Opened notepad
2. typed in: hdmi_force_hotplug=1 framebuffer_height=720 framebuffer_width=1080
3.Saved it as Config as a .txt file
4.Started up my Raspberry Pi and it worked perfectly.

parrty2
Posts: 1
Joined: Sun Jan 08, 2017 5:38 am

Re: HDMI to VGA KALI LINUX

Sun Jan 08, 2017 5:50 am

Sorry to resurrect an old thread, but this question does seem to come up quite frequently, given the number of Google hits on it. I am new to RPi, but have considerable PC experience. With my new RPi, Pixel booted just fine. Kali, however, would only give me a screen occasionally. I did troubleshoot the lack of a config.txt file, created one & used hdmi_safe=1 to get Kali into VGA mode through my HDMI to VGA adapter, but could get no other video modes to work (just a black screen). Another thread on these forums led me to:
#hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace> <rb>
#width width in pixels
#height height in pixels
#framerate framerate in Hz
#aspect aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9
#margins 0=margins disabled, 1=margins enabled
#interlace 0=progressive, 1=interlaced
#rb 0=normal, 1=reduced blanking
#The first three arguments are required. The remaining ones are optional. aspect defaults to 16:9 if not specified.

So
hdmi_cvt=1920 1200 60
got my Dell 24" running fine through the HDMI to VGA adapter. If this helps anyone else get their display up, then my time will be well spent.

RaspberryPiKali
Posts: 1
Joined: Sat Aug 11, 2018 9:27 pm

Re: HDMI to VGA KALI LINUX

Sat Aug 11, 2018 9:30 pm

parrty2 wrote:
Sun Jan 08, 2017 5:50 am
Sorry to resurrect an old thread, but this question does seem to come up quite frequently, given the number of Google hits on it. I am new to RPi, but have considerable PC experience. With my new RPi, Pixel booted just fine. Kali, however, would only give me a screen occasionally. I did troubleshoot the lack of a config.txt file, created one & used hdmi_safe=1 to get Kali into VGA mode through my HDMI to VGA adapter, but could get no other video modes to work (just a black screen). Another thread on these forums led me to:
#hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace> <rb>
#width width in pixels
#height height in pixels
#framerate framerate in Hz
#aspect aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9
#margins 0=margins disabled, 1=margins enabled
#interlace 0=progressive, 1=interlaced
#rb 0=normal, 1=reduced blanking
#The first three arguments are required. The remaining ones are optional. aspect defaults to 16:9 if not specified.

So
hdmi_cvt=1920 1200 60
got my Dell 24" running fine through the HDMI to VGA adapter. If this helps anyone else get their display up, then my time will be well spent.
Hi,
I have the same problem and I tried your method but I couldn't figure out where to put the config.txt file.

Thanks,
Any help will be appreciated

Return to “General discussion”