Setting up HDMI output


313 posts   Page 3 of 13   1, 2, 3, 4, 5, 6 ... 13
by davaka » Sun Jun 10, 2012 1:52 pm
I checked from windows, There are 2 partitions
1 a 75-ish mb partition with some img files
2 a 2Gig partitiont with the linux files, /mnt and /boot etc

The majority of the folders is empty. The /boot directory asweel.

Looked at it from an ubuntu machine and the folders are also empty.
I am still learning. be patient
Posts: 7
Joined: Wed Jun 06, 2012 7:33 pm
Location: Netherlands
by dom » Sun Jun 10, 2012 2:10 pm
On windows just create config.txt in the 75-ish MB partition.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4013
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Sherratt » Sun Jun 10, 2012 5:37 pm
I'm having problems getting sound working over HDMI, but unfortunately I can't get an EDID dump either! when I run tvservice, it says "Written 0 bytes to edid.dat" and there is no file.

Any ideas what I'm doing wrong?

Thanks
Sherratt
Posts: 3
Joined: Thu Jun 07, 2012 10:11 am
by listerdude » Sun Jun 10, 2012 6:35 pm
dom wrote:0x10 is a hexadecimal number (base 16) commonly used by programmers. It is exactly the same as 16. I've changed the wiki to use the decimal version.


Thanks I did kinda work that out eventually but thanks for confirming.
Posts: 2
Joined: Sun Jun 10, 2012 7:17 am
by dom » Sun Jun 10, 2012 7:41 pm
Sherratt wrote:I'm having problems getting sound working over HDMI, but unfortunately I can't get an EDID dump either! when I run tvservice, it says "Written 0 bytes to edid.dat" and there is no file.


Are you running it inside /opt/vc/bin ?
You don't have write permission to that directory.

Do:
cd ~
/opt/vc/bin/tvservice -d edid.dat

and the EDID dump will be written to your home directory
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4013
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Sherratt » Mon Jun 11, 2012 10:00 am
dom wrote:
Sherratt wrote:I'm having problems getting sound working over HDMI, but unfortunately I can't get an EDID dump either! when I run tvservice, it says "Written 0 bytes to edid.dat" and there is no file.


Are you running it inside /opt/vc/bin ?
You don't have write permission to that directory.

Do:
cd ~
/opt/vc/bin/tvservice -d edid.dat

and the EDID dump will be written to your home directory


Doh! I should always check for permissions - still a relative Linux newbie. Will try that next time I get chance.
Posts: 3
Joined: Thu Jun 07, 2012 10:11 am
by muonman » Tue Jun 12, 2012 2:14 pm
My RPi works well enough for starters with both Debian and Fedora on my Logic DTV. There are fine tuning issues that I am sure I can iron out later but I wanted to use my Samsung SVGA desktop monitor so I do not occupy the living room... I purchased an HDMI to SVGA cable form Amazon, which had all the right connectors on it, but the monitor complained about no signal. The RPi appeared to be going through its flashing LED stage normally but no image. Now it is possible the cable is bad as when I tried my Acer notepad SVGA output to HDMI on the TV it also said no signal. Has anyone seen similar behavior or is this exceptional. The monitors at the Primary school looked like monitors not TVs so what cables were used there anyone?
Posts: 14
Joined: Tue Jun 12, 2012 1:56 pm
by itimpi » Tue Jun 12, 2012 3:36 pm
Which cable did you buy? It needs to be an active one that does digital to analog conversion as there is no analog signal output on the HDMI connector by the Pi.
Posts: 1034
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
by bredman » Tue Jun 12, 2012 3:44 pm
You cannot buy a cheap HDMI to VGA cable. You must buy a HDMI to VGA converter, see http://elinux.org/Rpi_Screens#RGB_analog.2FVGA
Posts: 1413
Joined: Tue Jan 17, 2012 2:38 pm
by muonman » Wed Jun 13, 2012 11:03 am
bredman wrote:You cannot buy a cheap HDMI to VGA cable. You must buy a HDMI to VGA converter, see http://elinux.org/Rpi_Screens#RGB_analog.2FVGA

Thanks for that. I am obviously not the only one to have made this particular mistake. The elinux RPi verified peripherals is a good page and I have ordered a Neewer HDMI to VGA converter from Amazon to do the job.
Posts: 14
Joined: Tue Jun 12, 2012 1:56 pm
by JeremyF » Wed Jun 13, 2012 1:23 pm
muonman wrote:
bredman wrote:You cannot buy a cheap HDMI to VGA cable. You must buy a HDMI to VGA converter, see http://elinux.org/Rpi_Screens#RGB_analog.2FVGA

Thanks for that. I am obviously not the only one to have made this particular mistake. The elinux RPi verified peripherals is a good page and I have ordered a Neewer HDMI to VGA converter from Amazon to do the job.

(For reference for other users: http://elinux.org/RPi_Verified_Peripher ... y_adapters)
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge
Posts: 516
Joined: Wed Jan 25, 2012 9:06 pm
by roderick1980 » Thu Jun 14, 2012 9:42 am
Hello,

I've recently bought a Raspberry Pi and have faced a common problem (no HDMI signal), which has turned out to be more complicated than expected. I've looked through many forums without coming to a solution.

I've got a R-pi with a QtonPi image loaded on its SD card. I've even managed to deploy the "hello-qtonpi" on the R-Pi and see it working on my BLU-SENS TV screen via the RCA video output. Note: my BLU-SENS TV maximum resolution is: 1920x1080.

Unfortunately, when I connect an HDMI 1.3b cable (of course, with no RCA cable connected to the R-Pi), and power on the R-Pi, the screen shows a "no signal" message. I'm sure that the cable is ok because I've tested it with a Cubox (which is a small ARM computer).

I've tried several things:
- deleting "config.txt"
- using "config.txt" options (altogether or alone): config_hdmi_boost=4, hdmi_force_hotplug=1, etc.

As my system does not include a "tvservice", I haven't been able to try out the following:

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

I'd really appreciate if anybody could help me.

Thanks
Posts: 3
Joined: Thu Jun 14, 2012 9:25 am
by itimpi » Thu Jun 14, 2012 10:15 am
If you have a spare SD card, why not try writing one of the other distributions (e.g. Debian) to it. You could then ssh in and run the tvservice utility to find out what EDID details are being reported. That way you should be able to get the correct details for the config.txt file as it sounds as if you need one.
Posts: 1034
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
by roderick1980 » Thu Jun 14, 2012 4:03 pm
Hello "itimpy",

and thanks for your advice. I'll give it a try!!
Posts: 3
Joined: Thu Jun 14, 2012 9:25 am
by DaisyDave » Fri Jun 15, 2012 6:36 am
Gert,

Can I suggest you edit you first post in this thread, to start with a paragraph pointing absolute beginners at bredman's wiki page.

I'm not a Linux newbie, but this thread misses on vital bit of information from the start, where config.txt should be. The wiki page clearly gives this info at the start and is probably good enough to get most users sorted. If they stIll have problems they can then come back here for more help.

Just my opinion, keep up the good work

Dave
Posts: 1
Joined: Fri Jun 15, 2012 6:27 am
by roderick1980 » Sun Jun 17, 2012 8:19 am
Hello, I finally got the HDMI output working.

I followed the "Video Mode Configuration -> Video mode options -> hdmi_safe" subsection on the following URL: http://elinux.org/RPi_config.txt.

I've tested successfully the following options on my Blue Sens monitor:

hdmi_group=1
hdmi_mode=0,5,16

hdmi_group=2
hdmi_mode=69

Ciao
Posts: 3
Joined: Thu Jun 14, 2012 9:25 am
by Auron » Mon Jun 18, 2012 9:50 am
Hi,

I'm having trouble with getting my monitor to work properly - it should be capable of 1920x1200 - however, when booting into the RaspBMC GUI, I get 'No Supported Signal'.

I've tried various hdmi_mode's so far - however, have seen the bottom comment here:
http://www.raspberrypi.org/phpBB3/viewt ... 91&p=75311

That something about the Pi not being able to drive 1920x1200 in standard mode, and needing to use reduced blanking? I've tried both 68 and 69 along with hdmi_group=2.

Any thoughts please?
Posts: 15
Joined: Tue Feb 14, 2012 1:40 am
by dom » Mon Jun 18, 2012 10:21 am
Only reduced blanking variant of 1920x1200 is supported. The full blanking goes above our maximum pixel clock frequency (162MHz).
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4013
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by JollyRoger » Tue Jun 19, 2012 6:26 am
For folks who have had problems getting their TV to recognise input from the Pi (and for the Pi to work with the TV), I have found after much experimentation that the order in which you power up is crucial. I am using a Matsui 19" TV (from Dixons/Curry, model no M19LID618), and for this TV the power-up sequence has to be:
1 Switch on the TV at the mains so that it is in Standby mode
2 Power up the Pi
3 Turn on the TV and switch to HDMI mode.

My config.txt file for this TV (after many tries) is:

hdmi_force_hotplug=1
hdmi_mode=4
framebuffer_width=1280
framebuffer_height=768
overscan_top=-32
overscan_bottom=-32
overscan_left=-56
overscan_right=-56

I hope this helps.
Posts: 154
Joined: Wed Feb 01, 2012 9:48 am
by old_git » Sat Jun 23, 2012 3:28 pm
Thanks JollyRodger for your suggestion - it has solved my problem. :D
Posts: 1
Joined: Sat Jun 23, 2012 3:26 pm
by mahmudaq » Sat Jun 30, 2012 9:17 am
My Sony Bravia (Model KLV-32S530A) wasn't working over HDMI. A quick Google search got me to this page and I created a config.txt file and placed it on the SD Card FAT32 partition with the following contents:

hdmi_group=1
hdmi_mode=4

This finally got the Bravia HDMI display working at 720p but now I have another issue: the screen is all pink where its supposed to be black on the command line interface... same for the Desktop manager.

I checked the cable by hooking the TV up to the DVD Player using HDMI but the colors were fine. Could this be an issue with the RPi's HDMI socket or am I missing some additional config.txt options?
Posts: 2
Joined: Sat Jun 30, 2012 9:03 am
by dom » Sat Jun 30, 2012 1:50 pm
@mahmudaq
Try config_hdmi_boost=4 from here:
http://elinux.org/R-Pi_Troubleshooting# ... VI_monitor
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4013
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by mahmudaq » Sun Jul 01, 2012 4:03 am
Thanks dom, but the config_hdmi_boost=4 didn't really help with the pink color screen issue. I then tried

hdmi_force_hotplug=1

and this didn't help either. On experimenting with different combinations of first powering up the RPi and then connecting the HDMI vs keeping HDMI connected, here's what happened:

Keeping HDMI connected before powering up RPi : Everything being displayed is in a shade of pink
Connecting HDMI after powering up RPi: Colors are normal

But this wasn't the solution I was looking for... ideally, the HDMI should remain connected 24/7 and the RPi should always display the proper colors over HDMI. Ok, so I added this line:

hdmi_drive=2

and voila! Problem solved! Keeping the HDMI cable connected and powering up the RPi now shows the proper colors.
Posts: 2
Joined: Sat Jun 30, 2012 9:03 am
by RedsGT » Thu Jul 05, 2012 3:00 pm
My monitor defaults back to 640x480 no matter what I set in config.txt file or if I leave out the config.txt file. I got an EDID dump from windows because I can't seem to get tvservice to work with raspbmc.

http://pastebin.com/jqxqdRYR

Any ideas would be helpful, thanks!
Posts: 1
Joined: Thu Jul 05, 2012 2:54 pm
by pjneder » Wed Jul 11, 2012 6:36 pm
I wanted to add my results to the list. I have several monitors but I wanted to connect the RPi to my Acer H243H over HDMI. Initially using the current Debian squeeze image it did not work. That download is also unfortunately missing the edidparser binary.

I used my older Dell 2001FP over DVI and it came up ok on that monitor, so I had something to work with.

I updated the kernel and /opt/vc directory to have the latest tools (sorry but that task is outside the scope of this thread). For EDID info from the Acer H243H, I get this:

Code: Select all
root@raspberrypi:/opt/vc/bin# ./edidparser acerH243H.edid
Parsing acerH243H.edid...
HDMI:EDID version 1.3, 1 extensions, screen size 53x29 cm
HDMI:EDID features - videodef 0x80 standby suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is H243H
HDMI:EDID found monitor range descriptor tag 0xfd
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI:EDID monitor range: vertical is 56-76 Hz, horizontal is 31-83 kHz, max pixel clock is 180 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found monitor S/N descriptor tag 0xff
HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID established timing I/II bytes are AF CF 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x8180 714F 9500 950F A940 B300 0101 0101
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 0
HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 1
HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 2
HDMI:EDID found DMT format: code 48, 1440x900p @ 75 Hz (16:10) in standard timing 3
HDMI:EDID found DMT format: code 51, 1600x1200p @ 60 Hz (4:3) in standard timing 4
HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 5
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:yes, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:2
HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
HDMI:EDID found CEA detail timing format: 1280x720p @ 50 Hz (19)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48|88|96|176|192 kHz, sample size: 16|20|24 bits
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz
HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz (native)
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz
HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
HDMI:EDID found HDMI VSDB length 6
HDMI:EDID HDMI VSDB has physical address 1.0.0.0
HDMI:EDID HDMI VSDB supports AI:no, dual link DVI:no
HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:no 30-bit:no DC_yuv444:no
HDMI:EDID HDMI VSDB has no latency information
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 136864)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 4641472)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 141472
HDMI:EDID CEA mode (4) 1280x720p @ 60 Hz with pixel clock 74 MHz has a score of 4265888
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI:EDID CEA mode (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz has a score of 3848832
HDMI:EDID DMT mode (5) 640x480p @ 72 Hz with pixel clock 31 MHz has a score of 22118
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 120736
HDMI:EDID DMT mode (6) 640x480p @ 75 Hz with pixel clock 31 MHz has a score of 23040
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 120736
HDMI:EDID DMT mode (8) 800x600p @ 56 Hz with pixel clock 36 MHz has a score of 26880
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 28800
HDMI:EDID DMT mode (10) 800x600p @ 72 Hz with pixel clock 50 MHz has a score of 34560
HDMI:EDID DMT mode (11) 800x600p @ 75 Hz with pixel clock 49 MHz has a score of 36000
HDMI:EDID best score mode is now CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz (score 5473248)
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 47185
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 141472
HDMI:EDID DMT mode (17) 1024x768p @ 70 Hz with pixel clock 75 MHz has a score of 55050
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 141472
HDMI:EDID DMT mode (18) 1024x768p @ 75 Hz with pixel clock 78 MHz has a score of 58982
HDMI:EDID CEA mode (19) 1280x720p @ 50 Hz with pixel clock 74 MHz has a score of 3238240
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score of 2807360
HDMI:EDID CEA mode (21) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 120736
HDMI:EDID DMT mode (21) 1152x864p @ 75 Hz with pixel clock 108 MHz has a score of 174649
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 307360
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 178643
HDMI:EDID DMT mode (36) 1280x1024p @ 75 Hz with pixel clock 135 MHz has a score of 98304
HDMI:EDID DMT mode (47) 1440x900p @ 60 Hz with pixel clock 106 MHz has a score of 177760
HDMI:EDID DMT mode (48) 1440x900p @ 75 Hz with pixel clock 136 MHz has a score of 197200
HDMI:EDID DMT mode (51) 1600x1200p @ 60 Hz with pixel clock 162 MHz has a score of 215200
HDMI:EDID DMT mode (58) 1680x1050p @ 60 Hz with pixel clock 146 MHz has a score of 205840
HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz
HDMI:EDID has HDMI support and audio support
edid_parser exited with code 0


After reading this thread and the excellent wiki post at http://elinux.org/RPi_config.txt I ended up with a config.txt that looks like this and it works perfectly on the Acer monitor.

Code: Select all
# Now we use the mode that came from the edidparser and output for the
# Acer H243H

# Choose CEA (aka HDMI) mode
hdmi_group=1
# Choose 1080p60Hz mode of CEA
hdmi_mode=16
# Make sure it works even if HDMI is not detected
hdmi_force_hotplug=1
# Normal HDMI mode, sound will be sent if supported
hdmi_drive=2

# This causes it to use the whole screen and have pixel-to-pixel ration no scaling
disable_overscan=1


Hope this helps someone!
Posts: 1
Joined: Wed Jul 11, 2012 6:26 pm